Can't Create ASP.NET Project (Web Access Error)


R

Raed Sawalha

When I try to create a new Web Application Project, a message appear showing
the following information:

For this project is established as Web access default mode as as file shared
resource, but the file of the project: 'http://localhost/WebApplication1'
can´t be opened with the access path: 'C:\Inetpub\wwwroot\WebApplication1' .
The retreived error is:

The Web project 'WebApplication1' can't be created. The
'C:\Inetpub\wwwroot\WebApplication1' file access path doesn't match with
'http://localhost/WebApplication1' URL address. Both must be assigned to
the same location in the server.

I have used the aspnet_regiis.exe -u and aspnet_regiis.exe -i to uninstall
and install asp.net but that didn't work.

Any Help Please
 
Ad

Advertisements

K

Kristof Thys

Raed said:
When I try to create a new Web Application Project, a message appear showing
the following information:

For this project is established as Web access default mode as as file shared
resource, but the file of the project: 'http://localhost/WebApplication1'
can´t be opened with the access path: 'C:\Inetpub\wwwroot\WebApplication1' .
The retreived error is:

The Web project 'WebApplication1' can't be created. The
'C:\Inetpub\wwwroot\WebApplication1' file access path doesn't match with
'http://localhost/WebApplication1' URL address. Both must be assigned to
the same location in the server.

I have used the aspnet_regiis.exe -u and aspnet_regiis.exe -i to uninstall
and install asp.net but that didn't work.

Any Help Please
Try this one:

Go to control panel -> administrative tools -> Internet Information
Services -> (local computer) -> websites -> Default website -> Right
click: Properties -> tab: Home directory -> Read must be checked in the
local path section...


grtz

Kristof
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top