@Shehap: their is no any credential issue because the problem raises in random manner. Means it works fine for 3-4 hours and suddenly stop working...
I've created a database in MS-SQL and used it in my application. But sometimes it doesn't responds randomly and throws an exception...
Separate names with a comma.