我瘋了!我希望你能幫助我一個建議。在Visualstudio中運行存儲在網絡驅動器上的Web應用程序
Inside Virtualbox我運行Windows Server 2008 R2。在這臺機器上,我嘗試調試Visualstudio 2010中的web應用程序.webbapplication存儲在網絡驅動器上。 那麼網絡驅動器真的是我的硬盤的一個分區。由於共享文件夾,虛擬機會將其識別爲網絡驅動器,但在我看來,我並不關心實際問題。
當我嘗試啓動applition一個獲得類似這樣的錯誤:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'E:\Testing\In Work\5.1 SP1\SitefinityWebApp'.
Source Error:
[No relevant source lines]
Source File: E:\Testing\In Work\5.1 SP1\SitefinityWebApp\web.config Line: 0
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034
我媒體鏈接嘗試使用通過caspol得到fulltrust到應用程序如下:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe -m -ag 1 -url "file:////\\VBOXSVR\d_drive\Testing\In Work\5.1 SP1\SitefinityWebApp*" FullTrust -exclusive on
或本
C:\Windows\Microsoft.NET\Framework\v4.0.30319\CasPol.exe -machine -addgroup All_Code -url "E:\Testing\In Work\*" FullTrust
但沒有什麼幫助!
有沒有人解決?
p.s. 如果我在虛擬硬盤上運行相同的項目,它工作正常!