473,320 Members | 1,865 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.

App_Code/ is not allowed because the application is precompiled

I recently use VS2005 to move my application to a remote server. When I
attempted to bring up the application I got the "App_Code/' is not allowed
because the application is precompiled". So I deleted that folder from the
remote site. After that the application came up just fine. I closed down
Vs2005 and when I brought it up (my original application) in VS 2005, I get
this warning that the said in essence "the application is pre-compiled and I
should be bring up and modifying this as it may cause the application to not
function". I told it to bring up the application. Now when I attempt to
copile, I get the "App_Code/' is not allowed because the application is
precompiled".

I'm guessing that all this has something to do with me moving my application
to a remote site, but I'm not sure what. I deleted that folder from my
application, had some code in there that I was testing out some code I found
on the net. Now the application compiles just fine.

But when I add a new page to the application, the compiler does not seem to
find errors on the application, such as a missing paragraph of the definition
of an variable. It will not allow me to debug this new web page, I get "No
symbols have been loaded for this document".

So what has happened and how to I fix it?
May 3 '07 #1
1 4551
What do you mean by "bring up"? How are you moving those files? You should
be using the publish feature on the Visual Studio build menu to move those
files - assuming you are using the web site template.

--
Regards,
Alvin Bruney
------------------------------------------------------
Shameless author plug
Excel Services for .NET is coming...
OWC Black book on Amazon and
www.lulu.com/owc
Professional VSTO 2005 - Wrox/Wiley
"JimHeavey" <Ji*******@discussions.microsoft.comwrote in message
news:B2**********************************@microsof t.com...
>I recently use VS2005 to move my application to a remote server. When I
attempted to bring up the application I got the "App_Code/' is not allowed
because the application is precompiled". So I deleted that folder from
the
remote site. After that the application came up just fine. I closed down
Vs2005 and when I brought it up (my original application) in VS 2005, I
get
this warning that the said in essence "the application is pre-compiled and
I
should be bring up and modifying this as it may cause the application to
not
function". I told it to bring up the application. Now when I attempt to
copile, I get the "App_Code/' is not allowed because the application is
precompiled".

I'm guessing that all this has something to do with me moving my
application
to a remote site, but I'm not sure what. I deleted that folder from my
application, had some code in there that I was testing out some code I
found
on the net. Now the application compiles just fine.

But when I add a new page to the application, the compiler does not seem
to
find errors on the application, such as a missing paragraph of the
definition
of an variable. It will not allow me to debug this new web page, I get
"No
symbols have been loaded for this document".

So what has happened and how to I fix it?

May 5 '07 #2

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

Similar topics

11
by: Steve Franks | last post by:
I'm using VS.NET 2005 Beta 2. I have a helper C# class I wrote that I placed in my /App_Code directory. Everything runs fine locally. However when I use the "Copy Web" function to upload the site...
5
by: Jay Douglas | last post by:
I have a set of pages that inherit from a base class in the App_Code folder. The class looks something like: public class MyBaseClass : System.Web.UI.Page In various stages of the life cycle I...
2
by: comzy | last post by:
I need few of my pages to be precompiled and i have to give it to other department so that they can have the basic functionality and in addition they will add their own pages and code. can anyone...
0
by: Simon Gare | last post by:
Hi, have only precompiled version of application as original files have been lost. Trying to alter application in Visual Web Developer but error message reads "the directory is not allowed...
2
by: Simon Gare | last post by:
Hi, have only precompiled version of application as original files have been lost. Trying to alter application in Visual Web Developer but error message reads "the directory is not allowed...
2
by: pradeep_TP | last post by:
Hello, I am trying to use APP_CODE folder for all my class files under VS 2005. After adding APP_CODE in the solution explorer, I added a new web page by right clicking project and selecting add...
4
by: dan_vee | last post by:
Hello everyone, I've been out of the .NET loop for a little while. This question might seem trivial for many of you. But I 'm a bit stumped. I recently started to work with VS 2005 ASP.NET 2.0....
4
by: pamela fluente | last post by:
I have created and published a precompiled application. If I replace an ASP file, e.g. Default.ASP, with a new copy, by sending it via FTP, do I do something WRONG? Do I spoil the precompiled...
1
by: roberto | last post by:
I'm trying to deploy 32-bit web app to 64 bit environment; the app (web service) is deployed as precompiled app - App_Code.dll generated etc. The problem is I cannot find a way of generating...
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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
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...
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...
0
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...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....

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.