So I've just taken a perfectly good working dev site, in VS published it to the local file system, copied it to our staging software and set it up under IIS - all stock, and common activities.
However, now when I go to the homepage I get
Current has not been initialized on Merchello.Core.EntityCollections.EntityCollectionProviderResolver. You must initialize Current before trying to read it.
There's also issues with the Merchello tree - if I go via the back office to the Merchello section, I get a
failed to retrieve data for application tree merchello
It's a combination of Merchello/FastTrack and Umbraco 7.5.4.
Yes, been through all the DLLs and can't see anything missing - also, suspect you were replying as I was editing my post - did you see my comment about the merchello tree in the back office?
There's some providers with encrypted settings - could that be causing a problem?
Yep - provider settings are encrypted using the machine key. So decrypt them when you publish and then encrypt them again in the back office of the published instance.
Thought so - however, having removed the settings from merchGatewayProviderSettings table it still can't load the merchello tree - any other places where the encryption might be causing problems?
When you say "having removed the settings from merchGatewayProviderSettings table" - did you accomplish this by going through each of the dialogs?
This will actually decrypt the values. Changing the value directly in the table would not accomplish the decryption - it's mearly a flag indicating the stored value is encrypted.
Current has not been initialized on Merchello.Core.EntityCollections.EntityCollectionProviderResolver. You must initialize Current before trying to read it.
and failed to retrieve data for application tree merchello in the Umbraco's backoffice.
Which 'web.config' file have you touched and which are the modifications ?
I tested to touch 'web.config' file on root directory but it doesn't work... :-(
My Config : Merchello/FastTrack 2.5.0 and Umbraco 7.5.11
Merchello deployment issue
Hi all,
So I've just taken a perfectly good working dev site, in VS published it to the local file system, copied it to our staging software and set it up under IIS - all stock, and common activities.
However, now when I go to the homepage I get
There's also issues with the Merchello tree - if I go via the back office to the Merchello section, I get a
failed to retrieve data for application tree merchello
It's a combination of Merchello/FastTrack and Umbraco 7.5.4.
Rusty - any ideas that may help?
I've used that method quite a few times - so the good news is I know it will ultimately work.
Are you certain you've included all of the relevant config files and supporting dlls in your project?
Hi Rusty,
Yes, been through all the DLLs and can't see anything missing - also, suspect you were replying as I was editing my post - did you see my comment about the merchello tree in the back office?
There's some providers with encrypted settings - could that be causing a problem?
Thanks Simon
Yep - provider settings are encrypted using the machine key. So decrypt them when you publish and then encrypt them again in the back office of the published instance.
Thought so - however, having removed the settings from
merchGatewayProviderSettings
table it still can't load the merchello tree - any other places where the encryption might be causing problems?When you say "having removed the settings from merchGatewayProviderSettings table" - did you accomplish this by going through each of the dialogs?
This will actually decrypt the values. Changing the value directly in the table would not accomplish the decryption - it's mearly a flag indicating the stored value is encrypted.
No, in the database set the
encryptExtendedData
flag to 0 and setextendedData
column to<extendedData />
Ah - many of the providers use events to setup at least scaffold settings when activated - so that may be the new issue.
Inactive providers will not have a record at all in that table.
OK, so added in the decrypted settings - and didn't work. I had to touch the web.config and it all worked fine.
The other issue about
Current has not been initialized
was obviously tied in as well because that's all working now too.Thanks for the help Simon
Hello Simon,
I've exactly the same problem like you !
and
failed to retrieve data for application tree merchello
in the Umbraco's backoffice.Which 'web.config' file have you touched and which are the modifications ? I tested to touch 'web.config' file on root directory but it doesn't work... :-(
My Config : Merchello/FastTrack 2.5.0 and Umbraco 7.5.11
is working on a reply...