The following procedures are for deploying Forms authentication:
Change IIS Settings
In IIS Manager, configure the application pool containing your Wavepoint website to use .NET 4.0.
If the .NET version needs to be changed, click on Basic Settings in the Actions pane. Select the .NET version from the drop-down, then click OK.
Ensure Windows Authentication is Disabled by double-clicking on the Authentication button under the Wavepoint Default Web Site list. Also ensure that Forms Authentication is Enabled.
Specify the Connection String
In Windows Explorer, navigate to C:\inetpub\wwwroot\Wavepoint and open Web.config in a text editor (Notepad++ or XMLSpy). In the Web.config file, update the existing default connection string for your server. For example:
<connectionStrings> <add name="DefaultConnection" connectionString="Server=172.18.230.55\arcgis2k8r2;Database=MinervilleFiber; user id=aspnet;Password=aspnet;" providerName="System.Data.SqlClient"/> </connectionStrings>
If necessary, navigate to C:\inetpub\wwwroot\Wavepoint and open Web.config in a text editor (Notepad++ or XMLSpy). There, you can set the authentication mode as Forms.
<authentication mode="Forms"> forms loginUrl="~/Account/Login" timeout="2880" /> </authentication>
Create and Manage Users
For user management, you must create a new database instance and execute an SQL script. Note that Oracle is not currently supported for Wavepoint user management. Therefore, Schneider Electric recommends running these scripts against SQL Server Express or something similar.
If you are using Windows/AD Authentication, the Logoff, Registered Users, and Register New User buttons are not available.
If you are using Forms Authentication, those buttons are available for use.
Create New Database Instance
Locate and Run SQL Script
In MS-SQL Server Management Studio, open the File: "C:\inetpub\wwwroot\Wavepoint\App_Data\create schema.sql" and Execute/Run this script.
Open IIS and Create New App Pool
Open IIS Manager and create a new App Pool with Integrated Pipeline. Change the App Pool connection string to point to the database that you created above.
Register New User and Verify Login
Open a web browser and navigate to the Wavepoint application http://[WAVEPOINTSERVER]/wavepoint. Log in as an Administrator and Register a New User. Verify that you are able to successfully log in as the newly created user.