Showing posts with label failed. Show all posts
Showing posts with label failed. Show all posts

Sunday, March 25, 2012

DTS Problem

I'm getting the error message
Server.CreateObject Failed
when running a dts package. Been searching around, it recommended
re-registering the 5 dts*.dll files on the system.
All but one re-registered without a problem, however, the dtswiz.dll file
didn't - I got this error message
"dtswiz.dll was loaded, but the DllRegisterServer entry point was not found.
This file can not be registered."
Thanks for any help.Try removing it from your server, running a reg clean then
putting it back on and registering it.
Peter
"A man is never more truthful than when he acknowledges
himself a liar."
Mark Twain
>--Original Message--
>I'm getting the error message
>Server.CreateObject Failed
>when running a dts package. Been searching around, it
recommended
>re-registering the 5 dts*.dll files on the system.
>All but one re-registered without a problem, however, the
dtswiz.dll file
>didn't - I got this error message
>"dtswiz.dll was loaded, but the DllRegisterServer entry
point was not found.
>This file can not be registered."
>
>Thanks for any help.
>
>
>.
>|||Thanks for getting back to me peter
Been looking for info on running a registry clean - any advice?
Rich
"Peter The Spate" <anonymous@.discussions.microsoft.com> wrote in message
news:0baf01c49ff0$10833c20$a601280a@.phx.gbl...
> Try removing it from your server, running a reg clean then
> putting it back on and registering it.
> Peter
> "A man is never more truthful than when he acknowledges
> himself a liar."
> Mark Twain
>
>>--Original Message--
>>I'm getting the error message
>>Server.CreateObject Failed
>>when running a dts package. Been searching around, it
> recommended
>>re-registering the 5 dts*.dll files on the system.
>>All but one re-registered without a problem, however, the
> dtswiz.dll file
>>didn't - I got this error message
>>"dtswiz.dll was loaded, but the DllRegisterServer entry
> point was not found.
>>This file can not be registered."
>>
>>Thanks for any help.
>>
>>
>>.

Wednesday, March 21, 2012

DTS Package Scheduled Job Result Issue

I am using SQL Server 2000. I created Package1, Package2, and Package3. If I ran from scheduled job Package2 and it failed, the result in Job History is Failed. If I ran from scheduled job Package1 that runs Package2 and then Package3 and Package2 failed, the result in Job History on Package1 is Successful. Why? How can I have the result Failed so I can get the failure notification.

Thanks,

DanYeung

look at DTS Package Properties at Logging tab; there is a check box "Fail package on first error", see if it is on or off.|||

I couldn't find the Logging tab on the DTS Package itself (atually there is no properties when I right clicked) and the schedule job under SQL Server Agent - Jobs. The tabs on the schedule job are General, Steps, Schedules, and Notifications. I am using SQL 2000. Can you please advise? Thanks

DanYeung

|||

in "locale packages" of DTS in Enterprise open yor package, right click on window surface and then "Package Properties"

|||

It works. I have to check it in all 3 pacakges. Thank you.

DanYeung

DTS Package Scheduled Job Result Issue

I am using SQL Server 2000. I created Package1, Package2, and Package3. If I ran from scheduled job Package2 and it failed, the result in Job History is Failed. If I ran from scheduled job Package1 that runs Package2 and then Package3 and Package2 failed, the result in Job History on Package1 is Successful. Why? How can I have the result Failed so I can get the failure notification.

Thanks,

DanYeung

look at DTS Package Properties at Logging tab; there is a check box "Fail package on first error", see if it is on or off.|||

I couldn't find the Logging tab on the DTS Package itself (atually there is no properties when I right clicked) and the schedule job under SQL Server Agent - Jobs. The tabs on the schedule job are General, Steps, Schedules, and Notifications. I am using SQL 2000. Can you please advise? Thanks

DanYeung

|||

in "locale packages" of DTS in Enterprise open yor package, right click on window surface and then "Package Properties"

|||

It works. I have to check it in all 3 pacakges. Thank you.

DanYeung

Sunday, March 11, 2012

DTS Package Error: Login failed for user sa

I am trying to edit a DTS package which is a transfer of data between two tables (connections)

i can view the properties of either connection but i get this error when i try to edit the transformation section of a pakcage that is supposed to transfer data from one table to another.

Login failed for user 'sa'

i am running enterprise manager on the server itself so i shouldn't have any connection issues.

if i try to change the authentication on either connection from "use SQL authentication" to "use windows NT authentication" i get this error:

