×

Loading...
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务
Ad by
  • 推荐 OXIO 加拿大高速网络,最低月费仅$40. 使用推荐码 RCR37MB 可获得一个月的免费服务

.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.