HomeHome Product Discus... Product Discus...Payment Registr...Payment Registr...Newtonsoft.Json.Net35.DLLNewtonsoft.Json.Net35.DLL
Previous
 
Next
New Post
1/26/2018 1:32 PM
 

I downloaded and installed the Registration Pro extension as per the directions. Created one product (just a simple registration for an upcoming event we're promoting). I wanted to get rid of some of the unnecessary fields, but when I try to access the Template Editor I get a page with this error "The service is unavailable". There is nothing else on the page. If I try to access it on the server I get the following...


Have a little more info. Generated the error again and then found this in the admin logs.

 

Message: Unhandled Error Adding Module to ContentPane.
StackTrace: at DotNetNuke.UI.Skins.Pane.InjectModule(ModuleInfo module) at DotNetNuke.UI.Skins.Skin.InjectModule(Pane pane, ModuleInfo module)

InnerMessage: d:\dailyfly.com\DesktopModules\SmithFormBuilder\Views\_TemplateEditorView.cshtml(7): error CS0433: The type 'Newtonsoft.Json.JsonConvert' exists in both 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a80883c9\2b870ac8\assembly\dl3\c1711a19\0071793e_e5f4d201\Newtonsoft.Json.DLL' and 'c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\a80883c9\2b870ac8\assembly\dl3\e115089e\c8ae4500_fd83cf01\Newtonsoft.Json.Net35.DLL'

See this exchange and see if it could be an issue. https://stackoverflow.com/questions/21637424/how-to-resolve-this-conflict-of-two-json-net-existing






Kelli Kropko
Licensing and Marketing
949.218.9600
 
New Post
1/26/2018 1:33 PM
 
To fix the issue, please run this Powershell command from your windows server as an admin.

Get-ChildItem “C:\Windows\Microsoft.NET\Framework*\v*\Temporary ASP.NET Files” -Recurse | Remove-Item -Recurse

This command will reset IIS so if you have other live sites on this server, please make sure you do it after hours.

Kelli Kropko
Licensing and Marketing
949.218.9600
 
New Post
1/26/2018 1:34 PM
 
I tried this last night and unfortunately it didn't work. I used your suggestion and tested... same error. Then I stopped IIS and ran the command again thinking maybe it would make a difference... same error. I even tried rebooting the machine with the same results.

I tackled it again this morning and what finally worked was to remove the Newtonsoft.Json.Net35.DLL from the /bin folder and restart IIS. I'll have to test the rest of the site to make sure this didn't break something but it really shouldn't if the new dll is backwards compatible. But then again, I've made several trips to "DLL Hell" in the past so anything is possible.

Kelli Kropko
Licensing and Marketing
949.218.9600
 
Previous
 
Next
HomeHome Product Discus... Product Discus...Payment Registr...Payment Registr...Newtonsoft.Json.Net35.DLLNewtonsoft.Json.Net35.DLL