Connect Oracle without installing Oracle client

Hi,
I have a project that connect Oracle and I want to distribute it to all the organization.
The way I distribut my VB project to all the organization is to make a setup.exe file by using the "Package and Deployment Wizard" in VB6. The "Package and Deployment Wizard" includes the  Mdac_typ.exe which have drivers for all standard database.
Well, I checked on users machines where I run this setup and I found that  the  Mdac_typ.exe file was not install there. I tried to copy this file from my pc and put it on the users machins in the same folder with the dll of the VB project  and it wasn't solve the problem.
Users who have Oracle client on there machines, the project runs well. but, Users who don't have Oracle client on there machines I get an error message :
"The Oracle(tm) client and networking components were not found. These components are supplied by Oracle corporation nad are part of the Oracle Version 7.3(or greater) client software installation.
You will be unable to use this driver until these components have been installed"

1. Is the Mdac_typ.exe suppose to solve this problem ?

2. Do you know if Mdac_typ.exe includes the Oracle client drivers ?

3. Why the Mdac_typ.exe was not install in the target machines ?

4. Is there any difference between win2000 and win98 to work with Mdac_typ.exe file ?
    ( I add Dcom98.exe in the "Package and Deployment Wizard" and it was installed on the  
      users machins but the problem is going on, maybe because the Mdac_typ.exe  was not
      installed).

Any idea how to solve this problem ?
(I prefer to not install Oracle client to all users)

Thanks

David
fdsafog56Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Arthur_WoodCommented:
as far as I am aware, what you are asking CANNOT be done.  You *must* install the Oracle Client software on the target PC.

2) NO, MDAC_type.exe DOES NOT include the ORACLE client.  You MUST purchase the necesary seats from ORACLE.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BC8Commented:
Mdac-typ.exe only contains the Oracle OLE DB provider, it does not contain the Oracle Client.  The provider is an interface to the client and not the client itself.  You will have to install the Oracle Client seperatly.

You say you ' tried to copy this file from my pc and put it on the users machins in the same folder with the dll of the VB project'.  Does this mean you just copied the Mdac_typ.exe file to the folder or did you run Mdac_typ.  Mdac_typ is an installation package.  Try running Mdac_typ.exe seperatly and see if there are any error messages.
leonstrykerCommented:
The only way to run the program without an Oracle client install would be to use the Microsoft Driver for Oracle, which comes with MDAC.
RainMan82Commented:
Had this same issue over the weekend and just resolved it on our test box. We will be implementing it this coming weekend in our production instance. All it boils down to is installing ODAC 11.0.7.10 on the machine, running the OraProvCfg's in both 11.0.7.10_HOME/ASP.NET/bin/2.x and 11.0.7.10_HOME/ODP.NET/bin/1.x and 2.x. Once we rebooted the machine all worked.

This is how we came to this resolution:
Test box had the following on it:
11.0.7.10
10.2
MDAC 2.6+

*With above setup, all applications using ODP.NET and MDAC/DSN connections worked fine

Our production machine had the following:
11.0.6
10.2
MDAC 2.6+


--------------------------------------------------------------------------------
Testing Scenario:

--------------------------------------------------------------------------------
1) Removed 11.0.7.10 entirely (Only 10.2 client exists on machine)
--Rebooted machine, as expected MDAC/DSN connection still worked using the 10.2 client and any application using the 11.0.7.10 client returned with an oracle compatability error

2) Reinstalled 11.0.6 and ran the OraProvCfg's in OPD.NET and ASP.NET folders. After reboot:
--All apps using 11 client worked
--Received two errors when accessing the applications that used MDAC/DSN:
a) ...oracore11.dll not found
b) The Oracle(tm) client and networking components were not found.
These components are supplied by Oracle Corporation and are part
of the Oracle Version 7.3 (or greater) client software installation.
--The above errors were also seen when trying to configure or add a new DSN connection via ODBC datasources in Administrative Tools.
*This error was also seen occasionally on reboot and randomly, which we associated to users hitting the application

3) Reinstalled ODAC 11.0.7.10 (client install, non-server install), without the Transaction Server.
--After reboot all applications worked.

Clearly there is something that does not play nice with Oracle 11.0.6 and MDAC when using a DSN connection
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.