2009年9月24日 星期四

ASP connect to SQL Server using Windows Authentication(ASP使用Windows認證連線到SQL Server)

ASP connect to SQL Server using Windows Authentication(ASP使用Windows認證連線到SQL Server)

1.Using Computer Management,Create a new Local Windows Account name myAppUser

2.Internet Service Manager, open the Properties Sheet of the virtual directory for the Web application,
select the Directory Security tab,
click on the Edit button for Anonymous Access and Authentication Control to display the Authentication Methods.
Click the Edit button for Allow Anonymous Access to edit the NT account used for anonymous access (MyAppUser)

3.select the Basic authentication (password is sent in clear text) option(基本驗證).

[Reference]
PRB: "Client Unable to Establish Connection" Error Message When Connecting from ASP to SQL Server
http://support.microsoft.com/?scid=kb%3Ben-us%3B253500&x=6&y=10

Authentication methods for connections to SQL Server in Active Server Pages
http://support.microsoft.com/?scid=kb%3Ben-us%3B247931&x=7&y=11

How to use Kerberos authentication in SQL Server
http://support.microsoft.com/kb/319723/en-us

沒有留言:

SQL Server Planning, Pricing and License

  Server-CALs授權模式 1.需購買的量應該是所有終端用戶的電腦 例如:一台Data warehouse主機 與 一台Web報表主機,但公司有50人或電腦會連進Web報表主機開啟報表,則應該每一台用戶端電腦都需要有CALs授權,Data warehouse主機購買Ser...