Upgrading from AdMentor 4.x to AdMentor 5.0
There is a upgrade path you can take to preserve all existing banner campaigns etc.
Database
In the directory sqlupgrades there are some textfiles containg database upgrade scripts. Depending on which database you are using, select the correct file:
- MSSQL-2-UpgradeTo5.00.txt
- MySQL4-2-UpgradeTo5.00.txt
- MySQL5-2-UpgradeTo5.00.txt
If you are using MySQL 4.x then use the file MySQL4-2-UpgradeTo5.00.txt. MySQL 5 users (i.e using stored procedures - UseSP="1") should use the MySQL5-2-UpgradeTo5.00.txt.
Web
As AdMentor 5.0 is compiled under .NET 2.0 it's not just a matter of copying the files over the old AdMentor. Depending on your requirements there are a few options on how to proceed:
Create a totally new site, in another location
For example - lets say you have admentor4 installed under http://www.aspcode.net/admentor now you might decide to install the new version under http://www.aspcode.net/admentor5
You will then need to copy all the files in the admentor/bannermedia directory to admentor5/bannermedia. This will preserve your existing campaign files - however using this technique you will have some trouble since all the admentor html code calls (from your sites webpages) must be changed to admentor5 instead of admentor4.
Deploy at same location
Using this technique you will not need you change any admentor calls from your existing web pages - however it will mean that you
a) remove all files and directories in the existing admentor directory (but NOT the banner media directory)
b) change the admentor site to use .NET 2.0 instead of .NET 1.1
Just contact us if in doubt before you start upgrading.