Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Running DTS from ASP page
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Running DTS from ASP page

 Post Reply Post Reply Page  <1234 6>
Author
socialanimal View Drop Down
Newbie
Newbie
Avatar

Joined: 14 October 2007
Location: Leeds, UK
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote socialanimal Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 3:02pm
Ok thats even stranger, if all permissions and everything are set to how they should be Confused

Can you run a trace in the SQL profiler and see exactly what it says in there ? ...


Back to Top
socialanimal View Drop Down
Newbie
Newbie
Avatar

Joined: 14 October 2007
Location: Leeds, UK
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote socialanimal Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 3:05pm
Found this:

http://www.asp101.com/articles/carvin/dts/default.asp

Got some interesting points about what accounts are used when executing DTS from web page.
Back to Top
Gary View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 March 2002
Location: United Kingdom
Status: Offline
Points: 326
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gary Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 3:05pm
I'll give that a go and report back.
 
In the meantime, I enabled error logging and this is what I got:
Step 'DTSStep_DTSDataPumpTask_1' failed
Step Error Source: Microsoft JET Database Engine
Step Error Description:Failure creating file.
Step Error code: 80004005
Step Error Help File:
Step Error Help Context ID:5003436
Step Execution Started: 05/11/2007 15:02:54
Step Execution Completed: 05/11/2007 15:02:54
Total Step Execution Time: 0.08 seconds
Progress count in Step: 0
 
Back to Top
socialanimal View Drop Down
Newbie
Newbie
Avatar

Joined: 14 October 2007
Location: Leeds, UK
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote socialanimal Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 3:10pm
Originally posted by Gary Gary wrote:

I'll give that a go and report back.
 
In the meantime, I enabled error logging and this is what I got:
Step 'DTSStep_DTSDataPumpTask_1' failed
Step Error Source: Microsoft JET Database Engine
Step Error Description:Failure creating file.
Step Error code: 80004005
Step Error Help File:
Step Error Help Context ID:5003436
Step Execution Started: 05/11/2007 15:02:54
Step Execution Completed: 05/11/2007 15:02:54
Total Step Execution Time: 0.08 seconds
Progress count in Step: 0
 


Do i take it that task_1 is the excel file being used as a data source ? If its trying to create a file using the IIS account, this could be to blame.
Back to Top
Gary View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 March 2002
Location: United Kingdom
Status: Offline
Points: 326
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gary Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 3:15pm
Yes, task_1 is where I try to import data from the Excel file.
"If its trying to create a file using the IIS account" - I am not creating a file inthe DTS. All I am tryingto do is read from a file (Excel) and imprt the data from the file into a SQL table. 
Back to Top
socialanimal View Drop Down
Newbie
Newbie
Avatar

Joined: 14 October 2007
Location: Leeds, UK
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote socialanimal Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 3:21pm
Hmmm ....

The createfile() error in the description is covered in the MSKB http://support.microsoft.com/kb/q175671/. This may help ?
Back to Top
Gary View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 March 2002
Location: United Kingdom
Status: Offline
Points: 326
Post Options Post Options   Thanks (0) Thanks(0)   Quote Gary Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 4:27pm

Interesting MSKB article there....

I have tried running SQL Setup (from the CD) but cannot see anything to do with "Change Network Support".

For something that you'd expect to be pretty much straight forward, this is turning into a nightmare Ouch
Back to Top
socialanimal View Drop Down
Newbie
Newbie
Avatar

Joined: 14 October 2007
Location: Leeds, UK
Status: Offline
Points: 39
Post Options Post Options   Thanks (0) Thanks(0)   Quote socialanimal Quote  Post ReplyReply Direct Link To This Post Posted: 05 November 2007 at 4:29pm
Yeah can imagine !

I'm trying to consider what it could possibly be, other than it being an issue with the incorrect user login being used (ie the IIS account rather than your own).


Could you post the code your using (obviously minus the authentication details) Tongue
Back to Top
 Post Reply Post Reply Page  <1234 6>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.