Thursday, February 9, 2012

ASP.NET - File not found error * Pls. help!

When launching created file 'eSurvey.aspx' the following error occurs.
How can I resolve this matter? Thanks!
ERROR:
Could not find a part of the path "E:\Documents and
Settings\wardte\Desktop\eSurvey\convert\files\Rigid_PCB_Questionnaire.htm".
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.IO.DirectoryNotFoundException: Could not find a
part of the path "E:\Documents and
Settings\wardte\Desktop\eSurvey\convert\files\Rigid_PCB_Questionnaire.htm".
Source Error:
Line 107: objStreamReader = File.OpenText(filename)When running the the .ASPX file via Visual Studio, the .ASPX file works fine.
Why?
"Terry" wrote:
> When launching created file 'eSurvey.aspx' the following error occurs.
> How can I resolve this matter? Thanks!
> ERROR:
> Could not find a part of the path "E:\Documents and
> Settings\wardte\Desktop\eSurvey\convert\files\Rigid_PCB_Questionnaire.htm".
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information about
> the error and where it originated in the code.
> Exception Details: System.IO.DirectoryNotFoundException: Could not find a
> part of the path "E:\Documents and
> Settings\wardte\Desktop\eSurvey\convert\files\Rigid_PCB_Questionnaire.htm".
> Source Error:
> Line 107: objStreamReader = File.OpenText(filename)
>

No comments:

Post a Comment