Parser Error Message

G

Guest

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
 
T

Tampa.NET Koder

Do you have a \bin subdirectory that has your compiles .dll. How did you
deploy your app? What steps did you take?
 
G

Guest

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

Kenneth
 
I

IPGrunt

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
 
G

Guest

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

Kenneth P
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top