Groups | Blog | Home
all groups > dotnet academic > october 2004 >

dotnet academic : Cannot create an ASP.NET web application


jonefer
10/2/2004 10:25:02 PM
I've had Visual studio.NET installed for some time now and am getting the
following error: "Visual Studio could not identify the version of ASP.NET on
the Web server"

jonefer
10/3/2004 10:01:03 AM
Peter,

I tried article 306005 but I still receive an error. Here is the complete
message:

Visual Studio could not identify the version of ASP.NET on the Web server.
the web server reported the following error when attempting to create or open
the Web project located at the following URL: "http://localhost/testAsp'.
HTTP/1.1 401 Access Denied". Do you want to continue?

[quoted text, click to view]
Peter van der Goes
10/3/2004 10:09:31 AM

[quoted text, click to view]

First question: Are we talking about a local instance of IIS or a remote
server?
Second question: Did you install IIS before or after Visual Studio .NET?
If the answers are local and after, the solution that fixes most of these
problems can be found in KnowledgeBase Article #306005.
If I've guessed incorrectly, please provide more details so that those here
can provide more detailed responses.

--
Peter [MVP Visual Developer]
Jack of all trades, master of none.

Mohamed Farouk
10/6/2004 5:31:01 PM
you have to grant the account on which asp worker process is working
permission for several directories on your web server

[quoted text, click to view]
jonefer
10/6/2004 5:45:01 PM
Mohamed,

Please walk me through the steps of making sure I grant the appropriate
permissions for the several directories. I just followed the directions
during the installation.

[quoted text, click to view]
Mohamed Farouk
10/7/2004 6:09:11 PM
okay, if you are running IIS 5 ,this will be the ASP.NET account, just make
shure it is the one, brows to the Machine.Config file and look up the
Authorization tag ,there you will find the used account,this file will be
under the windows folder of the web server,just make a search.

if you are using IIS 6 this setting is overridden by the setting in IIS
,simply open IIS snap in ,brows for application pools>Default AppPool> right
click then properties then identity tab ,there you will see what is the used
account .
the used account must be part of the IIS_WPG.

the folders are
wwwroot
\\webserver\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\

if you got stuck at any step just try to use MSDN, it contains a detailed
and thourogh explanation.

[quoted text, click to view]
SupaFly
12/7/2004 8:42:24 PM
I am having this same problem...and tried all these things. aspnet_reg
and i made sure the network service user is part of the IIS_WPG group.
I still get the same error.

Thanks for any help
M
3/18/2005 6:23:11 AM
I'm getting the same error. Has anyone been able to determine what would
correct this ? I have read all the replies to this and tried all suggestions,
but I am
still getting the error.



[quoted text, click to view]
AddThis Social Bookmark Button