Compiler Error Message: BC30002 in the aspx page

J

JoeP

Hi All,

I have class named xRep.vb located at the App_Code folder. The below works just fine under the Visual Studio environment, but when running this code from the web server I am getting this err:

Compiler Error Message: BC30002: Type 'xRep' is not defined. I copied the class even to the same folder of the aspx and the vb page.

Dim oInquiery As New xRep()
oInquiery.cVarName = cVarName

What kind code should be entered to fix this problem?

Thanks,

Joe
 
J

JoeP

OK Problem was solved.
Hi All,
I have class named xRep.vb located at the App_Code folder. The below works just fine under the Visual Studio environment, but when running this code from the web server I am getting this err:

Compiler Error Message: BC30002: Type 'xRep' is not defined. I copied the class even to the same folder of the aspx and the vb page.

Dim oInquiery As New xRep()
oInquiery.cVarName = cVarName

What kind code should be entered to fix this problem?

Thanks,

Joe
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top