我有一个 Visual Studio 2010 ASP.Net 项目。我想将此项目部署到我的主机。我做到了,但我的网站无法正常工作。我可以访问主页等,但我不能做我以前的工作。我必须更改一些位于服务器上的单词模板。我正在使用 IIS 6。谢谢。顺便说一下,我确实更改了一些访问属性,但它不起作用。
在执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪来识别有关异常起源和位置的信息。
这是堆栈跟踪
[UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).]
System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType) +0
System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(RuntimeType serverType) +79
System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(RuntimeType serverType, Object[] props, Boolean bNewObj) +76
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache) +98
System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean skipCheckThis, Boolean fillCache) +241
System.Activator.CreateInstance(Type type, Boolean nonPublic) +69
System.Activator.CreateInstance(Type type) +6
TemplateModify3.modifyCont.justDoIt() in C:\Users\q\documents\visual studio 2010\Projects\TemplateModify3\TemplateModify3\modifyCont.aspx.cs:120
TemplateModify3.modifyCont.runDelegate(myDelegate dlg) in C:\Users\q\documents\visual studio 2010\Projects\TemplateModify3\TemplateModify3\modifyCont.aspx.cs:92
TemplateModify3.modifyCont.Button1_Click(Object sender, EventArgs e) in C:\Users\q\documents\visual studio 2010\Projects\TemplateModify3\TemplateModify3\modifyCont.aspx.cs:72
System.Web.UI.WebControls.Button.onclick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563