Detect Installed Versions
Apr 24, 2008
Hi Guys,
I need to detect what version/ or versions of SQL Server are installed on a machine before I can install my software. I am currently looking for SQL Server 2000 / SQL Server 2005 /SQL Server Express Edition & SQL Server 2008 CTP (for the time). How do I find this out. Is SQL-DMO the way forward or should this be some WMI script. I would appreciate any pointers/scripts etc.
I have read a lot of people mentioning using @@version from a query window but as I need the software to do this on first start up can this work for all versions
Thanks in advance
View 7 Replies
ADVERTISEMENT
Jan 29, 2008
How to Detect whether installed the sqlce 3.5 RTM or not ?
View 7 Replies
View Related
May 8, 2006
Today I installed SQL Server 2005 developer edition on a test server. Afterwards I also installed the SP1. During the installation of SP1, the installation program said the server should be restarted afterwards, which I did.
Now when I look at the Add/Remove Programs dialog I have several items which mention SP1 on the SQL Server items.
But when I request the server properties in Managemnt Studio I see the version number 9.0.2047. Shouldn't this be 9.1.XXXX?
How can I be sure the SP1 is correcty insatlled?
Stievie
View 8 Replies
View Related
Feb 2, 2008
I am currently writing an install wizard for my web application. One of my steps is Installing asp.net membership, roles, and session state to the new database. My wizard detects if this step has already been completed through the page_Load event. Currently I am writing makeshift code just to see if the tables exist.Does ASP.Net provide a way to detect what services have been installed on the database? So far I have only found Install and uninstall functionality in the System.Web.Management Namespace.I have been searching for this for a while, I am sure this question has been answered somewhere, but there is so much base information on how to initially set up membership that I cant seem to find the answer.
View 1 Replies
View Related
Mar 13, 2008
I need to be able to programmatically detect whether or not SQL Server 2005, anything from Express on up to the full package with all the bells and whistles, is installed on the computer regardless of which service pack (if any) is installed. I found a forum article that provides a Registry setting that I could look at, but in the reply to the original post, it recommends using WMI instead of Registry keys. Also, I don't know whether or not the Registry key given for SQL Server 2005 would be present for even the minimal package. (Our requirements are for at least the Express package, and I understand that there's an even more basic package than that.) I'm maintaining a couple of installers that use 5-year old InstallShield technology (and Visual Studio 6 for any C/C++ code that I have to create) that have to check whether or not SQL Server 2005 Express (or a fuller package) is installed. I have done no SQL Server programming, so I've never even heard of WMI. Also, because these are installers, they have to work out of the box with no requirements to install anything beforehand to allow the installer to work. (We are working on an MSI-based installer with a bootstrap executable (the latter built using Visual Studio 2005) that will replace the older installers in the next version of our software, but we still need to support the older installers for now. Therefore, an out of the box solution that works with the older technology that we are still using for the older software is imperative. As the older software supports Win2k, the SQL Server detection solution must do so, too.)
View 8 Replies
View Related
Aug 29, 2006
We have our custom install code using C# for a huge Client desktop application. We package SQL Express 2005 along with Backward Compatibility pack as this application was using MSDE before and at 11th hour management decided to pack SQL Express and backward compatibility pack.
During installation we want to detect if the Backward compatibility pack is already installed to avoid overwrite. Can anyone suggest how to detect if Backward compatibility pack is already installed using C#? I am sure there should be some registery keys to look for but don't know which.
Thanks.
View 1 Replies
View Related
Jan 26, 2006
Hi Friends,
I have a question. At my home computer i downloaded and installed VWD. As usual it also installed Sqlexpress as part of the installation(i checked the option). Later on i downloaded Management studio separately so i am fine with my home computer as every thing is free.
But at work we decided to develop application using VS 2005 and Sqlserver 2005. So we bought and installed VS2005 professional edition at work and it also installed Sqlexpress during the installation as a defualt desktop engine. I am fine with that too. But i am not understing where do i get the Management studio? Is it some thing i could get it off the web for free or what? I am not sure we would have an option while installing the VS 2005 professional that also does install management studio and we need to check that option. I am not sure if we could get the management studion off the web for free and and evelop applications.
Please advise. Thanks -L
View 3 Replies
View Related
Jul 20, 2007
I want to find whether SQL Server 2005 x86 is installed or SQL Server 2005 x64 is installed programatically(Any API would do.) If anyone can recommend a registry key that I can rely on find whether it is a 32 bit or 64 bit SQL Server that would suffice.
View 5 Replies
View Related
Apr 24, 2001
We are in need of a solution to our problem. We are working for a customer and cannot use their database to work on during development. We have copied the layout and made a sample db for our development.
Rather than writing down all the changes we make to our own db and then making the same changes to the customer's, is there a better way? Can we use something like sourcesafe?
Thankyou
View 1 Replies
View Related
Oct 20, 2004
I've got a few SQL Servers at work which are development servers using SQL Server Standard Edition. I would like to downgrade them to SQL Server Developer Edition to save the Standard Edition licenses for production purposes. However, i do not wish to uninstall and reinstall SQL Server Developer Edition, restore all the dbs. Is there a way to change the version of the SQL Server ?
View 2 Replies
View Related
Oct 9, 2007
Hi All,
Can we have 2 versions of SQL Server on the same server? Example, can I install SQL Server 2000 and 2005 on the same server? Please let me know about all the combinations possible/not possible.
Thanks a lot.
Mannu.
View 3 Replies
View Related
Dec 21, 2005
Is there a way to do the following -- I need to be able to update a table based on a selection by a DDL. So here are my two update queries:
1. Update RequestData Set Approved = True Where DeptID = @DeptID2. Update RequestData Set Approved = True (Yes I need to be able to do all of the rows at once.)
But it's all based on the selection of the DDL---I really don't want to have to create two seperate sql commands any ideas?
View 4 Replies
View Related
Mar 22, 2001
Is there a way to remove old versions of a DTS package without rewriting the entire package?
These packages run fine but take up more space than I am willing to allocate.
View 1 Replies
View Related
Oct 22, 2001
I understand the SANs are only Supported by SQL Server 2000 Enterprise and no other versions of SQL, can anyone supply information to the contrary please?
View 2 Replies
View Related
May 12, 2000
Has anyone ever attempted to run 6.5 & 7.0 from the same server?
View 1 Replies
View Related
Mar 4, 1999
This may seem like a wierd question, but can I have 6.5 and 7.0 running on the same machine? I need 6.5 for production builds and 7.0 for test. Is this possible? THanks
Frank
View 1 Replies
View Related
Nov 15, 2001
I can see that SQL server 2000 trial is available for download, but I need to try out 7 for a particular project at work. Is this available for trial download? (Has it ever been?)
Thanks.
View 2 Replies
View Related
Sep 23, 2005
Hi all...
I'm a MySQL user and I want to switch to MS SQL Server, I heared that there is more than one type of MS SQL Server and one or two can be downloaded for free. Can someone tell me the different types of MS SQL Server and where can I download those free versions?
View 5 Replies
View Related
Sep 25, 2007
Hi,
Our server has SQL Server 2003 installed, I'd like to use SQL Server Express 2005 as I'm about to try and learn ASP.NET and most tutorials use that.
Will installing Express 2005 conflict with the Server 2003? Can both version be run on one server?
Thanks.
View 3 Replies
View Related
Jul 23, 2005
I'm running a SQL 7 db on a LAN in city A with other users accessing it fromanother city (city B) over a WAN. Obviously the WAN users are getting muchslower access to the data. One thing I was wondering was if it was possibleto have two versions of the database, one on each server, and have themautomatically synchronize as users at each location make changes. Or, ifthat's not possible, then at least have the city B users get any changesthat the city A users get as they are made.Thanks for any input.Neil
View 5 Replies
View Related
Oct 25, 2006
Is it possible to run both SQL200 standard and SQL2005 Express on thesame server? I need to test a database created in 2005 on ourproduction server but don't want to upgrade our "live" databases yet.
View 2 Replies
View Related
Jan 23, 2006
I uninstalled the 32-bit Standard version but during install of the 64-bit trial version I got an error that the integration services could not install because the 32-bit version of COM+ was already registered and you can't have both. Need some help how to resolve this issue. Thanks
View 3 Replies
View Related
Jan 17, 2008
I have a server with sql 2000 and 2005 installed on it. When I try to connect to the msde 2000 database with an app or with managment studio express I get the following error
"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476"
But When I go through dos and type osql -S(local)database -E
it connects to the correct msde instance. How can I fix this with out uninstalling sql server 2005????
View 3 Replies
View Related
Mar 7, 2008
We will be upgrading from SQL 2000 to SQL 2005. From what I have read, as part of the installation of SQL 2005 we will be installing the .Net framework 2.0 and Visual Studio 2005.
We currently have production .Net applications which were developed in Visual Studio 2003 with the .Net framework 1.1.
We plan at some point to upgrade our applications to Visual Basic 2005, but we were planning on upgrading to SQL 2005 first.
I have a couple of questions about this.
1) We are a small shop and the same server which hosts our production applications also hosts SQL server for our model office and test applications. Can we have both versions of the common language runtime running on the same server?
2) Our .Net applications access the SQL data through stored procedures or views. I have run the Upgrade Advisor and it does not look as though there are any signficant upgrade issues with our SQL database objects, so we are tentatively planning on changing the compatibility levels of our databases to 90 after they are imported to SQL 2005. Assuming we take care of any SQL issues that we do have with our database objects, should we expect to encounter problems running our existing applications, under the older version of vb.net, and accessing our databases once we have upgraded to SQL 2005? (Of course we plan to test everything, but I just wanted to know if we should anticipate anything in particular.)
Thanks.
View 6 Replies
View Related
Jul 20, 2005
HelloI´m using MS-SQL Server 2k with a custom application connecting to it.I need a quick and simple way to detect any change (insert, update, delete)to my database (not just to a single table). The purpose is to notifysomehow different instances of the application about the data changes,since they should refresh their local query results.Is there any function, stored procedure, system database entry, etc. I canexploit to get the job done? Can you suggest me the most suitable mechanismto implement this?T.I.A.AndreA
View 1 Replies
View Related
May 29, 2007
I am entering to administration of
SS2005 SP1 (Windows 2003) having files mdf, ndf, ldf in
C:Program FilesMicrosoft sql serverMSSQLData
This dir also has two *.cer files.
Apparently no encryption is used
How can I get known what these *.cer files are for?
View 4 Replies
View Related
Aug 4, 2006
Hello
I am trying to find out if versions of SQL SERVER 2005 we have installed have full or Developer Licenses.
They were installed previously by someone who no longer works here, and we do not the versions on record.
We have enough full licenses, so we just want to make sure the correct ones are set up on our servers.
Anyone know how/where we can find this information?
View 1 Replies
View Related
Jan 28, 2008
Hi
If i develop a web application with sql server developement edition, it works fine in my webserver, or my webserver has to have the sql server development too?
I'm interested in sql server report services. if i develop a web application with this tool what kind of version of sql server has to be installed in my webserver?
Thank you
View 2 Replies
View Related
Mar 15, 2001
SQL 2000 Client tools SQL7 SP3 Server back-end.
I have a DTS Package created with SQL2000 client tools, which contains a SQL connection and a sql task (exec sp_who2). When I run the package on my PC it works, when I run the package via SQL Agent it comes back with :-
DTSRun: Loading... Error: -2147287038 (80030002); Provider Error: 0 (0) Error string: The system cannot find the file specified. Error source: Microsoft Data Transformation Services (DTS) Package Help file: sqldts.hlp Help context: 713. Process Exit Code 1. The step failed.
I am not using any files. The DTS Package is called PMC_Test
Here is the dtsrun syntax from the SQL Agent job.
DTSRun /S "APP003" /N "PMC_Test" /E
When I try and open the DTS package using SQL7 client tools I get the same error message.
View 1 Replies
View Related
May 15, 2001
I'm trying to correct an error that a user is getting when running SQL Server 7.0 SP3, Desktop edition/ Windows NT 4.0 SP6. The error says that C:WINNTSYSTEM32odbcint.dll and C:WINNTSYSTEM32odbccp32.dll are different versions. I tried to install MDAC 2.5 sp1 to correct this problem but this message continues throughout the install. This is causing sqlagent service to hang. Any ideas of how to reinstall ODBC components without reinstalling the OS?
View 1 Replies
View Related
Mar 14, 2001
Does anyone know of problems when using SQL7 Server and SQL2000 Client tools when editing and saving DTS Packages ?
My SQL 7 Server doesn't seem to recognise the DTS Package if saved from SQL 2000 Client tools, but works happily with packages saved from SQL7.
Can anyone clarify ?
View 2 Replies
View Related
May 13, 2002
I know this is a very basic question for all of you but I need help.
I am a CPA working with a client to select an accounting & project management software for a construction client. In the top 5 choices, there are 2 that require MS SQL Server as the DB. This client will have about 10-20 users, including project managers & accounting personnel but by DB standards transaction volumes will be low. The company has a few large projects. There is no inhouse IT staff; network administration is outsourced.
The question on the table is this? How much more difficult is it to use MS SQL server in this environment? If all of the client's requirements can be met using a run-time version of Sybase, Pervasive, or FoxPro, isn't this the simplest solution. I don't want to recommend an elephant if it is not needed. I would appreciate your opinion....Thanks
View 2 Replies
View Related
Jul 9, 2004
Database newbie question: My sample database (T-SQL syntax): CREATE DATABASE sample GO USE sample CREATE TABLE customers (CustomerId int IDENTITY(1,1) PRIMARY KEY CLUSTERED,name varchar(50),address varchar(50)) CREATE TABLE invoices (InvoiceId int IDENTITY(1,1) PRIMARY KEY CLUSTERED,date datetime,CustomerId int REFERENCES customers(CustomerId)) INSERT customers (name,address) VALUES ('First Company Ltd.','New York') INSERT customers (name,address) VALUES ('Second Company Ltd.','Washington') INSERT invoices (date,CustomerId) VALUES ('Jan 1, 2004',1) INSERT invoices (date,CustomerId) VALUES ('Jan 2, 2004',1) INSERT invoices (date,CustomerId) VALUES ('Jan 2, 2004',2) SELECT * FROM customers GO CustomerId name address 1 First Company Ltd. New York 2 Second Company Ltd. Washington SELECT i.date,c.name,c.address FROM invoices AS i INNER JOIN customers AS c ON i.CustomerId=c.CustomerId GO date name address 2004-01-01 00:00:00.000 First Company Ltd. New York 2004-01-02 00:00:00.000 First Company Ltd. New York 2004-01-02 00:00:00.000 Second Company Ltd. Washington UPDATE customers SET address='Boston' WHERE name='First Company Ltd.' GO INSERT invoices (date,CustomerId) VALUES ('Jan 3, 2004',1) SELECT * FROM customers GO CustomerId name address 1 First Company Ltd. Boston 2 Second Company Ltd. Washington SELECT i.date,c.name,c.address FROM invoices AS i INNER JOIN customers AS c ON i.CustomerId=c.CustomerId GO date name address 2004-01-01 00:00:00.000 First Company Ltd. Boston 2004-01-02 00:00:00.000 First Company Ltd. Boston 2004-01-02 00:00:00.000 Second Company Ltd. Washington 2004-01-03 00:00:00.000 Second Company Ltd. Boston Is it possible in any of the RDBMS's to make this last query return the following result set? 2004-01-01 00:00:00.000 First Company Ltd. New York 2004-01-02 00:00:00.000 First Company Ltd. New York 2004-01-02 00:00:00.000 Second Company Ltd. Washington 2004-01-03 00:00:00.000 First Company Ltd. Boston
View 4 Replies
View Related