Quantcast
Channel: SQL Server Express forum
Viewing all 3319 articles
Browse latest View live

SQL Server 2016 Express - install on a server without an internet connection?

$
0
0

Hi - I downloaded the Express edition of the software from here:

https://www.microsoft.com/en-gb/download/details.aspx?id=52679

When I try and install it on my Windows 2012 R2 server, it stops because "We failed to download the files we require: please check your internet connection and try again"

An internet connection is not specified in the system requirements and I've never had this happen on previous versions of express. How can I work around this? It's not possible to connect this server to the internet

Thanks


Installing SQL Server 2016 Express

$
0
0
Can I install SQL Server 2016 Express on windows 7 machine?

MS SQL Server Management Studio Download - Execute

$
0
0

I am able to download the MS SQL Server Management Studio, but cannot deploy the download. I have used Chrome, IE11. Has anyone experienced this issue. I am using a 64 bit laptop as well as a tower. Thanks.

SQL Server 2016 installation error rule KB2919355

$
0
0

Hello,

I've run the SQL Server 2016 Setup on a Windows Server 2012 R2.

During installation I get stuck with error: KB2919355-Installation.

The error states Windows requires restart, I've restarted twice already and still got the same error. I can't continue installation. Do you know a solution for this?

Thanks for any help in advance.

Issue in saving a file on disk using BCP command

$
0
0
Hi Team,

Below is the code to write a text file on disk using BCP command:

-------------------------------------------------------------------------------------------------
ALTER PROCEDURE [dbo].[spSaveTextResultToFile] 
@TheSQL VARCHAR(MAX), 
@Filename VARCHAR(255), 
@Unicode INT=0 

AS 
SET NOCOUNT ON 
DECLARE @MySpecialTempTable VARCHAR(255) 
DECLARE @Command NVARCHAR(4000) 
DECLARE @RESULT INT 

IF CHARINDEX ('Select ',LTRIM(@TheSQL))=0 
BEGIN 
RAISERROR ('Usage spSaveTextResultToFile <The SQL Expression> <The Filename)',16,1) 
RETURN 1 
END 
--firstly we create a global temp table with a unique name 
SELECT @MySpecialTempTable = '##temp' 
+ CONVERT(VARCHAR(12), CONVERT(INT, RAND() * 1000000)) 
--then we create it using dynamic SQL, 
-- 
SELECT @Command = 'create table [' 
+ @MySpecialTempTable 
+ '] (MyID int identity(1,1), MyLine varchar(MAX)) 
insert into [' 
+ @MySpecialTempTable 
+ '](MyLine) ' +@TheSQL 
EXECUTE sp_ExecuteSQL @command 
declare @a nvarchar(max)='select * from '+@MySpecialTempTable
exec (@a)
--then we execute the BCP to save the file 
SELECT @Command = 'bcp "select Myline from [' 
+ @MySpecialTempTable + ']' 
+ '" queryout ' 
+ @Filename 
+' -U sa -P sql,.12345 '
+ CASE WHEN @Unicode=0 THEN ' -c' ELSE ' -w' END 
+ ' -T -S' + @@servername 
EXECUTE @RESULT= MASTER..xp_cmdshell @command, NO_OUTPUT 
print @RESULT
EXECUTE ( 'Drop table ' + @MySpecialTempTable )
print @command


-----------------------------------------------------------------------------


The problem is that this code is working on one system/server but not another system.
1)Permissions are properly give to the folder
2)Path is also correclty given
3)Select query is correct
4)To enable the feature.  
EXEC sp_configure 'xp_cmdshell', 1; is also done.

Unable to get the issue behind it...Is there any settings or confrigration needs to check ????

Thanks in advance...

FYI: (SQL Express 2014 version) SSMS.exe crashing with latest Plays.TV load

$
0
0

I didn't notice that my AMD software downloaded (or I accidentally did & didn't notice) Plays.TV, but that started my SQL Server express to begin crashing after a couple of query executions in Management Services.  Long story short, all I really know is that my event log had:

Faulting application name: Ssms.exe, version: 2014.120.2000.8, time stamp: 0x5306c06d
Faulting module name: ltc_game32-116096.dll, version: 1.0.0.1, time stamp: 0x57cf4e9b
Exception code: 0xc00000fd
Fault offset: 0x00002e70
Faulting process id: 0x3590
Faulting application start time: 0x01d210659b44e3b8
Faulting application path: C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\Ssms.exe
Faulting module path: C:\PROGRA~2\RAPTRI~1\PlaysTV\ltc_game32-116096.dll
Report Id: 2d14e07c-118f-4ced-92ab-3b1dcc7b10d4
Faulting package full name: 
Faulting package-relative application ID:

