Celebration, Florida 34747
407-551-0777 Phone
Error Using Ban Man Pro .net control
>> Error when using the Ban Man Pro .net control:

" The virtual path '/banmanpro/ctlDisplayAd.ascx' maps to another application, which is not allowed."
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:

  1. Remove the IIS application starting point in IIS.
  2. Move all the .dll files from the /banmanpro/bin/ folder to your root web site /bin folder.
  3. 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.
  4. 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.

<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" />

 <authentication mode="Forms">
<forms name="appNameAuth" loginUrl="admin/login.aspx" protection="All" timeout="30">
<credentials passwordFormat="Clear">

Copyright 1999-2015, LLC All Rights Reserved