Getting error while installing SQL Server 2008 - sql-server-2008

I am getting an error while installing SQL Server 2008. The error is like
SQLServer SetUp requires .NetFramework 3.5 to be installed
But .NET framework 3.5,SP1,VS2008 sp1 is already installed. I have checked in control panel also.
Because of this error I am not able to do daily tasks.
Please help me, where am going wrong?

Even though you install .NET Framework 3.5
sql server installer still ask you to install .NET Framework 3.5.
If you install sql server 2008 Standard ed in windows -server 2008 R2, .NET Framework 3.5 is already built in with windows.
Just go to server manager, click Add Feature and enable it. After that, you can install SQL Server 2008.

This bug had already reported to microsoft see here.
http://connect.microsoft.com/SQLServer/feedback/details/354980/sql-server-2008-setup-requires-microsoft-net-framework-3-5
and solution that helped was
The setup has been successfully completed after installation of .NET 3.5 Service Pack 1 (BETA) and Windows Installer 4.5. It was also nessary to install PowerShell after that.
Go ahead and download the required software and then try again installing.

I had the same problem.
In the installation folder you have some files and three folder (ia64, x64, x86). When I copied the installation folder of SQL Server 2008 I excluded the ia64 and x64 folder.
The solution that worked for me was to not exclude the x64 folder. Maybe it is possible you have missing files. I would download or copy the installation files again!

Related

MySQL Workbench not opening on Windows

I have downloaded the no-install portable version of Workbench. When I run the exe file (on Windows XP), nothing happens. Does it need some MySQL running? I think it's standalone, right? I have XAMPP for MySQL. Any dependency etc?
You need to install the following in order to run the current version of MySQL Workbench:
Microsoft .NET Framework 4.5.2
Microsoft Visual C++ 2019 Redistributable for Visual Studio 2019
See: dev.mysql.com/doc/workbench/en/wb-requirements-software.html
.
Update 2020:
Unfortunately this is still happening:
Download .NET 4.0 (My machine already had it.)
Download Visual C++
As the above solution states. Download the Mysql workbench
installer.
I still don't know why, it would allow me to install without checking for dependencies. I have become accustomed to this kind of behavior when I am installing any application and to not see it is annoying. I suppose I should leave this personal opinions out of my solution but I have had to install this multiple times and have comes across some kind of dependency issue.
What works for me (workbench 64bit) is that I installed Visual Studio 2015, 2017 and 2019
here is url:
https://support.microsoft.com/en-ph/help/2977003/the-latest-supported-visual-c-downloads
I installed both x86: vc_redist.x86.exe and x64: vc_redist.x64.exe
In my case, i tried all solutions but nothing worked.
My SO is windows 7 x64, with all the Redistributable Packages (x86,x64 / 2010,2013,2015)
The problem was that i tried to install the x64 workbench, but for some reason did not work (even my SO is x64).
so, the solution was download the x86 installer from : https://downloads.mysql.com/archives/workbench/
There are two prerequisite requirements need to install MySql Workbench as follows.
.Net Framework 4.0
Microsoft Visual C++ 2010
When .Net Framework 4.0 does not exist your computer installation will be corrupted. But if Microsoft Visual C++ 2010 does not exist your computer then you will continue the installation but cannot open MySql Workbench program. Sometimes you will need Microsoft Visual C++ 2013 instead of Microsoft Visual C++ 2010. So I recommend to install Microsoft Visual C++ 2013.
Microsoft Visual C++ 2013
In Windows 10 I browsed to %APPDATA%\MySQL\Workbench\ then deleted the workbench_user_data.dat file
Doing so lost my MySqlWorkbence settings but allowed MySqlWorkbence to open.
As per the current setup on June, 2017
Here is the downloadable link for Visual C++ 2015 Redistributable package : https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe
Hope this will help, who are struggling with the download link.
Note: This is with regards to MySQL Workbench 6.3.9
I have uninstalled 8.0.19 (64) and installed 8.0.18 (64 bit) and now it Opens.
it might be due to running of xampp or wampp server stop all services running and try to open mysql command line
I found I needed more than just the Visual C++ Redistributable 2015.
I also needed what's at this page. It's confusing because the titles make it ambiguous as to whether you're downloading the (very heavy) Visual Studio or just Visual C++. In this case it only upgrades Visual C++, and MySQL Workbench launched after this install.
You should have these two already installed in your system:
Microsoft Visual C++ 2015-2019 Redistributable
Microsoft .NET Framework 4.5.2
I did these two installations for MySQL Workbench 8.0 CE.
None of these suggestions worked for, however setting compatibility to Vista worked and now the workbench opens again.
2022 case:
My MySQL Workbench was working normally and from one moment it just didn't want to open anymore. I've lost almost half a day trying to fix it.
In folder %APPDATA%\MySQL\ I had to delete the whole folder Workbench,
instead of deleting just workbench_user_data.dat file (which didn't help)
Given that there's so little on this on the web, I'll provide my answer despite this thread being over two years old: it's probably a no-brainer but run Workbench as Administrator (doh!)

exception while installing My SQL server for windows 7?

i downloaded the recommend version from Download MySQL Community Server i.e mysql-installer-community-5.6.12.0.msi for windows 7 64 bit os.
Please install the .NET framework 4. Please install the .NET framework
then run this installer.
My question is Should i really install .net 4 framework first to install mysql server? Am i proceeding in right direction
The standard installer includes MySQL Workbench. If you look at its download page, and in the pre-requisites:
To be able to install and run MySQL Workbench 5.2 your System needs to have libraries listed below installed. The listed items are provided as links to the corresponding download pages where you can fetch the necessary files.
Microsoft .NET Framework 4 Client Profile
Microsoft Visual C++ 2010 Redistributable Package (x86)
So, yes.
(There may be other packages that also depend on .NET. Workbench was the obvious one I know of)

WiX installing SQLServerSpatial.dll and SQL Server 2008 R2?

We're trying to update our WiX installer to install SQL Server 2008 R2. Regular 2008 seemed to install fine on most machines, but the R2 install seems to fail to install SQLSysClrTypes - so we hit an error with a missing dll called SQLServerSpatial.dll.
Is there a way to get the SQL installer to correctly install this? I have found some discussions of this issue online but no solutions, except for manually installing SQLSysClrTypes.msi after SQL Server.
We want the install to be silent and need the minimum of user interaction.
We're using WiX 3.5 & VS2010.
Edit
Further reading and thinking leads me to understand that SQL 2008 SP1 didn't install SQLServerSpatial.dll either, and it is changes to our code which have made this a requirement now. So my question has become simplier:
Can I configure the SqlServer install to include/install SqlServerSpatial?
or
Can I use WiX to install SQLSysClrTypes.msi (I would need the package.xml and product.xml)? Has anyone done this?
While I am unsure about the changes to SQL Server and why SqlServerSpatial.dll is missing, I can answer with regards to installing prerequisites using a bootstrapper.
Can I use WiX to install SQLSysClrTypes.msi (I would need the package.xml and product.xml)? Has anyone done this?
It sounds like you are using the visual studio bootstrapper. You can use the bootstrapper manifest generator tool to create the bootstrapper manifest (package.xml and product.xml) so that you can create a bootstrapper like you would for other prereqs (for example, the .NET framework).
Of course, if you are open to upgrading to WiX 3.6 (still in beta but pretty stable), you may use the new bootstrapper functionality called Burn to create package bundles in order to chain your packages together.

Can't install SQL Server 2008 R2 management tool (complete)

I have SQL Server 2008 R2 Express installed on my workstation. I’m in the process of learning Entity Framework, and wanted to use the Management Studio Profiler to help understand the SQL commands generated by EF.
Since the Express version does not include the Profiler, I installed SQL Server 2008-R2 Developer side-by-side with Express. The installation went perfectly and I had no problem adding my databases to the full Server installation.
The problem is that Management Studio – Complete was not installed with the full SQL Server so I still don’t have access to the profiler. I re-ran the installer so I could install the Complete version, but it is greyed out and I cannot select it for installation.
Can someone help me get Management Studio – Complete installed?
If I have to uninstall the Express version, will that hurt anything (I have VS2010 Ultimate installed as well)?
Thanks!
I ran into this and had the hardest time getting the Management Tools - Complete to install. I finally got it working by running the upgrade. Even though it was already Enterprise edition with nothing obvious to upgrade I went through the update wizard. After that I was able to do the install of the complete tools.
Steps:
Run the installer -> Maintenance -> Edition Upgrade -> follow the wizard.
Then -> Run the installer -> Installation -> New SQL Server stand-alone ... -> ... "Add features to existing install" -> Management Tools - Complete.
To solve the problem I uninstalled SQL express and the Basic version of Server Management Studio.
Uninstalling SQL Express is not intuitive as it does not appear as a separate item in the “Programs and Features” window.
To uninstall it, I right-clicked on “Microsoft SQL Server 2008 R2 (64-bit)” and selected Uninstall/Change”. This opened a dialog, from which I selected ‘Remove’. I navigated though the process until I arrived at a screen which allowed me to elect to remove the Express version (all items with 'Express' in the name). I also elected to remove Management Studio Basic.
After SQL Server Express and Management Studio Basic were uninstalled, I started the SQL Server 2008 R2 installer; this time I was able to select Management Studio Complete for installation.
The installation process executed normally; when it finished the Complete version of Management Studio was available and I was able to execute the Profiler.
Uninstalling SQL Server Express appears to have done no harm to my system; I was able to modify the Server Explorer data connection in VS2010 to connect to my database in the full version of SQL Explorer.
This process outlined above worked for me; YMMV.
In my case I was trying to install instance features, while SQL Management Studio is a Shared feature.
Another way of installing SQL Management Studio is to install another instance using SQL With Tools or the Advance Services issue. Do not look into another instance that is already installed.

how to install mysql connector to work with visual studio

i already install mysql 5 in my system and visual studio professional. and everybody work fine but how i can connect mysql database in server explore using installing connector
when i download connector for mysql i get the rar. the rar have some code but i not know how it work are anyone tell me what i do to use mysql in my server explorer
Go get Connector / net. It's the dot Net connector software. It comes in .msi form, not .rar form, and opens up Visual Studio to work with mySQL servers. I know for sure that it works with VS2008 and VS2010.
http://dev.mysql.com/downloads/connector/net/