Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path

前端 未结 5 1326
感情败类
感情败类 2020-12-07 02:08

net project in vs2010 i have a db and table inside the app_data folder, i have created a deployment package and have imported the package into an iis server that is installe

5条回答
  •  生来不讨喜
    2020-12-07 02:46

    Remove the User Instance=True. You don't need RANU instances. Next, make sure the SQL Server Express service account had the proper needed rights on your app_data:

    cacls  /E /T /G SQLServerMSSQLUser$$SQLEXPRESS:F 
    

提交回复
热议问题