469,625 Members | 1,692 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

Unable to create ASP.NET web application in VS Studio .NET 2003

When I try to create a new web application in VS Studio .NET 2003 at a
simple default location eg: http://localhost/WebApplication1 I get the
following error:

Visual Studio .NET cannot create or open the application. The
likeliest problem is that required components are not installed on the
local Web Server. Run Visual Studio .NET setup and add the Web
Development component.

Now in IIS6 my default website points at c:\websites which is also a
shared directory on the local network.

There is a also a directory for the quickstart stuff at:
C:\Program Files\Microsoft Visual Studio
..NET\FrameworkSDK\Samples\QuickStart

This is registered in IIS as a virtual directory
http://localhost/quickstart and was setup by the quickstart setup
program (for the 2002 version of the Framework).

Oddly enough when I try to create a web application in this directory
eg:
http://localhost/quickstart/WebApplication1
I have no problems it creates the web application perfectly.

I have tried with some other virtual directories that already existed
and even created some from scratch, but I can only create new
applications in the quickstart and mobilequickstart (also created by
the quickstart setup) directories.

I have looked at the settings in IIS for the quickstart virtual
directory and the other directories (both default and virtual) and
cannot see any differences but obviously there is some difference in
the permissions or IIS setup that I am missing.

I can't see anything in any of the postings that addresses this, any
ideas on how to fix this, as I need to be able to put my applications

Ciao,

Mickey
Nov 18 '05 #1
2 1801
did you install iis first or visual studio first?
vs setup changes iis and creates a aspnet user ...

if you installed vs first installing it again could do the trick (there are
more things that can act up i'm afraid but thats a good place to start)

hope it helps

eric

"Mickey" <we*****@hotmail.com> wrote in message
news:34**************************@posting.google.c om...
When I try to create a new web application in VS Studio .NET 2003 at a
simple default location eg: http://localhost/WebApplication1 I get the
following error:

Visual Studio .NET cannot create or open the application. The
likeliest problem is that required components are not installed on the
local Web Server. Run Visual Studio .NET setup and add the Web
Development component.

Now in IIS6 my default website points at c:\websites which is also a
shared directory on the local network.

There is a also a directory for the quickstart stuff at:
C:\Program Files\Microsoft Visual Studio
.NET\FrameworkSDK\Samples\QuickStart

This is registered in IIS as a virtual directory
http://localhost/quickstart and was setup by the quickstart setup
program (for the 2002 version of the Framework).

Oddly enough when I try to create a web application in this directory
eg:
http://localhost/quickstart/WebApplication1
I have no problems it creates the web application perfectly.

I have tried with some other virtual directories that already existed
and even created some from scratch, but I can only create new
applications in the quickstart and mobilequickstart (also created by
the quickstart setup) directories.

I have looked at the settings in IIS for the quickstart virtual
directory and the other directories (both default and virtual) and
cannot see any differences but obviously there is some difference in
the permissions or IIS setup that I am missing.

I can't see anything in any of the postings that addresses this, any
ideas on how to fix this, as I need to be able to put my applications

Ciao,

Mickey

Nov 18 '05 #2
This is a long shot but worth a try. Open a DOS prompt/Consol Window. Go to the directory that has the latest framework (mine is C:\WINNT\Microsoft.NET\Framework\v1.1.4322) from the dos prompt. Then execute the command

aspnet_regiis -

References
http://support.microsoft.com/default...kb;en-us;30600

http://groups.google.com/groups?hl=e...%3DN%26tab%3Dw

Rasika Wijayaratne
Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Reza Sadeghi | last post: by
1 post views Thread by TM | last post: by
1 post views Thread by Srinivasan Vasudevan via DotNetMonster.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.