install SSMSE 2008 after VS 2010 - sql

i have installed VS 2010 ultimate on windows 7 machine which by default install sql server 2008. now i want to install SSMSE 2008 i download the following file SQLEXPRWT_x86_ENU and tried to install it but it give me error.
[Window Title]
Program Compatibility Assistant
[Main Instruction]
This program has known compatibility issues
[Expanded Information]
After SQL Server Setup completes, you must apply SQL Server 2008 Service Pack 1 (SP1) or a later service pack before you run SQL Server 2008 on this version of Windows.
[^] Hide details [ ] Don't show this message again [Check for solutions online] [Run program] [Cancel]
TITLE: SQL Server Setup failure.
SQL Server Setup has encountered the following error:
Invoke or BeginInvoke cannot be called on a control until the window handle has been created..
BUTTONS:
OK
how to install SSMSE 2008 after installing VS 2010 please help

I also faced a similar situation, The workaround I tried is,
1)Fire up the Sql Server installation Center from
(start->programs-> Microsoft SQL server 2008-> Configuration Tools)
2)Click on installation(from the navigation menu on the left)
3)Choose the first option(New server installation)
4)A new dialog will appear, click next till you reach 'installation type' screen. Choose new installation here
5)Click next till you reach feature selection, make sure you have ticked Management tools checkbox.
6)Continue installation and if it completes successfully, you can find the SSMSE in the start menu under Microsoft sql server 2008 folder.
Hope this helps.

You must slipstream the SQL 2008 SP1 before installing SQL 2008. The linked article explains how to do that.
An easier workaround is to first install the SQL Server 2008 SP1 package or SQL Server 2008 SP2. The SP1 install will fail, since there is no SQL Server installation to patch, but in the process it will deploy newer setup bits that have the Invoke/BeginInvoke issue fixed. Afterwards you run the normal RTM setup and it will succeed, as it will re-use the newer setup bits already present on the machine from the SP1 instalation. After the installation of SQL Server 2008 RTM succeeds, you still needs to apply SP1 or SP2.
If you're attempting to install SQL Server 2008 Express you should install directly the SP2 bits: Microsoft SQL Server 2008 SP2 Express Edition Service Pack 2, or better yet Microsoft SQL Server 2008 R2 SP1 - Express Edition. The 2008 R2 Express has the database size limit increased to 10Gb.

Related

Error in installation of SQL Server 2008 Management Studio

I have installed SQL Server 2008 Express on my machine but I can't find the Management Studio.
I downloaded two versions of SQL Server Management Studio, 2008 and R2
This is the result
I don't know what is exactly the problem, on my machine I have VS2008, VS2010 and VS2012 express for web.
I googled about this topic and i installed the SP1 package.
I had SQL Server 2005 with its management tool and it worked very well, but now I need to change to the 2008's version, I don't know if I made an error when I uninstalled one of them.
So :
What is the reason of this error?
How can i fix this problem?

How to install SQL Server 2005 Express in Windows 8

