Solved

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

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

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 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