PageAdmin网站内容管理系统(CMS)交流论坛

注册

 

QQ登录

只需一步,快速开始

发新话题 回复该主题

留言板在来访者留言提交时出现代码是怎么回事? [复制链接]

1#
我的留言板怎么 在留言提交后就出现很多代码?:

Server Error in '/' Application. Retrieving the COM class factory for component with CLSID {E5FF9F62-0E7C-4372-8AD5-DA7D2418070C} failed due to the following error: 80070005. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {E5FF9F62-0E7C-4372-8AD5-DA7D2418070C} failed due to the following error: 80070005.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impers/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

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:

[UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {E5FF9F62-0E7C-4372-8AD5-DA7D2418070C} failed due to the following error: 80070005.]   SendMail.SendByJmail(String MailHost, String Email, String em_pass, String em_from, String fajian_name, String em_replay, String em_to, String em_cc, String em_subject, String em_body) +25   PageAdmin.feedback.SendMail(String Type, String ReplayTo, String Body) +407   PageAdmin.feedback.Data_Add() +1699   PageAdmin.feedback.Page_Load(Object sender, EventArgs e) +458   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34   System.Web.UI.Control.OnLoad(EventArgs e) +99   System.Web.UI.Control.LoadRecursive() +47   System.Web.UI.Control.LoadRecursive() +131   System.Web.UI.Control.LoadRecursive() +131   System.Web.UI.Control.LoadRecursive() +131   System.Web.UI.Control.LoadRecursive() +131   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

而实际上留言却是成功的。重新回到留言板就可以看到刚刚的留言。
分享 转发
TOP
2#

发送邮件出错,没有安装jmail组件
TOP
3#

好,明白了。谢谢
TOP
发新话题 回复该主题