HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...Windows authentication pop-up appears the first time Windows authentication pop-up appears the first time
Previous
 
Next
New Post
6/25/2006 10:08 PM
 

I have installed DNN 4.3.1 in my webhost and it works perfectly. The only strange thing is that the first time I access the website a Windows authentication window pops up asking for login and password. Well, if I fullfill the login and password for my user configured in SQL Server database, the site opens and I navigate perfecty without being annoyed again with the authentication message. I asked someone else to visit the website from another machine and the message did not appear for this person. She navigated without having to fullfill any authentication pop-up. The authentication was requested only for my first access.

Well, the website was left with no access from friday to sunday (today). I have just visited it and the pop-up appeared again. The strange thing is that today I decided to click CANCEL button. I did not authenticate. When I refreshed the page, it did open normally, without the website asking me again for an authentication.

I have the sensation this problem has to do with very simple configuration, maybe on my host, but probably in my web.config (possibly in my connection string). Any ideas on possible solution? Thanks a lot.

 
New Post
6/26/2006 6:41 AM
 

If you are using IE for your browser you need to change the security setting of your intranet zone so that Authentication is set to one of the 2 "Automatic Logon" settings.

 
New Post
6/27/2006 1:34 PM
 

Thanks for the answer, but... Does it really have to do with my IE configurations? It generates an ASP.NET error. I have set my customErrors mode="Off" to see a detailed error description. This is the error generated when I try to access the web address for the first time and I hit CANCEL instead of fullfilling user name and password to authenticate. It seems to be something that would be solved if I just set the approppriate permissions, but all the folders in my application are already configured as WRITE permission. Thanks for the help.

Access to the path '~FULL_PATH~\Portals\_default\EventQueue\Application_Start--12228d21 -d778-48e1-8209-db7ea3f16a6e.config' is denied.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path '~FULL_PATH~\Portals\_default\EventQueue\Application_Start--12228d21 -d778-48e1-8209-db7ea3f16a6e.config' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

 

 
New Post
6/28/2006 6:02 PM
 

I have exactly this problem too and I have seen several other un-answered posts on the issue including my own. 
I am on a shared host - all permissions look OK.
4.0 runs perfectly 4.31 has this issue regardless of if I do an upgrade from a 4.0 install or clean 4.31. 
I cannot reproduce this issue when running a 4.31 intsall on my local host IIS6 from the starter package.
Sigh !

On one trawl through the config I noticed that
    <!--<identity impersonate="true"/> <authentication mode="Windows"> </authentication> -->
Was set to Windows.  Changed to Forms (desperation) and even though the comments were still there the Windows authentication problem vanished.  Now I just get server app error pages from time to time.

One problem for me is I cannot seem to get full error messages even when following the instructions on the short form error page.


Mutate and Survive
 
New Post
6/29/2006 9:48 AM
 

Wow, that is really weird. I tried this thing you have suggested and actually deleted the comments with no success unfortunately. My host told me identity impersonate=true is set in their machine.config. Could this problem be related to that? It could be some problem related to their machine.config settings?

The problem happens to me every time my application starts. This is the screen... http://galvani1.locaweb.com.br/locaweb/spel.jpg

If I don't fullfill the username and password clicking CANCEL, this is the next screen:
http://galvani1.locaweb.com.br/locaweb/spel2.jpg

The strange thing is that no matter what I fullfill in the box, if I refresh the page, DNN starts normally... It could work well for hours... untill the next time DNN starts or the next time I update web.config file. Then the problem happens again.

To see the detailed error log you must set customErrors mode = Off. Did you try that?

 
Previous
 
Next
HomeHomeUsing DotNetNuk...Using DotNetNuk...Administration ...Administration ...Windows authentication pop-up appears the first time Windows authentication pop-up appears the first time


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.