Viewing 15 posts - 1,201 through 1,215 (of 2,486 total)
Better option is to wrap your call to xp_cmdshell in your own stored procedure that returns a success/failure via an output parameter. Then you can pick it up using the...
May 4, 2005 at 5:27 pm
Presuming you want to get a list of the SQL Servers in a DTS package? If so, you'll need to write a short VBScript to trawl through the DTS object...
May 4, 2005 at 5:24 pm
Have tried looking at the execution from Profiler? It might uncover whats going wrong?
May 4, 2005 at 5:21 pm
Don't know if this suit you needs, but how about trying this?
http://www.sqldts.com/default.aspx?237
If that doesn't fit then there is a workaround here,
http://www.sqldts.com/default.aspx?297
May 4, 2005 at 5:19 pm
Hmmm ... smells like a permissioning issue.
Are the services on the production server running with the same level of permissions as the test server?
May 4, 2005 at 5:17 pm
You could also look at Microsoft's new SQL Health and History tool.
This tool captures information about the Server and Database and with the add-on Performance collecter, it captures any Performance...
May 4, 2005 at 5:13 pm
Ok, so it's using the SSNETLIB.DLL, but as shown by this line
"2005-05-03 15:32:30.26 server SQL server listening on Shared Memory, Named Pipes."
The server is NOT listening on TCP so therefore...
May 4, 2005 at 5:01 pm
Funny, there's no pain involved when I run a DTS package from a stored procedure. Then again, I've always thought my system was magical. It does seem to easily do...
May 4, 2005 at 4:52 pm
You already have the filename and extension in the sSourceFile variable. So what you can do is use the GetBaseName and GetEstensionName methods to build a new file name for...
May 3, 2005 at 11:31 pm
What error are you getting? The code snippet below will show a message box with the error.
On Error Resume Next oFSO.MoveFile sSourceFile, sDestinationFile If Err.Number <> 0 Then MsgBox "ERROR: "...
May 3, 2005 at 6:48 pm
A couple of potential problems from the log,
"2005-05-03 15:32:30.26 server SQL server listening on Shared Memory, Named Pipes."
You might need to enable the TCP/IP protocol before SQL will listen on...
May 3, 2005 at 5:52 pm
A service running as a system account has no privelages for any networked resources.
May 3, 2005 at 5:44 pm
So are you trying to rename the file in a folder, or change the source filename for a connection?
To change the filename in a folder, there isn't a file rename...
May 3, 2005 at 4:50 pm
Did you just clear the eight rows or explicitly delete them? I've had problems like this previously where people where just highlighting what they wanted to remove and pressing delete....
May 3, 2005 at 4:45 pm
How much data are you exporting? If it's not a huge number of rows you could quite easily use DTS to output to a text destination. BCP is faster on text...
May 3, 2005 at 4:39 pm
Viewing 15 posts - 1,201 through 1,215 (of 2,486 total)