Removing Plays.TV fixed the SSMS.exe crash.  My Zoom (video conferencing app) was also affected.  

Forum Ninjas News! Monday Interview with Erland Sommarskog

$
0
0

Good day to all :-)

Each week we pick one top contributor on MSDN and TechNet Forums, write about their forum achievements (and also about their other achievements), and we interview them. Today we’re going to get to know one of the blog’s most active members, Microsoft MVP, Microsoft Community Contributor, and Forum Ninja…

Click the link to meet Erland Sommarskog :-)


signature  Ronen Ariely
 [Personal Site]    [Blog]    [Facebook]   [Linkedin]

SQL Server 2014 installation related issues

$
0
0

Hi Team,

Summary of the issue is: After installing SQL Server 2014 inplace upgrade on a server which has application too, starting flooding server with dotnet framework related errors, however application and db both are working fine.

A very different issues occurred wherein , after installing in-upgrade for SQL Server 2008 R2 RTM to SQL Server 2014 RTM, I have first noted issues with DTS installer with compilation errors, like below:

---------------------------------------------------------------------


Log Name:      Application
Source:        .NET Runtime Optimization Service
Date:          9/17/2016 11:01:14 PM
Event ID:      1101
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      XXXXX
Description:
.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1>Failed to compile: C:\Program Files\Microsoft SQL Server\120\DTS\Binn\dtsinstall.exe . Error code = 0x80131f07

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime Optimization Service" />
    <EventID Qualifiers="0">1101</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-09-18T03:01:14.000000000Z" />
    <EventRecordID>354818</EventRecordID>
    <Channel>Application</Channel>
    <Computer>XXX</Computer>
    <Security />
  </System>
  <EventData>
    <Data>.NET Runtime Optimization Service (clr_optimization_v4.0.30319_64) - 1&gt;Failed to compile: C:\Program Files\Microsoft SQL Server\120\DTS\Binn\dtsinstall.exe . Error code = 0x80131f07
</Data>
    <Data>C:\Program Files\Microsoft SQL Server\120\DTS\Binn\dtsinstall.exe</Data>
  </EventData>
</Event>

---------------------------------

After this no error noted on log and integration services also running fine without any issues.

This server is also used for third party application and that floods application log with every minute for two types of errors:

Below goes after correcting the webconfig, file


-----------------

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          9/19/2016 2:05:23 PM
Event ID:      1310
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      XXXXXXX
Description:
Event code: 3008
Event message: A configuration error has occurred.
Event time: 9/19/2016 2:05:23 PM
Event time (UTC): 9/19/2016 6:05:23 PM
Event ID: 95e1fa8d550f473a83f8b19d43e7298f
Event sequence: 1
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT/app-236-131187819234461968
    Trust level: Full
    Application Virtual Path: /app
    Application Path: C:\inetpub\app\
    Machine name: XXXXXXX
 
Process information:
    Process ID: 7960
    Process name: w3wp.exe
    Account name: IIS APPPOOL\app
 
Exception information:
    Exception type: ConfigurationErrorsException
    Exception message: The 'targetFramework' attribute in the <compilation> element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '<compilation targetFramework="4.0">'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. (C:\inetpub\app\web.config line 23)
   at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)
   at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()
   at System.Web.Compilation.BuildManager.Initialize()
   at System.Web.Compilation.BuildManager.InitializeBuildManager()
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

 
 
Request information:
    Request URL: http://localhost/app/api/Ajax/CheckSchedule
    Request path: /app/api/Ajax/CheckSchedule
    User host address: 127.0.0.1
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: IIS APPPOOL\app
 
