IIS 报错 Cannot open database "test4" requested by the login. The login failed. Login failed for user 'IIS APPPOOL\test1'.
报错:
Cannot open database "test4" requested by the login. The login failed. Login failed for user 'IIS APPPOOL\test1'.
解决:
打开IIS -> 应用程序池 -> 选择对应的应用程序池 -> 高级设置 -> 标识(进程模型) -> 选择LocalSystem