• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.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