|
In order to use the Ban Man Pro .NET
control you must meet these criteria:
1. Your pages must be written in
ASP.NET using VB.NET. You CANNOT use C# as you cannot mix
VB and C# and the control is written in VB.NET.
2. Ban Man Pro must be installed
as a sub-folder of your web site and cannot be its own
application starting point as is normally done.
To install Ban Man Pro so it is
no longer an Application Starting Point you must:
- Remove the IIS application
starting point in IIS.
- Move all the .dll files from
the /banmanpro/bin/ folder to your root web site /bin folder.
- Move the global.asax file from
the /banmanpro/ folder to your root web site. If you
already have a global.asax file then just delete the one in
the /banmanpro folder.
- Move the web.config file from
the /banmanpro/ folder to your root web site. If you
already have a web.config file you must merge our file with
yours then delete the Ban Man Pro web.config file.
If merging the web.config file
you must copy all of the settings shown below and must update
the loginURL that points to the folder where you have installed
the Ban Man Pro files.
<appSettings>
<add key="DBConnectionString" value="server=yourserverIP;UID=BanManPro;PWD=secretpassword;DATABASE=BanManPro"
/>
<add key="BMP_Optimized" value="0" />
<add key="Demo" value="False" />
<add key="bmp_License" value="XXXXXX" />
</appSettings>
<authentication
mode="Forms">
<forms name="appNameAuth" loginUrl="admin/login.aspx"
protection="All" timeout="30">
<credentials passwordFormat="Clear">
</credentials>
</forms>
</authentication> |