Thanks for the answer but I have figured it out. The problem was that we have automatic install enabled in RSP for SIM and webes 5.2 had automatically installed itself and had problems connecting to the webesdb on the server. I removed sql express and webes and reinstalled and now it is working correctly.