473,387 Members | 1,882 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,387 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 9563
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.