setting up a site in IIS 7 that has the folder in another server

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

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

@Wanjohi. Yes.I have set up the application on one server and it is working.... Now I want the second server to see the application in the same folder holding the files in the other server in IIS 7 On Tue, Jan 8, 2013 at 4:07 PM, Wanjohi Ndegwa <andegs2000@gmail.com> wrote:
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
_______________________________________________ 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

Then you should share the same folder within the network....probably also give read and write access. And at the point of selecting the physical path while creating a new application in IIS navigate to the network link and select the folder...alternatively just copy paste the network link to the shared folder On Tue, Jan 8, 2013 at 4:15 PM, Nick Developer <niodanga@gmail.com> wrote:
@Wanjohi. Yes.I have set up the application on one server and it is working....
Now I want the second server to see the application in the same folder holding the files in the other server in IIS 7
On Tue, Jan 8, 2013 at 4:07 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
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
_______________________________________________ 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
_______________________________________________ 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

@Wanjohi.... I have done that.... It shows the error below.. On Tue, Jan 8, 2013 at 4:23 PM, Wanjohi Ndegwa <andegs2000@gmail.com> wrote:
Then you should share the same folder within the network....probably also give read and write access. And at the point of selecting the physical path while creating a new application in IIS navigate to the network link and select the folder...alternatively just copy paste the network link to the shared folder
On Tue, Jan 8, 2013 at 4:15 PM, Nick Developer <niodanga@gmail.com> wrote:
@Wanjohi. Yes.I have set up the application on one server and it is working....
Now I want the second server to see the application in the same folder holding the files in the other server in IIS 7
On Tue, Jan 8, 2013 at 4:07 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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

.NET Framework 2 by default will deny a lot of permissions to executables on shared folders On Tue, Jan 8, 2013 at 4:34 PM, Nick Developer <niodanga@gmail.com> wrote:
@Wanjohi.... I have done that....
It shows the error below..
On Tue, Jan 8, 2013 at 4:23 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
Then you should share the same folder within the network....probably also give read and write access. And at the point of selecting the physical path while creating a new application in IIS navigate to the network link and select the folder...alternatively just copy paste the network link to the shared folder
On Tue, Jan 8, 2013 at 4:15 PM, Nick Developer <niodanga@gmail.com>wrote:
@Wanjohi. Yes.I have set up the application on one server and it is working....
Now I want the second server to see the application in the same folder holding the files in the other server in IIS 7
On Tue, Jan 8, 2013 at 4:07 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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

last price?, i have 22k

Huh? On Tue, Jan 8, 2013 at 4:41 PM, Davis Munene <davismunene@gmail.com> wrote:
last price?, i have 22k _______________________________________________ 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
-- Regards Brian Ngure

How can I set up an ASP NET application on IIS 7 in Windows Server 2008 R2 that has its folder in another Windows Server 2008 R2. So the result becomes one folder being accessed by two IIS 7 in different servers? Any ideas???? On Tue, Jan 8, 2013 at 4:43 PM, Brian Ngure <brian@pixie.co.ke> wrote:
Huh?
On Tue, Jan 8, 2013 at 4:41 PM, Davis Munene <davismunene@gmail.com>wrote:
last price?, i have 22k _______________________________________________ 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
-- Regards
Brian Ngure
_______________________________________________ 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

hehe, wrong skunk!

@ Rad.... NKTEST.. I am using dot net 2 .... how can I resolve this? On Tue, Jan 8, 2013 at 4:40 PM, Rad! <conradakunga@gmail.com> wrote:
.NET Framework 2 by default will deny a lot of permissions to executables on shared folders
On Tue, Jan 8, 2013 at 4:34 PM, Nick Developer <niodanga@gmail.com> wrote:
@Wanjohi.... I have done that....
It shows the error below..
On Tue, Jan 8, 2013 at 4:23 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
Then you should share the same folder within the network....probably also give read and write access. And at the point of selecting the physical path while creating a new application in IIS navigate to the network link and select the folder...alternatively just copy paste the network link to the shared folder
On Tue, Jan 8, 2013 at 4:15 PM, Nick Developer <niodanga@gmail.com>wrote:
@Wanjohi. Yes.I have set up the application on one server and it is working....
Now I want the second server to see the application in the same folder holding the files in the other server in IIS 7
On Tue, Jan 8, 2013 at 4:07 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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

Try the .NET Framework 2 configuration tool You need to get machine 1 to trust machine 2 My Computer --> Runtime Security Policy --> Machine --> Code Groups --> All code. Right Click on All Code and select new. Type the new Code Group Name --> Select URL from the drop down list and in the URL Path type the machine name (\\machine2\*) --> Select FullTrust Lemme know if that works On Tue, Jan 8, 2013 at 4:42 PM, Nick Developer <niodanga@gmail.com> wrote:
@ Rad.... NKTEST.. I am using dot net 2 .... how can I resolve this?
On Tue, Jan 8, 2013 at 4:40 PM, Rad! <conradakunga@gmail.com> wrote:
.NET Framework 2 by default will deny a lot of permissions to executables on shared folders
On Tue, Jan 8, 2013 at 4:34 PM, Nick Developer <niodanga@gmail.com>wrote:
@Wanjohi.... I have done that....
It shows the error below..
On Tue, Jan 8, 2013 at 4:23 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
Then you should share the same folder within the network....probably also give read and write access. And at the point of selecting the physical path while creating a new application in IIS navigate to the network link and select the folder...alternatively just copy paste the network link to the shared folder
On Tue, Jan 8, 2013 at 4:15 PM, Nick Developer <niodanga@gmail.com>wrote:
@Wanjohi. Yes.I have set up the application on one server and it is working....
Now I want the second server to see the application in the same folder holding the files in the other server in IIS 7
On Tue, Jan 8, 2013 at 4:07 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
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 >
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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

I am making the following assumptions : 1. When you click test setting after selecting physical path it says everything's ok 2. The application is working properly as a IIS web application on the first server on which the folder lies 3. You changed the application pool if you did indeed develop on a higher version of .NET If all the above are positive then, the at best it must be a file permission problem On Tue, Jan 8, 2013 at 4:34 PM, Nick Developer <niodanga@gmail.com> wrote:
@Wanjohi.... I have done that....
It shows the error below..
On Tue, Jan 8, 2013 at 4:23 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
Then you should share the same folder within the network....probably also give read and write access. And at the point of selecting the physical path while creating a new application in IIS navigate to the network link and select the folder...alternatively just copy paste the network link to the shared folder
On Tue, Jan 8, 2013 at 4:15 PM, Nick Developer <niodanga@gmail.com>wrote:
@Wanjohi. Yes.I have set up the application on one server and it is working....
Now I want the second server to see the application in the same folder holding the files in the other server in IIS 7
On Tue, Jan 8, 2013 at 4:07 PM, Wanjohi Ndegwa <andegs2000@gmail.com>wrote:
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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
_______________________________________________ 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
participants (5)
-
Brian Ngure
-
Davis Munene
-
Nick Developer
-
Rad!
-
Wanjohi Ndegwa