Thread information:
    Thread ID: 17
    Thread account name: IIS APPPOOL\app
    Is impersonating: False
    Stack trace:    at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)
   at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()
   at System.Web.Compilation.BuildManager.Initialize()
   at System.Web.Compilation.BuildManager.InitializeBuildManager()
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)
 
 
Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 4.0.30319.0" />
    <EventID Qualifiers="32768">1310</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-09-19T18:05:23.000000000Z" />
    <EventRecordID>357319</EventRecordID>
    <Channel>Application</Channel>
    <Computer>XXXXXXX</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3008</Data>
    <Data>A configuration error has occurred.</Data>
    <Data>9/19/2016 2:05:23 PM</Data>
    <Data>9/19/2016 6:05:23 PM</Data>
    <Data>95e1fa8d550f473a83f8b19d43e7298f</Data>
    <Data>1</Data>
    <Data>1</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/1/ROOT/app-236-131187819234461968</Data>
    <Data>Full</Data>
    <Data>/app</Data>
    <Data>C:\inetpub\app\</Data>
    <Data>XXXXXXX</Data>
    <Data>
    </Data>
    <Data>7960</Data>
    <Data>w3wp.exe</Data>
    <Data>IIS APPPOOL\app</Data>
    <Data>ConfigurationErrorsException</Data>
    <Data>The 'targetFramework' attribute in the &lt;compilation&gt; element of the Web.config file is used only to target version 4.0 and later of the .NET Framework (for example, '&lt;compilation targetFramework="4.0"&gt;'). The 'targetFramework' attribute currently references a version that is later than the installed version of the .NET Framework. Specify a valid target version of the .NET Framework, or install the required version of the .NET Framework. (C:\inetpub\app\web.config line 23)
   at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)
   at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()
   at System.Web.Compilation.BuildManager.Initialize()
   at System.Web.Compilation.BuildManager.InitializeBuildManager()
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

</Data>
    <Data>http://localhost/app/api/Ajax/CheckSchedule</Data>
    <Data>/app/api/Ajax/CheckSchedule</Data>
    <Data>127.0.0.1</Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>IIS APPPOOL\app</Data>
    <Data>17</Data>
    <Data>IIS APPPOOL\app</Data>
    <Data>False</Data>
    <Data>   at System.Web.Compilation.MultiTargetingUtil.ValidateTargetFrameworkMoniker(String targetFrameworkMoniker)
   at System.Web.Compilation.MultiTargetingUtil.EnsureFrameworkNamesInitialized()
   at System.Web.Compilation.BuildManager.Initialize()
   at System.Web.Compilation.BuildManager.InitializeBuildManager()
   at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)
</Data>
  </EventData>
</Event>


-----------------


But below error is not going away by any means, any help is appreciated

----------------------------------

Log Name:      Application
Source:        ASP.NET 4.0.30319.0
Date:          9/19/2016 10:08:21 AM
Event ID:      1309
Task Category: Web Event
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      XXXXXX.ICD
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 9/19/2016 10:08:21 AM
Event time (UTC): 9/19/2016 2:08:21 PM
Event ID: fe5bef5098244be9b9b2fe2b8e32aada
Event sequence: 2
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1/ROOT/app-852-131187677006777709
    Trust level: Full
    Application Virtual Path: /app
    Application Path: C:\inetpub\app\
    Machine name: XXXXXX
 
Process information:
    Process ID: 2000
    Process name: w3wp.exe
    Account name: IIS APPPOOL\app
 
Exception information:
    Exception type: HttpException
    Exception message: Method not found: '!!0[] System.Array.Empty()'.
   at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Method not found: '!!0[] System.Array.Empty()'.
   at app.BundleConfig.RegisterBundles(BundleCollection bundles)

 
 
Request information:
    Request URL: http://localhost/app/api/Ajax/CheckSchedule
    Request path: /app/api/Ajax/CheckSchedule
    User host address: 127.0.0.1
    User: 
    Is authenticated: False
    Authentication Type: 
    Thread account name: IIS APPPOOL\app
 
Thread information:
    Thread ID: 23
    Thread account name: IIS APPPOOL\app
    Is impersonating: False
    Stack trace:    at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
 
 
Custom event details:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="ASP.NET 4.0.30319.0" />
    <EventID Qualifiers="32768">1309</EventID>
    <Level>3</Level>
    <Task>3</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-09-19T14:08:21.000000000Z" />
    <EventRecordID>357072</EventRecordID>
    <Channel>Application</Channel>
    <Computer>xxxxxx</Computer>
    <Security />
  </System>
  <EventData>
    <Data>3005</Data>
    <Data>An unhandled exception has occurred.</Data>
    <Data>9/19/2016 10:08:21 AM</Data>
    <Data>9/19/2016 2:08:21 PM</Data>
    <Data>fe5bef5098244be9b9b2fe2b8e32aada</Data>
    <Data>2</Data>
    <Data>1</Data>
    <Data>0</Data>
    <Data>/LM/W3SVC/1/ROOT/app-852-131187677006777709</Data>
    <Data>Full</Data>
    <Data>/app</Data>
    <Data>C:\inetpub\app\</Data>
    <Data>xxxxxxxx</Data>
    <Data>
    </Data>
    <Data>2000</Data>
    <Data>w3wp.exe</Data>
    <Data>IIS APPPOOL\app</Data>
    <Data>HttpException</Data>
    <Data>Method not found: '!!0[] System.Array.Empty()'.
   at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

