dbTalk Databases Forums  

Syntax error or access violation

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Syntax error or access violation in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
J-T
 
Posts: n/a

Default Syntax error or access violation - 05-30-2005 , 01:44 PM






I have been given the Administrator Role (in our server).In our server there
are two databases.I'm in Public role for both databses .My DTS package works
in one database in other database it gives me this error :

Step 'DTSStep_DTSDataPumpTask_1' failed
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:Syntax error or access violation
Step Error code: 80074005
Step Error Help File:
Step Error Help Context ID:0
Step Execution Started: 5/30/2005 11:40:46 AM
Step Execution Completed: 5/30/2005 11:40:46 AM
Total Step Execution Time: 0.157 seconds
Progress count in Step: 0
Step 'DTSStep_DTSExecuteSQLTask_1' was not executed



Reply With Quote
  #2  
Old   
J-T
 
Posts: n/a

Default Re: Syntax error or access violation - 05-30-2005 , 01:56 PM






'DTSStep_DTSExecuteSQLTask_1' is pumping data from a CSV file into the Table
in database.
it works with one of the databases and dosen't work for the other
database.The databases seem to be completely identical(I'm not sure though).

Thanks
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
And what does this step contain?

'DTSStep_DTSExecuteSQLTask_1'

I know it is an ExecuteSQL task but to what Server/DB does it point and
what Statement does it execute. If you investigate these three things you
will find your answer.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I have been given the Administrator Role (in our server).In our server
there
are two databases.I'm in Public role for both databses .My DTS package
works
in one database in other database it gives me this error :

Step 'DTSStep_DTSDataPumpTask_1' failed
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:Syntax error or access violation
Step Error code: 80074005
Step Error Help File:
Step Error Help Context ID:0
Step Execution Started: 5/30/2005 11:40:46 AM
Step Execution Completed: 5/30/2005 11:40:46 AM
Total Step Execution Time: 0.157 seconds
Progress count in Step: 0
Step 'DTSStep_DTSExecuteSQLTask_1' was not executed




Reply With Quote
  #3  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Syntax error or access violation - 05-30-2005 , 01:57 PM



And what does this step contain?

'DTSStep_DTSExecuteSQLTask_1'

I know it is an ExecuteSQL task but to what Server/DB does it point and
what Statement does it execute. If you investigate these three things
you will find your answer.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


Quote:
I have been given the Administrator Role (in our server).In our server there
are two databases.I'm in Public role for both databses .My DTS package works
in one database in other database it gives me this error :

Step 'DTSStep_DTSDataPumpTask_1' failed
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:Syntax error or access violation
Step Error code: 80074005
Step Error Help File:
Step Error Help Context ID:0
Step Execution Started: 5/30/2005 11:40:46 AM
Step Execution Completed: 5/30/2005 11:40:46 AM
Total Step Execution Time: 0.157 seconds
Progress count in Step: 0
Step 'DTSStep_DTSExecuteSQLTask_1' was not executed


Reply With Quote
  #4  
Old   
J-T
 
Posts: n/a

Default Re: Syntax error or access violation - 05-30-2005 , 02:01 PM



Allen ,I think I got the answer with your hint.
I'm using a dynamic property to change the connections in the dts based on a
global variable.Apparetly that property is not setting the new database
catalog name .

Thanks for your help
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
And what does this step contain?

'DTSStep_DTSExecuteSQLTask_1'

I know it is an ExecuteSQL task but to what Server/DB does it point and
what Statement does it execute. If you investigate these three things you
will find your answer.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I have been given the Administrator Role (in our server).In our server
there
are two databases.I'm in Public role for both databses .My DTS package
works
in one database in other database it gives me this error :

Step 'DTSStep_DTSDataPumpTask_1' failed
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:Syntax error or access violation
Step Error code: 80074005
Step Error Help File:
Step Error Help Context ID:0
Step Execution Started: 5/30/2005 11:40:46 AM
Step Execution Completed: 5/30/2005 11:40:46 AM
Total Step Execution Time: 0.157 seconds
Progress count in Step: 0
Step 'DTSStep_DTSExecuteSQLTask_1' was not executed




Reply With Quote
  #5  
Old   
J-T
 
Posts: n/a

Default Re: Syntax error or access violation - 05-30-2005 , 02:10 PM



Sorry to say that ,the problem still exists:-(
"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
And what does this step contain?

'DTSStep_DTSExecuteSQLTask_1'

I know it is an ExecuteSQL task but to what Server/DB does it point and
what Statement does it execute. If you investigate these three things you
will find your answer.

Allan

"J-T" <J-T (AT) microsft (DOT) com> wrote


I have been given the Administrator Role (in our server).In our server
there
are two databases.I'm in Public role for both databses .My DTS package
works
in one database in other database it gives me this error :

Step 'DTSStep_DTSDataPumpTask_1' failed
Step Error Source: Microsoft OLE DB Provider for SQL Server
Step Error Description:Syntax error or access violation
Step Error code: 80074005
Step Error Help File:
Step Error Help Context ID:0
Step Execution Started: 5/30/2005 11:40:46 AM
Step Execution Completed: 5/30/2005 11:40:46 AM
Total Step Execution Time: 0.157 seconds
Progress count in Step: 0
Step 'DTSStep_DTSExecuteSQLTask_1' was not executed




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.