Solved

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

Posted on 2010-08-25
3
580 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 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

14 Experts available now in Live!

Get 1:1 Help Now