v2.9012 Issues

Posted By BORNXenon Thu 12 Apr 2018
Add to Favorites0
Author Message
BORNXenon
 Posted Thu 12 Apr 2018
Supreme Being

Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)

Group: Forum Members
Last Active: Mon 23 Apr 2018
Posts: 59, Visits: 291
Our site currently runs v2.7001 and is quite heavily modified hence I have shunned updates. However, we need to take advantage of all the GDPR changes in the latest version so I have created a new database, restored our site backup, run all the sql update scripts successfully and then attempted to run a clean version of v2.9012.I expected the odd issue with skins, etc. but in actual fact, I'm not even getting as far as that.


When running the site I get the following error:

System.Configuration.ConfigurationErrorsException: 'Object reference not set to an instance of an object.'

This error relates to the following line in the Global.asa file:

AddHandler SiteMap.SiteMapResolve, AddressOf SiteMapHelper.ExpandPathForUnmappedPages

If I comment out the line, I get the same error on the next line, and the next line.
After commenting out all of the SiteMap lines, it then throws the following error:


System.Data.SqlClient.SqlException: 'Invalid object name 'dbo.vKartrisCategoryProductsVersionsLink'.'

I have checked the DB and that particular SQL View is indeed missing. It doesn't exist in my live v2.7001 db so obviously it hasn't been restored to my test DB, but it also hasn't been added by any update script either.

I then did a clean install on a new database and the View does get created so I expected to at least get a running empty site, however, I am still getting the above SiteMap errors.

Any ideas??

Ta

Chris
BORNXenon Marked As Answer
 Posted Fri 13 Apr 2018
Supreme Being

Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)Supreme Being - (29,793 reputation)

Group: Forum Members
Last Active: Mon 23 Apr 2018
Posts: 59, Visits: 291
Think I may have solved this.

Turns out there is an entry in my machine.config file for a 'MySqlSiteMapProvider' which must have been from another project that used WordPress. Adding the following line to the <providers> tag in the web.config file has solved the Null Exception:

<remove name="MySqlSiteMapProvider" />

I still don't have a running site but that's another issue!
Paul
 Posted Fri 13 Apr 2018
große Käse

große Käse - (450,682 reputation)große Käse - (450,682 reputation)große Käse - (450,682 reputation)große Käse - (450,682 reputation)große Käse - (450,682 reputation)große Käse - (450,682 reputation)große Käse - (450,682 reputation)große Käse - (450,682 reputation)große Käse - (450,682 reputation)

Group: Administrators
Last Active: Fri 15 Sep 2023
Posts: 806, Visits: 2,737
If you get the v2.9012 up and running, need to update the OrdersBLL.vb with the latest version from the 2.9013 zip as there is an issue creating new accounts which we fixed, due to the IP addres being required.

--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top