OK, thanks for the reply.
I have solved the problem now. Actually the problem was that I had only Window authentication for the SQL Server. By changing it to "SQL Server and Windows Authentication mode" the problem was solved. I found help on this link:
How to: Change Server Authentication Mode