Running a VB/ASP.NET Application from Code Project.
-
Hi, I consider myself a pretty good classic ASP developer, and in an attempt to break into the .NET world, I have downloaded a sample application from Code Project called CodeBank (http://www.codeproject.com/useritems/codebank.asp?target=codebank[^]), and I'm having difficulty getting it running. I have follwed the authors instructions (such as creating a new SQL 2000 dB and restoring from the supplied .bak file and creating various IIS virtual directories), and am getting a Parser Error returned from IIS. Seems to be when it gets to the "inherits" part of the code, because if I remove this, it works (partially, and then falls over somewhere else!)
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="Default.aspx.vb" Inherits="codebank._default" %>
. The error returned when going to the main page of this project is:Server Error in '/Codebank' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.Parser Error Message: Could not load type 'codebank.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.vb" Inherits="codebank.Global" %>
Source File: D:\Inetpub\wwwroot\codebank\global.asax Line: 1
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
I have looked around the newsgroups, and have found some references to compiling or building the project, but the download page for this project does not mention any need for it. Is this a pre-requisite for all downloaded projects so that they will run on a new server? Basically, I'm stuck and don't know what to do next, and I'm hoping that you might be able to point my aimless "changing of files here and there to get it to work" into something more productive. Ciao, -==============- www.e1design.com -==============-