Also in the backend all the categories etc are there but if i click on the Product Catalog item for my store i again get the ConnectionString property has not been initialized error
Umbraco and Ucommerce seem to work ok so the connection strings must be right so really not sure what could be causing this.
Any ideas?
Oh and the url-rewrites are in the rewrite file still - i check that already.
uCommerce 2.6 probably does not support the Umbraco 6 connection string location. Not sure about the exact version of uCommerce where the new location is supported.
Later uCommerce versions support both locations, so I think this issue will disappear, once you upgrade uCommerce?!
But why it would work half-way is a bit of a mystery.
Ive just attempted to upgrade ucommerce and things have not gone well.
I downloaded the v4 package and ran the installer in umbraco and it fell over during the install with:
Could not load file or assembly UCommerce.Umbraco v1.0.0. and said that the module was expected to contain an assembly manifest.
So now I cant get into UCommerce or install the upgrage. I did take a copy of everything before i started so i can role back but i need to upgrade it. ANy ideas what went wrong?
I have write access to all the dirs...
the new UCommerce folder was added to the bin directory.
Ok panic over. I ended up rolling back to umbraco 4.7.1 and performing the ucommerce upgrade first and then doing the umbraco upgrade after and it worked ok.
Just on with upgrading all my scripts now.
The ucommerce upgrade also got rid of the error as detailed in this post but make sure you upgraade uCommerce before Umbraco.
The ConnectionString property has not been initialized
I have an instance of ucommerce where i have upgraded umbraco from 4.7.1 to 6.1.6
Ucommerce is v2.5.1 (and is next for the upgrade once ive finished converting my views)
I can grab the current catalogue using linq but if i try and use the CurrentContext is keels over e.g.
SiteContext.Current.CatalogContext.CurrentCatalogName
Also in the backend all the categories etc are there but if i click on the Product Catalog item for my store i again get the ConnectionString property has not been initialized error
Umbraco and Ucommerce seem to work ok so the connection strings must be right so really not sure what could be causing this.
Any ideas?
Oh and the url-rewrites are in the rewrite file still - i check that already.
Cheers
Damian
Can you please provide a callstack of some kind either from the Yellow screen of death or from the UmbracoLog.
Cheers.
The error above occurs when i try and access the context as shown in the first post.
When i am in the backend i dont get the above - but a message saying enable debug - but i get the same error message.
Hi Damian,
uCommerce 2.6 probably does not support the Umbraco 6 connection string location. Not sure about the exact version of uCommerce where the new location is supported.
Later uCommerce versions support both locations, so I think this issue will disappear, once you upgrade uCommerce?!
But why it would work half-way is a bit of a mystery.
Kind regards,
Jesper
I do like to find these oddities! lol
Ok i'll upgrade UC to the latest version. Can i just go straight from 2.5 to the latest version?
Thanks,
Damian
Hi Damian,
Yes, it should work. But definitely remember to recompile against the latest dll's after upgrade.
Kind regards,
Jesper
Will do - i know ive got some changes to make as the API changed a little.
Thanks Jesper.
Damian
Hi Jesper,
Ive just attempted to upgrade ucommerce and things have not gone well.
I downloaded the v4 package and ran the installer in umbraco and it fell over during the install with:
Could not load file or assembly UCommerce.Umbraco v1.0.0. and said that the module was expected to contain an assembly manifest.
So now I cant get into UCommerce or install the upgrage. I did take a copy of everything before i started so i can role back but i need to upgrade it. ANy ideas what went wrong?
I have write access to all the dirs...
the new UCommerce folder was added to the bin directory.
Any other info i can get you to help?
Ok panic over. I ended up rolling back to umbraco 4.7.1 and performing the ucommerce upgrade first and then doing the umbraco upgrade after and it worked ok.
Just on with upgrading all my scripts now.
The ucommerce upgrade also got rid of the error as detailed in this post but make sure you upgraade uCommerce before Umbraco.
I'm glad it all worked out. It was a nice bit of information that the upgrade from version 2 to 3 went well.
Regards
Morten
It was umbraco 4.7.1 > 6.1.6
and
UCommerce 2.5.1 > 4.0.6
All running ok at the moment.
Damian
is working on a reply...