Link to home
Start Free TrialLog in
Avatar of Lev Seltzer
Lev SeltzerFlag for Israel

asked on

ASP.NET program stopped working mysteriously

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.
ASKER CERTIFIED SOLUTION
Avatar of Ramkisan Jagtap
Ramkisan Jagtap
Flag of Finland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Lev Seltzer

ASKER

I have deleted the file "PrecompiledApp.config" and put back the app_code folder and I no longer get this error.

Thank you.