当试图在ASP.NET里面使用COM对象的时候,常常出现这个异常。
可以尝试在web.config里面添加以下一行以解决这个问题
<identity impersonate="true" userName="YourAdminUsr" password="YourAdminPwd"/>
转载于:https://www.cnblogs.com/hehe520/archive/2004/11/30/6330493.html
转载于:https://www.cnblogs.com/hehe520/archive/2004/11/30/6330493.html