Solved

Logon failure: unknown user name or bad password

Posted on 2011-03-14
9
1,724 Views
Last Modified: 2012-05-11
We are currently migrating from an old Novell network server to a new server. On the old Novell server, we had a virtual directory ("p1") that allowed us to link documents from the Novell server to be viewed on our intranet.
It was years ago but I think we set up impersonation and now I can't remember how we did it.
We are running IIS 6 and now, on every .aspx page that tries to pull files from the new virtual directory, I get the "Logon failure: unknown user name or bad password"
Using this string of code: <%= System.Security.Principal.WindowsIdentity.GetCurrent().Name%>
I verified that the user account is "Intranet\IUSR_Intranet"
The .aspx web application has "<identity impersonate="true" />"
I really need some help as I just am not sure where to go from here. None of my .aspx pages work
0
Comment
Question by:lakhi
9 Comments
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 35129961
Have you switched off Anonymous Access on the site itself so that it passes the Windows credentials?
0
 

Author Comment

by:lakhi
ID: 35130132
I switched off Anonymous Access and then stopped and restarted IIS but it didn't seem to make a difference.

Would I need to make changes in the machine.config file too? I just don't work with this often enough to know for sure

0
 
LVL 10

Expert Comment

by:pramodsk40
ID: 35130143
Please check the permissions for the Application pool identity on the web application, ASPNET (Full permission) account and IIS_WPG sccount and network service.

also,See if this is similar to your issue

http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/Q_24392115.html
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:lakhi
ID: 35130340
The application pool identity is "Intranet_pooled" - how do I find out if ASP.NET account is a member?
0
 

Author Comment

by:lakhi
ID: 35142669
I have more information on this. The new server is not a windows server per se but a NetApps/CIFS that emulates a server. I am neither a network guru or a server tech. I did not set up the new virtual directory either but I find that I can create as many static links as I want to and they all work.
My .asp pages now give the error "Path not found" and, as stated above, the .aspx pages all give "Logon Failure: Bad username or password"
I have numbers of pages that are no longer working and really need help with this
0
 
LVL 42

Expert Comment

by:paulsolov
ID: 35153376
What exactly is on the Netapp CIFS share?  Is it a share folder..if so you'll need to login to the Netapp and find out a few things.

1.  Does the time on the Netapp match Active Directory..it needs to be within 5 minutes
2.  Can you login using AD credentials.  
3.  You can do a "cifs testdc" to ensure that you're connected to AD
0
 

Accepted Solution

by:
lakhi earned 0 total points
ID: 35153618
Actually, after a GREAT deal of searching, we found the solution quite by accident. Since the Netapp CIFS server functions as a server, we no longer needed "Identity=true" in the Web.config file.
Removing that line resolved the problem.

This is ok to close
0
 

Author Closing Comment

by:lakhi
ID: 35196728
Found solution on my own
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jquery + C#.net radiobuttonlist 3 43
OWA issue - Exchange 2013 - 440 Login Timeout 8 61
ASP.NET MVC - Views 3 38
locate sql commands in C# visual studio Project 6 35
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question