Solved

Logon failure: unknown user name or bad password

Posted on 2011-03-14
9
1,696 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
 

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
Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

 

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now