Solved

ASP.NET program stopped working mysteriously

Posted on 2014-09-15
2
582 Views
Last Modified: 2014-09-15
I hired a programmer to write code in ASP.NET. The code was working last week. Now when I run the code, I get an error:
The directory '/App_Code/' is not allowed because the application is precompiled.

The code is to process payments with SAGE PAY on a website. The server is now running Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1025

I removed the /app_code folder and received a different error:
The file '/payment.aspx' has not been pre-compiled, and cannot be requested.
 
I have tried to get in touch with the programmer, but he has not yet responded (he might still respond...)

WE are dealing with a program that used to work.

I understand bits of ASP.NET, but not a lot. I do not know if the programmer delivered to me a compiled program or not. I do see a program payment.aspx.cs which contains regular code.

Any suggestions to get this work would be most appreciated.
0
Comment
Question by:Lev Seltzer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 12

Accepted Solution

by:
Ramkisan Jagtap earned 500 total points
ID: 40322910
Restore/create  the app_code back to the location.  Make a backup and delete the precompiled.config file.
Check if it works then.
0
 

Author Closing Comment

by:Lev Seltzer
ID: 40322931
I have deleted the file "PrecompiledApp.config" and put back the app_code folder and I no longer get this error.

Thank you.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question