• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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