Hi,

I am trying to set up a web application in IIS 7 that has its content in a shared folder over the network.

The IIS 7 is in Windows Server 2008 R2 and the folder is in another Windows Server 2008 R2 in a drive.....

The error message that I am getting is:

Exception Details: System.Security.SecurityException: Request 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 failed.]
   System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +62
   System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +42
   System.Type.GetType(String typeName) +65
   System.CodeDom.Compiler.CompilerInfo.get_IsCodeDomProviderTypeValid() +13
   System.Web.Compilation.CompilationUtil.GetRecompilationHash(CompilationSection ps) +3182
   System.Web.Configuration.CompilationSection.get_RecompilationHash() +73
   System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate2(StandardDiskBuildResultCache diskCache) +684
   System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(StandardDiskBuildResultCache diskCache) +50
   System.Web.Compilation.BuildManager.Initialize() +320
   System.Web.Compilation.BuildManager.InitializeBuildManager() +11225183
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +498



Version Information: Microsoft .NET Framework Version:2.0.50727.4984; ASP.NET Version:2.0.50727.4971

Please assist....