Server Error in '/' Application.

Could not get URL [ http://sabor-rets.connectmls.com/rets/server/getobject] - HTTP response code: 401

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: librets.RetsHttpExceptionNative: Could not get URL [ http://sabor-rets.connectmls.com/rets/server/getobject] - HTTP response code: 401

Source Error:


Line 61:         GetObjectRequest request = new GetObjectRequest("Property", "HrPhoto");
Line 62:         request.AddObject(MLSno.ToString(), img);
Line 63:         GetObjectResponse response = session.GetObject(request);
Line 64:         ObjectDescriptor obj = response.NextObject();
Line 65: 

Source File: c:\inetpub\vhosts\joyceklein.com\httpdocs\SearchResultsImages.aspx.cs    Line: 63

Stack Trace:


[RetsHttpExceptionNative: Could not get URL [ http://sabor-rets.connectmls.com/rets/server/getobject] - HTTP response code: 401 ]
   librets.RetsSession.GetObject(GetObjectRequest request) +121
   SearchResultsImages.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\joyceklein.com\httpdocs\SearchResultsImages.aspx.cs:63
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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