This is a migrated thread and some comments may be shown as answers.

Webservice Connection Refused

1 Answer 176 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Simon Child
Top achievements
Rank 1
Simon Child asked on 29 Mar 2010, 01:50 PM
Hi All

I have developed a web app using a webservice. Everything works fine in the development environment. I have moved the webservice to the production server in a test folder behind my main website. I can browse to the published service localy on the production server and i can access the remote service from my development machine.

If I run my web app in my development environment I can use the remote webservice no problem. If I move the web application to the production environment the browser outputs this error when the application performs the ajax login method.

The following javascript error is output to the browser
Error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server.

The status code returned from the server was: 500
Source File: http://www.grav80.com/clients/callswharf/Redshift/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1247b7d8-6b6c-419f-a45f-8ff264c90734%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3ad2d891f5-3533-469c-b9a2-ac7d16eb23ff%3a16e4e7cd%3a86526ba7%3aed16cbdc%3ab7778d6c
Line: 15

The Following error appears in the event log

Exception information: 
    Exception type: WebException 
    Exception message: Unable to connect to the remote server 
 
Request information: 
    Request URL: http://www.grav80.com/clients/callswharf/redshift/login.aspx 
    Request path: /clients/callswharf/redshift/login.aspx 
    User host address: 77.68.58.231 
    User:  
    Is authenticated: False 
    Authentication Type:  
    Thread account name: NT AUTHORITY\NETWORK SERVICE 

You can view the behaviour in the test environment here.

You can view the service here 

1 Answer, 1 is accepted

Sort by
0
Simon Child
Top achievements
Rank 1
answered on 30 Mar 2010, 05:06 PM
Anyone any ideas on this.

Im wondering if it is because of the server setup e.g nested applications.
It seems like the App cannot talk to the service due to a permissions error maybe.

I would have thought I would have had more trouble getting the local app talking to the remote service but thats not the case.
Tags
Ajax
Asked by
Simon Child
Top achievements
Rank 1
Answers by
Simon Child
Top achievements
Rank 1
Share this question
or