• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Server Error in '/' Application for aspx

W

webjobs

Guest
After upgrade to 7.6 many websites dont' work.

One of they, created in aspx.

error is

Server Error in '/' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0117: 'System.IO.File' does not contain a definition for 'ReadAllText'

Source Error:



Line 49: nometxt = fi.Name.Replace(".jpg", ".txt");
Line 50: if (File.Exists(path+"\\big\\"+nometxt)) {
Line 51: didascalia = File.ReadAllText(path+"\\big\\"+nometxt, Encoding.UTF8);
Line 52: };%>
Line 53: &nbsp;<%=didascalia%>

Before to upgrade, it worked.

pls help me.
 
Back
Top