Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Activator.CreateInstance(String assemblyName, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironment(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
at System.Web.Hosting.ApplicationManager.CreateAppDomainWithHostingEnvironmentAndReportErrors(String appId, IApplicationHost appHost, HostingEnvironmentParameters hostingParameters)
有關更多信息,請參閱在 http://go.microsoft.com/fwlink/events.asp 的幫助和支持
怎麼辦,怎麼才可以運行這個網頁(這個網頁在我有VS2005的機器上運行調試是都可以的!)
----------------------------------------------------------------------
看看IIS是不是關了,如果開著就重新配置一下虛擬目錄
--------------------------------------------------------
怎麼看有沒有關,怎麼配置虛擬目錄,我以前沒弄過!
--------------------------------------------------------
服務器是2003,IIS是V6.0
--------------------------------------------------------
我也遇到這樣的問題,那位高人指點一下啊!
--------------------------------------------------------
up
--------------------------------------------------------
搞定 虛擬目錄指向的文件夾要加User組
--------------------------------------------------------
我是菜鳥,不知道我的回答是否多余!?
如果裝過IIS,默認應該是打開的,除非改過服務。
去控制面板-〉性能和維護-〉管理工具-〉Internet信息服務
就可以看到了,還可以設置虛擬目錄
解決辦法:在該web sites的virtual directory下,將Permissions設置一下,裡面應包含
ASP.NET
IWAM_MachineName
Local_Service
Network_Service
System
而且權限要設置為write & read.