By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,143 Members | 1,855 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,143 IT Pros & Developers. It's quick & easy.

Parser Error Message

P: n/a
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
Nov 19 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
Do you have a \bin subdirectory that has your compiles .dll. How did you
deploy your app? What steps did you take?
"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
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

Nov 19 '05 #2

P: n/a
Just Rebuild your application.


"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
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

Nov 19 '05 #3

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

Kenneth

"thedebugger" wrote:
Just Rebuild your application.


"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
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


Nov 19 '05 #4

P: n/a
On 12 Mar 2005, =?Utf-8?B?S2VubmV0aCBQ?=
<Ke******@discussions.microsoft.com> postulated in news:A63A2CB6-
27*************************@microsoft.com:
I've tried that a dozen times. It doesn't work, getting the same parser errors described earlier.

Kenneth

"thedebugger" wrote:
Just Rebuild your application.


"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
> 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



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

-- ipgrunt

Nov 19 '05 #5

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

Kenneth P

"IPGrunt" wrote:
On 12 Mar 2005, =?Utf-8?B?S2VubmV0aCBQ?=
<Ke******@discussions.microsoft.com> postulated in news:A63A2CB6-
27*************************@microsoft.com:
I've tried that a dozen times. It doesn't work, getting the same

parser
errors described earlier.

Kenneth

"thedebugger" wrote:
Just Rebuild your application.


"Kenneth P" <Ke******@discussions.microsoft.com> wrote in message
news:70**********************************@microsof t.com...
> 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


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

-- ipgrunt

Nov 19 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.