Results 1 to 6 of 6

Thread: New ASP .Net Web Application Problem [Web Access Failed]

  1. #1

    Thread Starter
    Addicted Member charmedcharmer's Avatar
    Join Date
    Sep 2003
    Posts
    211

    Question New ASP .Net Web Application Problem [Web Access Failed]

    When I try to create a new ASP .Net Web Application I do receive this error:

    The default Web Access mode for this project is set to file share, but the project folder at "http://localhost/Webapplication1" cannot be opened with the path "C:Inetpub\..."

    The error returned was:
    Unable to create Web project 'WebApplication1'. The path
    'C:\Inetpub\...' does not correspond to the URL
    'http://localhost/WebApplication1'. The two need to map to the same server location. HTTP Error 503: Service Unavailable

    ____________________________

    Im quite new with ASP .NEt, So Im clueless with this error. Ive tired searching but i dont have that damn luck yet. So any help would be appreciated. Thank you Very much
    C++ Programming is overwhelming.

    Dont let it overwhelm you or you'll fall into the oblivion of its perfection

  2. #2
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497

    Re: New ASP .Net Web Application Problem [Web Access Failed]

    It means that you are storing the project files somewhere else than it expected. When you get that error, there is a browse button. Browse to the folder with the project files inside and open one.
    Need to re-register ASP.NET?
    C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i

    (Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)

  3. #3
    Lively Member
    Join Date
    Oct 2004
    Posts
    88

    Re: New ASP .Net Web Application Problem [Web Access Failed]

    Since we're talking about this issue, I have similar problem:

    I do all the project locally, it works fine.

    When I upload the whole project to the root of my server (including global.asax, web.config, bin directory etc.), the page is processed in a different way - the output HTML consists of calling some javascript functions that don't exist, so the event of clicking the button produce a javascript error !?
    I repeat, it works fine on my local comp.

    Same thing happens if I don't create the project and upload it, but one single .aspx page. It works fine local, but when I upload it, 90% of it works fine, but nothing happens when I click one button (javascript error).

  4. #4

    Thread Starter
    Addicted Member charmedcharmer's Avatar
    Join Date
    Sep 2003
    Posts
    211

    Re: New ASP .Net Web Application Problem [Web Access Failed]

    My problem is Im not opening a project, im creating a new one. Even if I change the folder I still get that error. I think its an IIS related problem, any suggestions regarding this one?
    C++ Programming is overwhelming.

    Dont let it overwhelm you or you'll fall into the oblivion of its perfection

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: New ASP .Net Web Application Problem [Web Access Failed]

    Start > Run > Services.msc {ENTER}

    Is the IIS service running?

    Start > Run > Inetmgr

    Is is running or stopped?

  6. #6

    Thread Starter
    Addicted Member charmedcharmer's Avatar
    Join Date
    Sep 2003
    Posts
    211

    Re: New ASP .Net Web Application Problem [Web Access Failed]

    Yes IIS is running. and dont have a clue what this error is all about
    C++ Programming is overwhelming.

    Dont let it overwhelm you or you'll fall into the oblivion of its perfection

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