473,386 Members | 1,819 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Parser Error Message

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
5 9562
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
5
by: Jerry | last post by:
I am using .Net 2003. I have been working with this ASP.Net webform that I created a few weeks ago. It has been working fine. However, while modifying the webform today, this webform stopped...
6
by: ST | last post by:
Hi, I keep getting the parser error, and I have no idea why. I've tried a number of things including: 1)building/rebuilding about 100x 2)making sure all dll's are in the bin folder in the root...
2
by: pj_servadmin | last post by:
Server Error in '/<applicationName>' Application -------------------------------------------------------------------------------- Parser Error Description: An error occurred during the parsing of...
2
by: Marshall | last post by:
Hi All, I am building an asp.net web app using Visual Studio 2003. Today I created a new folder called 'Secured' at the root of my web app so I could partition off all of the restricted...
1
by: dotNetDave | last post by:
I keep getting the following error on one of my web service pages: Parser Error Parser Error Message: Could not create type 'SyPixx.Web.ClearService.ConfigureAlarms'. Source Error: Line 1: ...
8
by: Andrew Robert | last post by:
Hi Everyone. I tried the following to get input into optionparser from either a file or command line. The code below detects the passed file argument and prints the file contents but the...
3
by: filip.norrgard | last post by:
Hi All! I've been developing an ASP.Net 2.0 web application using the Visual Studio 2005 tools. Currently datagrids on a page are filled with data from a dataset (a .xsd file in the "project")...
0
by: UncleRic | last post by:
Environment: Mac OS X (10.4.10) on MacBook Pro I'm a Perl Neophyte. I've downloaded the XML::Parser module and am attempting to install it in my working directory (referenced via PERL5LIB env): ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.