Solved

Logon failure: unknown user name or bad password

Posted on 2011-03-14
9
1,710 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

863 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