Groups | Blog | Home
all groups > dotnet setup > march 2004 >

dotnet setup : 401 Error opening trying to open new project


(lkinnett NO[at]SPAM nnex.net)
3/27/2004 11:29:52 AM
I have been trying to fix this problem for days and searching for a solution and came across this posting from March 14 which describes my problem exactly but with no replies.

"I am getting multiple errors when I try to open an existing or creating a new project. When I try to open an existing project this is the error: "Unable to get the project file from the Web server. Unable to open Web project 'WebApp1'. The file path 'some path' does not correspond to the URL 'some URL'. The two need to map to the same server location. HTTP Error 401: Access Denied" When I try to start a new project this is the error: "The Web server reported the following error when attempting to create or open the Web project located at the following URL: 'http://localhost/WebApplication1'. 'The server returned an invalid or unrecognized response'." I have been trying to fix this problem for the last couple of days. I have tried everything including going to devenv.exe.config and checking all of the IIS settings. Please help, thanks."

I too have tried many, many different things and I need this for my classes. Even my instructor is confused.
Can anyone assist me, please.
Larry Kinnett

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
(lkinnett NO[at]SPAM nnex.net)
4/1/2004 1:28:52 PM
If anyone else should come across this problem, here is the solution:
Error Message: 401.1 Error (Unauthorized: Logon Failed)
View products that this article applies to.
This article was previously published under Q247593
SYMPTOMS
When you try to log on to an Internet Information Services (IIS) 5.0 computer, the following error message may occur:

401.1 Unauthorized: Logon failed
CAUSE
This problem may be caused by a number of reasons, however, the following are the most common:
The users credentials (the username and password) are not correct.
The user account may not have the right to log on to the computer interactively (the "log on locally" right).
RESOLUTION
Check the username and the password of the user to make sure that they are correct. If this is correct, be sure the user has the "log on locally" right granted to it.

To verify user rights, do the following:
Open the Local Security Policy tool from the Administrative Tools folder.
Select Local Policies, choose User Rights Assignment, and then click the Log On Locally user right.
If the user account or group that the user belongs to is not listed, then add it.
MORE INFORMATION
See the Internet Information Services 5.0 documentation for more information about authentication. This documentation can be found at the following URL example:
http://localhost/IISHelp



**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
DotNetJunkies User
7/14/2004 7:39:42 AM
I also had this problem - I am running behind a firewall and the localhost reference was giving me errors.

However, what did work for me was to create the visual studio project using my real IP address (not the 127.0.0.1 - and not localhost).

---
Posted using Wimdows.net NntpNews Component -

AddThis Social Bookmark Button