账号通
    

账号  

密码  

2353

查看

4

回复
主题:[IEXAM]WORD导入试卷有成功的吗?折腾一周了,仍是老样子。 [收藏主题] 转到:  
artedu 当前离线

760

主题

202

广播

11

粉丝
添加关注
级别:六年级

用户积分:1599 分
登录次数:540 次
注册时间:2013/1/20
最后登录:2023/12/25
artedu 发表于:2014/1/10 9:14:18   | 只看该作者 查看该作者主题 楼主 

err:Unable to cast COM object of type 'Microsoft.Office.Interop.Word.ApplicationClass' to interface type 'Microsoft.Office.Interop.Word._Application'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{00020970-0000-0000-C000-000000000046}' failed due to the following error: 加载类型库/DLL 时出错。 (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).


按官方的要求,重装了OFFICE.仍是不行。


如果使用EXCEL导入,就会提示这样。


Server Error in '/' Application.
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. 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.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

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:

 [ArgumentException: Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.]   System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +2080236   System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +106   System.Web.UI.WebControls.DropDownList.LoadPostData(String postDataKey, NameValueCollection postCollection) +55   System.Web.UI.WebControls.DropDownList.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +11   System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +408   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3776


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



 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
artedu 当前离线

760

主题

202

广播

11

粉丝
添加关注
级别:六年级

用户积分:1599 分
登录次数:540 次
注册时间:2013/1/20
最后登录:2023/12/25
artedu 发表于:2014/1/10 9:28:22   | 只看该作者 查看该作者主题 沙发 
科汛在线考试系统(NET)

解决方法一:

1.控制面板-》管理工具-》组件服务-》计算机-》我的电脑-》DCom配置-》找到Microsoft Word文档

之后

单击属性打开此应用程序的属性对话框。  

2. 单击标识选项卡,然后选择交互式用户。

3.单击"安全"选项卡,分别在"启动和激活权限"和"访问权限"组中选中"自定义",然后

自定义->编辑->添加ASP.NET账户和IUSER_计算机名





* 这些帐户仅在计算机上安装有 IIS 的情况下才存在。

4. 确保允许每个用户访问,然后单击确定。

5. 单击确定关闭 DCOMCNFG。



解决方法二:

如果上述方法不能解决问题,就应该是权限问题,请尝试用下面的方法:

在web.config中使用身份模拟,在节中加入







官方,解决方法二没说全啊。

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
科汛官方 当前离线

47268

主题

145

广播

405

粉丝
添加关注
级别:管理员

用户积分:101604 分
登录次数:7935 次
注册时间:2006/12/7
最后登录:2023/12/14
科汛官方 发表于:2014/1/10 12:18:45   | 只看该作者 查看该作者主题 藤椅 
科汛在线网校系统
方法二就是在web.config文件里增加以下这句

<identity impersonate="true" userName="administrator" password="654321"/>



上面的username和password改成您服务器的登录账号和密码。

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
artedu 当前离线

760

主题

202

广播

11

粉丝
添加关注
级别:六年级

用户积分:1599 分
登录次数:540 次
注册时间:2013/1/20
最后登录:2023/12/25
artedu 发表于:2014/1/10 12:55:48   | 只看该作者 查看该作者主题 板凳 
科汛智能建站系统
官方原版中就带,按要求改好仍不行。求原因 。

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
artedu 当前离线

760

主题

202

广播

11

粉丝
添加关注
级别:六年级

用户积分:1599 分
登录次数:540 次
注册时间:2013/1/20
最后登录:2023/12/25
artedu 发表于:2014/1/10 12:57:01   | 只看该作者 查看该作者主题 报纸 
科汛在线网校系统
WORD版本有要求吗?今天按官方要求做了N次。官方原版代码没做任何美化。新数据库。仍是不行。

 
  支持(0) | 反对(0) 回到顶部顶端 回到底部底部
<上一主题 | 下一主题 >
Powered By KesionCMS Version X1
厦门科汛软件有限公司 © 2006-2016 页面执行0.17969秒 powered by KesionCMS 9.0