first things first. Did you test the web application set up using a simple application that only contains the web.config file and a simple aspx page with a simple message like "This is a test"?

And then test if you can reach that application?


On Tue, Jan 8, 2013 at 3:51 PM, Nick Developer <niodanga@gmail.com> wrote:

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....


_______________________________________________
skunkworks mailing list
skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke