Parser Error Message

  • Thread starter Thread starter thedebugger
  • Start date Start date
Hi,

I get a Parser Error message when I try to start my asp.net app.

Parser Error Message: Could not load type 'DiskoWeb.dLogin'.

I have a code behind file and it's class name is dLogin.

This the error message

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 'DiskoWeb.dLogin'.

Source Error:


Line 1: <%@ Page Language="vb" autoeventwireup="false"
codebehind="dLogin.aspx.vb" Inherits="DiskoWeb.dLogin" smartnavigation="True"
%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>


Source File: c:\inetpub\wwwroot\DiskoWeb\dLogin.aspx Line: 1

and these lines are from the code b ehind file

Imports System.Data.SqlClient
Imports System.Data
Imports System.Configuration
Imports System.IO
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.HtmlControls
Imports System.Diagnostics

Public Class dLogin

What has gone wrong?

TIA

Kenneth
 
Do you have a \bin subdirectory that has your compiles .dll. How did you
deploy your app? What steps did you take?
 
I've tried that a dozen times. It doesn't work, getting the same parser
errors described earlier.

Kenneth
 
I've tried that a dozen times. It doesn't work, getting the same parser
errors described earlier.

Kenneth

Try adding the DiskoWeb directory to the application (using Solution
Viewer in VS.NET.)

-- ipgrunt
 
I found the error cause, using a DataSet needs a System.Xml reference which
the new empty project didn't have.

Kenneth P
 
Back
Top