PDA

View Full Version : Unable to connect to SQL Server database



programmable
چهارشنبه 22 فروردین 1386, 09:47 صبح
در ویژوال 2005 وقتی در 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.

رو میده ! مشکل کجاست؟
در administrative tools در گزینه ی services دیدم sql server express استاپ هست. استارت هم که میکنم پیغام میده که نمیشه اون رو روی یه کلاینت ران کنه!

در لیست provider های دیتابیس هم فقط aspsqlclient موجوده! چه کنم ؟

rtech
چهارشنبه 22 فروردین 1386, 10:14 صبح
آیا ویژوال استودیو رو صحیح نصب کرده اید ؟ و. همچنین آیا .Netframework بر روی سیستم شما درست نصب شده ؟

programmable
چهارشنبه 22 فروردین 1386, 10:18 صبح
والا نمیدونم درست نصب کردم یا نه! نسخه ی اینترپرایز رو با ابزار هاش به طور کامل نصب کردم! و تا حالا هم کلی برنامه ی تحت ویندوز باهاش نوشتم با دیتا بیس اکسس.

programmable
جمعه 24 فروردین 1386, 23:07 عصر
یکی پیدا شند اینو جواب بده؟! الو!؟:عصبانی++: :افسرده: :گریه:

babi_wd
شنبه 25 فروردین 1386, 01:13 صبح
شما موقع نصب VS2005،اجازه نصب Sql 2005 Mobile رو نداده اید
بهتر است Vs2005 را به صورت Default نصب کنید
در ضمن واسه گرفتن جواب اینقدر عجله نکن

programmable
شنبه 08 اردیبهشت 1386, 23:25 عصر
ویژوال استودیو رو دوباره نصب کردم باز هم همون مشکل! default هم نصب کردم.
باز هم میگه
UNABLE TO CONNECT ....

تو صفحه دیتا پرووایدر فقط اسم اس کیو ال پرووایدر هست وقتی رو گزینه تست کلیک میکنم این خطا رو میده:


Could not establish a connection to the database.
If you have not yet created the SQL Server database, exit the Web Site Administration tool, use the aspnet_regsql command-line utility to create and configure the database, and then return to this tool to set the provider.


در aspnet_regsql هم وقتی میخواد کانکت بشه خطا میده! :ناراحت:

تو sql configuration وقتی میرم سرویس sql server express ، stop هستش وقتی هم میخوام استارت کنم پیغام زیر رو میده:

request failed or the service did not respond in a timely fashion .consult the event log or other applicable error logs for details.

:ناراحت: