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.Glo bal'.
Source Error:
Line 1: <%@ Application Codebehind="Glo bal.asax.cs"
Inherits="dotne ttest.Global" %> 5 2029
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: AcOUJdwns1yHA3i 3TMKCQUGV4TAXXg == Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet Path: cpmsftngxa06.ph x.gbl Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1847 50 NNTP-Posting-Host: TK2MSFTNGXS01 10.40.2.125 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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.Glo bal'.
Source Error:
Line 1: <%@ Application Codebehind="Glo bal.asax.cs" Inherits="dotn ettest.Global" %>
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!
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.publi c.dotnet.framew ork.aspnet Date: Thu, 16 Oct 2003 17:41:41 -0700 NNTP-Posting-Host: actionjackson13 3.dsl.frii.net 216.17.147.133 Lines: 1 Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!TK2 MSFTNGP09.phx.g bl Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.framew ork.aspnet:1847 99 X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.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!
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -o Modules/python.o
Modules/python.c
gcc -pthread -c...
|
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- xmltagreader nvarchar(255)
3- defaultValue nvarchar(255)
|
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 error in my browser.
At one time I was able to successfully create ASP.Net
webforms. However, now I can not even create a test
webform. I am...
|
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 getting the following parser
errors on the webforms that used to work and any new
ASP.Net webforms I try to create. I have been having this
error...
|
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 have read somewhere about changing the global.asax and
the .Aspx source lines from the Codebehind statement to
src. For Example:...
| |
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 Internet Explorer,
and surf to
http://myserver/myproject/webform1.aspx.
All is well, I see my image.
|
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 mycompleteapp.login
login is my webform ... i looked in all the hidden places and everything
seems to have updated correctly..
|
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,...
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
|
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...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
| |
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |