I developed a project in C# with SQL Server as backend. When I executed the project, it worked well. I compiled it and I got the result as expected. But when I ran the same project (From EXE FILE) on a laptop with same configurations, It throwed an connection exception. I tried on 3 more computers to check what went wrong. Execution on 2 of those 3 computers were fine, but the 3rd computer showed the same problem. I opened the project in VStudio and ran the project. Then it worked fine. I tried same thing on laptop. It too worked fine.
What may be the problem? I need an urgent help!