?
Solved

Logon failure: unknown user name or bad password

Posted on 2011-03-14
9
Medium Priority
?
1,752 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
Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

 

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

741 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