Web Matrix shut down automatically but just a splash screen?
One of the “bug” or problem that Web Matrix developers face is that whenever you try to start the Web Matrix IDE, it will shut down automatically without displaying any error message nor notice. That's really weird as it happen occasionally and no error message for us to trace what's going wrong.
I have no clue about the cause or solution as I never face this problem (luckily) but I understand the frustration of the victims. :(
Later, I notice that this problem normally occured in a machine with a regional setting in “Turkish” and a member tried to debug the WebMatrix.exe and managed to see and exception in Microsoft.Matrix.dll. The exception is System.Configuration.ConfigurationException with a message 'Invalid template document type'.
In short, once you face this problem and you can open the WebMatrix.exe.config file and modify the content:
FROM: <templateDocumentType extension="config" templateCategory="Security"
TO: <templateDocumentType extension="confIg" templateCategory="Security"
(the letter “I”s are different)
The complete story and discussion on the ASP.NET Forums can be found at here and here.
* I tried to change the regional setting of my machine from English to Chinese (actually I believe this happen in non-English environment) and “tried” to re-pro this error, well... it still didn't happen on me and I still don't know what's going wrong. Well, I open the WebMatrix.exe.config and didn't find any odd setting too. This maybe happen on Turkish Web Matrix developers only...