May 3, 2012 at 1:06 pm
Hi,
When installing SQLEXPR_x86_ENU.exe the installation just dies out after showing a command prompt box. The SQLSetup.log found in %tmp% shows:
05/03/2012 14:49:29.586 ======================================================================
05/03/2012 14:49:29.586 Setup launched
05/03/2012 14:49:29.586 Attempting to determine media source
05/03/2012 14:49:29.586 Media source value not specified on command line argument.
05/03/2012 14:49:29.586 Setup is launched from media directly so default the value to the current folder.
05/03/2012 14:49:29.586 Media source: c:\8b13bdbe95039358f45308af\
05/03/2012 14:49:29.586 Attempt to determine media layout based on file 'c:\8b13bdbe95039358f45308af\mediainfo.xml'.
05/03/2012 14:49:29.743 Media layout is detected as: Core
05/03/2012 14:49:29.743 Not a slip stream media, so continuing to run setup.exe from media.
05/03/2012 14:49:29.758 SQM key not found
05/03/2012 14:49:29.758 /? or /HELP or /ACTION=HELP specified: false
05/03/2012 14:49:29.774 Help display: false
05/03/2012 14:49:29.774 .Net version 3.5 is installed
05/03/2012 14:49:29.774 .Net version 2.0 is installed
05/03/2012 14:49:29.774 Local setup.exe not found, so continuing to run setup.exe from media.
05/03/2012 14:49:29.774 Attempt to initialize SQL setup code group
05/03/2012 14:49:29.774 Attempting to determine security.config file path
05/03/2012 14:49:29.774 Checking to see if policy file exists C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG\security.config
05/03/2012 14:49:29.774 .Net security policy file does not exist
05/03/2012 14:49:29.774 Attempting to create .Net security policy file
05/03/2012 14:49:31.915 Error: InitializeSqlSetupCodeGroupCore(64bit) failed
05/03/2012 14:49:31.915 Error: InitializeSqlSetupCodeGroup failed: 0x84C40013
05/03/2012 14:49:31.930 SQM key not found
05/03/2012 14:49:31.930 Setup closed with exit code: 0x84C40013
05/03/2012 14:49:31.930 ======================================================================
After many many hours of various troubleshootings, I came up with this and I'm stumped.
Framework 4 no longer uses caspol.exe per running the command line;
C:\Windows\Microsoft.NET\Framework64\v2.0.50727>caspol.exe -all -reset
Microsoft (R) .NET Framework CasPol 2.0.50727.5420
Copyright (c) Microsoft Corporation. All rights reserved.
ERROR: Runtime error: This method explicitly uses CAS policy, which has been obs
oleted by the .NET Framework. In order to enable CAS policy for compatibility re
asons, please use the NetFx40_LegacySecurityPolicy configuration switch. Please
see http://go.microsoft.com/fwlink/?LinkID=155570 for more information.
Now I extracted the executable and the configuration file used for the setup seems to indicate that it is using the legacy flags indicated in the CAS link.
I ran the exact same command line on the 32 bit folder
C:\Windows\Microsoft.NET\Framework\v2.0.50727>caspol.exe -all -reset
And it successfully created security.config and security.config.cch in C:\Windows\Microsoft.NET\Framework\v2.0.50727\config
In desperation, I copied those files into the 64 bit folder; C:\Windows\Microsoft.NET\Framework64\v2.0.50727\config
And ran the installation, successfully installing SQL 2012.
Here's the rub, WHY can the security.config files not be created? It seems to indicate it tries to create them but fails, I am logged in as an administrator on the machine and I did run the setup using elevated rights (right click run as administrator)
I'm flumoxed, anyone else run into similar issues? Have any clues or ideas?
Thanks.
Connie
May 4, 2012 at 5:18 am
That's not one I've hit on all the 2012 installs I've done. I'd suggest taking it to Microsoft. Go through support or post it as a Connect item.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
June 14, 2012 at 11:29 pm
Here is an article that describes the process in detail:
http://hodentek.blogspot.com/2012/04/installing-sql-server-express-2012-and.html
"Installing SQL Server Express 2012 and managing the LocalDB"
This article discusses in detail with a number of screen shots the installing of SQL Server Express 2012 with tools (x64) on a Toshiba Satellite P775 Laptop computer (x64 bit). The article goes on to describe how to manage LocalDB using the SQLLOCALDB utility.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply