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

Getting Parser Error after publishing ASP.NET web application

I built a relatively simple asp.net web application in VS 2005 which
runs fine on my local machine.

I disabled debugging in the web.config file and compiled the project
under Release. I then clicked on Build->Publish Web Site and pointed it
at our web server. It successfully published the files in the folder I
wanted it to. The server is running .NET 2.0.

However, when I attempt to browse to the page I get the following
error:

Server Error in '/' 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 the assembly
'App_Web_lease.aspx.cdcab7d2'. Make sure that it is compiled before
accessing the page.

Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Lease,
App_Web_lease.aspx.cdcab7d2" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /LeasePage/Lease.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.42

Anyone have any idea what is going on? I attempted to also make a
virtual directory and point it at the folder, but that hasn't helped.

Jun 7 '06 #1
3 1685
Anyone else been through this?

pWade wrote:
I built a relatively simple asp.net web application in VS 2005 which
runs fine on my local machine.

I disabled debugging in the web.config file and compiled the project
under Release. I then clicked on Build->Publish Web Site and pointed it
at our web server. It successfully published the files in the folder I
wanted it to. The server is running .NET 2.0.

However, when I attempt to browse to the page I get the following
error:

Server Error in '/' 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 the assembly
'App_Web_lease.aspx.cdcab7d2'. Make sure that it is compiled before
accessing the page.

Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Lease,
App_Web_lease.aspx.cdcab7d2" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /LeasePage/Lease.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.42

Anyone have any idea what is going on? I attempted to also make a
virtual directory and point it at the folder, but that hasn't helped.


Jun 8 '06 #2
Having exact same problem
pWade wrote:
Anyone else been through this?

pWade wrote:
I built a relatively simple asp.net web application in VS 2005 which
runs fine on my local machine.

I disabled debugging in the web.config file and compiled the project
under Release. I then clicked on Build->Publish Web Site and pointed it
at our web server. It successfully published the files in the folder I
wanted it to. The server is running .NET 2.0.

However, when I attempt to browse to the page I get the following
error:

Server Error in '/' 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 the assembly
'App_Web_lease.aspx.cdcab7d2'. Make sure that it is compiled before
accessing the page.

Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Lease,
App_Web_lease.aspx.cdcab7d2" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /LeasePage/Lease.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.42

Anyone have any idea what is going on? I attempted to also make a
virtual directory and point it at the folder, but that hasn't helped.


Jun 8 '06 #3
Nodody has a suggestion for this issue?

ga*********@gmail.com wrote:
Having exact same problem
pWade wrote:
Anyone else been through this?

pWade wrote:
I built a relatively simple asp.net web application in VS 2005 which
runs fine on my local machine.

I disabled debugging in the web.config file and compiled the project
under Release. I then clicked on Build->Publish Web Site and pointed it
at our web server. It successfully published the files in the folder I
wanted it to. The server is running .NET 2.0.

However, when I attempt to browse to the page I get the following
error:

Server Error in '/' 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 the assembly
'App_Web_lease.aspx.cdcab7d2'. Make sure that it is compiled before
accessing the page.

Source Error:
Line 1: <%@ page language="C#" autoeventwireup="true" inherits="Lease,
App_Web_lease.aspx.cdcab7d2" %>
Line 2:
Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Source File: /LeasePage/Lease.aspx Line: 1
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42;
ASP.NET Version:2.0.50727.42

Anyone have any idea what is going on? I attempted to also make a
virtual directory and point it at the folder, but that hasn't helped.


Jun 9 '06 #4

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

Similar topics

4
by: james margey | last post by:
Hi to all, I have spent 3 days at this error and i have two days to go for a deadline, and i am about to go off my nut, the reason being: Microsoft dont seem to be able to provide a solution, I...
0
by: mdnlebbai | last post by:
Hai Friends when i was publishing the site, I found this error. in my development system its working fine and in testing machine also (static IP) its works, where as in web server it shows...
0
by: mahsak61 | last post by:
hi I am new in asp.net and i have a question. my source works perfectly in localhost but after publishing i get this error: Parser Error Description: An error occurred during the parsing of...
1
by: viswanathtvs | last post by:
java.util.NoSuchElementException javax.faces.el.EvaluationException: java.util.NoSuchElementException at...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.