×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

.net problem....please help!!!!

How can I deploy .net security policy??? I have used the method in

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/entsecpoladmin.asp

I created a deployment package new.msi in a server(in the package, I specified Full Access to a URL-my application), then simply copy this file to my own computer and execute the new.msi file. Then I launch IE, input the URL http://servername/dotnet/myapp.exe, the app cannot access sql server because of security limitation. Which means the new security policy doesn't take effect on my computer at all....

Any ideas? please help!!!!!!!!!!!! Thanks in advance.
Report

Replies, comments and Discussions:

  • 工作学习 / IT技术讨论 / .net problem....please help!!!!
    How can I deploy .net security policy??? I have used the method in

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetsec/html/entsecpoladmin.asp

    I created a deployment package new.msi in a server(in the package, I specified Full Access to a URL-my application), then simply copy this file to my own computer and execute the new.msi file. Then I launch IE, input the URL http://servername/dotnet/myapp.exe, the app cannot access sql server because of security limitation. Which means the new security policy doesn't take effect on my computer at all....

    Any ideas? please help!!!!!!!!!!!! Thanks in advance.
    • I think it's your IIS doesn't have access to your SQL server. IIS uses special account, which your can change, to access the computer resource.
    • aspnet user problem?
      i'm not quite familiar with this approach, but generally, if u r accessing ur db with windows authentication, u need to create login for computer\ASPNET user in ur sql, and grant it access to the db u r willing to use in ur web app.