473,799 Members | 2,683 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VB2005 not deploying properly

Tym
I've googled until I'm blue in the face - nowhere can I find the solution to
this....

Developed my first real app in vb.net 2005. works great on my PC and my
laptop (which also has VB.Net 2005 installed on it)

The app also installs in my friends new Dell laptop

However, on my other PC and another laptop it won't run.

System.IO.FileN otFoundExceptio n: Could not load file or assembly 'ADODB,

Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' or one

of its dependencies. The system cannot find the file specified.

File name: 'ADODB, Version=7.0.330 0.0, Culture=neutral ,

PublicKeyToken= b03f5f7f11d50a3 a'
It's not a versioning issue - the target PC _DOES NOT HAVE_ ADODB on it
ANYWHERE - even though I've installed the DonNetframework .

What am I doing wrong? The app has the references to ADADB in it fine, so
what's wrong with the delpoyment??

I noticed that on the "faulty" PC, there are only two files in the
C:\Program Files\Microsoft .NET\Primary Interop Assemblies directory whereas
on mine there are quite a few including adodb.dll

Tym
Jun 11 '07
14 2057
Thanks william and Svenc:
finally some help...from you guys...thanks
we don't use the old ADO (we use ado.net),but surelly that crystall reports
DO (is a very old COM reporting engine even the las XI version - I beleive.) .
are you aware of crystal reports?
How do we find out if we need adodb.dll? or do we need to linked if we do?

"William (Bill) Vaughn" wrote:
It sure looks like it's trying to find a COM-based ADO (ADODB) DLL. This
would be unusual for a .NET application. Are you making references to ADO
classic classes?

--
_______________ _______________ ______
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
_______________ _______________ ____
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

"SvenC" <Sv***@communit y.nospamwrote in message
news:01******** *************** ***********@mic rosoft.com...
Hi,
I've googled until I'm blue in the face - nowhere can I find the
solution to this....

Developed my first real app in vb.net 2005. works great on my PC and
my laptop (which also has VB.Net 2005 installed on it)

The app also installs in my friends new Dell laptop

However, on my other PC and another laptop it won't run.

System.IO.FileN otFoundExceptio n: Could not load file or assembly
'ADODB,
Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a'
or one
of its dependencies. The system cannot find the file specified.
Open Depends.exe from %ProgramFiles%\ Microsoft Visual Studio
8\Common7\Tools \Bin
From Depends.exe open you executable which does not load. Press F5 and
watch the output messages of Depends.exe. It shows which dlls are loaded
and which fail to load. That should help to identify which dependency is
missing.

--
SvenC


