Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/74.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/sql-server/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql Server网络配置协议不可用_Sql_Sql Server_Sql Server 2008 - Fatal编程技术网

Sql Server网络配置协议不可用

Sql Server网络配置协议不可用,sql,sql-server,sql-server-2008,Sql,Sql Server,Sql Server 2008,安装SQL Server 2008 32位后,我尝试将其配置为允许远程访问。因此,我打开了SSCM(SQLServer配置管理器),将协议设置为enabled。我在Sql Server网络配置下未找到任何协议 我试着修复,卸载和重新安装,注册。。。 以前有人遇到过这种情况吗?您似乎安装了一个与目标操作系统不兼容的版本,例如enterprise on 7!?但这可能会有所帮助,通过T-SQL启用TCP协议和远程连接 --step 1: creating a login (mandatory) c

安装SQL Server 2008 32位后,我尝试将其配置为允许远程访问。因此,我打开了SSCM(SQLServer配置管理器),将协议设置为enabled。我在Sql Server网络配置下未找到任何协议

我试着修复,卸载和重新安装,注册。。。
以前有人遇到过这种情况吗?

您似乎安装了一个与目标操作系统不兼容的版本,例如enterprise on 7!?但这可能会有所帮助,通过T-SQL启用TCP协议和远程连接

--step 1: creating a login (mandatory)
create login login_to_system_after_injection with password='Thank$SQL4Registry@ccess';
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 

复制自

我在安装SQL server(2016)的第二个命名实例时遇到了类似的问题。默认实例也在SQL server 2016上运行

需要检查的两件事:

如果已安装64位SQL server,“SQL网络配置(32位)”部分将为空。您必须在“SQL网络配置”下进行检查——(无32位指示)

在mycase中,“SQL网络配置”-(没有32位指示)没有显示为选项。我只能看到“SQL网络配置(32位)”,它是空的,“SQL网络配置”丢失了。我做了一些研究,然后意识到早期此服务器托管了SQL server 2017实例,该实例在安装2 X 2016实例后被卸载。服务器仍然有2017年的组件,如SSMS(sql server management studio)、sscm(sql server configuration manager)等,我已经打开了2017年的sql server configuration manager,其中我的实例在sql server 2016上运行。后来,我手动打开了SQL server configuration manager(2016),它如预期的那样具有“SQL网络配置”

希望这有帮助


关于Kishore,您是否安装了32位实例?注意:答案中链接的文章似乎已被删除。文章不在那里