GP 9.0 : server_name ('ABC') does not exist

vivek_gowthaman
Member Posts: 6
Hi, I am using GP 9.0. Installed Analytical Accounting in one of the companies. Then opened the 'Utilities' to update the company databases.
During the updation processing, it is throwing the below error.
The following SQL statement produced an error:
use msdb /*IF THE JOB DOESN'T ALREADY EXIST, CREATE IT...*/ if not exists (select name from sysjobs where name = 'Remove Posted TWO PJOURNALs') begin
/*CREATE THE JOB...*/ exec sp_add_job @job_name = 'Remove Posted TWO PJOURNALs',
@description = 'Periodically calls procedure to delete TWO..PJOURNAL rows that are ready for removal' exec sp_add_jobstep
@job_name = 'Remove Posted TWO PJOURNALs', @step_name = 'Call TWO Stored Procedure', @command = 'exec
smCleanupPostingJournalEntries', @database_name = 'TWO' exec sp_add_jobschedule @job_name = 'Remove
Posted TWO PJOURNALs', @name = 'Schedule', @freq_type = 4, /* Daily */
@freq_interval = 1, /* Every 1 Day */ @freq_subday_type = 0x4, /* Minutes */ @freq_subday_interval
= 30 /* Every 30 minutes */ exec sp_add_jobserver @job_name = 'Remove Posted TWO PJOURNALs',
@SERVERNAME end use [TWO] /*ASSUMED CONTEXT */
ERROR [Microsoft][ODBC SQL Server Driver][SQL Server]The specified @server_name ('ABC') does not exist.
Please share your expertism to solve this issue.
Thanks.
During the updation processing, it is throwing the below error.
The following SQL statement produced an error:
use msdb /*IF THE JOB DOESN'T ALREADY EXIST, CREATE IT...*/ if not exists (select name from sysjobs where name = 'Remove Posted TWO PJOURNALs') begin
/*CREATE THE JOB...*/ exec sp_add_job @job_name = 'Remove Posted TWO PJOURNALs',
@description = 'Periodically calls procedure to delete TWO..PJOURNAL rows that are ready for removal' exec sp_add_jobstep
@job_name = 'Remove Posted TWO PJOURNALs', @step_name = 'Call TWO Stored Procedure', @command = 'exec
smCleanupPostingJournalEntries', @database_name = 'TWO' exec sp_add_jobschedule @job_name = 'Remove
Posted TWO PJOURNALs', @name = 'Schedule', @freq_type = 4, /* Daily */
@freq_interval = 1, /* Every 1 Day */ @freq_subday_type = 0x4, /* Minutes */ @freq_subday_interval
= 30 /* Every 30 minutes */ exec sp_add_jobserver @job_name = 'Remove Posted TWO PJOURNALs',
@SERVERNAME end use [TWO] /*ASSUMED CONTEXT */
ERROR [Microsoft][ODBC SQL Server Driver][SQL Server]The specified @server_name ('ABC') does not exist.
Please share your expertism to solve this issue.
Thanks.
0
Comments
-
Hi! Here is the solution!
http://www.jivtesh.com/2007/10/migrating-dynamics-databases-from-one.html
Regards!0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions