Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Running a VB/ASP.NET Application from Code Project.

Running a VB/ASP.NET Application from Code Project.

Scheduled Pinned Locked Moved Visual Basic
databasehelpcsharpasp-netdotnet
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    e1design
    wrote on last edited by
    #1

    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 -==============-

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups