سلام، من يك صفحه Login با كنترل هاي خود ASP.Net ساختم و فايل DB را هم با ASP.Net Web Site Administration Tool خودش ايجاد كردم.
اما نمي تونم اين DB رو هاست آپلود كنم
اول همينطوري فقط فايل mdf تو پوشه App_Data هاست آپلود كردم نتونستم وارد سايت بشم و خطاي زير داد، بعد اون فايل از رو هاست پاك كردم خطاي نبودن فايل DB داد
Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.
بعد يكم سرچ زدم دوستان گفته بودن بايد اسكريپت بسازم و بعد اون Restore كنم رو هاست. اما وقت آپلود خطاي موجود بودن همچين ديتابيسي رو ميده (پنل هاستم هم Plesk هست)
چي كار بايد بكنم ؟