DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: "web access failed" when attempting to create a web service via VS.NET IDE

  1. #1
    norman Guest

    "web access failed" when attempting to create a web service via VS.NET IDE


    HELP!!

    Keep Getting Access Failed" When attempting to "CREATE" web service project
    with VS.NET IDE...

    IIS 5.0 is installed on this WIN2000 Adv Server. Visual Studio.NET of course.
    I have IIS installed and enabled basic authentication.

    I made my selection on the New Project dialog and VS.net attempt to create
    the project... Then error msg:

    "Web Access Failed"

    The default access mode set to this project is set to file share, but the
    project folder at 'http://localhost/WebService1' cannot be opened with path
    'c:\inetpub\wwwroot\WebService1'.
    The error returned was:

    Unable to create Web project 'WebService1'. The file path 'c\inetpub\wwwroot\WebService1'
    does not correspond to URL 'http://localhost/WebService1'. The two need to
    map to the same server location. HTTP Error 500: Server Error.

    What do they mean saying "'c\inetpub\wwwroot\WebService1' does not correspond
    to URL 'http://localhost/WebService1'."??? The two obviously corresponds!

    Anyway, I edited Machine.config:

    <processModel enable="true" ....userName="MY_DOMAIN\dev" password="1234567"
    ...maxWorkerThreads="25" maxIoThreads="25"/>

    The first time when it worked after i edited Machine.config as you recommended,
    when I tried to create a new "ASP.net web services" project, an IIS authentication
    pop-up appeared requesting login and passwd.


    Note: VS.NET was running on a domain controller.

  2. #2
    reshma Guest

    Re: "web access failed" when attempting to create a web service via VS.NET IDE


    Hi Norman
    i too faced the same problem. lately i got the solution: goto IIS
    , select ur local computer , click Action , All tasks and Restart IIS.

    it worked fine for me , u can try it too.




    "norman" <norman_lm_fung@hotmail.com> wrote:
    >
    >HELP!!
    >
    >Keep Getting Access Failed" When attempting to "CREATE" web service project
    >with VS.NET IDE...
    >
    >IIS 5.0 is installed on this WIN2000 Adv Server. Visual Studio.NET of course.
    >I have IIS installed and enabled basic authentication.
    >
    >I made my selection on the New Project dialog and VS.net attempt to create
    >the project... Then error msg:
    >
    > "Web Access Failed"
    >
    > The default access mode set to this project is set to file share, but

    the
    >project folder at 'http://localhost/WebService1' cannot be opened with path
    >'c:\inetpub\wwwroot\WebService1'.
    > The error returned was:
    >
    > Unable to create Web project 'WebService1'. The file path 'c\inetpub\wwwroot\WebService1'
    >does not correspond to URL 'http://localhost/WebService1'. The two need

    to
    >map to the same server location. HTTP Error 500: Server Error.
    >
    >What do they mean saying "'c\inetpub\wwwroot\WebService1' does not correspond
    >to URL 'http://localhost/WebService1'."??? The two obviously corresponds!
    >
    >Anyway, I edited Machine.config:
    >
    ><processModel enable="true" ....userName="MY_DOMAIN\dev" password="1234567"
    >...maxWorkerThreads="25" maxIoThreads="25"/>
    >
    >The first time when it worked after i edited Machine.config as you recommended,
    >when I tried to create a new "ASP.net web services" project, an IIS authentication
    >pop-up appeared requesting login and passwd.
    >
    >
    >Note: VS.NET was running on a domain controller.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center