Can anyone please help me out in creating an .exe file. I have a database included in my project as a backend. When i publish my application n run tat in my sys it works fine. When the same application is installed on other machine which doesnt contain sql server it gives an error saying tat cant connect to database.So can any one help out how to create an exe of a windows project tat contains database and runs well when installed on target or client machine which contains no sql server installed......

Recommended Answers

All 2 Replies

You will need to copy the database along with it.

You're effectively asking it to rain without water.

You cannot connect to something that doesn't exist.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.