CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 3/24/2008 4:47:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 88 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
CMARTINEZ
Asp.Net User
I Get this error : Compiler Error Message BC30002.3/24/2008 4:47:23 PM

0/0

Hi everybody, i'm working on a project and works fine in my local server, but when i try to public into the production server, doesn't works i get this error:

 

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: BC30002: Type 'ClsDataAccess' is not defined.

Source Error:

 

Line 3:  Partial Class Presentacion_MasterPage
Line 4: Inherits System.Web.UI.MasterPage
Line 5: Private clsDa As New ClsDataAccess
Line 6:
Line 7: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

this code is in my MasterPage, and the clsDataAccess Class definition is in the aplication_code folder, even i put imports clsDataAccess in the top of the page but doesn't works, so i hope someone could help me.         

koese
Asp.Net User
Re: I Get this error : Compiler Error Message BC30002.3/24/2008 11:25:37 PM

0/0

Dim ClsDa As new ClsDataAccess

And I hope your clsDataAccess Class definition is in the App_Code folder


koese
shayas
Asp.Net User
Re: I Get this error : Compiler Error Message BC30002.3/25/2008 6:30:42 AM

0/0

Check are you declared any name space for ClsDataAccess

if u declared it then you have to import it

but you are saying that you are getting error after hosting on public server then will yu say how you hosted directly with all code behinds or using dlls (by publishing or deploying)


Yasser
Please remember to mark as answers if this help
jazzybinary
Asp.Net User
Re: I Get this error : Compiler Error Message BC30002.3/25/2008 7:57:15 AM

0/0

 Hi

Two things u should try:

You should Import System.Data.

If problem continues;

Check if any asp.net code runs in prod server. If yes then the isssue is regarding the code. If not check if the server has .Net2.0 installed. Also make sure that you deploy the code under a virtual directory which is converted to an application.

Hope it helps.


Software Application Engineer
CMARTINEZ
Asp.Net User
Re: I Get this error : Compiler Error Message BC30002.3/25/2008 3:41:47 PM

0/0

I still can't solve the problem, but i have to say that, my production server has the framework 2.0 installed and there others aplications running, only with that site have the problem,  so i hope some one can help me, i apreciate so much if anyone can explain me the cause of the error, maybe i can get the solution then.

thanx everybody. 

Amanda Wang - M
Asp.Net User
Re: I Get this error : Compiler Error Message BC30002.3/26/2008 3:49:00 AM

0/0

Hi,

Try to check this msdn article: http://msdn2.microsoft.com/en-us/library/sy234eat(VS.80).aspx

Hope it helps.


Please remember to mark the replies as answers if they help and unmark them if they provide no help.


Yours sincerely,
Amanda Wang
Microsoft Online Community Support
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Debugging ASP.NET Authors: Jonathan Goodyear, Brian Peek, Brad Fox, Pages: 376, Published: 2001
Professional ASP.NET 1.0: Updated and Tested for Final Release of ASP.NET V.1.0 Authors: Richard Anderson, Alex Homer, Dave Sussman, Karli Watson, Pages: 1354, Published: 2002

Web:
I Get this error : Compiler Error Message BC30002. - ASP.NET Forums I Get this error : Compiler Error Message BC30002. Last post 03-25-2008 11:49 PM by Amanda Wang - MSFT. 5 replies. Sort Posts: ...
Importing namespace, but "Compiler Error Message: BC30002: Type ... use <%@ Import Namespace="StringFiltersNS" %> (see page below), I get the following error message:. >>>Compiler Error Message: BC30002: Type ...
HELP : Compiler Error Message: BC30002: Type is not defined. - Dev ... I get the error when I run my aspx page: Compiler Error Message: BC30002: Type ' RepGen' is not defined. Is there a specific place I have to keep the dll or ...
Compiler Error Message: BC30002: Type 'MSXML2.XMLHTTPClass' is not ... May 5, 2008 ... but when I run it entering the path in IE & Mozilla typing the path in the URL line I get Compiler Error Message: BC30002: Type 'MSXML2. ...
Compiler Error Message:BC30002: Type 'MyClass' is not defined ... Compiler Error Message:BC30002: Type 'MyClass' is not defined. I get The following Error Message: BC30002: Type 'MyClass' is not defined.
Compiler Error Message: BC30002: Type 'LdapAuthentication' is not ... After completing and running the page I get the following error message on the Logon.aspx file: Compiler Error Message: BC30002: Type ...
Compiler Error Message: BC30002: Type 'LdapAuthentication' is not ... Compiler Error Message: BC30002: Type 'LdapAuthentication' is not defined. Get answers to your questions in our .NET ASP forum.
p2p.wrox.com: Archives - aspx_beginners archive Whenever I try and connect to a database to return a simple recordset, I get this error: Compiler Error Message: BC30002: Type is not defined: ...
Compiler Error Message: BC30002: Type 'EventArgs' is not defined. Jul 14, 2007 ... I am working on asp.net/vb.net after a very long time. I am unable to resolve the following error. Could some one help ?
Compiler Error Message: BC30002: Type 'XXX' is not defined. - ASP ... Compiler Error Message: BC30002: Type 'XXX' is not defined. ... but I get the above error when putting onto the server. ...




Search This Site:










what does " strongly typed " mean?

simple web services, straightforward security required

wanted whitepaper diffrences b1 and b2

matrix/browser balks at correct code!!

can i call c# method from javascript?

request.servervariables("logon_user")

build a shopping cart using visual web developer express 2008

custom control vs. business object

display part of large text file

split function

resources editor

image resize

subclassing system.web.ui.page in asp.net 2.0

connecting a access database into a word doucment using asp

invalid postback or callback argument. !!!!!!

can i monitor remote process using asp.net?

classes

c# or visual basic

templates

looping through datasource

total newbie db insert question

problem in embeded images of email code

problem with dataset

development environment

how to convert a stream to an xml string

auto format & property builder

can anybody help

help with update db commands

preselecting items of a listbox in a datagrid

use ocx in asp.net 2.0

  Privacy | Contact Us
All Times Are GMT