wwHoverPanel Samples Configuration

Home


In order to run these demos you need the following:


Connection String Setup

The samples use a custom business object to perform data access and this business object pulls its connection string through a configuration class in App.cs called AppConfiguration. A default connection string is defined there in the NorthwindConnectionString property.

This configuration class will also write its keys into the AppSettings of web.config given that the account your Web Application is running under (ASPNET or NETWORK SERVICE usually) has Write access to the web.config file. If you are running using the ASP.NET Web server you will have rights and the entry will exist in web.config. If you run IIS you need to explicitly make sure that you give the appropriate account WRITE access.

If the settings are in the AppSettings of Web.config you can change the connection string there for the: 

       <AppSettings>
 <add key="NorthwindConnectionString" value="database=Northwind;uid=demo;pwd=demo" />
</AppSettings>
If you haven't set permissions you can change the default value in App.cs directly. Make sure to configure the connection string by configuring the Northwind database appropriately and then assigning the correct connectionstring.

IIS Configuration

If you plan on running with IIS rather than the built-in ASP.NET Web Server, you can run the provided _WebConfiguration.exe file, which can be used to set up a virtual directory and set directory permissions directly. Simply run the utility out of the sample directory with Explorer. Once done you can navigate to the virtual directory you configured - ScriptCallbacks by default.

© Rick Strahl, West Wind Technologies