SQL 2005 Upgrade - SQL Jobs

Jul 19, 2007

Hello All
I am currently reviewing MS documentation regarding an upgrade to SQL 05 (from 2000). Given the risks invloved we have opted for a side-by-side upgrade. The "Upgrade Technical Resource Guide" indicates that system databases cannot be upgraded. This leaves the question "What to do with Jobs, Operators and Alerts?"
Do these have to be recreated manually?
Also is there no easy way to migrate DB Maintenance plans ?
I will use MS's sp_help_revlogin stored proc to re-create users but what about the msdb stuff ? I am presuming the structure is different hence cannot script (in 2000) and apply (to 2005) the Jobs.
The Copy Databases wizard can copy Jobs etc but my past experience with this has not been brilliant so am reluctant to use it. We plan to use the "backup and restore" method to migrate the user databases.
Thanks in advance.

View 8 Replies


ADVERTISEMENT

After Upgrade - Jobs Are Very Slow

Nov 11, 2007



After upgrading to SQL Server 2005, jobs that were taking 5 minutes are now taking 1 hour - is this normal ?

what am I missing

View 1 Replies View Related

SQL 2005 SP1 Upgrade Error For Upgrade Advisor

Jan 19, 2007

Hi,



We are performing a SQL 2005 SP1 upgrade from SQL 2000 on our Windows 2003 SP1 Standard Edition.

When we run the upgrade, we got a error "Upgrade Advisor Return -1" as a pop-up window.

When we run the Upgrade Advisor separately, we get this error :



===================================

Common Language Runtime detected an invalid program.

===================================

Common Language Runtime detected an invalid program. (System.Xml)

------------------------------
Program Location:

at System.Xml.Schema.SchemaInfo..ctor()
at System.Xml.Schema.XmlSchemaSet..ctor(XmlNameTable nameTable)
at System.Xml.XmlReaderSettings.get_Schemas()
at Microsoft.SqlServer.UpgradeAdvisor.ReportViewer.UAReportController.LoadAndValidateDataFile()
at Microsoft.SqlServer.UpgradeAdvisor.ReportViewer.UAReport.ValidateDataFile()
at Microsoft.SqlServer.UpgradeAdvisor.ReportViewer.UAIssueReport.Refresh()
at Microsoft.SqlServer.UpgradeAdvisor.ReportPanel.OpenReport(String reportFile)



We are in a lost for solutions. We do hope to hear from anyone asap...

Greatly appreciated for any kind assistance.



Thanks.

View 1 Replies View Related

SQL 2005 Upgrade Problem - In Place Upgrade

Feb 10, 2007

Hi,



We are running a test upgrade form sql 2000 standard edition 32 bit to sql 2005 developer edition 32bit. Followed through all the steps and specified the account(SA priveleges and currently used by the 2000 version) and is the local admin on the box for the services and the setup seemed to move fine, except for when it got to the point of installing database services - This is the error message that I got:

MSSQLServer could not be started. Verify you have sufficient priveleges to start system services. The was no choice but to hit cancel and then the set up progressed with a final message of 'SEtup failed'.

Here is a portion of the error log:
Attempting to recover in-doubt distributed transactions involving Microsoft Distributed Transaction Coordinator (MS DTC). This is an informational message only. No user action is required.
Database Mirroring Transport is disabled in the endpoint configuration.
Starting up database 'master'.
Converting database 'master' from version 589 to the current version 611.
Database 'master' running the upgrade step from version 589 to version 590.
Error: 946, Severity: 14, State: 1.
Cannot open database 'master' version 589. Upgrade the database to the latest version.
System Task Aggregate global counters produced an error that was not handled. Major: 9, Minor: 46, Severity:14, State:1
Error: 928, Severity: 20, State: 1.
During upgrade, database raised exception 15151, severity 16, state 1, address 01C4C50B. Use the exception number to determine the cause.
Error: 15151, Severity: 16, State: 1.
Cannot find the endpoint 'TSQL Local Machine', because it does not exist or you do not have permission.



Any help would be greatly appreciated

Thanks KR



View 7 Replies View Related

Need Help With DTS Jobs On 2005

Oct 15, 2006

I need to copy (not convert) a number of existing DTS jobs and the related DTS packages from a 2k machine to a 2k5 machine.  I'm trying to avoid having to re-create the Jobs and type in all the Jobs steps in 2005.

(Yes, we will be converting the jobs, etc. but that's not an option right now)

I've had good results using the nifty technique from SQLDTS.com (http://www.sqldts.com/default.aspx?204) for the packages, but this doesn't quite work for the Job steps due to the new 'Step_UID' column in the sysjobsteps table in 2005.

I've tried a number of variations in DTS to populate this new column, which is of type uniqueidentifier, but still no joy.

Does anyone know of a workaround or a better method to get the Job copied over from 2000?

TIA!

dj

View 6 Replies View Related

The Bane Of Sql 2005 Express... Spending Life Attempting To Upgrade To SQL 2005.

Jan 16, 2008

I am out of brain cells.  I can not figure out how to upgrade instances of sql express to sql 2005 or even add an instance of sql 2005.  I have installed/upgraded everything else (SSMS, etc.) to SQL 2005.
I am dazed and confused.  I don't even know where to start in explaining what I have tried and done.  I have 303 log files going back to 3/27/2007 from various attempts.
Where do I start in figuring this debacle out???

View 7 Replies View Related

How To Upgrade From SQLServer Management Studio Express 2005 To SQL Developer 2005

May 25, 2007

I currently have SQL Server Management Studio Express 2005 and would like to upgrade my machine to SQL Developer 2005 as easily as possible. Keeping my databases and such.



Any recommendations on the best way to do this would be greatly appreciated.



thanks!

View 3 Replies View Related

Schedulling Jobs On SQL 2005

Jun 14, 2006

I am changing the SQL 2000 to 2005 but i dont know how I can do the configuration of the schedule for each DTS that migrated?

View 4 Replies View Related

Who Should Own Jobs In SQL Server 2005?

Mar 15, 2007

Hi,

Who should own job in SQL Server 2005? Currently, I have set up a couple new jobs, the owner is a windows login with administrative privileges on the server. So the job runs fine.

When I tried to change the owner to a non-admin user, the job failed, stating that I needed to set up proxy permissions or something to that effect. So I left the owner as the admin user.

Is that ok, or even the preferred owner of jobs?

Also -
One of my job steps is calling an SSIS package. On the "general" tab, it shows that it will run the package as the SQL Server Agent, and then there is a section "Log on to Server" where you select windows or sql server login info. In this case, I the SQL Server agent is a different windows account than the job owner... so who is logging in at the package level - the job owner or the SQL Server agent account?

Thanks very much

View 3 Replies View Related

Upgrade From SQL Express 2005 Report Server With Advanced Services To SQL 2005 Standard Fails

Feb 25, 2008

I am trying to upgrade SQL Server Express 2005 Report Server to SQL 2005 Standard and it fails with the following error:

SQL Server Setup did not have the administrator permissions required to copy a file: C:Program FilesMicrosoft SQL ServerMSSQL.8Reporting ServicesReportServer
ssrvpolicy.config. To continue, verify that the file exists, and either grant administrator permissions to the account currently running Setup or log in with an administrator account. Then run SQL Server Setup again.

After I click OK on the message, this whole path where the upgrade is bieng installed dissapears C:Program FilesMicrosoft SQL ServerMSSQL.8Reporting Services. The error is a bit missleading because the file that it is trying to copy rssrvpolicy.config does appear in that upgrade folder so I am not sure why it would try to copy a file that has already been copied.

I was able to upgrade the Database Engine instance fine but can't upgrade Reporting Services due to that error. I have verified that the account that ran the setup had the administrator permissions. Your prompt reply to my question would be greatly appreciatted.

View 4 Replies View Related

Can I Upgrade From Sql 2005 Express To Sql Server 2005 Enterprise Edition ?

Jul 29, 2006

if i upgrade from sql server 2005 expressto sql server 2005 enterprise can i do it ?
am i need to uninstall 2005 express before ?

View 1 Replies View Related

Upgrade From SQL Server 2005 Express To 2005 Enterprise Fails

Dec 29, 2006

Hi

I am trying to upgrade SQL Server 2005 Express to SQL Server 2005 Enterprise Edition.
(As a Preparation to install SQLServer2005 Service Pack 2 (CTP))

I tried to upgrade a particular Instance (OFFICESERVERS, which was based on SQL Server 2005 Express ).

During the upgrade I get a message saying that ...

.....Your upgrade is blocked because of edition upgrade rules.....

All other components I selected for Installation are propertly installed (Analysis, Reporting)

The setup log contains the following detail information:

---- Context -----------------------------------------------
Setting status of unmanaged components and removing unmanaged resources

Error Code: 29543
MSI (s) (DC!C8) [13:57:26:265]: Product: Microsoft SQL Server 2005 -- Error 29543. Your upgrade is blocked. For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.
Edition check:
Your upgrade is blocked because of edition upgrade rules. For more information about edition upgrades, see the Version and Edition Upgrades topic in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.

Error 29543. Your upgrade is blocked. For more information about upgrade support, see the "Version and Edition Upgrades" and "Hardware and Software Requirements" topics in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.
Edition check:
Your upgrade is blocked because of edition upgrade rules. For more information about edition upgrades, see the Version and Edition Upgrades topic in SQL Server 2005 Setup Help or SQL Server 2005 Books Online.
<Func Name='SetCAContext'>
<EndFunc Name='SetCAContext' Return='T' GetLastError='0'>
Doing Action: ValidateUpgrade
PerfTime Start: ValidateUpgrade : Fri Dec 29 13:57:26 2006
<Func Name='ValidateUpgrade'>
<Func Name='updateFeatureSellection'>
Error Code: 0x80077367 (29543)
Windows Error Text: Source File Name: sqlcaupgradeproduct.cpp
Compiler Timestamp: Mon Sep 19 01:07:45 2005
Function Name: sqls::UpgradeProduct::CanUpgrade
Source Line Number: 142

---- Context -----------------------------------------------

I also tried to explicitly upgrade the OFFICESERVERS instance by executing Setup from the command shell:

start /wait setup.exe ADDLOCAL=SQL_Engine INSTANCENAME=OFFICESERVERS UPGRADE=SQL_Engine SKUU
PGRADE=1 /qb

The result is the same, i.e.... Your upgrade is blocked because of edition upgrade rules...

Does anybody know about this problem?
Some more information about the system:
W2K3 R2 Enterprise Edition
WSS3.0
MOSS2007
previously installed SQL Server 2005 Express Edition (Version 9.00.2047.00)

Kinde regards
Andreas

View 5 Replies View Related

Creating Jobs In SQL Server 2005

Nov 19, 2007

Hello I am using SQL Server 2005 I want to delete the data from my table after specific number of days.This should happen automatically. After the days I specified the data from the table should automatically get deleted. Can anyone let me know how to achieve this.If anyone can give an example for this it will be great.Thanks in advance.   

View 1 Replies View Related

SQL Server 2005 Jobs Issue

Aug 10, 2007

Migrated Packages from DTS to SSIS...
Tried running the jobs calling these DTS packages ....but getting error ......

the step in job is :
DTSRUN /S<servername> /U<username> /P<password> /N"ATL_Get_Down_Dates"
giving error :
Executed as user: USATLBNHSYSTEM. DTSRun: Loading... Error: -2147220438 (8004042A); Provider Error: 0 (0) Error string: The specified Storage File contains multiple Packages; Loading requires a Name or Guid. Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts80.hlp Help context: 713. Process Exit Code 1. The step failed.

Help Required !!!!!

Thanks in advance !!!

View 14 Replies View Related

Script Out ALL Jobs In SQL Server 2005

Jan 4, 2008

Will prbly write a blog about this pretty soon. Until then, here is a quick llist of steps:

Create an IS package from Visual Studio. In the Toolbox, under the "Control Flow Items" there is a "Transfer Jobs Task". Use this to transfer jobs to your local machine or any other server.

I still have to figure out how to make it write to a flat file. The only destination it allows at this point seems to be another SQL server.




Dinakar Nethi
************************
Life is short. Enjoy it.
************************
http://weblogs.sqlteam.com/dinakar/

View 10 Replies View Related

Jobs Migration From SQL 2000 – 2005

Mar 19, 2008

I am trying to migrate few of my SQL jobs to SQL2K5. Can I simply script and execute them on the new environment. I hope the script is forward compatible.


------------------------
I think, therefore I am - Rene Descartes

View 2 Replies View Related

Asynchronous Jobs In SQL Server 2005

May 13, 2008

Hi,

The application that I'm working is has a job that runs 24/7 which checks a table for rows with specific status, if it finds it, then I has to execute a job for each row that it finds.
I don't know wheather if SQL Server jobs are asynchronous or not, since I need the execution of jobs to be in parallel instead of in a pipeline mode.

I'd appreciate your help.


Thanks,
mamrez

View 2 Replies View Related

Problem With Jobs In SQL Server 2005

Nov 11, 2007

Hi there,,
I've a problem when I make a a full backup for my db using maintenance plan the job that is associated with the maintenance plan is not working and gives the followning error:
The job falied. The job was invoked by user machine nameuser name. The step to run was step1(subplan).
The user I'm using is administrator and the jobs was working normaly and suddenly it stoped.

Thanks in advance

View 2 Replies View Related

Expired SQL 2005 Evaluation Upgrade To SQL 2005 Standard

Mar 12, 2008

I've been reading and looking over what to do for my situation for several days. I need to ask and see if I can get a clear answer.

My Scenario:
I have a SQL Server 2005 Eval installed that is currently running with live data. I need to upgrade that to a recently-purchased full version. I have several databases set up. I have ready the article 914158 that states it will fail. It's still running so I can access everything. If I restart or stop the service I'm screwed.

That do I do?

Thanks so much!

View 4 Replies View Related

Can We Upgrade From Express 2005 To Standard/Workgroup 2005

Aug 8, 2006

Can we upgrade from Express 2005 to Standard/Workgroup 2005??If possible with what complexities can it be done??

View 1 Replies View Related

Running 2005 SSIS Jobs On 2000

Sep 10, 2007

I would like to create an SSIS package in 2005 and run it in 2000. Is there anyway to do this? Or does SQL Server 2000 have a precursor to SSIS? I am trying to create a job to automatically catch and kill orphaned processes.
-Kyle

View 1 Replies View Related

Upgrade SQL 2005 Standard To SQL 2005 Enterprise

Jun 8, 2006

Hi

we have installed SQL 2005 Standard and we are planning to upgrade to SQL 2005 Enterprise version. Do i need to uninstall SQL 2005 Standard and reinstall Enterprise or i can install SQL 2005 Enterprise on top of standard version to upgrade.

Thanks a lot in advance

View 1 Replies View Related

Upgrade SQL 2005 Standard To SQL 2005 Enterprise

Nov 1, 2007

Can SQL 2005 32bit Standard edition be upgraded to SQL 2005 32bit Enterprise Edition in-place?

View 4 Replies View Related

Upgrade SQL 2005 Standard To SQL 2005 Enterprise

Nov 1, 2007

Can SQL 2005 32bit Standard edition be upgraded to SQL 2005 32bit Enterprise Edition in-place.

View 12 Replies View Related

Query Find A List Of All The Jobs In A SQL 2005 Database

Apr 22, 2008



Hi,

I was wondering if there was a SQL query I could run that would list all the current jobs in a SQL 2005 database? I would like to check to ensure a job exists before I call it, but was having trouble finding a way to determine if it existed.

Thanks for any advice!

-Flea#

View 3 Replies View Related

SQLAgent - TSQL Jobs Hangs (SQL Server 2005)

Aug 15, 2007



I have two tables
t_DTM_DATA_STAGING around 2 million records
t_DTM_DATA around 251 million records

The below SQL statement looks for records in the t_DTM_DATA_STAGING table that are not in the t_DTM_DATA table and adds them to a 3rd table. (t_DTM_DATA_STAGING2)

This statement has been running fine for weeks, but now it seems to get hung every day. I ran sp_Who2 and it says the status is runnable. I let it run for around 5 or 6 hours the other day to see if it will finish but it didn't. This SQL job is step 3 in a 6 step SQLAgent job that usually finishes in 30 to 45 minutes.

I'm not sure how to troubleshoot this problem. No other jobs are running at the time this job runs.

Could this SQL statement be written a better way?

Thanks for any help anyone can provide.

Jerid

SET QUOTED_IDENTIFIER ON

INSERT INTO
[DTM].[dbo].[t_DTM_DATA_STAGING2]
([CP],,[MAJ],[MINR],[LOCN],[DPT],[YEAR],[PD],[WK],[TRDT],[SYSTEM],[AMOUNT],[DESCRIPTION],[GROUP],[VENDOR]
,[INVOICE],[IDAT],[PO_NUMBER],[DDAT],[RCV#],[RDAT],[RSP],[EXPLANATION],[UPLOAD_DATE],[UPLOAD_USER],[UPLOAD_NAME]
,[RELEASE_DATE],[RELEASE_USER],[RELEASE_NAME],[TRTM])
SELECT
t_DTM_DATA_STAGING.CP, t_DTM_DATA_STAGING.CO, t_DTM_DATA_STAGING.MAJ, t_DTM_DATA_STAGING.MINR, t_DTM_DATA_STAGING.LOCN, t_DTM_DATA_STAGING.DPT,
t_DTM_DATA_STAGING.YEAR, t_DTM_DATA_STAGING.PD, t_DTM_DATA_STAGING.WK, t_DTM_DATA_STAGING.TRDT, t_DTM_DATA_STAGING.SYSTEM, t_DTM_DATA_STAGING.AMOUNT,
t_DTM_DATA_STAGING.DESCRIPTION, t_DTM_DATA_STAGING.[GROUP], t_DTM_DATA_STAGING.VENDOR, t_DTM_DATA_STAGING.INVOICE, t_DTM_DATA_STAGING.IDAT,
t_DTM_DATA_STAGING.PO_NUMBER, t_DTM_DATA_STAGING.DDAT, t_DTM_DATA_STAGING.RCV#, t_DTM_DATA_STAGING.RDAT, t_DTM_DATA_STAGING.RSP,
t_DTM_DATA_STAGING.EXPLANATION, t_DTM_DATA_STAGING.UPLOAD_DATE, t_DTM_DATA_STAGING.UPLOAD_USER, t_DTM_DATA_STAGING.UPLOAD_NAME,
t_DTM_DATA_STAGING.RELEASE_DATE, t_DTM_DATA_STAGING.RELEASE_USER, t_DTM_DATA_STAGING.RELEASE_NAME, t_DTM_DATA_STAGING.TRTM
FROM
t_DTM_DATA_STAGING
LEFT OUTER JOIN
t_DTM_DATA AS t_DTM_DATA_1
ON
t_DTM_DATA_STAGING.TRTM = t_DTM_DATA_1.TRTM
AND
t_DTM_DATA_STAGING.TRDT = t_DTM_DATA_1.TRDT
AND
t_DTM_DATA_STAGING.PD = t_DTM_DATA_1.PD
AND
t_DTM_DATA_STAGING.YEAR = t_DTM_DATA_1.YEAR
AND
t_DTM_DATA_STAGING.DPT = t_DTM_DATA_1.DPT
AND
t_DTM_DATA_STAGING.LOCN = t_DTM_DATA_1.LOCN
AND
t_DTM_DATA_STAGING.MINR = t_DTM_DATA_1.MINR
AND
t_DTM_DATA_STAGING.MAJ = t_DTM_DATA_1.MAJ
AND
t_DTM_DATA_STAGING.CO = t_DTM_DATA_1.CO
AND
t_DTM_DATA_STAGING.CP = t_DTM_DATA_1.CP
WHERE
(t_DTM_DATA_1.CP IS NULL)

View 4 Replies View Related

How To Programmatically Reschedule/schedule Jobs In Server 2000 And 2005 ?

Oct 3, 2006

Hi,

how to reschedule/schedule jobs in server 2000 and 2005 Programmatically?

thanks

sandipan

View 1 Replies View Related

How To Monitor Failed Sql Server 2005 Jobs When Database Mail Is Disabled

Sep 14, 2007


We have our SQL Server 2005 hosted at a datacenter and have only SS Management Studio access (no term serv, no event log, etc.). Also, our hosting company has disabled the Database Mail feature. We have over 60 jobs running on a minute/hourly/daily basis that are critical for our business. It is super important for us to know if and when a job failed.

Given this scenario, how do you suggest we implement monitoring/notification of failed jobs?

View 10 Replies View Related

Upgrade From Sql 7.0 To 2005

May 7, 2008

i have a server which is configured with sql 2005 and when i schedule a backup all the databases do not get listed while selecting (all databases) while scheduling ...then i found that there are some databases with the cmpt level 70 and those databases do not get listed while scheduling backup,, is there any solution for this ... how to change the cmpt level.. from 70 to 90, is there any precautions i need to take care ....is it possible to do the above...pls help

View 1 Replies View Related

Upgrade 2005

Sep 25, 2007

Upgrading from 2000 to 2005. Just want to know what is going to break. I need to have a plan.
I know DTS is going to break. Any other things?

=============================
http://www.sqlserverstudy.com

View 13 Replies View Related

Upgrade From SQL 7 To SQL 2005

Jun 20, 2006

I'm planning to upgrade a SQL server 7 database to a new server with SQL 2005 soon.

I will follow the migration path for the upgrade and my question has to do with my back-out plan.

When we go live on a Monday morning, I will leave my SQL server 7 box n stand-by mode in case anything goes wrong with the new server.

Is there a way to get the new data back into my stand-by SQL server 7 in case the new SQL 2005 server has issues after going live?

Let's say the new server runs for two hours and I need to revert back to my SQL 7 server, What would be the best approach for this scenario???

Thanks

Alfonzo



View 1 Replies View Related

Upgrade To 2005

May 10, 2006

I am running MSDE2000

will the installation of MSDE2005 (sqlexpr.exe) recognise this

installation (and it's databases) and upgrade it

just to be sure ...



Regards

Patrick

View 3 Replies View Related

SQL 2005 Upgrade

Aug 17, 2006

Hi all,

We need to update our SQL 2000 to 2005. We plan to use it on a computer with 2 processors. Actually we update 2 servers that form a cluster, running web applications.
I think there is no update version from 2000 to 2005. So we have to buy 2 full versions of SQL 2005? For our case it's probably best to buy SQL 1CPU version? But we have 2 processors on each server. Is there a CPU license? Do we have to buy 2 SQL 2005 1CPU plus 2 licenses for 1 (more) CPU?
Sorry, I am not so familiar with SQL. I am not the guy making the upgrade. I just have to order the correct version and licenses.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved