I have a few different Creatio instances running on a Windows server, some running PostgreSQL and other SQL Server. Everything was working fine until late last week when I moved a few things around:
- Rearranged the folder structure
- Removed applications from IIS and recreated them pointing to the new folder structure
- Updated the connectionstrings.config to point to a different redis database
- Changed the nlog.targets.config to point to the new folder structure
The database user.connection is good.
After all that, I rebooted just to make sure everything started fresh. Upon trying to log in to any of the sites/apps, I get prompted for the username & password. I would get stuck looking at the Creatio logo. Nothing would ever happen. I ask AI, and it suggests to delete the folders Pkg, Autogenerated, and Lib beneath Terrasoft.Configuration and they'll be regenerated. That yields some progress. Now when I log in, I get prompted to recompile. The recompile fails with a lot of errors - all seemingly related to the missing assembly Newtonsoft.Json:
- CompatibilityMock.CrtCoreBase.cs (The type 'JsonConverter' is defined in an assembly that is not referenced. You must add a reference to assembly 'Newtonsoft.Json...)
- BaseNotificationProvider.CrtCoreBase.cs (The type or namespace name 'JsonPropertyAttribute' could not be found)
I've tried dropping copies of the Newtonsoft.Json assembly anywhere and everywhere I think it might look for it:
- Terrasoft.Configuration\Pkg\CrtCoreBase\Files\Bin
- Terrasoft.Configuration\Lib
- Terrasoft.Configuration\Pkg\CrtCoreBase\Autogenerated\Lib
- It already exists in Terrasoft.Configuration\bin
And it still fails with the same error.
Any suggestions on what to look at? Where to look? This is beyond frustrating. And it's probably something simple that I'm forgetting. đŸ¤£
Like