ITCN ASP.NET Discussion Forum

Forum Topics > Installation Support > Problem of a Compilation Error > Post a Reply to this Thread

Problem of a Compilation Error

Share/Bookmark: Add this Thread to Digg Digg   Add this Thread to StumbleUpon Stumble Upon   Add this Thread to Del.icio.us Del.icio.us   Add this Thread to Reddit Reddit   Add this Thread to Facebook Facebook
RE: Problem of a Compilation Error
by bwise on Sat, Apr 26 2008 3:58 AM
Last Edit: Sat, Apr 26 2008 4:00 AM
The source code is referencing an external include library for functions, it's in /admin/src/includes.aspx.vb

It is advisable, for speed and optimization of the application, to pre-compile the code and use the DLLs. As in all .NET applications, if you don't, your webserver has to compile the source code every time the asp process recycles, which means the site will load slower for visitors.
ITCN Web Design and Marketing is a web design and application programming firm located in Morristown, New Jersey.
bwise
bwise
Joined: Sat, Sep 18 2004
Location: Morristown, NJ
Posts: 326
Problem of a Compilation Error
by jasonsky on Fri, Apr 25 2008 9:31 PM
I got the Developer Edition. I put all the .vb code into my "App_Code" folder under my web application, and delete all the .dll files.

When I run the application, it shows the following Compilaton Error, anything I did wrong?

Compiler Error Message: BC30002: Type 'includeFunctions' is not defined.

Line 15: Public Class viewAllRecords : Inherits System.Web.UI.Page
Line 16:
Line 17: Public myIncludes As New includeFunctions
Line 18:
Line 19:        Public noCat As Boolean = True

Hello World.
jasonsky
jasonsky
Joined: Mon, Mar 17 2008
Posts: 16