How to Publish a Windows Form Application using SQL server? (VS - 2005)

I am using visual studio 2005 and I am having a problem publishing a windows application that uses SQL server.  The users who is trying to install is getting an error that they cannot connect to SQL server.  They do not have a SQL server license which they should not need.

1. WHen publishing my application is there anything else I need to specify or include so all the SQL data and tables are included?
HojoformoAsked:
Who is Participating?
 
Gururaj BadamConnect With a Mentor Commented:
You installer should be able to install SQL Server engine if it's not already available on the Client machine. And if your connection string requires a specific Database as your Initial Directory you will have to create it while installing.
0
 
Éric MoreauSenior .Net ConsultantCommented:
what is your connection string?
what is the exact error message?
0
 
Carl TawnSystems and Integration DeveloperCommented:
We need a bit more information about how the project is setup. Are you attaching a SQL Database from your App_Data folder, or are you connecting to a full SQL Server? Is the person installing the app on the same network as you?

If your app uses SQL Server and it is being installed on a client site then the client needs a SQL Server available.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.