Can you check if V:mastertoolsWIXcandle.exe is present?
It appears to be saying that wont load but if it is present i would try reinstall wix.
Adding wix to the path shouldn't be required.
So third reinstall ended here:
Did you have linking problem sometimes? I couldn't find whats Light.exe dependencies.. file exists.
Alright, I installed fresh Virtual Machine with Win 10
Following install
VS 2015 Community with SQL libraries
Win SDK for .NET 3.5
Win SDK for .NET 4
Win 8 SDK for .NET 4
Wix toolset 3.10
It appears now wix is correctly installed but there is something hardcoded or what.. look on following image
Wow, finally get debugging working, but still cant see vars values :/
BUT! I finally got ERROR name!
So WHMCS says now: "CreateAccount Fault: (Code: 0, Message: ChangeUserStatus Fault: (Code: 0, Message: SOAP Fault: (Code: 0, Message: Error Fetching http headers), Service ID: 2)"
To debugging:
I missed somehow something, so those are steps to get it working, if someone still reading and having problem.
- build-release.bat
- deploy-release.bat
- Stop Panel, Server, Enterprise server
- C:/SolidCP change dir letters from Panel to Panel_bck, Server to Server_bck etc.
- Copy from source code SolidCP/Deploy/Release/Install mentioned folders
- Copy from _bck folders web.config
- Start Panel, Server, Enterprise server
- Should work attach debug with loaded symbols 🙂
In this stage I don't see variables value, even Watch can't see :/
EDIT: to see variables I need "Use managed compability mode" which disallow remote debug, so crazy 🙁 Any idea how to get things working? I dont want to install Visual studio on server..
Okay one last thing to debug. Where is located optimize code in yours build.xml or something. If I turn off "optimize code" in .sln it still build optimized and disallow me to debug correctly :/
Also I figured out why error unknown. That's thanks to this: https://git.key4ce.com/SolidCP/v1.0/blob/1.1.x/SolidCP/Sources/SolidCP.EnterpriseServer.Code/Wizards/UserCreationWizard.cs#L134
Which UserController returns on add -2 there: https://git.key4ce.com/SolidCP/v1.0/blob/1.1.x/SolidCP/Sources/SolidCP.EnterpriseServer.Code/Users/UserController.cs#L427
Which DataProvider reteurns there -2:
So misterious error comes from MS SQL 😀
You should use one of yours error codes there.