Can anyone suggest a good book or tutorial on installing Sql Server Express as an embedded database with an application? My company makes a software product sold in retail and we sell 10,000+ units per year. I have been going over the MSDN site, these forums, Technet etc. and I haven't found a good, inclusive instruction set on installing SQL Server Express with zero user intervention. This is very important for this type of application. The underlying database needs to be invisible to the user. I have looked at several in-process databases including SQL Server Compact and VistaDB, but they have shortcomings that make them not a good fit for this application. They are definitely much easier to install, though.
I found the MSDN articles on "Embedding Sql Server Express in your Customer Application" that talks about creating a wrapper to install SQL Express and the application. It just seems like there are lots of security issues (with Vista and UAC) that have to be dealt with, configuration issues, issues with creating databases in code once your application starts, etc.
I am looking for a good technical reference on doing this type of work.
My host sent these instructions, think they will work? To access your SQL Server you can use your choice of database management software, including Microsoft Access, Visual InterDev, or the SQL Enterprise Manager. If you are using Microsoft Access or Visual InterDev you will be connecting to the SQL Server via an ODBC connection, which requires you to make a Data Source Name (DSN) on your local computer. If you have a Microsoft Access database, and you use the Microsoft SQL Upsizing Wizard to export your database into SQL, the Upsizing Wizard will assist you in the process of creating your ODBC connection. To create a SQL DSN:
1. Log on to your hosting account's control panel at http://sahcinfo.org/admin 2. Click "Database Connectivity." 3. Choose "Create DSN." 4. Choose "Microsoft SQL Driver" from the Type drop-down list. 5. Enter a name for your DSN in the DSN field. It can be anything you want it to be, such as "Orders" or "MyDatabase." The Filename field is not required for SQL. 6. In the SQL IP Address field, enter the SQL Server name. 7. Enter your SQL user name in the SQL User Name field. 8. Click Submit. To access the SQL Server using the SQL Enterprise Manager: 1. Open your SQL Enterprise Manager software. This is not supplied by Web.com. 2. Right-click on "SQL Server Group", then select "New SQL Server Registration" 3. Once the dialog box is open, fill in the fields. In the server field, type in your SQL Server name. 4. Type in the login information with your username and password. 5. Once all the information is entered click "Register." This will make contact with our SQL Server, and you will be able to add tables, manipulate your information and work on your database as you wish. Please note that Web.com Technical Support will only troubleshoot connectivity to the SQL database, and cannot support issues with third-party software. Web.com has also created a SQL 2000 User Guide to walk you through the process of setting up your account and database connections. To view or print it, go to http://64.226.3.32/article.asp?article=14689&p=1001
I'm doing a data conversion project, and am considering the possibility of using Reporting Services to create the required XML export files. Can anyone recommend some good documentation on using Reporting Services 2005 for creating XML files? The online docs are not that helpful.
I've been looking on-line for about a day now and can't find what I'm looking for. I don't know much about ActiveX and even less about using it in a DTS package. If you guys could help me out be telling me what to use/give a few minimal examples I can figure the rest out. I just can't find enough info on the web to do what I want.
I'll describe what I've got, what I'm trying to do with it, and we'll see what you guys think.
What I've got: A table that stores To, Subject, MsgText, MsgHTML, and FileAttachment locations.
What I'd Like to do: Write out the info in the table into a text file and then copy it to the Pickup folder to be sent. Now, I know DTS has an e-mail task, but the Dynaprops/e-mail task are being flaky. The information in the E-Mail doesn't always seem to update like I'd like it.
How I was planning on doing it: Write an ActiveX script to Create the E-mail, store it in the DB, and then Write it out to the txt file to be sent.
I think this'd be a good way to do it, but then again I could be wrong. Maybe use something else? Please help. I could use it.
Are there some instructions for SQL Server Management Studio Express? I downloaded it at: http://www.microsoft.com/downloads/details.aspx?FamilyID=82AFBD59-57A4-455E-A2D6-1D4C98D40F6E&displaylang=en
We have a remote business client who has a proxy server setup and this translates into receiving a 407 proxy authentication blocking error when attempting to download the report builder application for deployment off the report server which is housed locally with us. The proxy server does not allow them to download application type files off another site. At the moment, they would not like to disable the proxy for these users to allow them to deploy the application on their client or add the report server as a trusted site. Is there a method by which Report Builder can be locally installed on the client pc instead of online only with it knowing the correct report server to access and then still launch correctly when the report builder button is pressed through report manager?
I am not a web application guru by any means and we have tried to replicate the oneclick deployment and what occurs in the local settings/apps/2.0 subdirectories, but the application still attempts to download/install again. If we attempt to just launch the local executable on the client, report builder assumes the client pc (localhost) is the report server to access. Is there a method which will succeed?
I have a Sybase Adaptive Server Enterprise server which I need to set up as a linked server in SQL Server 2005. The Sybase server is version 12.5.2, and the Sybase ODBC driver version is 4.20.00.67. I have already installed the Sybase client software on the server.
I also created a SystemDSN on the SQL Server to connect to the Sybase server. I tested the connection and it was able to connect.
I ran the following code to create the linked server:
I then ran sp_tables_ex to make sure I could view the tables in the Sybase database. Here is the error message I get:
<code>
OLE DB provider "MSDASQL" for linked server "LinkedServerName" returned message "[DataDirect][ODBC Sybase Wire Protocol driver]Error parsing connect string at offset 13. ".
Msg 7303, Level 16, State 1, Procedure sp_tables_ex, Line 41
Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "LinkedServerName".
The 6:th of march Sql server data tools for Visual Studio 2012 was released.
[URL]
I seem to be unable to install this using the link provided on the blog page. I'm getting a "Same architecture installation" error. Running on the machine is Visual Studio 2012 Premium & Sql Server 2012 (64bit).
I am trying to install SQL Server 2000 on a Win2K OS machine but Iget this error message:"A previous program installation created pending file operations onthe installation machine. You must restart the computer before runningsetup."I see others have had this problem but have fixed it using the solutionin:http://support.microsoft.com/defaul...kb;en-us;312995I have tried the solution but to no avail. The registry key:HKEY_LOCAL_MACHINESYSTEMCurrentControlSetContro lSessionManagerPendingFileRenameOperations keeps reappearing as soon as Iclose RegEdit.Any ideas?Thanks,lq
Please help,I am trying to install MSDE 2000 so that Backup exec will run on thisserver. I have gotten so far as to find an entry in my SQLSTP.TXT filethat says that c:mssql7 was detected so the install fails.Now, to start with there is no directory called C:mssql7 on thisserver. I have gone through all MS articles on manual removal of SQLserver and instances. I have searched the registry for mssql7 andremoved any keys that matched, as per MS article I have searched onSQLBOOT.dll and it is not present anywhere on my system and I still getthe same results.2:07:44 Begin Action: Detection12:07:44 SQL Server version already installed: 7.00.62312:07:44 Previous Install SQL Path: C:MSSQL712:07:44 Previous Install SQL Data Path: C:MSSQL712:07:44 End Action Detection12:07:44 Begin Action: ODBCLocked12:07:44 End Action ODBCLocked12:07:44 GetDefinition returned: 112:07:44 Previous SQL Server ProductType: MSDE [0x4]12:07:44 This combination of Package and Operating System allows a fullproduct install.can anyone think of anything here..what else could be causing the server to think there is a previousversion of SQL 7 on this box!!!?
I get an error when trying to install the SQL Native Client. It says it cannot find the installation package and to use a valid copy of 'sqlncli.msi'. I've downloaded the Express setup twice and get the same error from both of them.
I'm attempting this in a VMWare session setup for Windows 2K, Advanced Server. I am trying to test my installation and setup procedures. This is not a production setup, just install testing and documentation. I have allocated only 272MB to the VMWare session, which is why the system doesn't meet the recommended settings.
Any help would be greatly appreciated.
Below is the Summary.txt output file.
Microsoft SQL Server 2005 9.00.2047.00
==============================
OS Version : Microsoft Windows 2000 Advanced Server Service Pack 4 (Build 2195)
Time : Wed May 03 09:54:23 2006
CPCWIN2KVM1 : The current system does not meet recommended hardware requirements for this SQL Server release. For detailed hardware requirements, see the readme file or SQL Server Books Online.
Machine : CPCWIN2KVM1
Product : Microsoft SQL Server Setup Support Files (English)
Error : An installation package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'.
Error String : An installation package for the product Microsoft SQL Server Native Client cannot be found. Try the installation again using a valid copy of the installation package 'sqlncli.msi'.
I'd like to install SQL SERVER 2005 Express Edition ,I begin to install it from DVD but during the installation it dosn't ask me about any instance and after installation there isn't SQLExpress service and I can't use sql server .(there are not MSSQL and Binn directory in sql server 2005) but when I install visual studio 2005 and after that I install sql server 2005 it ask me for name of instance and with this way every thing is ok and I use sql server completely.
I 'd like to know the complete installation of sql server 2005 is depend on installation of visual studio 2005 befor it ?if not how can I introduce any instance after installation of sel server 2005 .
Hello, Yesterday, to start SQLServer, I have used the DOS Command setup SAPWD=xxx from C:sql2ksp3MSDE. I think tne mix mode of authentification is correct. But when I want to connect to the database by SQLEntMan, it doesn't work ... How can I connect to SQLServer ? Server adress = name of the computer Username = ? Password = password of windows ? password of of SAPWD ? Thank you any help Ben
Hi, I ama trying to install SQL Server Express 2005, when the setup.exe does an anlysis of the machine configuration it tellme that out of 10 checks one has failed, and that the machine needs tobe rebooted in order to fulfill a requirment from a previous installation, I did this and went to start the installation process again only ot be told that this check failure still exists, unfortunately I cannot progress, has anybody experienced this, I am using Windows XP Hone, with ASP.NET 2.0 installed and Web Dev Express 2005 Beta 2Looking forward to hearing fom you
I am trying the SQL 7 STANDARD installation on WIN`98. However, it creates the directory structure on the hard-disk alonwith files but on connecting to server it comes out with a VC++ assertion failed message.
The TCP/IP sockets are being used and the TCP/IP port (local ping) is working fine. Windows 98 was installed again and there are no prequisites for SQL 7 on 98 but the problem persists !
We ran SQL Replication in Production SQL 7.0 with SP1. We encountered some problems. We ran the same tests in QA which used SQL 7.0 with SP1. The problems were gone.
Both Production and QA used SQL 7.0 with SP1 but they came from different resource CDs. Production one was installed from Microsoft Select CD in 1998. I did not recall the CD which was used for QA.
It indicated those two SQL 7.0 functioned differently and Production on had a bug in it. Can somebody to share with me a detecting tool and a criteria to find out where is wrong in the Production SQL 7.0?
Hi, I am having pentium 3 with windows 98 I had Sql Server 7 installed But due to some problem i uninstalled it. I am having difficulty in reinstalling the same i uninstalled completely and even removed entries in registry and tried to install But i am getting the same error always.
1)Acmsetup failed 2)setup failed to configure the server Refer to the server error logs and cnfgsvr,out for more information There is nothing in server error logs
cnfgsvr.out file looks like this Starting Service ...
An error occurred while attempting to start the service (1460)
SQL Server configuration failed.
What is ACMSETUP what it does how i can prevent its failure is the failure of ACMSETUP a reason for sqlserver set up failure
I have installed sqlserver 2000 (desktop edition) on my pc at home. I am running windows xp home edition. what i am finding is i am not able to log in to either Enterprise Manager or Query Analyzer. I have tried using different accounts during installation. The service has started and the server seems to be running, but I cannot make a connection.
We have installed SQL Server 6.5 in an NT system. We are able to start and stop the server from a client enterprise manager, but unable to connect to the databases there(ie., we are able to right-click on the server and start and stop the server but unable to right-click and connect to the server). Can anyone help us out with this?
Hey guys, I'm new to this and had some general questions. I'm currently running windows xp pro with sql server 2005 tools installed. However I cannot deploy any of the reports due to not having IIS installed. I've now installed IIS however, do I need to completely uninstall SQL Server 2005 tools and is there a particular order to uninstall it in order to get everything to work?
I tried to install sql server 2005 professional Edition in my machine.While doing the step by step installation, it was not showing the " Instance name " and " server accounts" ( i.e whether it is built-in system account or domain user account) slides and so finally i am not able to complete the installation. Kindly help me to rectify this. Thanks in advance.
Hey Guys,Im going to install the SQL Server 2005,can any one tell me what are the things do i need to know before the installation.Its 64 bit and clustered.Active/passive
I am new with SQL and have a question regarding SQL Connections. I have 2 Win2003 Servers(tom and Jerry) setup with Microsoft Cluster installed in Active-->Active Mode. Also, on both of these servers, I have SQL 2000 installed in Active-->Active mode as well. So I installed SQL2000 on Tom first and gave the SQL server name of Dog1 which has and IP assigned to it, at the same time I gave an instance name of D1. So now my SQL on Tom server reads Dog1D1. I did another installation on Tom and gave it Dog2D2. Than I went and installed SQL again on Jerry, this time and gave name of CatC3, and CatC4.
Now in my DNS, I have Dog1, Dog2, Cat3, Cat4 defined with an IP I assigned.
Problem I am running into is I cannot connect my application or make and ODBC connection to Dog1D1, Dog2D2, Cat3C3 or Cat4C4. I am getting Server not found message.
Can anyone help me and tell me where I am going wrong, as I need to get this app up ASAP.
Hi guys, i am new to the forum. i got sql server 2000 and i wanted to install it on my home pc. i am able to do that.
But when i create a database out of it and then take it out of the SQl folder and put it in some other folder in my C: drive and then if i try to link it to my program it gives me a error stating that it is not accessible.
MY QUESTION : Am i doing something wrong ? Do i have to set some properties on the database i create?if yes how to do it?
Hi, SQL Server 2005 has been installed on windows server 2003 machine by the support team. Microsoft SQL Server Management Studio9.00.3042.00 Now this machine has been passed on to me to create databases, tables, etc... On this server, I open the management studio and I get the connect to server windows. What should the entries in the connect to server window be for me to get to the next stage where I can start building databases. At present, I tried local or localhost and windows/sql authentication. Still can not get to the management studio window. Any thoughts please? Thanks
Hi experts, I have installed SQL server 2005 Standard edition and SP2 in production box, after completion of installation the perticual production server is not connecting, but every other servers are getting connect through that instance, and one more main issue is i could not able to see this instance in SERVICES.MSC, I was wondered, how come it is not showing!!!!!!!!!!!!!!!!
i m trying installing sqlserver 2000 in my PC(WIN XP). all the process are happening properly.. but while starting SQL and Configuring the database the setup exists and throws the message to check sqlstp.log.
HiWe have the following setupW2k server with IIS 5.0Asus P4P800E Deluxe MoboP4 2,8 Mhz - 1 Gb Ram3 sata harddisks1 hd = 2 partitionsc: boot/systemf: backup2 hd's in a raid 1 (mirror) Promise controllere: webrootWhere would be the best partition to install a MS SQL2000 databas?It's possible to install a 4th ide harddiskKitty
I had SQL Mobile installed on my XP PC. As I wanted to use INSERT IDENTITY, I uninstalled SQL Mobile from my Pc. Now I see two problems: 1. Even after uninstalling SQL Mobile and rebooting my PC, I still see SQL Mobile option when I start SQL Server Mgmt Studio. Any reason why?
2. I then installed SQL CE desktop runtime (nearly 1.8 MB) and rebooted my Pc. Now when I go to Query Analyzer, I still cannot use IDENTITY Insert.
3. There seems to be two versions of CE download: one for desktop and one for mobile. Can anyone let me know which one I should download for desktop? And for deployment on device which version I need to download?
I started migrating from C++ and want to use C# with an embedded database in my application. My search pointed to MS SQL Server 2005 compact edition. I go to download it and seems like there are two versions to choose from:
MS SQL Server Compact Edition 3.5 Can't use it because it requires Visual Studio 2008. I have VS 2005 and don't want to spend another chuck of money just to work around this one problem.
MS SQL Server Compact Edition 2005 Can't use it because Vista is not a supported operating system for development and it requires Active Sync 4.0 which also will not install on Vista.
I am just screwed because I am using Vista as my development machine, even when I am not targeting Vista for my applications?
Is there anything I can use for a simple embedded data storage solution with VS 2005 and Vista, using C#?