简体   繁体   中英

Why i get this error when i publish asp.net app on iis?

I want to publish my asp.net application to iis,but when i run the application i get this error:
在此处输入图片说明

i exert this link:
enter link description here

but i get this error now:
在此处输入图片说明


在此处输入图片说明

It looks like you are using integrated authentication for your SQL connection and the user that the AppPool is running under has not been granted access to the database. If you intended to use integrated authentication, you should add the domain login corresponding to the AppPool id to your database and grant it access. If not, then update your connection string with the correct SQL credentials - probably in your release config transform - and redeploy.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM