0

I have been working on a C# windows application with SQL Server 2005, and now I need to deploy it to other system.

I created a setup file using setup an deployment filling all the prerequisite but as I deploy it on another computer error keeps popping up saying it can't open connection.

I am thinking my problem here is in deployed project database is missing.

Now my question is how can I use this database and I have connection string that work only in my system so I need to change this connection string too.

How can I do that?

Please help me tackle my problem...

thank you in advance

1 Answer 1

2

Are you using sql compact or sql ? if it is sql compact, you can add the file to you project and join it to you project and deploy it, if it is SQL you need to have an Public WAN SQL server so you app can access it thru internet.

Sign up to request clarification or add additional context in comments.

2 Comments

i am using sql. but can you help me how can i deploy sql compact as well as sql
sql compact is just like sql, but in a file. Just config your OleDB connection and add an sql compact database file to you project and create an DataBound to it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.