Do you have access to the log files (in App_Data/Logs/) there might be a bit more information in there that can help us workout where the error is happening.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/8519e55e/f0a717d1/Newtonsoft.Json.DLL.
LOG: Attempting download of new URL file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/Temporary ASP.NET Files/root/8519e55e/f0a717d1/Newtonsoft.Json/Newtonsoft.Json.DLL.
LOG: Attempting download of new URL file:///F:/ProjectPath/bin/Newtonsoft.Json.DLL.
WRN: Comparing the assembly name resulted in the mismatch: Major Version
ERR: Failed to complete setup of assembly (hr = 0x80131040). Probing terminated.
2018-06-01 16:05:44,460 [P9656/D2/T12] INFO Jumoo.uSync.BackOffice.Handlers.TemplateHandler - Exporting all Templates
I still get the stackoverflow exception. The logs also says the same as I mentioned above.
Along with that, in this older version I see another challange.
In the backoffice config file I have
<ExportAtStartup>false</ExportAtStartup>
Yet When I launch the application, I see the uSync is still trying to export everything to the disk. It fails to do that due to some SQL timeout errors, so this will be a risk for my production :(
Is there any other setting I need to do to avoid full export at startup?
EDIT:
I upgraded my Umbraco install to 7.10.4 and also uSync to latest. This resolved the json dll issue but I am still getting a stackoverflow exception. I tried adding timeout in connection string and also increased the http execution timeout. No matter what I do, this error does not go away. This happens during the export. So there are 3 issues I am facing right now:
uSync does a full export at startup even if that is disabled in
backoffice config
It throws a stackoverflow exception when doing a
full export.
I also noticed SQL timeout exception once so I increased the connection timeout but that too didn't help
So I figured out why it does a full export on startup. it checks either ExportAtStartup is true or ExportOnSave is true and uSync data folder is missing. So that can be handled.
But the StackOverFlow exception is still a pain :(
I debug the source code of uSync with my application and found that the problem is with exporting template. One of my template show a Path like this
-1,1080,1082,1080
So it seems like the parent of a child has the same child as its parent. This is causing an infinite loop in "GetItemPath()" method. So this is definitely an issue with uSync. Now I will try to find why that happened.
'system.stackoverflowexception" in mscorlib.dll on Full Export
I am having uSync installed and try to do a full export of my site. It starts the processing but after a few seconds it gives below message:
An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll
Is it because of the data size?
Hi
Do you have access to the log files (in App_Data/Logs/) there might be a bit more information in there that can help us workout where the error is happening.
Kevin
The last few logs in the log file says
Hi
I've not seen anything like that before :( it looks like something is trying to update json dlls :(
what version of Umbraco & uSync do you have installed ?
Kevin
Umbraco version 7.5.11 assembly: 1.0.6274.27352
(uSync.BackOffice 4.0.5.0) (uSync.Core 6.0.5.0)
Hi
i think (although its been a while) you have to run uSync v3.x on Umbraco versions before 7.6 (the newtonsoft dll version changed in v7.6)
Kevin
Alright, Kevin! I will give that a shot. Thank you for your help!
So I downgraded to
I still get the stackoverflow exception. The logs also says the same as I mentioned above.
Along with that, in this older version I see another challange.
In the backoffice config file I have
Yet When I launch the application, I see the uSync is still trying to export everything to the disk. It fails to do that due to some SQL timeout errors, so this will be a risk for my production :(
Is there any other setting I need to do to avoid full export at startup?
EDIT: I upgraded my Umbraco install to 7.10.4 and also uSync to latest. This resolved the json dll issue but I am still getting a stackoverflow exception. I tried adding timeout in connection string and also increased the http execution timeout. No matter what I do, this error does not go away. This happens during the export. So there are 3 issues I am facing right now:
So I figured out why it does a full export on startup. it checks either ExportAtStartup is true or ExportOnSave is true and uSync data folder is missing. So that can be handled. But the StackOverFlow exception is still a pain :(
Hi Kevin,
I debug the source code of uSync with my application and found that the problem is with exporting template. One of my template show a Path like this
So it seems like the parent of a child has the same child as its parent. This is causing an infinite loop in "GetItemPath()" method. So this is definitely an issue with uSync. Now I will try to find why that happened.
Thank you for your help!
I fixed the issue by changing the parent of one of the template and now everything is working as expected.
is working on a reply...