MS SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMS SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old May 17th, 2004, 10:41 PM
weebeng weebeng is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 76 weebeng User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 22 sec
Reputation Power: 5
ms sql server DTS

hi, i'd like to ask about the DTS in Sql Server.
I'd create the DTS in sql server(located at server PC), used to copy the records from sql server to access(located at client PC).
Then i executed the package, it is successful.
But when i scheduled the package as job, once hit the schedule time, the job failed.
Can anybody tell me the problem?
Thank you

Reply With Quote
  #2  
Old May 18th, 2004, 10:21 AM
rasanders rasanders is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 3 rasanders User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
The main reason for DTS Packages to fail when scheduled has to do with Security.

Make sure the schedule has a User and Password that can 1. Execute the DTS Package, and 2., has security to SQL Server and the Access Database.

Hope that helps.

Reply With Quote
  #3  
Old May 18th, 2004, 11:11 PM
weebeng weebeng is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 76 weebeng User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 22 sec
Reputation Power: 5
Thanks...i'd try but still failed..
i think must set something in sql server agent...

PHP Code:
 DTSRun:  Loading...   DTSRun:  Executing...   DTSRun OnStart:  DTSStep_DTSExecuteSQLTask_1   DTSRun OnError:  DTSStep_DTSExecuteSQLTask_1Error = -2147467259 (80004005)      Error string:  The Microsoft Jet database engine cannot open the file '\Mi-industrialdcarpark.mdb'.  It is already opened exclusively by another user, or you need permission to view its data.      Error source:  Microsoft JET Database Engine      Help file:        Help context:  5003051      Error Detail Records:      Error:  -2147467259 (80004005); Provider Error:  -534709256 (E020FBF8)      Error string:  The Microsoft Jet database engine cannot open the file '\Mi-industrialdcarpark.mdb'.  It is already opened exclusively by another user, or you need permission to view its data.      Error source:  Microsoft JET Database Engine      Help file:        Help context:  5003051      DTSRun OnFinish:  DTSStep_DTSExecuteSQLTask_1   DTSRun:  Package execution complete.  Process Exit Code 1.  The step failed

Reply With Quote
  #4  
Old August 16th, 2004, 12:09 PM
p_d p_d is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 1 p_d User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
DTS failures

I have had this same error... How did you fix it? I have my steps within the job retry once if they fail, and then they work. But only certain steps have to retry. Does anyone know why this happens???


Quote:
Originally Posted by weebeng
Thanks...i'd try but still failed..
i think must set something in sql server agent...

PHP Code:
 DTSRun:  Loading...   DTSRun:  Executing...   DTSRun OnStart:  DTSStep_DTSExecuteSQLTask_1   DTSRun OnError:  DTSStep_DTSExecuteSQLTask_1Error = -2147467259 (80004005)      Error string:  The Microsoft Jet database engine cannot open the file '\Mi-industrialdcarpark.mdb'.  It is already opened exclusively by another user, or you need permission to view its data.      Error source:  Microsoft JET Database Engine      Help file:        Help context:  5003051      Error Detail Records:      Error:  -2147467259 (80004005); Provider Error:  -534709256 (E020FBF8)      Error string:  The Microsoft Jet database engine cannot open the file '\Mi-industrialdcarpark.mdb'.  It is already opened exclusively by another user, or you need permission to view its data.      Error source:  Microsoft JET Database Engine      Help file:        Help context:  5003051      DTSRun OnFinish:  DTSStep_DTSExecuteSQLTask_1   DTSRun:  Package execution complete.  Process Exit Code 1.  The step failed

Reply With Quote
  #5  
Old August 16th, 2004, 11:36 PM
weebeng weebeng is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 76 weebeng User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 22 sec
Reputation Power: 5
hi,p_d.I not have a solution yet.So can't help me.
Hope you can tell me if you get the solution.
Thanks

Reply With Quote
  #6  
Old August 17th, 2004, 10:04 PM
Al_Dev's Avatar
Al_Dev Al_Dev is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 105 Al_Dev User rank is Private First Class (20 - 50 Reputation Level)Al_Dev User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 7 h 32 m 21 sec
Reputation Power: 6
Send a message via AIM to Al_Dev
I had similiar problems when i had packages that tried to access files on other machines. when you run the package yourself, your 're using your own windows login to access files on the other machine.

FYI. When you run jobs they are executed using the sql agent, which has its own nt login. Its usually the same as the current login (Local system)

if you add the login id of the sql server to a role on the other machine it will probably work. another alternative would be to start the sql agent service with another windows login that already has permissions to the other machine, like your id.



hope that helps.


Al

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMS SQL Development > ms sql server DTS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway