Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

copy aspx from V.Studio to Production Caused Error

Status
Not open for further replies.

123ASP

MIS
Nov 2, 2002
239
US
hi,
I have created a project in Visual Studio.net (vs.net) and created one aspx page called salesreport.aspx that pull data into a datagrid. That is done in the development PC.
I ran the salesreport.aspx from within vs.net and it worked. Now I want to publish it in the production server so I created a new virtual directory and copied the following into it
Global.asax
Global.asax.resx
Global.asax.vb
SalesReport.aspx
Web.config

I also created a folder called bin and copied the ProjectName.dll inside the bin.

So I ran the page and got the following error:
Unable to load DLL (oci.dll).
Exception Details: System.DllNotFoundException: Unable to load DLL (oci.dll).

I am not sure what does that mean and I am not sure if the above steps are right to move aspx page from development PC to Production PC.
thanks for your help
Al
 
I believe that means it can't find the Oracle OleDb Drivers installed as part of the Oracle Client. What I've found in the past is that if you're wanting to use the Oracle .Net drivers from ASP.net you need the Oracle Client installed on the relevant Web Server.

E.G., Running at your local machine (LocalHost) while developing would require the Oracle Client on your machine, and moving to production would require the Oracle Client installed on the Production Server.

Hope this helps.

Rhys
Buffy: Spike, what are you doing here, five words or less!
Spike: Out for a walk... bitch!
 
Thanks for your support, I will install Oracle Client and run the aspx page and let you all know.
Al
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top