2013-06-07 5 views
5

एसक्यूएल सर्वर 2008 32 बिट स्थापित करने के बाद, मैंने इसे दूरस्थ पहुंच की अनुमति देने के लिए कॉन्फ़िगर करने का प्रयास किया। इसलिए मैंने सक्षम करने के लिए प्रोटोकॉल सेट अप करने के लिए एसएससीएम (एसक्यूएल सर्वर कॉन्फ़िगरेशन मैनेजर) खोला। मैं Sql सर्वर नेटवर्क कॉन्फ़िगरेशन के तहत किसी भी प्रोटोकॉल नहीं मिला ...एसक्यूएल सर्वर नेटवर्क कॉन्फ़िगरेशन प्रोटोकॉल उपलब्ध नहीं

enter image description here

मैं मरम्मत, स्थापना रद्द करने और पुन: इंस्टॉल, रजिस्टर ... किसी को भी करने से पहले इस का सामना करना पड़ा की कोशिश की?

+0

से नकल यदि आप एक 32-बिट उदाहरण स्थापित करते सक्रिय करने के? –

उत्तर

1

ऐसा लगता है कि आपने एक संस्करण स्थापित किया है जो लक्ष्य ओएस के साथ संगत नहीं है, उदाहरण के लिए 7 पर उद्यम !? लेकिन शायद यह मदद मिलेगी, T-SQL

--step 1: creating a login (mandatory) 
create login login_to_system_after_injection with password='Thank$SQL4Regist[email protected]'; 
GO 
--step 2: enabling both windows/SQL Authentication mode 
/*some server specific configurations are not stored in system (SQL)*/ 
--set the value to 1 for disabling the SQL Authentication Mode after . . . 
exec xp_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', REG_DWORD, 2; 
--step 3:getting the server instance name 
declare @spath nvarchar(256); 
--SQL SERVER V100 path, use SQL9 for V90 
exec master..xp_regread N'HKEY_LOCAL_MACHINE', 
       N'Software\Microsoft\Microsoft SQL Server\Instance Names\SQL' ,N'SQL10',@spath output,no_output 
--step 4:preparing registry path 
declare @insRegPath nvarchar(1024)=N'Software\Microsoft\Microsoft SQL Server\' + 
             @spath + '\MSSQLServer\SuperSocketNetLib\Tcp'; 
--step 5:enabling tcp protocol 
exec xp_regwrite N'HKEY_LOCAL_MACHINE', @insRegPath, N'Enabled', REG_DWORD, 1 --generally tries to enable all addresses. NOT Recommended 
--step 6:enabling remote access 
EXEC sys.sp_configure N'remote access', 1 
GO 
RECONFIGURE WITH OVERRIDE --reconfigure is required! 
GO 
--step 7:a system restart is required in order to enabling remote access. 
--step 7.1:shutting down the server 
shutdown 
--After this command you need to start the server implicitly yourself. 
--or just configure the Agent in order to start the server at any shutdown or failure 

द्वारा TCP प्रोटोकॉल और दूरस्थ कनेक्शन http://www.codeproject.com/Articles/616114/SQL-Server-T-SQL-Tips-Tricks#xp_regeditwrite

+0

नोट: उत्तर में जुड़ा आलेख हटा दिया गया प्रतीत होता है। –

संबंधित मुद्दे