Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke Configuration Error- Ver 4.02DotNetNuke Configuration Error- Ver 4.02
Previous
 
Next
New Post
2/21/2006 5:58 PM
 

In the hopes of isolating the problem I was able to confirm the application has access to the database. The database contains an empty Version table. I dropped the table, re-ran my install script, received the same configuration error and verified the empty Version table returned. If the application didn't have access to the database, the table would not have been recreated.

Furthermore, I am also receiving the configuration error for DNN versions 4.0.1 and 4.0.2. At one point I received an Assember Version error message. That message was replaced with the configuration error message upon the next refresh (F5).

 
New Post
2/21/2006 8:42 PM
 

I set my debug flag to TRUE and custom error mode to OFF and received the following:

Server Error in '/' Application.

Access to the path 'C:\Inetpub\******\dspwest.com\httpdocs\Install\UnderConstruction.htm' 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 'C:\Inetpub\******\dspwest.com\httpdocs\Install\UnderConstruction.htm' 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.

Source Error:

Line 106:            If Not File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm")) Then
Line 107:                If File.Exists(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm")) Then
Line 108:                    File.Copy(System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.template.htm"), System.Web.HttpContext.Current.Server.MapPath("~/Install/UnderConstruction.htm"))
Line 109:                End If
Line 110:            End If

Source File: C:\Inetpub\******\dspwest.com\httpdocs\App_Code\Global.asax.vb    Line: 108

Stack Trace:

[UnauthorizedAccessException: Access to the path 'C:\Inetpub\******\dspwest.com\httpdocs\Install\UnderConstruction.htm' is denied.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2013027
   System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) +488
   System.IO.File.Copy(String sourceFileName, String destFileName) +6
   DotNetNuke.Common.Global.CreateUnderConstructionPage() in C:\Inetpub\******\dspwest.com\httpdocs\App_Code\Global.asax.vb:108
   DotNetNuke.Common.Global.CheckVersion() in C:\Inetpub\******\dspwest.com\httpdocs\App_Code\Global.asax.vb:91
   DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\Inetpub\******\dspwest.com\httpdocs\App_Code\Global.asax.vb:263


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

 
New Post
2/23/2006 7:07 PM
 

Okay! So check this out...

It works! What was going on is the application pool (new for IIS6) owner was NOT the Network Service account. Instead it was the IWAM user account. Everything worked beautifully once I set up modify rights for the IWAM user on my directory.

For anyone else experiencing this same problem, check out the owner for your application pool. It may not be the Network Service account. If that's the case, give the application pool owner modify rights to your directory. Then, re-run your install.

And, to give credit where credit is due...

Here's the article I read which lead me to this discovery:

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/107/threadid/20644/scope/posts/Default.aspx

SWEEEEEEET!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke Configuration Error- Ver 4.02DotNetNuke Configuration Error- Ver 4.02


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out