Viewing 15 posts - 286 through 300 (of 583 total)
Chrissy321 (1/2/2013)
This returns two records, one is NULL and the other is the SQL Server server account.
In that case it doesnt look like your xp_cmdshell proxy account is being used....
January 2, 2013 at 10:56 am
Chrissy321 (1/2/2013)
The error I am getting is:
Description: The file name "\\server\Folder1\Folder2\Test.txt" specified in the connection was not valid.
based on the error it looks like a permissions issue to the folder....
January 2, 2013 at 10:49 am
attached is a powershell script I have used to script out all objects. This scripts all objects to their own file you can adjust the $Scripter.Options.FileName option. The script either...
January 2, 2013 at 10:21 am
I have found the problem. The remote server is a VM and the VM was recently move to a different host and it's virtual switch was changed from being a...
December 19, 2012 at 11:29 am
My preferred way would be to make the port static on the server with the named instance.
You would do this by choosing a port not in use on the...
December 18, 2012 at 9:39 am
it looks like your port for the named instance is dynamic so without making any configuration changes you will have to get SQL Browser working.
First, is SQL Browser running? next...
December 18, 2012 at 8:57 am
anthony.green (12/18/2012)
But it does sound like some sort of port opening issue between the two servers.
Agreed, most likely, the SQL Browser port. you can test if it is open by...
December 18, 2012 at 8:34 am
You might not be able to use SERVERNAME\INSTANCE when creating the linked server. try SERVERNAME,PORT. This may be because the SQL browser service is unable to cross your domains. I...
December 18, 2012 at 8:14 am
if this is something to be scheduled you could avoid xp_cmdshell and run this powershell script with SQL Agent.
$Now = Get-Date
$Days = “30”
$TargetFolder = “\\t-fc-fim\logs”
$LastWrite = $Now.AddDays(-$days)
get-childitem $TargetFolder *.*...
December 13, 2012 at 11:27 am
you could check if there are any connections to your SQL Server by doing a netstat.
netstat -an | find "1433"
If there are any established connections the output will tell you...
December 13, 2012 at 8:34 am
anthony.green (12/13/2012)
You cannot use UNC paths in a CMD window.
Just for clarification, You can use UNC paths in a CMD windows. It is FORFILES that does not allow UNC paths.
December 13, 2012 at 8:27 am
Thanks. That is what I have done.
additionally I copied the mdf and corrupt ldf to a different server to poke around and when I try to attach the database the...
December 12, 2012 at 1:21 pm
Forgot to mention that this database is in simple recovery, so no log backups. point-in-time recovery is not needed on the database so restoring from a couple of nights ago...
December 12, 2012 at 10:46 am
have a look at the datediff function
December 7, 2012 at 12:28 pm
the job will run in the user context of the account used to start SQL Server agent. Possibly that account doesn't have the correct permissions.
December 7, 2012 at 8:55 am
Viewing 15 posts - 286 through 300 (of 583 total)