Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > How come Server Explorer can retrieve the data from a Oracle DB, yet my ASP.NET page can't do that?

Reply
Thread Tools

How come Server Explorer can retrieve the data from a Oracle DB, yet my ASP.NET page can't do that?

 
 
Bei Zhang
Guest
Posts: n/a
 
      11-05-2003
Hi,

I know this is a stupid question, but I couldn't find an anwser, so please
bear with me:

The thing I'm doing is simple: Build a ASP.NET web page which access a
remote Oracle DB and show the retrieved data in a DataGrid control on the
web page. That's it. I connected to the Oracle DB using Server Explorer, and
created oleDbDataAdapter using Server Explorer, no problem, I can even
preview data in the DataAdapter. But, when I tried to run this simple web
application, it gave me the notorioius error message: "Oracle client and
networking components were not found. These components are supplied by
Oracle Corporation and are part of the Oracle Version 7.3.3 or later client
software installation. Provider is unable to function until these components
are installed.".

How come I can see the data I want to get in oleDbDataAdapter (using a
button called "Fill Dataset") and yet not being able to run my application
which basically does the same thing as the preview process?

The IIS is installed in the same box that I'm running VS.NET 2002. The OS is
WinXP. The Debugger points to the following line of code:
Line 37: oleDbDataAdapter1.Fill(ds21);
I only wrote 2 lines of code, this is one of them. The next is
DataGrid1.DataBind( );


Any ideas?

Thanks a lot,

Bei



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
View - Oracle Explorer doesn't display Oracle Explorer in Visual Studio 2005 Steve Kershaw ASP .Net 0 08-21-2007 10:50 PM
i need eclipse code for Retrieve data from an oracle database little programmer Software 0 04-19-2007 12:14 PM
install_driver(Oracle) failed: Can't load 'C:/Perl/site/lib/auto/DBD/Oracle/Oracle.dll' for module DBD::Oracle: load_file:The specified procedure could not be found at C:/Perl/lib/DynaLoader.pm line 230. Feyruz Perl Misc 4 10-14-2005 06:47 PM
Yet another book recommendation, but for someone who can program and yet does not the terminology well Berehem C Programming 4 04-28-2005 05:25 PM



Advertisments