Posts: 1,378
Joined: Oct 2004
Reputation:
37
To clarify: Are you now running ServerWMC as a windows service using the "advanced users only" instructions?
Posts: 9
Joined: Sep 2012
Reputation:
0
Sorry, I probably should have clarified: the front-end configuration app doesn't even start. When I click on it in the start menu, there's a pause and then Windows wants to send data to Microsoft about ServerWMC.exe crashing. I have no option to choose how ServerWMC even runs. I tried installing the service by running the .bat file as administrator, but that didn't change anything. Thanks!
Posts: 9
Joined: Sep 2012
Reputation:
0
I have .NET up to 4.5 installed. I'm a programmer myself, and I code in .NET so I'm pretty sure the framework is intact. Still, I don't work with WPF. The crash started happening after I rebooted and after logging in, the screen turned an off-white color. I had to hard-reset my system, after which the server started crashing. I did uninstall it, made sure the program files folder has been removed entirely, and then reinstalled the latest version. I'll do a chkdsk and also repair the .NET installation as well.
Posts: 9
Joined: Sep 2012
Reputation:
0
I've repaired .NET and also ran chkdsk (no errors). I think this is a legitimate bug. Besides the program files folder, are there any other places I should check to see if I can completely remove ServerWMC before reinstalling it?
Posts: 1,378
Joined: Oct 2004
Reputation:
37
there are config and log files in %ProgramData%\VDSoftware but im not sure they would really matter.
Also you didnt specify what OS you are running? I found some googling results where this type of thing could happen on XP, though I doubt you are on XP! If you have another PC to try it on can you try there? It has to be somehow environment because we have many users that are running this build without issue... Something in your WPF/dotnet area seems to be playing up
Perhaps if you create a basic WPF application and see if that works from your development environment? Im running low on ideas...
Posts: 9
Joined: Sep 2012
Reputation:
0
I checked the VDSoftware folder and looked at config.xml, and, while it was 4KB, it was totally empty. I think what happened is that the server crashed on startup and didn't get to flush the write buffer to the config file. At the same time, the code that loads the config from the file doesn't try-catch the parsing mechanism, so it throws errors on startup. I uninstalled the server, deleted the VDSoftware folder, reinstalled the server and now everything works great. Thanks!
Posts: 1,378
Joined: Oct 2004
Reputation:
37
Glad it's working and thanks for the steps to reproduce, we will have a look and fix it. Strange stacktrace since it was in wpf guts, but I didn't write these parts so can't really say more until I investigate
Posts: 315
Joined: Dec 2012
Reputation:
1
Had this problem tonight, and the solution above worked for me as well. Thanks nivanov.