Solved

Logon failure: unknown user name or bad password

Posted on 2011-03-14
9
1,736 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

696 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