PDA

View Full Version : سوال: remote connection



azarakhshl
شنبه 01 فروردین 1388, 17:51 عصر
سلام
چه طوری می تونم تنظیمات SQL SERVER 2005 را طوری تغییر بدم که امکان دستیابی برنامه های کاربردی دیگه به آن به وجود بیاد؟
با تشکر از دوستان

siavash_realy
یک شنبه 02 فروردین 1388, 23:35 عصر
يعني چي ؟ دسترسي به پايگاه داده هاش يا دسترسي به اجزا IDE اون ؟

azarakhshl
دوشنبه 03 فروردین 1388, 11:57 صبح
می خوام از طریق ASP.NET دیتابیس ایجاد کنم، اما SQL SERVER اجازه نمی ده، دستور زیر را اجرا کردم، ولی فایده نداشت.


sp_configure 'remote admin connections', 1;
GO
RECONFIGURE;
GO

:افسرده:

azarakhshl
چهارشنبه 05 فروردین 1388, 08:33 صبح
هیچ کس هیچ نظری نداره؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

AminSobati
چهارشنبه 05 فروردین 1388, 13:32 عصر
دوست عزیز وقتی امکان دسترسی وجود داشته باشه، برای SQL Server فرقی نمیکنه اون برنامه کاربردی یا غیر کاربردی! لطفا سوالتون رو واضح بیان کنید

mom alone
چهارشنبه 05 فروردین 1388, 22:56 عصر
اگه منظورتون تحت شبکه است
باید در SQL Server Configuration Manager تنظیمات مثلا ip را فعال کنید
به این صورت
در قسمت مربوت به اینستنس خودتون گزینه tcp رو فعال کنید enable yes

In SQL Server Configuration Manager, in the console pane, expand SQL Server Network Configuration.

In the console pane, click Protocols for <instance name>.

In the details pane, right-click the protocol you want to change, and then click Enable or Disable.

In the console pane, click SQL Server Services.

In the details pane, right-click SQL Server (<instance name>), and then click Restart, to stop and restart the SQL Server service.


اگه تو پورت دینامیک صفر است رو حذف کنید و در قسمت tcp port .ی 1433 رو وارد کنید
بعد
In Control Panel, open Network Connections, right-click the active connection, and then click Properties.

Click the Advanced tab, and then click Windows Firewall Settings.

In the Windows Firewall dialog box, click the Exceptions tab, and then click Add Port.

In the Add a Port dialog box, in the Name text box, type SQL Server <instance name>.

In the Port number text box, type the port number of the instance of the Database Engine, such as 1433 for the default instance.

Verify that TCP is selected, and then click OK.

To open the port to expose the SQL Server Browser service, click Add Port, type SQL Server Browser in the Name text box, type 1434 in the Port Number text box, select UDP, and then click OK.
اگه واقا تحت شبکه می خای و کار نکرد خبر بده
چون من کار کردم اینو