• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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