The application attempted to perform an operation not allowed by the security policy

后端 未结 6 2122
暗喜
暗喜 2020-12-16 22:06

I have developed an Asp.net website in Visual Studio 2008 and it worked fine while using Vista OS but my workstation got upgraded to Windows 7 and I now get following error:

6条回答
  •  無奈伤痛
    2020-12-16 22:33

    I was getting the same error...so I solved with two steps. First, adding code in web.config file.

    and second, changing the IIS Manger. Select the server in IIS. Click/Open Feature Delegation under management. Than, change .NET Trust Level to Read/Write (from right hand Action panel)

    Thanks

提交回复
热议问题