473,320 Members | 1,883 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,320 software developers and data experts.

Parser Error in ASP.Net webform

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?

Thanks,

Jerry


Server Error in '/dotnettest' 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 'dotnettest.Global'.

Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="dotnettest.Global" %>

Nov 17 '05 #1
5 2015
Jerry,

Have you rebuilt the application since the last modification?

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
Content-Class: urn:content-classes:message
From: "Jerry" <Je********@Msn.com>
Sender: "Jerry" <Je********@Msn.com>
Subject: Parser Error in ASP.Net webform
Date: Thu, 16 Oct 2003 13:41:22 -0700
Lines: 37
Message-ID: <27****************************@phx.gbl>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Thread-Index: AcOUJdwns1yHA3i3TMKCQUGV4TAXXg==
Newsgroups: microsoft.public.dotnet.framework.aspnet
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184750
NNTP-Posting-Host: TK2MSFTNGXS01 10.40.2.125
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

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?

Thanks,

Jerry


Server Error in '/dotnettest' 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 'dotnettest.Global'.

Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="dotnettest.Global" %>


Nov 17 '05 #2
Jim,

Thanks for the reply.

By rebuilding the application, do you mean clicking on rebuild solution
and or rebuild project, then yes I have done that several times.

I have even restart my dev PC. The weird thing is that this is the
second application that this has happened to me. Both apps being ASP.Net
Webforms.

Anything else I can look for?

Thanks,

Jerry
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #3
Jerry,

Check your IIS configuration. Make sure that your application roots are
set where they should be.

Jim Cheshire [MSFT]
Developer Support
ASP.NET
ja******@online.microsoft.com

This post is provided as-is with no warranties and confers no rights.

--------------------
From: Jerry Tovar <je********@msn.com>
References: <ay*************@cpmsftngxa06.phx.gbl>
X-Newsreader: AspNNTP 1.50 (ActionJackson.com)
Subject: RE: Parser Error in ASP.Net webform
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <#p**************@TK2MSFTNGP09.phx.gbl>
Newsgroups: microsoft.public.dotnet.framework.aspnet
Date: Thu, 16 Oct 2003 17:41:41 -0700
NNTP-Posting-Host: actionjackson133.dsl.frii.net 216.17.147.133
Lines: 1
Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP09.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:184799
X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet

Jim,

Thanks for the reply.

By rebuilding the application, do you mean clicking on rebuild solution
and or rebuild project, then yes I have done that several times.

I have even restart my dev PC. The weird thing is that this is the
second application that this has happened to me. Both apps being ASP.Net
Webforms.

Anything else I can look for?

Thanks,

Jerry
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 17 '05 #4
Gos
I had the same issue in my application. I had multiple DLLs in my
application and I removed the root namespace for each DLL and add my
own namespace for whatever files I need in each DLL (by adding
namespace xxx.yyy). That's when I got this parser error. What I forgot
to do is to add the same namespace for my Global.asax.vb file also.

I am not sure whether this will help you.
But this is just a suggestion.

Eric
Nov 17 '05 #5
Gos
I had the same issue in my application. I had multiple DLLs in my
application and I removed the root namespace for each DLL and add my
own namespace for whatever files I need in each DLL (by adding
namespace xxx.yyy). That's when I got this parser error. What I forgot
to do is to add the same namespace for my Global.asax.vb file also.

I am not sure whether this will help you.
But this is just a suggestion.

Eric
Nov 17 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Karalius, Joseph | last post by:
Can anyone explain what is happening here? I haven't found any useful info on Google yet. Thanks in advance. mmagnet:/home/jkaralius/src/zopeplone/Python-2.3.5 # make gcc -pthread -c...
0
by: BillB | last post by:
Hello, I have been looking for a C# example to call a SQL Stored Procedure and parse an XML doc (foo.xml). The Stored Procedure should have 3 ins and one out : IN Example: 1- blobtext ntext...
2
by: Jerry Tovar | last post by:
I am using .net 2003. I am trying to create a C# ASP.Net webform. When I attempt to create a new ASP.Net project and place a label on my webform, build it and run the webform, I get the following...
2
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XP Pro using IIS. My IIS is configured to have it's root on our Network drive. I have been able to create ASP.Net webform up until now. For what ever reason, I am...
0
by: Jerry Tovar | last post by:
I am using .Net 2003. I am trying to build ASP.Net applications, however whenever I build my project and then try to view the webform in a browser, I keep getting the following Parser Error. I...
1
by: David Johnson | last post by:
Okay, creating an ASP.NET application with Visual Studio on a remote server (not local machine). It starts up with WebForm.aspx I put an image in webform.aspx, save it, and jump over to...
2
by: Ian | last post by:
Hi there, I have a small app and i just went into the code behind and renamed the name space.,.. from myapp to mycompleteapp and now its giving me parser errors about Could not load type...
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...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.