×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

ASP.NET 2.0 Webform compilation error

ASP.NET 2.0 Webform compilation error

ASP.NET 2.0 Webform compilation error

(OP)
I have a ASP.NET application developed primarily using DOTNET 2.0 framework. For myriad reasons too detailed to discuss here the application was developed without using Visual Studio. Further, all of the forms and code are contained in .ASPX file (I.e no code behind files).
When application changes are made the .aspx files are copied to the inetpub\wwwroot\myapp directory. When the .ASPX file is referenced via web browser, the dotnet environment recompiles the aspx file. This process has worked well for years.

We are now moving the application to a new virtual server, when I attempt to run the application on the new server (www.myapp.com\login.aspx).

Something on the new server configuretion is not recognizing my MyComponents Namespace stored in :
c:\inetpub\wwwroot\myapp\bin.


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 'MyComponents.DataObject' is not defined.

Source Error:

Line 34: PUBLIC cmdUpdate AS OleDbCommand
Line 35:
Line 36: PUBLIC oData AS New MyComponents.DataObject


Source File: C:\inetpub\wwwroot\myapp\GenericPage.vb    Line: 36


Compiler Warning Messages:
Warning: BC40056: Namespace or type specified in the Imports 'MyComponents' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.
Source Error:
C:\inetpub\wwwroot\myapp\GenericPage.vb
Line 11: Imports System.Data.OleDb
Line 12: Imports System.Data.SqlClient
Line 13: Imports MyComponents

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close