Server Error in '/AnyViewIDS' Application. Login failed for user 'sa'.

14 January 2005

Issue Description

When attempting to log in to the AnyView IDS Web Application, the following error message is displayed in the browser window:

 

Server Error in '/AnyViewIDS' Application.


Login failed for user 'sa'.

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.Data.SqlClient.SqlException: Login failed for user 'sa'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


Stack Trace:

[SqlException: Login failed for user 'sa'.]
   AccountableSoftwareInc.AnyView.Browser.Login.btnLogin_Click(Object sender, EventArgs e) +882
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1262

 


Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032

 

 

This message is generated when the password in the web.config file in the AnyView Web Application folder is incorrect.  This password was entered when the Web Setup application was run.  During the Web Setup, 'SQL Server' was selected as the method for 'Database Authentication' and a Login and Password were entered.

Solution

In order to enter the correct login and password for database authentication, the AnyView IDS Web Setup application, 'AccountableSoftwareInc.AnyViewInstall.WebAppInstall.exe' must be re-run.  In a default installation the path to this application is:

 

C:\Program Files\Accountable Software Inc\AnyView IDS\Setup\AccountableSoftwareInc.AnyViewInstall.WebAppInstall.exe

 

  1. Run 'AccountableSoftwareInc.AnyViewInstall.WebAppInstall.exe' and the AnyView Web Application Setup window will open. 
  2. Reenter the SQL Server login and password in the 'Connection Information' tab.
  3. When the 'Finish' button is pressed it will write new entries to the web.config file.
Site Map