473,403 Members | 2,284 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

Can't include Oledb32.dll into Deployment project

Hi

I've developed a program in VB.NET which i'm trying to
deploy to a different computer. I've used the Setup &
Deployment wizard project to generate the Deployment
files. It initially includes Oledb32.dll into the
application folder. When i try to build solution it
throws an error:
'oledb32.dll' should be excluded because its source
file 'C:\Program Files\Common Files\System\Ole
DB\oledb32.dll' is under Windows System File Protection.

When distributing my program (with Oledb32.dll excluded)
it crashes quite horribly (The comp has XP Pro and .NET
1.1 framework installed)
.. I suspect that the Oledb32.dll (or lack of) is the
cause of this as the first thing my application does is
to access a SQL database.

Any ideas of how to include it into the deployment
program?

Thanks

KjartanM-S
Nov 20 '05 #1
1 3887

"KjartanM-S" <kj**********************@chello.no> wrote in message
news:06****************************@phx.gbl...
Hi

I've developed a program in VB.NET which i'm trying to
deploy to a different computer. I've used the Setup &
Deployment wizard project to generate the Deployment
files. It initially includes Oledb32.dll into the
application folder. When i try to build solution it
throws an error:
'oledb32.dll' should be excluded because its source
file 'C:\Program Files\Common Files\System\Ole
DB\oledb32.dll' is under Windows System File Protection.


OleDB32.dll is part of the MDAC package, and as of Win2k is considered part
of the OS. To update this component you must install the entire MDAC
package. And although XP Pro should have everything you need already, you
can always install an MDAC update.

Why don't you just use the managed provider for SQLServer? It has no
unmanaged dependencies.

David

Nov 20 '05 #2

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

Similar topics

4
by: Rob Tillie | last post by:
Hello, I want an xml file, part of the project, be included in the build so that it gets to debug/bin. I already set the build action "content", which describes what I want, but vs.net doesn't...
2
by: ORC | last post by:
I have a dll written in eVC which I want to include in my project so that the dll will be automatically deployed to the small device. How should I include it? Thanks Ole
2
by: Sachin | last post by:
Hi All, I have an asp.net application and I have create a WebSetup project which includes all the output files from the Web App. However, it does not include the txt,.inc,.gif files... Do...
8
by: BobAchgill | last post by:
I have looked and looked for on the property pages for my Window form project and do not see where they are saying I should find the place to set deployment properties like: Manufacturer...
7
by: dhussong | last post by:
I have created a Setup and Deployment project in Visual Studio.NET 2003. After my installation has completed running I'd like to launch the EXE that I just installed. I've found how to launch the...
1
by: moondaddy | last post by:
I need to have multiple deployment profiles for a .net 2.0 winforms project. This is my requirement: 1) Re-use same project for multiple ClickOnce deployment profiles. 2) Each profile will...
10
by: musosdev | last post by:
I've got a function that needs to work slightly differently on the development server from the production server, but of course I don't want to be changing code just before compiling a release...
27
by: HKSHK | last post by:
Hello, I have this problem: I wrote some DLLs with VB.Net 2003 which I use with my programs. But I want to avoid that I have to go down to "DLL hell" and to copy all used dlls into each program...
2
by: MarkusJNZ | last post by:
Hi, we have an existing solution which contains a bunch of C# projects and one weployment project. Initially I did not have the web deployment project installed on my computer so I downloaded...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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...
0
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...

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.