Solved

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

Posted on 2010-08-25
3
581 Views
Last Modified: 2012-05-10
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?
0
Comment
Question by:Hojoformo
3 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 33520453
what is your connection string?
what is the exact error message?
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 33520465
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
 
LVL 8

Accepted Solution

by:
Gururaj Badam earned 500 total points
ID: 33520487
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now