Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2010-08-25
3
Medium Priority
?
590 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

971 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