OLEDB security exception

后端 未结 1 1534
予麋鹿
予麋鹿 2021-01-27 02:12

I\'m using ASP.NET 4.0 with C# for an web application. There was a part to import data from excel file. I\'ve used Microsoft.Jet.OLEDB.4.0 to do that. The process is-

相关标签:
1条回答
  • 2021-01-27 02:59

    In the <System.Web> section of your web.config file, add the following:

    <trust level="Full" />
    

    That should elevate your trust level, and you should be able to function normally after that.

    0 讨论(0)
提交回复
热议问题