473,788 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.dLogi n'.

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.dLogi n'.

Source Error:
Line 1: <%@ Page Language="vb" autoeventwireup ="false"
codebehind="dLo gin.aspx.vb" Inherits="Disko Web.dLogin" smartnavigation ="True"
%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwr oot\DiskoWeb\dL ogin.aspx Line: 1

and these lines are from the code b ehind file

Imports System.Data.Sql Client
Imports System.Data
Imports System.Configur ation
Imports System.IO
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.W ebControls
Imports System.Web.UI.H tmlControls
Imports System.Diagnost ics

Public Class dLogin

What has gone wrong?

TIA

Kenneth
Nov 19 '05 #1
5 9605
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******@discu ssions.microsof t.com> wrote in message
news:70******** *************** ***********@mic rosoft.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.dLogi n'.

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.dLogi n'.

Source Error:
Line 1: <%@ Page Language="vb" autoeventwireup ="false"
codebehind="dLo gin.aspx.vb" Inherits="Disko Web.dLogin"
smartnavigation ="True"
%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwr oot\DiskoWeb\dL ogin.aspx Line: 1

and these lines are from the code b ehind file

Imports System.Data.Sql Client
Imports System.Data
Imports System.Configur ation
Imports System.IO
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.W ebControls
Imports System.Web.UI.H tmlControls
Imports System.Diagnost ics

Public Class dLogin

What has gone wrong?

TIA

Kenneth

Nov 19 '05 #2
Just Rebuild your application.


"Kenneth P" <Ke******@discu ssions.microsof t.com> wrote in message
news:70******** *************** ***********@mic rosoft.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.dLogi n'.

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.dLogi n'.

Source Error:
Line 1: <%@ Page Language="vb" autoeventwireup ="false"
codebehind="dLo gin.aspx.vb" Inherits="Disko Web.dLogin" smartnavigation ="True" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwr oot\DiskoWeb\dL ogin.aspx Line: 1

and these lines are from the code b ehind file

Imports System.Data.Sql Client
Imports System.Data
Imports System.Configur ation
Imports System.IO
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.W ebControls
Imports System.Web.UI.H tmlControls
Imports System.Diagnost ics

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

"thedebugge r" wrote:
Just Rebuild your application.


"Kenneth P" <Ke******@discu ssions.microsof t.com> wrote in message
news:70******** *************** ***********@mic rosoft.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.dLogi n'.

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.dLogi n'.

Source Error:
Line 1: <%@ Page Language="vb" autoeventwireup ="false"
codebehind="dLo gin.aspx.vb" Inherits="Disko Web.dLogin"

smartnavigation ="True"
%>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML>
Source File: c:\inetpub\wwwr oot\DiskoWeb\dL ogin.aspx Line: 1

and these lines are from the code b ehind file

Imports System.Data.Sql Client
Imports System.Data
Imports System.Configur ation
Imports System.IO
Imports System.Web
Imports System.Web.UI
Imports System.Web.UI.W ebControls
Imports System.Web.UI.H tmlControls
Imports System.Diagnost ics

Public Class dLogin

What has gone wrong?

TIA

Kenneth


Nov 19 '05 #4
On 12 Mar 2005, =?Utf-8?B?S2VubmV0aCB Q?=
<Ke******@discu ssions.microsof t.com> postulated in news:A63A2CB6-
27************* ************@mi crosoft.com:
I've tried that a dozen times. It doesn't work, getting the same parser errors described earlier.

Kenneth

"thedebugge r" wrote:
Just Rebuild your application.


"Kenneth P" <Ke******@discu ssions.microsof t.com> wrote in message
news:70******** *************** ***********@mic rosoft.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.dLogi n'.
>
> 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.dLogi n'.
>
> Source Error:
>
>
> Line 1: <%@ Page Language="vb" autoeventwireup ="false"
> codebehind="dLo gin.aspx.vb" Inherits="Disko Web.dLogin"

smartnavigation ="True"
> %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > Line 3: <HTML>
>
>
> Source File: c:\inetpub\wwwr oot\DiskoWeb\dL ogin.aspx Line: 1
>
> and these lines are from the code b ehind file
>
> Imports System.Data.Sql Client
> Imports System.Data
> Imports System.Configur ation
> Imports System.IO
> Imports System.Web
> Imports System.Web.UI
> Imports System.Web.UI.W ebControls
> Imports System.Web.UI.H tmlControls
> Imports System.Diagnost ics
>
> 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?S2VubmV0aCB Q?=
<Ke******@discu ssions.microsof t.com> postulated in news:A63A2CB6-
27************* ************@mi crosoft.com:
I've tried that a dozen times. It doesn't work, getting the same

parser
errors described earlier.

Kenneth

"thedebugge r" wrote:
Just Rebuild your application.


"Kenneth P" <Ke******@discu ssions.microsof t.com> wrote in message
news:70******** *************** ***********@mic rosoft.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.dLogi n'.
>
> 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.dLogi n'.
>
> Source Error:
>
>
> Line 1: <%@ Page Language="vb" autoeventwireup ="false"
> codebehind="dLo gin.aspx.vb" Inherits="Disko Web.dLogin"
smartnavigation ="True"
> %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > Line 3: <HTML>
>
>
> Source File: c:\inetpub\wwwr oot\DiskoWeb\dL ogin.aspx Line: 1
>
> and these lines are from the code b ehind file
>
> Imports System.Data.Sql Client
> Imports System.Data
> Imports System.Configur ation
> Imports System.IO
> Imports System.Web
> Imports System.Web.UI
> Imports System.Web.UI.W ebControls
> Imports System.Web.UI.H tmlControls
> Imports System.Diagnost ics
>
> 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
412
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 of the web app 3)restarting IIS 4)recreating the virtual dir in IIS 5)playing with any and all settings I could find for the web app in IIS, including changing permissions 6)recopying the machineconfig file from my asp v1.4... onto my local server
5
2044
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 working and now only gives me the following error message. I was only modifying the webform code, nothing else. But now my webform won't display in a browser. What can I do?
6
3889
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 of the web app 3)restarting IIS 4)recreating the virtual dir in IIS 5)playing with any and all settings I could find for the web app in IIS, including changing permissions 6)recopying the machineconfig file from my asp v1.4... onto my local server
2
2141
by: pj_servadmin | last post by:
Server Error in '/<applicationName>' Application -------------------------------------------------------------------------------- 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 'Default.Global'. Source Error: Line 1: <%@ Application...
2
323
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 content. Up until that point the restricted files were in the root folder of the web app so I moved them to the Secured folder. From within IIS I made the Secured folder a Vir. Dir. Ever since then I the following error: Parser Error Description: An...
1
13386
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: <%@ WebService Language="vb" Codebehind="ConfigureAlarms.asmx.vb" Class="SyPixx.Web.ClearService.ConfigureAlarms" %>
8
3519
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 individual swithces do not get passed to option parser.
3
2996
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") that, in turn, gets the data from MySql server. Locally testing it on my PC (Windows XP SP2, FYI) it works and no errors appear. However, when I upload it to the webserver (Windows 2003 Web Edit. Server) I get the a parser error on the dataset...
0
2242
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): PERL5LIB=/Users/Ric/Library/Perl/ ls XML-Parser-2.34/ XML-Parser-2.34.tar
0
9498
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10175
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10112
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9969
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.