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 ...Installation issues - IIS/W2K3 server/SQL2005Ent databaseInstallation issues - IIS/W2K3 server/SQL2005Ent database
Previous
 
Next
New Post
11/13/2008 11:01 AM
 

Posted - 11/11/2008 :  7:30:08 PM  Show Profile  Edit Topic  Reply with Quote  Delete Topic Report Abuse

I've been searching all over for an answer for this one, and I've tried everything I can think of. Can anyone give me a reason why this installation is not working? I've created an IIS/Win2K3/SQL Server 2005 install of DNN4.9.0. Everything seems fine up until I try to run the subsite http://localhost/MyDNN (MyDNN is the name of the Virtual Directory and Web Share) where I get the following error:

Security Exception
Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

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:

[SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
   System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
   System.Security.CodeAccessPermission.Demand() +59
   System.AppDomainSetup.VerifyDir(String dir, Boolean normalize) +110
   System.AppDomain.get_BaseDirectory() +61
   DotNetNuke.Common.Initialize.InitializeApp(HttpApplication app) +216
   DotNetNuke.Common.Initialize.Init(HttpApplication app) +125
   DotNetNuke.Common.Global.Global_BeginRequest(Object sender, EventArgs e) +50
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

NETWORK SERVICE has all rights to the DNN Virtual Directory, as does the domain admin. Tried logging in with the local server admin login... same result.

I tried altering the trust level in system.web to "Full". This had no effect. I also read somewhere that .NET 2.0 has a problem with subdirectories so I tried installing the Virtual Directory off the root of the hard drive, off the root of the "wwwroot" website and in c:\projects\MyDNN, all with the same result. I tried putting connection strings in both the root localhost web.config and the virtual directory web.config, with no results.  I would appreciate a clear tested script with a working DNN4.9.0 install using SQL2005 and IIS over Win2K3. I tried following the install documentation that comes with DNN and that supplied by the book entitled Beginning Dotnetnuke Skinning (which is different)... both don't seem to work.

Whatever help I can get here will be greatly appreciated. DNN Rocks ... if only I can get it to work!
thanks everyone

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installation issues - IIS/W2K3 server/SQL2005Ent databaseInstallation issues - IIS/W2K3 server/SQL2005Ent database


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