Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SmarterTools
The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Error when installing:
Previous Previous
 
Next Next
New Post 7/11/2008 8:19 AM
Unresolved
User is offline Koebmanden
5 posts
10th Ranked


Error when installing:  

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 8:57 AM
User is offline Koebmanden
5 posts
10th Ranked


Re: Error when installing:  

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 4:20 AM
User is offline Koebmanden
5 posts
10th Ranked


Re: Error when installing:  

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 9:17 AM
User is offline Joe Craig
394 posts
8th Ranked


Re: Error when installing:  

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
 
New Post 7/16/2008 4:45 AM
User is offline JK
357 posts
www.bestwebsites.co.nz
8th Ranked


Re: Error when installing:  

 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 55 different ways to add social bookmarks to your site ... or download the FREE demo right now
 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Error when installing:
 


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.

 


DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
Verndale - Web Development, Support, Hosting
Since 1998, Verndale has helped hundreds of emerging and midsize businesses maximize the value and reach of their web assets with a comprehensive offering of strategy, design, development, search marketing and support services.
www.verndale.com
Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP