SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Configure 'Allow Updates'
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

cms9651
Starting Member

28 Posts

Posted - 05/15/2013 :  10:01:26  Show Profile  Reply with Quote
hi there, hope in your help.

I tried this code in sql server, but I've this error.
Can you help me?
I would really appreciate any help.
sp_configure 'Allow Updates',
 0;

RECONFIGURE WITH override;

EXEC master.dbo.sp_configure 'show advanced options',
 1 RECONFIGURE EXEC master.dbo.sp_configure 'xp_cmdshell',
 1 RECONFIGURE EXEC xp_cmdshell 'bcp "SELECT * FROM [dbo].[tbl];" queryout "\\XX.XX.XX.XX\output.txt" -T -c -t;'


SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Server Native Client 10.0]Named Pipes Provider: Could not open a connection to SQL Server [2]. 
SQLState = 08001, NativeError = 2
Error = [Microsoft][SQL Server Native Client 10.0]A network-related or instance-specific error has occurred while 
establishing a connection to SQL Server. Server is not found or not accessible. Check if instance name is correct 
and if SQL Server is config
ured to allow remote connections. For more information see SQL Server Books Online.
SQLState = S1T00, NativeError = 0
Error = [Microsoft][SQL Server Native Client 10.0]Login timeout expired

Microsoft SQL Server 2008 (SP3) - 10.0.5500.0 (Intel X86) 
	
Sep 22 2011 00:28:06 
	
Copyright (c) 1988-2008 Microsoft Corporation
	
Enterprise Edition on Windows NT 5.2 <X86> (Build 3790: Service Pack 2) (VM)

  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000