正文

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database

IIS提示错误Server Error in '/’ Application.Attemp to write a readonly database

Attemp to write a readonly database

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly databaseIIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database

或者以下界面

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly databaseIIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database

问题原因:网站没有给iis_user权限

创建网站后,我们需要给网站添加iis_user权限才能正常的操作后台,在IIS网站列表中选中需要设置权限的网站,点击右侧的"编辑权限":

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly databaseIIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database

选择"安全",并点击"编辑":

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly databaseIIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database

选择"添加":

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly databaseIIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database

选择"高级":

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly databaseIIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database

点击"立即查找":

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly databaseIIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database

在列表中找到"iis_user"并选中,然后保存所有的操作

IIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly databaseIIS提示错误Server Error in ‘/’ Application.Attemp to write a readonly database