Method not found: '!!0[] System.Array.Empty()'.
   at app.BundleConfig.RegisterBundles(BundleCollection bundles)

</Data>
    <Data>http://localhost/app/api/Ajax/CheckSchedule</Data>
    <Data>/app/api/Ajax/CheckSchedule</Data>
    <Data>127.0.0.1</Data>
    <Data>
    </Data>
    <Data>False</Data>
    <Data>
    </Data>
    <Data>IIS APPPOOL\app</Data>
    <Data>23</Data>
    <Data>IIS APPPOOL\app</Data>
    <Data>False</Data>
    <Data>   at System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app)
   at System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)
   at System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)
   at System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)
   at System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)
</Data>
  </EventData>
</Event>


Santosh Singh


can't restore WideWorldImporters-Full.bak to SQL Server 2016 Express edition

$
0
0

does  WideWorldImporters-Full.bak  even work with 2016 Express?

I can't find anything that says it doesn't.

it get the following error when attempting to restore the backup:

Processed 1464 pages for database 'WideWorldImporters', file 'WWI_Primary' on file 1.
Processed 53096 pages for database 'WideWorldImporters', file 'WWI_UserData' on file 1.
Processed 33 pages for database 'WideWorldImporters', file 'WWI_Log' on file 1.
Processed 3862 pages for database 'WideWorldImporters', file 'WWI_InMemory_Data_1' on file 1.
Msg 41381, Level 16, State 1, Line 2
The database cannot be started in this edition of SQL Server because it contains a MEMORY_OPTIMIZED_DATA filegroup. See Books Online for more details on feature support in different SQL Server editions.
Msg 3167, Level 16, State 1, Line 2
RESTORE could not start database 'WideWorldImporters'.
Msg 3013, Level 16, State 1, Line 2
RESTORE DATABASE is terminating abnormally.
Msg 3414, Level 21, State 4, Line 2
An error occurred during recovery, preventing the database 'WideWorldImporters' (7:0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support.

any help would be very much appreciated!

thank you!


Timothy E Caldwell

ERROR User Defined Data Types in sql server 2005 express

$
0
0

Hi All.

I used SQL server 2005 express. 

I use user defined data types in stored procedure.

I have a error "The parameter "@parameter " is not the same type as the type it was created with. Drop and recreate the proc using a two-part name for the type."

Help me! Thank all.

Unknown exit code 1046

$
0
0

Hi.

I've inherited a bunch of old installation projects that distributes SQL Server 2008 R2 Express SP1. These projects have special handling for exit code 1046 from the setup of SQL Server Express. I cant seem to find any information about what that exit code actually means. It's not an msi or win installer exit code so I guess it must come from the SQL setup. Ive also learned that these projects were once migrated from SQL Server 2005 Express to 2008 R2 SP1 so the exit code might come from 2005.

I'd really appreciate it if someone could help me out and explain this exit code.

Best regards

Mattias

Installing SQL 2012 on Windows 7 64 bit (EN) OS -> Failure

$
0
0
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

Error installing 2008 R2 express adv

$
0
0

I am getting the following error right at the beginning of installation:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for userSettings/Microsoft.SqlServer.Configuration.LandingPage.Properties.Settings: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Users\mgoldin\AppData\Local\Microsoft_Corporation\LandingPage.exe_StrongName_ryspccglaxmt4nhllj5z3thycltsvyyx\10.0.0.0\user.config line 5) ---> System.IO.FileNotFoundException: Could not load file or assembly 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
File name: 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at System.Configuration.TypeUtil.GetTypeWithReflectionPermission(IInternalConfigHost host, String typeString, Boolean throwOnError)
   at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.Init(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   at System.Configuration.RuntimeConfigurationRecord.RuntimeConfigurationFactory.InitWithRestrictedPermissions(RuntimeConfigurationRecord configRecord, FactoryRecord factoryRecord)
   at System.Configuration.RuntimeConfigurationRecord.CreateSectionFactory(FactoryRecord factoryRecord)
   at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

   --- End of inner exception stack trace ---
   at System.Configuration.BaseConfigurationRecord.FindAndEnsureFactoryRecord(String configKey, Boolean& isRootDeclaredHere)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
   at System.Configuration.ConfigurationManager.GetSection(String sectionName)
   at System.Configuration.ClientSettingsStore.ReadSettings(String sectionName, Boolean isUserScoped)
   at System.Configuration.LocalFileSettingsProvider.GetPropertyValues(SettingsContext context, SettingsPropertyCollection properties)
   at System.Configuration.SettingsBase.GetPropertiesFromProvider(SettingsProvider provider)
   at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
   at System.Configuration.SettingsBase.get_Item(String propertyName)
   at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
   at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
   at Microsoft.SqlServer.Configuration.LandingPage.LandingPageForm.OnLoad(EventArgs e)
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8009 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
----------------------------------------
LandingPage
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///d:/add6d2c0503dd3233a0642fff28a/x64/LandingPage.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8015 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8686 (QFE.050727-8600)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8019 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.SqlServer.Configuration.Sco
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///d:/add6d2c0503dd3233a0642fff28a/x64/Microsoft.SqlServer.Configuration.Sco.DLL
----------------------------------------
Microsoft.SqlServer.Chainer.Infrastructure
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///d:/add6d2c0503dd3233a0642fff28a/x64/Microsoft.SqlServer.Chainer.Infrastructure.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8018 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.SqlServer.Management.Controls
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///d:/add6d2c0503dd3233a0642fff28a/x64/Microsoft.SqlServer.Management.Controls.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.8007 (FX35W81RTMGDR.050727-8000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Any idea what that might be?

How could we make an inventory forecast by MS SQL2016 Express?

$
0
0

Anybody knows how to make inventory forecast report by Express Edition? Thanks.

System environment: Windows7, Excel2010, MS SQL2016 Express 

sql group by startdate and enddate

$
0
0

hi all

i have following data

table t1

tid      starttime  endtime

1  | 2016-06-06 14:00:35.433   | 2016-06-06 14:00:48.133

2  |2016-06-06 14:04:14.740  |  2016-06-06 14:04:26.783

Table T2

t2id  dateandtime

11  2016-06-06 14:00:35.433

12 2016-06-06 14:00:48.133

13 2016-06-06 14:04:14.740

14 2016-06-06 14:04:26.783

i want output

tid,T2id 

111

112

213

2 14


SQL does not move after 42%

$
0
0
I am currently running ASUS A550L on Windows 7 Pro x64 with .NET Framework 4.6 installed. However, the SQL server 2016 is stuck at 42% and cannot proceed further. What should I do? My other computer MSi GE620DX is running just fine.

sql server

$
0
0
take table in this salary above 50000 count of table

MySQLtoSQL: does it work with SQL Server 2016 express?

$
0
0
Hi, I have a ASP.NET MVC website sitting on top of a MySQL database.  I want to convert it into a SQL Server database, so that I can migrate it into Azure. I know MySQLToSQL can do it, but I am not sure whether it works with SQL Sever 2016 express? I don't have a SQL Server license. If MySQLToSQL doesn't work with express, how do I do it? I am totally new to Azure.

Sql Server 2008 R2 Expression Edition Remote Access

$
0
0

Hi

  i want to know what all steps needed for connecting sql server 2008 Express Edition Remotively.Means Requirement Needed for Server And Client System.I had a client requirement in vb.net with database as sql server 2008 R2.Client needed to access this application through Local Area Network.Here i need what all the steps required for accessing my vb.net application through LAN.Is there any additional security provided in Sql Server 2008 R2 Express Edition. 


SQL Server uses CPU too much

$
0
0

Hi.

I have a server 2012R2 with SQL Server 2014 Express SP2 installed. There are some applications and databases, but nothing too big.

At some moment (not from the beginning) the SQL Server process started to show constant high CPU usage. Usually the CPU load is about 15-20%. It shows a periodic picture with a minute of 15-20% load and a couple of seconds of 0% usage between the periods. Sometimes SLQ Server stops to do that (whatever he does...) for like 2 minutes, then starts again with 10-20 seconds of >95% load and "usual" 15-20% after...

Of course it affects the performance for users.

I have investigated all I could (session reports, query reports, profiler, memory allocation SP...), but I haven't found anything that could cause this. There is nothing in the actual applications installed or databases created for them that could load the CPU so much. I even tried to shut down all applications using SQL Server and detach their DBs and then restart the server. Also updating, reinstalling... No use.

Also, there was no "unusual" configuration, it was just a clean VM with a straightforward SQL Server installation. I have installed it, created the DBs, logins and that's it.

Why SQL Server is using so much of CPU even if there are no queries and attached DBs? How can I at least learn what's happening?

Viewing all 3319 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>