I tried to install SQL Server 2005 Express SP3 x64 on Windows 8 but the installer gives me an 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_x64.msi'
How can I solve the problem?
I had the same problem. But I also had to perform additional steps. Here is what I did.
Perform the following steps (Only 64bit version of SQL Server 2005 Developer Edition tested on Windows 8 Pro 64bit)
Extract sqlncli.msi / sqlncli_x64.msi from SP3 or SP4. I did it from SP4
Install sqlncli
Start SQL Server 2005 Setup
During setup I received an error
The SQL Server service failed to start. For more information, see the SQL Server Books Online topics, "How to: View SQL Server 2005 Setup Log Files" and "Starting SQL Server Manually."
Don't click cancel yet. From an installation of SQL Server 2005 SP3 or SP4 copy SQLSERVR.EXE and SQLOS.DLL files and put them in your SQL install folder.
Click RETRY
For STEP 5 above: Although I didn't try looking into SP4 / SP3 setup for SQLSERVR.EXE and SQLOS.DLL but if you don't have an existing installation of SQL Server 2005 SP3/SP4 then maybe try looking into the SP3/SP4 EXE (Compressed file). I am not sure if this may help. In any case you can create a VM and install SQL Server 2005 with SP3/Sp4 to copy the files for Windows 8
I had a different experience loading SQL Server 2005 Express on Windows 8. I was using the installer that already had SP4 applied so maybe that explains the difference. The first error I received was when Setup tried to start the SQL VSS Writer. I just told it to Ignore and it continued. I then ran into the same error Sohail had where the SQL Server service failed to start. There was no point in following the rest of Sohail's method since I already was using a SP4 version of SQLServr.exe and SQLOS.dll. Instead, I just canceled the install rebooted the machine and ran the install again. Everything ran fine the second time around.
The place I found Sohail's technique invaluable was when I needed to install SQL Server 2005 Standard on Windows Server 2012. We have a few new servers we're looking to roll out with Windows 2012 but we didn't feel the need to upgrade SQL Server since the 2005 version has all the functionality we need and the cost to license SQL 2012 on these boxes would have been a 5-figure sum.
I wound up tweaking Sohail's technique a bit by adding steps to revert the SQLServr.exe and SQLOS.dll files so that I could then apply SP4 fully. Below are all the steps I took starting from a scratch install of Windows Server 2012 Standard. I hope this helps anyone else looking to get a fully updated install of SQL Server 2005 x64 on this OS.
Use Server Manger Add roles and features wizard to satisfy all of SQL's prerequisites:
Select the Web Server (IIS) Role
Add the following additional Web Server Role Services (note that some of these will automatically pull in others, just accept and move on):
HTTP Redirection
Windows Authentication
ASP.NET 3.5 (note that you'll need to tell the wizard to look in the \Sources\SxS folder of the Windows 2012 installation media for this to install properly; just click the link to "Specify an alternate source path" before clicking Install)
IIS 6 Metabase Compatibility
IIS 6 WMI Compatibility
Start SQL Server 2005 Install, ignoring any compatibility warnings
If SQL Server service fails to start during setup, leave dialog up and do the following:
Backup SQLServr.exe and SQLOS.dll from C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn
Replace those two files from a working copy of SQL Server 2005 that already has had SP4 applied (alternatively, extract them from the SQL Server 2005 Service Pack 4 distributable using 7-Zip, here's a helpful write-up.)
Return to setup, hit Retry and setup will now run to completion.
Stop SQL Service and restore orignal versions of SQLServr.exe and SQLOS.dll (or else SP4 doesn't think it is needed in the next step)
Install SQL Server 2005 SP4
Install SQL Server 2005 SP4 Cumulative Hotfix 5069 (Windows Update wasn't offering this for some reason so I had to download and install manually)
If you want the latest documentation, install the latest version of SQL Server 2005 Books Online.
Microsoft says the SQL Server 2005 it's not compatible with Windows 8, but I've run it without problems (only using SP3) except the installation.
After you run the install file SQLExpr.exe look for a hidden folder recently created in the C drive. Copy the contents to another folder and cancel the installer (or use WinRar to open the file and extract the contents to a temp folder)
After that, find the file sqlncli_x64.msi in the setup folder, and run it.
Now you are ready the run the setup.exe file and install SQL server 2005 without errors
I found that on Windows 8.1 with an instance of SQL 2014 already installed, if I ran the SQLEXPR.EXE and then dismissed the Windows 'warning this may be incompatible' dialogs, that the installer completed successfully.
I suspect having 2014 bits already in place probably helped.
install "SQL Express 2005 service pack 4" version "directly".
it contains sql Express 2005 inside . dont let the name fool you
runs succesfuly. from my experince
Microsoft SQL Server 2005 Express Edition Service Pack 4 on Windows Server 2012 R2
Those steps are based on previous howto from https://stackoverflow.com/users/2385/eduardo-molteni
download SQLEXPR.EXE
run SQLEXPR.EXE
copy c:\generated_installation_dir to inst.bak
quit install
run inst.bak/setuip/sqlncli_x64.msi
run SQLEXPR.EXE
enjoy!
This works with Microsoft SQL Server 2005 Express Edition Service Pack 4 http://www.microsoft.com/en-us/download/details.aspx?id=184

SQL Server Management Studio 2008 install - no option

Ok I've searched everywhere for an answer and can't seem to find an answer.
I've installed VS 2010 and with it came SQL Server 2008 Express. I am currently trying to install SQL Server Management Studio 2008 and it won't give me the option to install.
At first, I thought it wanted me to install SP1 first.. but it says there is nothing to patch!
My SQL patch version: 10.1.2531.0
EDIT: This is the installer I'm using:
http://www.microsoft.com/en-us/download/details.aspx?id=7593
I was having the exact same problem with my installation for SQL Server 2008 R2 RTM - Management Studio Express. Go back to the "Installation Type" step (the previous one), and closely read the text under each radio button. The option under the "New installation or add shared features" reads:
Select this option if you want to install a new instance of SQL Server
or want to install shared components such as SQL Server Management Studio or Integration Services.
You have to select "New Installation", and not "Add Features", as counterintuitive as this may seem.
Back up one step and choose the "Perform a new installation" option. Brilliant, I know.
As far as I remember Management Studio is not bundled with every version of SQL Serever 2008 Express installator. Maybe you could try to install this: Microsoft® SQL Server® 2008 Management Studio Express or this Microsoft SQL Server 2008 R2 RTM - Management Studio Express depending on your version of server.
I ran into this glitch, too. The Shared Features selection list should show [✓] Management Tools - Basic. The checkbox was auto-filled.
I rebooted, then ran the installer as an administrator and it worked as expected.

Cannot install SQL Server 2008 : Previous release of VS 2008 error

I had Visual Studio 2008 Professional Edition installed in my computer. When i installed this VS 2008 version, SQL Server 2005 was also automatically installed. I just had to install SQL Management Studio
Because i want to install SQL Server 2008. I un-installed SQL Server 2005 and tried to install SQL Server 2008. But in the "Installation Rules" section in the installing setup, it prompts a message saying "Previous Release of VS 2008 Failed" (see the image below)
When I google it, i came to Microsoft Support where they say the VS Version i have must be Service Pack 1 and must be a release version (not beta version). Now I'm confused with it.
What should I do?
How do I find the Service Pack Version of VS 2008
How do I find if the version is a release or a beta one
I recently installed VS 2010 C# Express and Web Developer 2010 Express. Without going to SQL Server 2008 can I work with VS 2010 with SQL Server 2005?
How do I find the Service Pack Version of VS 2008?
There are service packs for Visual Studio 2008 express that are different to the VS2008 standard / prof etc service packs.
How do I find if the version is a release or a beta one? No idea.
I recently installed VS 2010 C# Express and Web Developer 2010 Express. Without going to SQL Server 2008 can I work with VS 2010 with SQL Server 2005?
Yes you can work with SQL 2005 with both of those to the best of my knowledge.
You can try uninstalling all instances of visual studio and then installing sql 2008 but that would be a last resort i would think. Trying the vs2008 express service packs would be my first step.
Rgds
AJ
See this http://support.microsoft.com/kb/956139 and for a more detailed answer see this
http://blogs.msdn.com/b/psssql/archive/2008/08/11/sql-server-2008-visual-studio-2008-sp1-and-net-framework-3-5-sp1-explained.aspx.
I also had this issue and when I visited Microsoft site, then I found this solution and it worked.

Why SQL Server Express 2008 install requires Visual Studio 2008 in checklist?

When installing SQL Server Express Edition 2008, checklist says
"Previous version of Visual Studio 2008"
and asked me to upgrade to sp1. Unfortunately sp1 for some reason refuses to install on my brand new pc (Windows 7).
So why can't I just bypass this ? Why would SQL Server Express needs VS2008 to install that's insane.
SQL Server install used to be as easy as 123, now it has become a nightmare like installing Oracle.
Will I have to go back to Windows XP ?
Because Sql Server Management Studio is built upon the Visual Studio standalone Shell.
You will find that if you choose not to install the SSMS this requirement will vanish, but this is probably not what you want to do.
Normally you won't need Visual Studio 2008 in order to install SQL Server. This can be caused by some previous versions that you had installed, beside the SSMS problem. Take a look here for required actions before installing SQL Server 2008.
I have to agree that SQL Server 2008 install is probably the worst SQL install ever.
Having said that, 2008 R2 is out now, perhaps the new management studio is built on VS2010? Alternatively, don't install Management studio and use something else like VS2008, or VS2010 express to access the database.