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 ...Error when installing: <customErrors mode="Off"/>Error when installing:
Previous
 
Next
New Post
7/11/2008 10:19 AM
 

Hey guys,

I have downloaded DotNetNuke and I am currently trying to install it on my web hotel (hosted by www.unoeuro.com). I am following a guide hosted on bestwebsites.co.nz but even though it is a nice guide, I am experiencing some problems (check out the guide at http://www.bestwebsites.co.nz/dotnetnuke/how-to-install-dotnetnuke-on-a-hosted-server/). I have uploaded all the files through FTP and I have configured the web.config file. But I keep getting this error message:

Server Error in '/' Application.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

This is the connection string in my web.config file:

    <connectionStrings>
        <!-- Connection String for SQL Server 2005 Express
        <add
          name="SiteSqlServer"
          connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
          providerName="System.Data.SqlClient" /> -->
    <!-- Connection String for SQL Server 2000/2005 -->
    <add
      name="SiteSqlServer"
      connectionString="Server=sonic.worldispnetwork.com;Database=Koebman_DotNetNuke;uid=Koebman_DotNetNuke;pwd=*****;"
      providerName="System.Data.SqlClient" />
    </connectionStrings>

I have also updated this string:

    <add key="SiteSqlServer" value="Server=sonic.worldispnetwork.com;Database=Koebman_DotNetNuke;uid=Koebman_DotNetNuke;pwd=*****;"/>

I think I have entered the right information. Do you guys know what could be the problem?

I hope you can help me. Thank you in advance!

 
New Post
7/11/2008 10:57 AM
 

Okay, so I set customErrors to Off and get a new error message. This one:

Server Error in '/' Application.
Access to the path 'd:\web\localuser\koebmanden.com\dotnetnuke\\DotNetNuke.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 'd:\web\localuser\koebmanden.com\dotnetnuke\\DotNetNuke.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.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

There's just one weird problem: There is no file named DotNetNuke.config in the root directory. So why does the system want to access it?

 
New Post
7/12/2008 6:20 AM
 

Hey again,

I tried moving the whole system to another folder... Without any luck. My current error message is:

Server Error in '/' Application.

Access to the path 'd:\web\localuser\koebmanden.com\public_html\\DotNetNuke.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 'd:\web\localuser\koebmanden.com\public_html\\DotNetNuke.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.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[UnauthorizedAccessException: Access to the path 'd:\web\localuser\koebmanden.com\public_html\\DotNetNuke.config' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +651
System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) +432
DotNetNuke.HttpModules.RequestFilter.RequestFilterSettings.GetSettings() +236
DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +286
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


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

 
New Post
7/12/2008 11:17 AM
 

You've got a problem with file permissions.  The ASP.NET user needs full permissions to all of the files in your web directory.




Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
7/16/2008 6:45 AM
 

Koebmanden wrote

Okay, so I set customErrors to Off and get a new error message. This one:

Server Error in '/' Application.
Access to the path 'd:\web\localuser\koebmanden.com\dotnetnuke\\DotNetNuke.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.

There's just one weird problem: There is no file named DotNetNuke.config in the root directory. So why does the system want to access it?



Hi, you didnt follow the guide :)  You missed step 3, give access rights.  The dotnetnuke.config file does not exist, because DNN is trying to create it, and does not have write permission (because you missed step 3).

JK


You know your website is cool, so why not let your users help you by spreading the word on social networking sites - get the DotNetNuke Social Bookmarks Module with 57 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Error when installing: <customErrors mode="Off"/>Error when installing:


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