Results 1 to 13 of 13

Thread: [RESOLVED] C# Web Service publish problem(S)

Threaded View

  1. #1

    Thread Starter
    PowerPoster Dave Sell's Avatar
    Join Date
    Mar 2004
    Location
    /dev/null
    Posts
    2,961

    Resolved [RESOLVED] C# Web Service publish problem(S)

    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
    Last edited by Dave Sell; May 1st, 2009 at 02:34 PM.
    Nobody knows what software they want until after you've delivered what they originally asked for.

    Don't solve problems which don't exist.

    "If I had eight hours to cut down a tree, I'd spend six hours sharpening my axe." --- Abraham Lincoln (1809-1865)

    2 idiots don't make a genius.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width