 |
| Pro Visual Basic 2005 For advanced Visual Basic coders working in version 2005. Beginning-level questions will be redirected to other forums, including Beginning VB 2005. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Pro Visual Basic 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

September 8th, 2006, 08:38 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Error 80040154
I am trying to execute a DTS package from my code. If I run it on my local machine it runs fine. If I install it onto another machine, using ClickOnce, I get this error. Before I execute the package, I can actually do a Select query. So, I know that getting to the database is not an issue. In the application files, inside the publishing tab, I set the Interop.DTS.dll file set to Include(Auto) as required. I also have the Copy Local set to true on the References tab. Any help anyone can give will most definitely be appreciated. Thanks.
|
|

September 8th, 2006, 10:21 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
I really don't understand why people post error [u]numbers</u> (as if the people providing help have memorized eighty million error numbers!), but withhold the [u]text</u> of the error (like "File not Found," "Column not Found in Collection," etc.).
Would you be so kind as to tell us what the error is? (The [u]text</u> of the error, that is?)
|
|

September 8th, 2006, 10:43 AM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
The error displayed is "Retrieving the COM class factory for component with CLSID {guid} failed due to error 80040154. First post, sorry for the inconvenience.
|
|

September 8th, 2006, 11:20 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
Is this a web application?
Regarding the error text:
I guess you really couldn't have done much different than you did (though the rest of the error text does help to establish context).
Apparently even Microsoft is reluctant to tell us what the story is, falling back on using just numbers.
Itâs like that ridiculous error message we get when a file can't be found, "File not found." For crying out loud! [u]What</u> file?!? I mean: the OS was just looking for itâby name; would it be [u]so</u> hard for MS to have caused the error message to include the name of the file it was just looking for?
This irritates me so much that in my code, when I am opening anything, I [u]always</u> add an error handler that actually adds the name of the sought-after resource. (Sorry, just a side rant...)
|
|

September 8th, 2006, 12:29 PM
|
|
Registered User
|
|
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Its not a web app, its just a standard windows application. I know, in regards to the side rant, it ticks me off also. I am completely lost on this issue, as is everyone else I work with.
|
|

September 13th, 2006, 01:06 PM
|
|
Wrox Author
|
|
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
|
|
I found this on Experts Exchange, similiar situation:
You can try using the "depends" tool (Forgive me, the file path is where it resides in VS2003, though it should be similiar in 05)
The tool can be found here: (You may need to install the VC++ tools)
C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\Bin
Open the COM dll in that utility and it will tell you want all dependecies it has. Anything that shows up with RED will indicate that the referenced binary could not be found or does not exists.
"The one language all programmers understand is profanity."
|
|

May 30th, 2007, 10:44 AM
|
|
Registered User
|
|
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
This has some thing maybe even remotely to with 64 bit isnt it?
|
|
 |