Close

Not a member yet? Register now and get started.

lock and key

Sign in to your account.

Account Login

Forgot your password?

SOLVED: Sharepoint Foundation 2010 New Web Application Prompting for Username and Password Credentials

10 Dec Posted by in Windows Server | 17 comments

Ok… this is what I blew my morning on and man that is not cool!  (scroll immediately to the bottom if you just want the easy fix!)

I created a new Webapp and Site Collection in a fresh Sharepoint Foundation 2010 server running Server 2008 R2 Standard 64 bit and found that I was being prompted for Username and Password Credentials even though I was logged in as Enterprise Admin.  After three apparently failed attempts at entering my existing (or any other admins) credentials, the prompt would go away and there was error visable.

I tried explicitly adding myself into the security via CENTRAL ADMIN – MANAGE WEB APPLICATIONS – [clicking on the WebApp in question] – USER POLICY (menu at the top of the window) – adding myself in.  No change.

I verified that the settings appeared to be the same on the default site as my site.

I tried extending the default site that the Sharepoing 2010 install created but I had the same problem.

I checked the Windows Server Security Event Log but found nothing interesting.

I Binged/ Googled the Hell out of this but found nothing useful.

I then blew my mind out and uninstalled – reinstalled Sharepoint Foudation 2010 from scratch.  Then I built a new Web Application and it associated Site Collection, but found I had the same damn problem… this was sure alot of fun!!!

Train Signal Computer Training

 

I started checking other Windows Event logs and found this:

Log Name:      System                  Source:        LsaSrv
Date:          12/10/2010 1:49:45 PM
Event ID:      6037                          Task Category: None
Level:         Warning                        Keywords:      Classic
User:          N/A                                 Computer:      tanker-ms.ars1.local
Description:
The program w3wp.exe, with the assigned process ID 12668, could not authenticate locally by using the target name HTTP/billboard2.ars1.local. The target name used is not valid. A target name should refer to one of the local computer names, for example, the DNS host name.

Try a different target name.

Which after many tries in Google, I found the following via Bing which worked perfectly and solved the issue in about 30 seconds:

  1. Go to REGEDIT > HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > LsaMSV1_0
  2. Right click MSV1_0 > New > Multi-String Value
  3. Type ‘BackConnectionHostNames’
  4. Right click & select ‘Modify’
  5. Enter the Hostname of the site: WEBSITENAME (and on a new line enter the FQDN, WEBSITENAME.domain.com as well)
  6. Restart IIS (be sure to RUNAS ADMINISTRATOR your IISRESET.EXE if you have UAC enabled)

And a big fat thank you to Terence of  http://www.dotnetpulse.com/?p=70

Also note that Up & Running is an MS Partner, so I posted this with the SPoint Team and was told that this KBase article explains the cause of this issue and that even though it refers to Windows 2003, it applies to all current versions, including Windows 2008 R2 Server 64Bit, which I am using.

Be Sociable, Share!

  1. avatar
    Karen05-26-11

    Thank you!!! This completely solved our issue!!!!!!!

  2. avatar
    Rick06-07-11

    Oh my. I’ve been stuck on this for soooo long. Thank you and the dude you found this from. Yipeeee!

  3. avatar
    Peter08-18-11

    Works! Thanks

  4. avatar
    radz01-23-12

    Thanks, Dude! I was working to solve this problem for hours.

    • avatar
      Ian Matthews01-29-12

      Ya, I hated this stupid problem. I am glad it helped you.

  5. avatar
    Matt Richardson01-25-12

    Excellent! Thank you so much, I am sure this saved me hours of troubleshooting!

  6. avatar
    Kevin Delafield02-17-12

    Your solution will live on in imfamy!

  7. avatar
    Michael Arthey03-12-12

    Thank you for sharing this. I have a few more follicles of hair on my head thanks to you.

    • avatar
      Ian Matthews03-12-12

      Well, going bald would be worse than being prompted :)

      I am glad this helped

  8. avatar
    Fat Dragon03-15-12

    I’ve lost 3 nights solving this issue. I’ve tried many different things… I’ve even added all domain users in “domain admins”. :) (Just kidding, of course)

    Anyway – the first thing you should ask your self: have you created site collection? For empty web apps (without site collection) you can get this exact behavior.

    I hope that it is helpful for you…

    cheers

    • avatar
      Ian Matthews03-19-12

      Thanks for adding in your experience. This is a popular post and others will appreciate it.

      Have a great day and come again.

  9. avatar
    Nidhi Shah03-19-12

    I am encountering the same problem. I have followed your steps and still no success.

    Any suggestions, to get rid of this authentication issue?

    Thanks,

    -Nidhi

  10. avatar
    Erik04-08-12

    Hi.

    I have reposted this solution on my blog for foture reference.

    Thank you. You saved me a lot of frustration figuring out whay my development eneviromant went bananus..

Leave a Reply

  1. Can Not Find Domain Users In Sharepoint 2010 - Up & Running Technologies Calgary12-17-10
  2. Stop prompting for already saved passwords?02-24-12