A
Alex D.
Is there something wrong in this code? :
try
{
DirectoryInfo dirInfo = new DirectoryInfo(path);
if ((FileAttributes.Hidden & dirInfo.Attributes) == FileAttributes.Hidden)
{ Response.Write("The folder is hidden."); }
}
catch (Exception) { }
When try to execute I get a blank page with the message:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.
Thanks, Alex.
try
{
DirectoryInfo dirInfo = new DirectoryInfo(path);
if ((FileAttributes.Hidden & dirInfo.Attributes) == FileAttributes.Hidden)
{ Response.Write("The folder is hidden."); }
}
catch (Exception) { }
When try to execute I get a blank page with the message:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser
to retry your request.
Administrator Note: An error message detailing the cause of this specific
request failure can be found in the application event log of the web server.
Please review this log entry to discover what caused this error to occur.
Thanks, Alex.