السلام عليكم جميعا
بعد محاولات عديدة على موقع somee للاتصال بقاعدة بيانات محلية sql server لم تنجح لان الموقع لا يدعم الSql Server، تحولت الى موقع آخر وهو aspspider ورفعت الموقع واتبعت جميع تعليماته بشأن قاعدة البيانات وهي تخزينها داخل مجلد Database ومن تم تعديل ملف Web.config ليبدو ال connection string كما يلي :
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/>
<add name="ConnectMyDB" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\MyDB.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
</connectionStrings>
ومن تم عمل attach لقاعدة البيانات، ولكن ظهرت لي رسالة خطأ وهي :
Server Error in '/Alsaediya' Application.
User does not have permission to perform this action.
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: User does not have permission to perform this action.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
فما معنى هذه الرسالة لأني لم اعمل صلاحيات ابدا على الموقع ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

