Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, July 17, 2007 10:54 AM
Hi
We have built a C# webservice in .NET 1.1 and are using IIS 6.0 on our server. Previously the application was working on a server using IIS 5 and we didnt have any issues. Currently with the webservice installed I can navigate to the page locally and run the test by entering some of the expected data. The web service code works correctly and we receive the expected result. When I try and run it from another computer, as it was run before, I dont get any error messages but the end result does not occur. I cant help but think it is because I dont have the proper permissions setup for it to run from another machine.
Web Service extensions have been installed and allowed on IIS. The account is running under anonymous access using the IUSR account. We have created an Application Pool for the service and it is being run under the Local System Identity.
Any sort of document that explains the process of setting up a Web Service in IIS 6 would be greatly appreciated.
Thanks.
All replies (5)
Monday, July 23, 2007 9:29 AM âś…Answered
Hey Guys
We determined that it was not only a permissions error but also an error on the other end in the application from the vendor. We finally have the vendor application connecting to our web service and it looks to be working alright. We were unable to get the IUSR account to work correctly so we just specified another user and it was able to work. We now have to ensure we are setting the correct permissions for that user account so that noone can access areas that we dont want them in.
Thanks for all your help.
Tuesday, July 17, 2007 2:36 PM
Is Windows firewall blocking access? Can you get to other pages on the server?
Tuesday, July 17, 2007 3:37 PM
Windows Firewall is not installed currently on the machine. I created a test html page and put a copy on both the server and on my local machine, both in the IIS folders. I am able to get to both of the test pages without any issue but when I submit the page with the data I get a Service Unavailable error from the webservice. Below is the log entry that is created when I attempt to get there:
2007-07-17 18:37:31 W3SVC1 10.###.###.### POST /westjeteaiwebservice/EAIRequest.asmx - 80 wjdom\cky 10.###.##.### Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.8.1.4)+Gecko/20070515+Firefox/2.0.0.4 500 0 0
2007-07-17 18:39:25 W3SVC1 10.###.###.### POST /westjeteaiwebservice/EAIRequest.asmx - 80 wjdom\cky 10.###.##.### Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.8.1.4)+Gecko/20070515+Firefox/2.0.0.4 500 0 0
2007-07-17 18:39:43 W3SVC1 10.###.###.### POST /westjeteaiwebservice/EAIRequest.asmx - 80 wjdom\cky 10.###.##.### Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.8.1.4)+Gecko/20070515+Firefox/2.0.0.4 500 0 0
2007-07-17 18:41:11 W3SVC1 10.###.###.### POST /westjeteaiwebservice/EAIRequest.asmx/ProcessEAIRequest - 80 wjdom\cky 10.###.##.### Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.8.1.4)+Gecko/20070515+Firefox/2.0.0.4 500 0 0
2007-07-17 18:42:58 W3SVC1 10.###.###.### POST /westjeteaiwebservice/EAIRequest.asmx/ProcessEAIRequest - 80 wjdom\cky 10.###.##.### Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-US;+rv:1.8.1.4)+Gecko/20070515+Firefox/2.0.0.4 500 0 0
Tuesday, July 17, 2007 5:06 PM
Looks like it is returning status code 500 which means a server-side processing error. Anything apearing in the server event logs?
Sunday, July 22, 2007 11:44 PM
Hi brandcr,
The ASP.NET web service request is mapped to ASP.NET handler, an internal error occurred during the processing of the request by the ASP.NET handler.
First, Could you confirm if a simple hello world .aspx works as you did with html? This can help finding the root cause.
And here are several likely causes:
* ASP.NET was not able to access the web.config file for the Web site or application. This can occur if the NTFS permissions are set incorrectly.
* ASP.NET was not able to process configuration for the Web site or application.
* Some of the required .NET Feature is not installed.
Hence you can try a new web.config file. And if your webservice depends on another 3rd-party component, make sure it is installed.
Hope this helps