?
Solved

ASP.NET program stopped working mysteriously

Posted on 2014-09-15
2
Medium Priority
?
617 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 2000 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

A new era in Cloud training has arrived.

A day that will go down in Cloud history.. But are you ready for it? Will you accept this Cloud challenge?

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

777 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