How to gibe assembly reference in a *.aspx file?
From: amallik (amallik_at_discussions.microsoft.com)
Date: 09/14/04
- Next message: Simon Adams: "Network SQL requests"
- Previous message: Brannon Jones: "Re: wrong dates/sizes on files in distribution or system32?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 14 Sep 2004 01:01:01 -0700
Error message CS0234
I can access the Oracle database from C# (*.cs), but when I try to access
the database on the Web from ASP.Net(C#) - *.aspx, I am getting the following
error message:
Compilation Error
Description: An error occurred during the compilation of a resource required
to service this request. Please review the following specific error details
and modify your source code appropriately.
Compiler Error Message: CS0234: The type or namespace name 'OracleClient'
does not exist in the class or namespace 'System.Data' (are you missing an
assembly reference?)
Source Error:
Line 2: EnableSessionState="False" EnableViewState="False" %>
Line 3: <%@ Import Namespace="System.Data" %>
Line 4: <%@ Import Namespace="System.Data.OracleClient" %>
Source File: E:\Inetpub\wwwroot\csharpdotnet\oracleclient.aspx Line: 4
"System.Data.OracleClient.dll" is the so-called data provider located in
"E:\Program
Files\Microsoft.Net\OracleClient.Net\System.Data.OracleClient.dll"
How to give assembly reference in a *.aspx file?
- Next message: Simon Adams: "Network SQL requests"
- Previous message: Brannon Jones: "Re: wrong dates/sizes on files in distribution or system32?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|