Jun 12 '07 #11
William: since WF 2.0 does not have Ado, where do get it from ?
I step into MS when vs2003 and crystal reports was 8.5, all worked fine,
(also WF1.1 was stil around) then we compiled the proj with VS 2005 and since
then, we cannot run the reports...(Our users are still using vs2003 proj,

can we copy ADODB.dll to the users., can we make it part of our install (of
course, if this is the missing file), last: how can we get this msg to report
the missing file.
I read couple of days worth of internet File not found error message all
over many conditions.

Thanks , keep up with your books too.

"William (Bill) Vaughn" wrote:
It sure looks like it's trying to find a COM-based ADO (ADODB) DLL. This
would be unusual for a .NET application. Are you making references to ADO
classic classes?

--
_______________ _______________ ______
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
_______________ _______________ ____
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

"SvenC" <Sv***@communit y.nospamwrote in message
news:01******** *************** ***********@mic rosoft.com...
Hi,
I've googled until I'm blue in the face - nowhere can I find the
solution to this....

Developed my first real app in vb.net 2005. works great on my PC and
my laptop (which also has VB.Net 2005 installed on it)

The app also installs in my friends new Dell laptop

However, on my other PC and another laptop it won't run.

System.IO.FileN otFoundExceptio n: Could not load file or assembly
'ADODB,
Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a'
or one
of its dependencies. The system cannot find the file specified.
Open Depends.exe from %ProgramFiles%\ Microsoft Visual Studio
8\Common7\Tools \Bin
From Depends.exe open you executable which does not load. Press F5 and
watch the output messages of Depends.exe. It shows which dlls are loaded
and which fail to load. That should help to identify which dependency is
missing.

--
SvenC


Jun 12 '07 #12
On Jun 12, 6:11 pm, raulavi <raul...@discus sions.microsoft .comwrote:
William: since WF 2.0 does not have Ado, where do get it from ?
I step into MS when vs2003 and crystal reports was 8.5, all worked fine,
(also WF1.1 was stil around) then we compiled the proj with VS 2005 and since
then, we cannot run the reports...(Our users are still using vs2003 proj,

can we copy ADODB.dll to the users., can we make it part of our install (of
course, if this is the missing file), last: how can we get this msg to report
the missing file.
I read couple of days worth of internet File not found error message all
over many conditions.

Thanks , keep up with your books too.

"William (Bill) Vaughn" wrote:
It sure looks like it's trying to find a COM-based ADO (ADODB) DLL. This
would be unusual for a .NET application. Are you making references to ADO
classic classes?
--
_______________ _______________ ______
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
_______________ _______________ ____
Visitwww.hitchh ikerguides.nett o get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"SvenC" <S...@community .nospamwrote in message
news:01******** *************** ***********@mic rosoft.com...
Hi,
>I've googled until I'm blue in the face - nowhere can I find the
>solution to this....
>Developed my first real app in vb.net 2005. works great on my PC and
>my laptop (which also has VB.Net 2005 installed on it)
>The app also installs in my friends new Dell laptop
>However, on my other PC and another laptop it won't run.
>System.IO.File NotFoundExcepti on: Could not load file or assembly
>'ADODB,
>Version=7.0.33 00.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a'
>or one
>of its dependencies. The system cannot find the file specified.
Open Depends.exe from %ProgramFiles%\ Microsoft Visual Studio
8\Common7\Tools \Bin
From Depends.exe open you executable which does not load. Press F5 and
watch the output messages of Depends.exe. It shows which dlls are loaded
and which fail to load. That should help to identify which dependency is
missing.
--
SvenC
William: since WF 2.0 does not have Ado, where do get it from ?
You can add a COM reference to "Microsoft ActiveX Data Objects 2.8
Library" from the Add Reference form.

Thanks,

Seth Rowe

Jun 13 '07 #13
I just want to make sure we are on the right track.
There are two things I care:
Finding what file not found is missing.
second is waht ever is missing if can be shipped to final user, be part of
the install in other words.
since we dont know which file is missing, (we guess is ADODB.dll which I
copied to the folder and still ahve the same error) will wait til then.

now back to the COM... why do I need to start playing with COM objs whe I
never did?
I only heart COM, but I never use them myselfe. so do you think we have to
mess aroud with COM?

in simple Developer terms, COMs were installed on Pcs (they existed) when we
were using Vs2003. Do you recall what have changed on COMs?
"rowe_newsgroup s" wrote:
On Jun 12, 6:11 pm, raulavi <raul...@discus sions.microsoft .comwrote:
William: since WF 2.0 does not have Ado, where do get it from ?
I step into MS when vs2003 and crystal reports was 8.5, all worked fine,
(also WF1.1 was stil around) then we compiled the proj with VS 2005 and since
then, we cannot run the reports...(Our users are still using vs2003 proj,

can we copy ADODB.dll to the users., can we make it part of our install (of
course, if this is the missing file), last: how can we get this msg to report
the missing file.
I read couple of days worth of internet File not found error message all
over many conditions.

Thanks , keep up with your books too.

"William (Bill) Vaughn" wrote:
It sure looks like it's trying to find a COM-based ADO (ADODB) DLL. This
would be unusual for a .NET application. Are you making references to ADO
classic classes?
--
_______________ _______________ ______
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
>www.betav.com/blog/billva
>www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no rights.
_______________ _______________ ____
Visitwww.hitchh ikerguides.nett o get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------
"SvenC" <S...@community .nospamwrote in message
>news:01******* *************** ************@mi crosoft.com...
Hi,
I've googled until I'm blue in the face - nowhere can I find the
solution to this....
Developed my first real app in vb.net 2005. works great on my PC and
my laptop (which also has VB.Net 2005 installed on it)
The app also installs in my friends new Dell laptop
However, on my other PC and another laptop it won't run.
System.IO.FileN otFoundExceptio n: Could not load file or assembly
'ADODB,
Version=7.0.330 0.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a'
or one
of its dependencies. The system cannot find the file specified.
Open Depends.exe from %ProgramFiles%\ Microsoft Visual Studio
8\Common7\Tools \Bin
From Depends.exe open you executable which does not load. Press F5 and
watch the output messages of Depends.exe. It shows which dlls are loaded
and which fail to load. That should help to identify which dependency is
missing.
--
SvenC

William: since WF 2.0 does not have Ado, where do get it from ?

You can add a COM reference to "Microsoft ActiveX Data Objects 2.8
Library" from the Add Reference form.

Thanks,

Seth Rowe

Jun 13 '07 #14
Tym
Thanks to all who replied -
I've googled a bit more and found that by adding an assembly to the
deployment project for ADODB, it seems to install correctly now.

Tym

"William (Bill) Vaughn" <bi************ **@betav.comwro te in message
news:Oi******** ********@TK2MSF TNGP05.phx.gbl. ..
It sure looks like it's trying to find a COM-based ADO (ADODB) DLL. This
would be unusual for a .NET application. Are you making references to ADO
classic classes?

--
_______________ _______________ ______
William (Bill) Vaughn
Author, Mentor, Consultant
Microsoft MVP
INETA Speaker
www.betav.com/blog/billva
www.betav.com
Please reply only to the newsgroup so that others can benefit.
This posting is provided "AS IS" with no warranties, and confers no
rights.
_______________ _______________ ____
Visit www.hitchhikerguides.net to get more information on my latest book:
Hitchhiker's Guide to Visual Studio and SQL Server (7th Edition)
and Hitchhiker's Guide to SQL Server 2005 Compact Edition (EBook)
-----------------------------------------------------------------------------------------------------------------------

"SvenC" <Sv***@communit y.nospamwrote in message
news:01******** *************** ***********@mic rosoft.com...
>Hi,
>>I've googled until I'm blue in the face - nowhere can I find the
solution to this....

Developed my first real app in vb.net 2005. works great on my PC and
my laptop (which also has VB.Net 2005 installed on it)

The app also installs in my friends new Dell laptop

However, on my other PC and another laptop it won't run.

System.IO.Fil eNotFoundExcept ion: Could not load file or assembly
'ADODB,
Version=7.0.3 300.0, Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a'
or one
of its dependencies. The system cannot find the file specified.

Open Depends.exe from %ProgramFiles%\ Microsoft Visual Studio
8\Common7\Tool s\Bin
From Depends.exe open you executable which does not load. Press F5 and
watch the output messages of Depends.exe. It shows which dlls are loaded
and which fail to load. That should help to identify which dependency is
missing.

--
SvenC


Jun 17 '07 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2084
by: Gerben van Loon | last post by:
Hi there, hope someone can help me on this: I'm planning to deploy several ASP.NET projects to a production server. Normally I used the "Project / Copy project" option in VS.NET, but to this production server I only have FTP access. I tried copying the files with a FTP tool, but it seems that every application needs to have an own virtual directory, is this true? Or is it possible to just make 1 virtual directory and put al the projects...
0
1095
by: Asanga | last post by:
Hi, When I'm trying to deploying my project to real commercial web server its not working. When removed the webconfig file and make some changes in html file (see below) it works changes in html file -> 'CodeBehind' tag should change to SRC In Inherits tag remove the project name eg: <%@ Page Language="vb" AutoEventWireup="false" Src="MailAttach.aspx.vb"
0
1267
by: Mark Finkel | last post by:
I have developed a web service on my own PC which works properly. Deploying it to the production web farm I copy all .aspx files and \bin for both the service and the app that calls it. When I try to invoke the service in production I get the error below. Thanks in advance, Mark Finkel The request failed with HTTP status 400: Bad Request. Description: An unhandled exception occurred during the execution of the
7
3843
by: guy | last post by:
Has anyone any experience of the conversion wizard for VB6 to VB2005? if so how good is it? also how does it handle database related conversions i.e is ADO converted to ADO.NET etc. the project is approx 60 forms with so approx 180 to 240 classes The back end was and remains S!L Server 2000
0
950
by: Phill W. | last post by:
Can VB2005 /correctly/ pass a class derived from Datatable via .Net Remoting? Using VB2003, I created a class inherited from DataTable and added some extra bits to it. All was well until I tried passing it to a "server-side" method using .Net Remoting (even /after/ persuading Remoting to serialise Custom Types). I /sent/ an instance of my /derived/ class, but my server-side component only /received/ a DataTable, with all my extra...
15
1976
by: Galen Somerville | last post by:
I have an app using a VB6 ActiveX.dll which I also have made as an exe. Both the dll and exe have exactly the same code and start in Sub Main. There is no form involved. I start this activex as a Process like so: Dim NewProcess As Process = New Process Then I use one of these:
3
2615
by: pooba53 | last post by:
I have a VB .NET 2003 application that communicates with an Access db. I am deploying the application using the Wizard that creates an install package and it IS properly grabbing the Access db and putting it in the Program Files directory along with the application executable, no problem. The problem is this... The OleDbConnection knows of the database in an absolute location (i.e. C:\Documents and Settings\ApplicationDB\data.mdb
15
2030
by: Aalaan | last post by:
I am presently a user of classic vb6 and hang out on those newsgroups. Some of you may be aware that there is a very anti MS and vb2005 feeling there. I have tried to get them to tell me which features of vb2005 are actually worse then vb6 in practice, and forget the philosophy of backward compatibility for a moment. I would now like to hear "the other side". Could *anyone who previously used vb6* (only those pleased; I feel the others...
1
4443
by: Jeffrey Christiansen | last post by:
I wanted to add a toggle button to a VB2005 form to be used for a simple Windows Application (i.e. compiled to a "*.exe"), so I added the ActiveX Microsoft Forms Object toggle button, however I can't get this button does work properly. The documentation I found in the FM20.CHM files says the button state can be determined from its "Value" property, but the property list shown in VB2005 does not have a "Value" property. How is the button...
2
3173
by: =?Utf-8?B?UmljaA==?= | last post by:
Hello, I have Visual Studio 2005 Professional. I have been deploying VB2005 apps using "Click Once" which works great and will add .Net 2.0 framework where needed and adds all prerequisite files, the Report viewer for printing, com references, ... Everything works great! on our intranet. But now I need to add an app to a machine (XP pro) that is not on our intranet. So I need to create a setup/deploy project. My VS2005 does not...
0
9689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10495
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10269
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7573
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6811
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4148
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.