asp.net windows authentication to sql server

前端 未结 5 1964
闹比i
闹比i 2021-01-14 15:44

I can not seem to get sql server to recognize my credentials.

Asp.net recognizes me when I login but when I execute a sql command I get a login failed message.

5条回答
  •  悲&欢浪女
    2021-01-14 16:44

    You need to set you credentials in Application Pool. - Open IIS - Select Application Pools - Enter the name, select .Net framework version and click OK - Select the new added application pool and click on Advanced Settings.. - In the Process Model section click on Identity - choose custom account and enter the AD username, password, confirm password and click OK - Select your application and in the Basic settings choose your application pool just created.

    Hope this helps

提交回复
热议问题