' Cannot generate SSPI context 'Note: There are too many unknowns here to intelligently troubleshoot the situation:

S1 [I am trying to edit a DTS package which is a transfer of data between two tables (connections)]
Q1 Are both tables on the same server or on different servers?

S2 [i can view the properties of either connection but i get this error when i try to edit the transformation section of a pakcage that is supposed to transfer data from one table to another.
Login failed for user 'sa' i am running enterprise manager on the server itself so i shouldn't have any connection issues.]
Q2 i Have you tried entering the login password for sa
ii What is the result then?
iii Can you sucessfully login using say, Query Analyzer as sa?

S3 if i try to change the authentication on either connection from "use SQL authentication" to "use windows NT authentication" i get this error:' Cannot generate SSPI context '
Q3 Are your Sql Server(s) set to use integrated, standard, mixed, etc. authentication?

Friday, March 9, 2012

DTS Package as a job

I tired to run a DTS package as a job and the job failed right away with the following message in the history of the job.

I'm running the DTS package using the dtsrun cmd in the job.

The error message:

DTSRun: Loading... Error: -2147221005 (800401F3); Provider Error: 0 (0) Error string: Invalid class string Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 713. Process Exit Code 1. The step failed.

W the f_is worng with it.... sorry this is urgentThat means that some object in your dts package has not been registered or is corrupt - Did this package run successfully from the dts designer ?|||Well I have activex scripts, dynamic propeties task, sql tasks in the package. I ran perfect on the development server as a job but on the uat server it gives that error. what r they ways around this?|||Did you copy the package from the development server to this one ? Also, did you try running the package from the dts designer on this server ?|||Originally posted by rnealejr
Did you copy the package from the development server to this one ? Also, did you try running the package from the dts designer on this server ?

Yes i coped the package from dev to uat. no i didnt becuase the pakage is built to be protable ie the connection data sources use (local) so they dont haveto be changed once they r promoted to different enivornments.... so if the package is run from the designer it wont use the uat server but my local server... but if its run as a job it runs on the uat server...|||I would test the package and run it on the actual sql server uat through the dts designer. This will eliminate any issues between the differences in how sql server executes a job versus a dts package.|||Originally posted by rnealejr
I would test the package and run it on the actual sql server uat through the dts designer. This will eliminate any issues between the differences in how sql server executes a job versus a dts package.

I ran the package on the actual server through dts designer and it works fine. but running it as a job still gives me the invalid class string error.

Plz advise.|||Is the owner of the job a sa within sql server ? If it is, what is the login/permissions of the account that is used for the agent service ?|||job owner is sa
login/permissions are administrative rights (all access)

generally what can generate this error?|||This might be related to permissions in the registry. What login is used to run the sql server agent service ? And what permissions does it have on this server ?|||The sql server agent uses system login. I'm guessing the system login has all the rights etc

fyi : it's running SQL7.0, Mdac version 2.5.4403.12

Microsoft SQL Server 7.00 - 7.00.1077 (Intel X86) Sep 6 2002 15:10:15 Copyright (c) 1988-2002 Microsoft Corporation Standard Edition on Windows NT 4.0 (Build 1381: Service Pack 6)|||You created the package using SQL 2000 Enterprise manager which has objects like dynamic properties task, that do not exist on SQL 7. You will be able to execute it through enterprise manager on your PC, but not as a job on the SQL 7 Server.|||Thank you!... never realized that

ne alternatives to dynamic task properties in sql7 ?|||Yes, use Active X scripts to assign properties to objects. Like this: Well you'll have to format it better, the small text box messed it up.

Option Explicit
Function Main()

Dim oPKG
Dim oCustomTask

Set oPKG = DTSGlobalVariables.Parent

oPKG.Tasks("DTSTask_DTSDataPumpTask_1").CustomTask.Properties.Item("DestinationObjectName").Value = DTSGlobalVariables("fundingTableName").Value
oPKG.Tasks("DTSTask_DTSDataPumpTask_2").CustomTask.Properties.Item("SourceObjectName").Value = DTSGlobalVariables("tableName").Value
oPKG.Tasks("DTSTask_DTSDataPumpTask_2").CustomTask.Properties.Item("DestinationObjectName").Value = DTSGlobalVariables("exportPath").Value
oPKG.Tasks("DTSTask_DTSDataPumpTask_3").CustomTask.Properties.Item("DestinationObjectName").Value = DTSGlobalVariables("tableName").Value
Set oPKG = Nothing

Main = DTSTaskExecResult_Success
End Function|||Nice catch shicks.|||No Problem, Anytime.|||Say i have to set the data source of a connection using active x... how would i do that?

for eg: the data source of the connection should equal to a global variable.|||This should do it

Function Main()

Dim oPKG
Dim oConnection

Set oPKG = DTSGlobalVariables.Parent

For Each oConnection in oPKG.Connections
If oConnection.ProviderID = "SQLOLEDB" Then
oConnection.DataSource =DTSGlobalVariables("server").Value
oConnection.Catalog = DTSGlobalVariables("database").Value
oConnection.UserID = DTSGlobalVariables("username").Value
oConnection.Password = DTSGlobalVariables("password").Value
End If
Next

Set oConnection = Nothing
Set oPKG = Nothing

Main = DTSTaskExecResult_Success

End Function|||Life saver!
thx

ne good resources where i could learn more about ActiveX scripts?

thx again|||I think it's VB script, then I just open the dynamic properties task and pick and object and get the property names. I am sure there must be a more efficient way to view the DTS classes, but it works for me. Maybe look for a DTS programming book. I don't know of any off the top of my head, but I am sure they are out there.

Friday, February 24, 2012

DTS Job Failed

Hi All,

Sql server7.

I have scheduled a job that copies data from MS Access and stores in Sql server 7. All these months it was working fine, now i am getting the below error.
Please help.

... DTSRun: Executing... DTSRun OnStart: Copy Data from AuthBatchReport to [PCCW].[dbo].[AuthBatchReport] Step DTSRun OnError: Copy Data from AuthBatchReport to [PCCW].[dbo].[AuthBatchReport] Step, Error = -2147008507 (80074005) Error string: Unspecified error Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 700 Error Detail Records: Error: -2147008507 (80074005); Provider Error: 0 (0) Error string: Unspecified error Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 700 Error: -2147467259 (80004005); Provider Error: -66913278 (FC02FC02) Error string: Disk or network error. Error source: Microsoft JET Database Engine Help file: Help context: 5003043 DTSRun OnFinish: Copy Data from AuthBatchReport to [PCCW].[dbo].[AuthBatchReport] Step DTSRun OnS... Process Exit Code 12. The step failed

TIA
AdilSounds like a hardware issue, or your disk is full, or network permissions have changed.

Sunday, February 19, 2012

DTS imput oke, but the job failed

Who can help me.
I'm working with SQL2000 server
and i'm using DTS import.
I have made a schedule package (job) from a DTS.
When i run the DTS manual there is no problem, it works
But when i run the job, it failed.
But some other jobs to import a DTS there is no problem.
Who can help me.Jaap,
Look at this KB: http://support.microsoft.com/?kbid=269074
--
Regards,
Rodrigo Fernandes
"Jaap" wrote:
> Who can help me.
> I'm working with SQL2000 server
> and i'm using DTS import.
> I have made a schedule package (job) from a DTS.
> When i run the DTS manual there is no problem, it works
> But when i run the job, it failed.
> But some other jobs to import a DTS there is no problem.
> Who can help me.

DTS imput oke, but the job failed

Who can help me.
I'm working with SQL2000 server
and i'm using DTS import.
I have made a schedule package (job) from a DTS.
When i run the DTS manual there is no problem, it works
But when i run the job, it failed.
But some other jobs to import a DTS there is no problem.
Who can help me.
Jaap,
Look at this KB: http://support.microsoft.com/?kbid=269074
Regards,
Rodrigo Fernandes
"Jaap" wrote:

> Who can help me.
> I'm working with SQL2000 server
> and i'm using DTS import.
> I have made a schedule package (job) from a DTS.
> When i run the DTS manual there is no problem, it works
> But when i run the job, it failed.
> But some other jobs to import a DTS there is no problem.
> Who can help me.

DTS imput oke, but the job failed

Who can help me.
I'm working with SQL2000 server
and i'm using DTS import.
I have made a schedule package (job) from a DTS.
When i run the DTS manual there is no problem, it works
But when i run the job, it failed.
But some other jobs to import a DTS there is no problem.
Who can help me.Jaap,
Look at this KB: http://support.microsoft.com/?kbid=269074
Regards,
Rodrigo Fernandes
"Jaap" wrote:

> Who can help me.
> I'm working with SQL2000 server
> and i'm using DTS import.
> I have made a schedule package (job) from a DTS.
> When i run the DTS manual there is no problem, it works
> But when i run the job, it failed.
> But some other jobs to import a DTS there is no problem.
> Who can help me.