|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Sunday, June 16, 2013 11:11 PM
Points: 22,
Visits: 57
|
|
Hi All,
What I am trying to do is that I am trying to copy database from Other Sever. I am coping the database from source server and connected it my server. Everything is working fine but at the last it is showing me error like below:
SqlServer Agent is not currently running so it cannot be notified of this action. (Microsoft SQL Server, Error: 22022)
Could please let me know the remedy?
Thanks in advance!
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:53 AM
Points: 2,499,
Visits: 2,200
|
|
How are you trying to move the database ? Copy database wizard? copy a backup across and restore ? SSIS package to copy the data across?
Or something else.
Any more information you can supply will help.
------------------------------- Posting Data Etiquette - Jeff Moden Smart way to ask a question
There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan I would never join a club that would allow me as a member - Groucho Marx
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Sunday, June 16, 2013 11:11 PM
Points: 22,
Visits: 57
|
|
Thanks for your prompt reply
I am trying to do it using Copy Wizard. Is there way why I am getting the above mentioned error.
Thanks in advance!
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:08 PM
Points: 38,099,
Visits: 30,392
|
|
Why not just take a backup, copy the backup across and restore on the other server?
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Sunday, June 16, 2013 11:11 PM
Points: 22,
Visits: 57
|
|
Then I need to take others help as the database is on Other server then I need to ask that person to take the back up and also will have take the back up file from him.
That's why I myself trying to copy the data from other server.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:53 AM
Points: 2,499,
Visits: 2,200
|
|
niladri.primalink (3/5/2013) Then I need to take others help as the database is on Other server then I need to ask that person to take the back up and also will have take the back up file from him.
I take it that both of the database servers belong to your company. Gail's (Gilamonster) solution is the obvious one to me as well. Backup, copy and restore. If you do not have access to the server (and it belongs to your company) then ask for access - even if it is on a temporary basis- it appears you need it for part of your job. Then you can perform the whole task yourself with out having to call on one of your colleagues.
------------------------------- Posting Data Etiquette - Jeff Moden Smart way to ask a question
There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan I would never join a club that would allow me as a member - Groucho Marx
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 1:20 PM
Points: 2,004,
Visits: 720
|
|
I've done the backup...copy...restore scenario quite a bit and it works very well. If you need to move your data files to other drives on the new server, there are parameters for that in the RESTORE DATABASE command.
It's definitely simpler than trying to use the wizard.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Sunday, June 16, 2013 11:11 PM
Points: 22,
Visits: 57
|
|
Thanks all for your reply.
Earlier I used to do it in the same way and also I have used SSIS package to move data from one server to other. I used to take back up from other server and then restore it in my server.
But what I am asking is that when I am trying to move the database using Copy wizard then why I am getting the above mentioned error.
Again thanks all of you for your response.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 8:53 AM
Points: 2,499,
Visits: 2,200
|
|
Have you checked SQL agent is running ? If it isn't have you checked the logs to establish why not?
Best bet after that is to google your error - there may well be a 100% fit for what you are experiencing complete with a resolution.
If you luck out after doing some research - then come back with more info and see what people here can do to help.
Good Luck
------------------------------- Posting Data Etiquette - Jeff Moden Smart way to ask a question
There are naive questions, tedious questions, ill-phrased questions, questions put after inadequate self-criticism. But every question is a cry to understand (the world). There is no such thing as a dumb question. ― Carl Sagan I would never join a club that would allow me as a member - Groucho Marx
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Sunday, June 16, 2013 11:11 PM
Points: 22,
Visits: 57
|
|
You are right SSCrazy. Agent is not running that's why I am getting error.
Thanks again for your help.
|
|
|
|