473,387 Members | 1,493 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Installing a database in SQL Express during VB app setup

Hi,
I have a vb.net application that uses a SQL Express database.

The end user already has SQL Express setup on there server, but they have no
skills at using it.

Is there a way I can have my VB.net Setup program install the database onto
this server? Executing a massive SQL Script I guess would work, or perhaps
just restoring a backup of the database would work as well.

Also happy to do a dedicated SQL setup program if this is the best option.
May 28 '07 #1
2 2196

"Aussie Rules" <no****@nospam.comwrote in message
news:ud**************@TK2MSFTNGP05.phx.gbl...
Hi,
I have a vb.net application that uses a SQL Express database.

The end user already has SQL Express setup on there server, but they have
no skills at using it.

Is there a way I can have my VB.net Setup program install the database
onto this server? Executing a massive SQL Script I guess would work, or
perhaps just restoring a backup of the database would work as well.

Also happy to do a dedicated SQL setup program if this is the best option.

Yeah, you can do it.

I talked with C# developer that tired to do the same thing, but he ran into
the problem of user authentication on the user's machine with the database.
It seems that the database would only accept Windows authentication, not
Mixed mode or SQL authentication, which was a problem, since he was giving
the user-id and psw in a connection string.

I don't know if he ever got it to work, but I pointed him to a MS SQL Server
NG where he might get his answers as to what the problem may be.

I also think you need to search Google on how to deploy a MS SQL Express
database solution with in the setup of a .Net solution deployment. The
articles are out there on Google.

May 28 '07 #2
The easiest way is to use an install program called InstallAware. It's a bit
pricey ($200 - 500 depending on version), but you can add in the kitchen
sink, including SQLExpress.

"Aussie Rules" <no****@nospam.comwrote in message
news:ud**************@TK2MSFTNGP05.phx.gbl...
Hi,
I have a vb.net application that uses a SQL Express database.

The end user already has SQL Express setup on there server, but they have
no skills at using it.

Is there a way I can have my VB.net Setup program install the database
onto this server? Executing a massive SQL Script I guess would work, or
perhaps just restoring a backup of the database would work as well.

Also happy to do a dedicated SQL setup program if this is the best option.


May 29 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: yossi | last post by:
Hello. I'm trying to install Oracle 9i Rel 2 on Windows 2000 server. During the installation I choose to create a general purpose database, and choose all the default options. Everything...
2
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
0
by: Chris Halcrow | last post by:
Hi I've spent ALL DAY trying to re-install SQL Server 2000 on Windows XP. I continually get the error 'cannot configure server' just at the end of the installation. I've tried the following: ...
5
by: Gerald Hernandez | last post by:
One of my development PC's died, and I need to have legacy VS and VS.Net installed at the same time. On the now dead PC, I had VS6 installed prior to installing VS.Net. This worked just fine. On...
10
by: Ed Stevens | last post by:
A tale of woe, and a question . . . Last week my boss said to me "we've installed DB2 Connect on this Solaris box. Make it work." Now, I've barely seen DB2 Connect on Windows, having fumbled...
2
by: mr_doles | last post by:
I am writing a Database application using Visual Studio 2005 and SQL Server Express 2005. I am trying to create a back up and year end back up plan within the program. The folder structure I...
0
by: Jonathan Wood | last post by:
I seem to be having errors creating and accessing an SQL database. Unfortunatley, I am brand new to SQL setup and administration issues so this really is not my area of expertise. I know I had...
2
by: itfetish | last post by:
I've just upgraded our WIndows 2003 (with SBS server) web server to .Net framework 2.0 (it had 1.1 before) As I have been working on a web parts page on my laptop, hosting it there, working...
8
by: jch | last post by:
Sorry for the newbie question but I'm trying to learn Visual Studio. I've got VS Express 2008 and I'm using visual basic. I'm trying to learn how to deploy a program so I've written a very basic...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.