PDA

View Full Version : مشکل با asp net configuration (security(



AZERILA
شنبه 27 تیر 1388, 23:13 عصر
من می خوام asp net configuration کار کنم ولی هرچی سعی می کنم به قسمت security دسترسی پیدا کنم با این خطا رو برو می شم !
There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.

The following message may help in diagnosing the problem: Unable to connect to SQL Server database.
البته sql express ام مشکل داره و لی sql 2005 درسته ممکن مشکل از این باشه؟؟ ممنون

دانش آموز
یک شنبه 28 تیر 1388, 00:04 صبح
نه ربطی به این نداره. قسمتهای دیگه cnfiguration چی کار می کنه

AZERILA
یک شنبه 28 تیر 1388, 00:13 صبح
بله بقیه قسمتها کارمی کنند

AZERILA
یک شنبه 28 تیر 1388, 18:37 عصر
کسی نمی تونه به من کمک کنه!

AZERILA
پنج شنبه 01 مرداد 1388, 17:25 عصر
از ASPNET_REGSQL هم استفاده کردم ولی بازم نشد!

AZERILA
پنج شنبه 01 مرداد 1388, 17:53 عصر
خودم پیدا کردم باید این کد رو تو وب کانفیگ نوشت

<connectionStrings>

<remove name="LocalSqlServer"/>

<add name="LocalSqlServer" connectionString="Data Source=DELL-PC;Initial Catalog=ASPNETDB;Integrated Security=True" providerName="System.Data.SqlClient"/>

</connectionStrings>