Stack trace error while in VS Search

Affiliation
American Association of Variable Star Observers (AAVSO)
Tue, 04/03/2018 - 02:22

I am not familiar with VPHOT yet, I just setup my account and tried to get acquainted with some functions. While trying VS Search, I got this error showing:

Server Error in '/app' Application.

Could not find file 'C:\V_E\images\636583174389684920.phot'.

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.FileNotFoundException: Could not find file 'C:\V_E\images\636583174389684920.phot'.

Source Error: 
 

Line 327: Dim f As New FileInfo(filepath)
Line 328: Dim photfile As String = f.FullName.Replace(f.Extension, ".phot")
Line 329: Dim inp As StreamReader = File.OpenText(photfile)
Line 330: Dim fwhm As Double = ToDbl(inp.ReadLine)
Line 331: inp.Close()

Source File: C:\inetpub\wwwroot\app\restricted\VarSearchResults.aspx.vb    Line: 329 

Stack Trace: 
 

[FileNotFoundException: Could not find file 'C:\V_E\images\636583174389684920.phot'.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +382
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +736
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) +66
System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost) +101
System.IO.StreamReader..ctor(String path) +32
System.IO.File.OpenText(String path) +35
Restricted_VarSearchResults.lbtnShow_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\app\restricted\VarSearchResults.aspx.vb:329
System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +116
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +106
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9760098
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639

 

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2623.0

Affiliation
American Association of Variable Star Observers (AAVSO)
VS Search Deactivated

Normand:

VS Search has been deactivated for quite a while but we have not removed its link from the available images page. Actually, not sure how you got this specific error? We have some hope of reinstituting this tool someday?

Ken

PS: This deactivation is noted in the current VPhot Guide.