Mitchel's Forums

Subject: Hosted Install of DNN on Windows Server 2008 & IIS 7
Prev Next
You are not authorized to post a reply.

AuthorMessages
CaptainMUser is Offline
New Poster
New Poster
Posts:2

07/01/2008 1:49 PM  

Hello,

I am running into a problem installing DNN manually in the ROOT of my domain.  My host provider is EasyCGI.   I have used the article by Mitch Sellers as my guideline (checklist) to ensure I ask the host provider the correct questions.

They have suggested that I add an IMPERSONATION string to the Web.Config file to address the permission problem for the  ASP.NET Worker Process in the ROOT.

In the Web.Config File I added the following around line 151 between angle brackets:

identity impersonate="true" password="1234567" userName="xyz123"

Herewith the error I receive when I run the install:

--------------------------------------------------------------------------------
Server Error in '/' Application.
--------------------------------------------------------------------------------

Access to the path 'c:\websites\xyz123\xyz.org\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:\websites\xyz123\acqp.org\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 , 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 'c:\websites\xyz123\xyz.org\Install\UnderConstruction.htm' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +651
System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite) +432
DotNetNuke.Common.Initialize.CreateUnderConstructionPage(HttpServerUtility server) +98
DotNetNuke.Common.Initialize.CheckVersion(HttpApplication app) +193
DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +413
DotNetNuke.Common.Initialize.Init(HttpApplication app) +125
DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +177
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.1434; ASP.NET Version:2.0.50727.1434
--------------------------------------------------------------------------------

At this point it seems that they cannot help me any further.  This has been going on for more than a week.  I was hoping that there is someone that have soved this problem and could provide me with information how I can do the same.

One option is to move to a different host provider.  I am considdering it, but I am limited to the Diskspace (more than 10GB) requirments, Bandwidth and keeping Hosting costs down.

All thoughts and suggestions are welcome.

Many thanks...

Mitchel SellersUser is Offline
Site Admin/Owner
Guru
Guru
Posts:5607

07/01/2008 2:20 PM  
The error is still pointing to a permissions issue. Using impersonation is very unusual in my experience with a hosting provider....but if it would have worked you should be good.

Given your troubles i have to say that I highly recommend 3Essentials hosting, they host this site as well as all of my other sites. I have had a great experience overall, and many people have joined due to my referrals and they seem to be happy as well.

If you do consider switching, using my referral link is appreciated!

-Mitchel Sellers
MCITP, MCPD, MCTS
Director of Development
IowaComputerGurus Inc.

View Mitchel Sellers's profile on LinkedIn

3Essentials is my recommended Shared Hosting Provider

This site is hosted on a VPS from HostMySIte.com

Mosso is my recommended cloud computing provider. Use reference code REF-ICG to get $100 off your second month!

To get Guaranteed DNN Support check out our affordable DNN Technical Support Programs
You are not authorized to post a reply.
Forums >Development Discussion >DotNetNuke > Hosted Install of DNN on Windows Server 2008 & IIS 7



ActiveForums 3.7