Server Error in '/air/AirEmissionsApp' Application.

The remote server returned an error: (404) Not Found.

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.Net.WebException: The remote server returned an error: (404) Not Found.

Source Error:


Line 23:         
Line 24:         // Login and create a new session.
Line 25:         var status = IntegrationHelper.LoginLocal(
Line 26:             ConfigurationManager.AppSettings["DundasDashboardViewerUsername"].ToString(),
Line 27:             ConfigurationManager.AppSettings["DundasDashboardViewerPassword"].ToString(),

Source File: d:\Inetpub\wwwrootepa\dundasapp\DashboardViewer.aspx.cs    Line: 25

Stack Trace:


[WebException: The remote server returned an error: (404) Not Found.]
   System.Net.HttpWebRequest.GetResponse() +4719
   System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +86

[EndpointNotFoundException: There was no endpoint listening at http://airemissions.epa.nsw.gov.au/DashWorksService.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details.]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +369
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +1012
   Dundas.Dashboard.Integration.Services.DashWorksService.LogOnLocal(ExceptionData& exceptionData, Collection`1 credentials, String cultureName, Boolean deleteOtherSessions, Boolean isLoggingInFromApp) +0
   Dundas.Dashboard.Integration.IntegrationHelper.LoginLocal(Collection`1 credentials, String cultureName, Boolean deleteOtherSessions) +485
   Dundas.Dashboard.Integration.IntegrationHelper.LoginLocal(String userName, String password, String cultureName, Boolean deleteOtherSessions) +216
   DashboardViewer.Page_Load(Object sender, EventArgs e) in d:\Inetpub\wwwrootepa\dundasapp\DashboardViewer.aspx.cs:25
   System.Web.UI.Control.OnLoad(EventArgs e) +104
   System.Web.UI.Control.LoadRecursive() +112
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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