473,756 Members | 8,443 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 #1
14 1685
Copy ADODB.DLL to the same directory as the EXE on the machines where it
doesn't work.

Tym wrote:
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 #2
On Jun 11, 8:41 am, "Tym" <spamt...@ictis .netwrote:
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
ADODB is the "old" version of ADO - and is not packaged with the .Net
framework. Instead you should be using ADO.Net instead, and your
errors should go away.

By the way, I removed the classic VB newgroup from the posting list,
do not post VB.Net questions there.

Thanks,

Seth Rowe

Jun 11 '07 #3
pardon for jumping in. but I dont think it will fix it. i have the same
problem in vs2005 C# proj, with crystal reports XI. and I have the same error.
my case is I have one exe plus 2 dlls on same folder, and all the *.RPT
(Crystal reports) in the same folder and still is looking for something else,
"SOMETHING ELSE" is the missing file that everyone is getting for as an
error file not found..

"rowe_newsgroup s" wrote:
On Jun 11, 8:41 am, "Tym" <spamt...@ictis .netwrote:
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

ADODB is the "old" version of ADO - and is not packaged with the .Net
framework. Instead you should be using ADO.Net instead, and your
errors should go away.

By the way, I removed the classic VB newgroup from the posting list,
do not post VB.Net questions there.

Thanks,

Seth Rowe

Jun 12 '07 #4
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 #5
On Jun 12, 2:22 pm, raulavi <raul...@discus sions.microsoft .comwrote:
pardon for jumping in. but I dont think it will fix it. i have the same
problem in vs2005 C# proj, with crystal reports XI. and I have the same error.
my case is I have one exe plus 2 dlls on same folder, and all the *.RPT
(Crystal reports) in the same folder and still is looking for something else,
"SOMETHING ELSE" is the missing file that everyone is getting for as an
error file not found..

"rowe_newsgroup s" wrote:
On Jun 11, 8:41 am, "Tym" <spamt...@ictis .netwrote:
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
ADODB is the "old" version of ADO - and is not packaged with the .Net
framework. Instead you should be using ADO.Net instead, and your
errors should go away.
By the way, I removed the classic VB newgroup from the posting list,
do not post VB.Net questions there.
Thanks,
Seth Rowe- Hide quoted text -

- Show quoted text -
pardon for jumping in. but I dont think it will fix it. i have the same
problem in vs2005 C# proj, with crystal reports XI. and I have the same error.
You're getting an ADODB not found error with Crystal Reports?

Thanks,

Seth Rowe

Jun 12 '07 #6
ahanks SvenC:
how about this, ran dependency walker and got
Warning: At least one module has an unresolved import due to a missing
export function in a delay-load dependent module.
now whats, next,(no much of a hlp), there are two red modules with a sand
clock on the left side: IEFRAME.DLL and SWHLWAPI.DLL are these missing from
the folder. or better how do we proceed any further.
Thanks
"SvenC" wrote:
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 #7
Hi,
ahanks SvenC:
how about this, ran dependency walker and got
Warning: At least one module has an unresolved import due to a missing
export function in a delay-load dependent module.
now whats, next,(no much of a hlp), there are two red modules with a
sand clock on the left side: IEFRAME.DLL and SWHLWAPI.DLL are these
missing from the folder. or better how do we proceed any further.
Those should be OK. But you see only directly linked modules here not those
which are dynamically loaded during runtime. So please use Depends
File->Open to open and execute your app. Press F5 and watch which modules
are missing during runtime.

--
SvenC

Jun 12 '07 #8
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.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

Jun 12 '07 #9
not sure is ADODB

"rowe_newsgroup s" wrote:
On Jun 12, 2:22 pm, raulavi <raul...@discus sions.microsoft .comwrote:
pardon for jumping in. but I dont think it will fix it. i have the same
problem in vs2005 C# proj, with crystal reports XI. and I have the same error.
my case is I have one exe plus 2 dlls on same folder, and all the *.RPT
(Crystal reports) in the same folder and still is looking for something else,
"SOMETHING ELSE" is the missing file that everyone is getting for as an
error file not found..

"rowe_newsgroup s" wrote:
On Jun 11, 8:41 am, "Tym" <spamt...@ictis .netwrote:
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
ADODB is the "old" version of ADO - and is not packaged with the .Net
framework. Instead you should be using ADO.Net instead, and your
errors should go away.
By the way, I removed the classic VB newgroup from the posting list,
do not post VB.Net questions there.
Thanks,
Seth Rowe- Hide quoted text -
- Show quoted text -

pardon for jumping in. but I dont think it will fix it. i have the same
problem in vs2005 C# proj, with crystal reports XI. and I have the same error.

You're getting an ADODB not found error with Crystal Reports?

Thanks,

Seth Rowe

Jun 12 '07 #10

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

Similar topics

10
2081
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
1092
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
3840
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
948
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
1973
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
2613
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
2027
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
4439
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
3166
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
9462
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
9886
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
9722
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...
0
8723
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7259
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
5155
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5318
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3369
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2677
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.