OK I created a web service in C# with the default "HelloWorld" Class and a second Class of my design (OK copied from another example).
I was able to "run" it from the IDE, after a web.config tweak.
However when I publish it to C:\Inetpub\wwroot\MyWebService, and I then browse to it using IE, I get the following error page:
Server Error in '/' Application.--------------------------------------------------------------------------------
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Unrecognized configuration section 'connectionStrings'
Source Error:
Line 10: <configuration>
Line 11: <appSettings/>
Line 12: <connectionStrings/>
Line 13: <system.web>
Line 14: <webServices>
Source File: c:\inetpub\wwwroot\MyFlexService\web.config Line: 12
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407




Reply With Quote