当试图在ASP.NET里面使用COM对象的时候,常常出现这个异常。
可以尝试在web.config里面添加以下一行以解决这个问题
<identity impersonate="true" userName="YourAdminUsr" password="YourAdminPwd"/>
可以尝试在web.config里面添加以下一行以解决这个问题
<identity impersonate="true" userName="YourAdminUsr" password="YourAdminPwd"/>
在ASP.NET中使用COM对象时,常出现异常。可通过在web.config里添加<identity impersonate=\true\ userName=\YourAdminUsr\ password=\YourAdminPwd\/>这一行代码来解决该问题。
748

被折叠的 条评论
为什么被折叠?



