Quantcast
Channel: Getting started with SQL Server forum
Viewing all 9243 articles
Browse latest View live

Tempdb log file running out of free space while running DBCC checkdb on a large database

$
0
0

Hi All,

In my environment, there is maintenance plan configured on one of the server and while running DBCC checkdb on a database of size around 200GB, log file usage of tempdb is increasing and causing the maintenance job to fail.

Could some one please suggest what can i do to make the maintenance job run successfully, size of the tempdb database is only 50GB and recovery model is set to simple. It cannot be increased as the mount point on which it is residing is 50GB.

Thanks in Advance.

Regards, Kranthi.


Report Viewer require a license for the SQL Server 2008?

$
0
0
Hi,

Good day to you.

I am trying to purchase a virtual machine A2, together with Operating System, Windows Server 2008 R2, 

I also need the followings,
1. SQL Server 2008 R2 Express
2. IIS version 7
3. ASP.Net version .NetFramework 3.5
4. .NetFramework 4.5
5. Report Viewer

May I ask if Report Viewer require a license for the SQL Server 2008?
Do I need to pay for it? I thought SQL Server 2008 R2 Express is free to download?
Will the paid version of SQL Server be the SQL Server 2008 R2 Express?

Thanks for your kind attention.

I need help you...

$
0
0

I'm Buy New Server Config HP Proliant ML 150 Gen 9. Inter(R) Xeon (R) CPU E5-2620 v3  2.40GHZ 2400 Mhz, 6 Core (s), Logical Processor(s), Ram - 16 Gb, HDD - 300GB, Raid - 1, OS - 2012, 

I'm Install Sql - Sever 2008 R2 Express in this Execute 10000 Record Insert For While loop Pl-SQl Get elapsed Time 43 Sec..

And Same Query Insert Other Simple System (Config - i3 Processor, Ram-4Gb, HDD 250GB) in this execute Got Elapsed Time 2 Sec..

How can Solve this Different Between Hp Server & simple System  Elapsed Time  ..?

Hoe can Solve Hp Server Get Much time When 10000 Insert Query (While Loop) Execute.?

Regard 

Saurabh Mishra. R


 

Backup issue with Configuration option 'Ole Automation Procedures'

$
0
0

Executed as user: NT AUTHORITY\SYSTEM. ... to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'Ole Automation Procedures' changed from 0 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Cannot open backup device '\\sqlbackup\backup\ABCD14_Databases\Daily\model.bak'. Operating system error 5(Access is denied.). [SQLSTATE 42000] (Error 3201)  BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013)  Configuration option 'Ole Automation Procedures' changed from 1 to 0. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'Ole Automation Procedures' changed from 0 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Cannot open backup device '\\sqlbackup\backup\ABCD14_Databases\Daily\msdb.bak'. Operating system error 5(Access is denied.). [SQLSTATE 42000] (Error 3201)  BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013)  Configuration option 'Ole Automation Procedures' changed from 1 to 0. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'Ole Automation Procedures' changed from 0 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Cannot open backup device '\\sqlbackup\backup\ABCD14_Databases\Daily\ReportServer.bak'. Operating system error 5(Access is denied.). [SQLSTATE 42000] (Error 3201)  BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013)  Configuration option 'Ole Automation Procedures' changed from 1 to 0. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'Ole Automation Procedures' changed from 0 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Cannot open backup device '\\sqlbackup\backup\ABCD14_Databases\Daily\ReportServerTempDB.bak'. Operating system error 5(Access is denied.). [SQLSTATE 42000] (Error 3201)  BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013)  Configuration option 'Ole Automation Procedures' changed from 1 to 0. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'Ole Automation Procedures' changed from 0 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Cannot open backup device '\\sqlbackup\backup\ABCD14_Databases\Daily\CheckRequest.bak'. Operating system error 5(Access is denied.). [SQLSTATE 42000] (Error 3201)  BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013)  Configuration option 'Ole Automation Procedures' changed from 1 to 0. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'show advanced options' changed from 1 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Configuration option 'Ole Automation Procedures' changed from 0 to 1. Run the RECONFIGURE statement to install. [SQLSTATE 01000] (Message 15457)  Cannot open backup device '\\sqlbackup\backup\ABCD14_Databases\Daily\SpotlightPlaybackDatabase.bak'. Operating system error 5(Access is denied.). [SQLSTATE 42000] (Error 3201)  BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000] (Error 3013)  Configuration option 'Ole Automation Procedures' changed from 1 to 0. Run the RECONFIGURE st...  The step failed.

When I checked the current setting of OLE Automation procedures, it is showing as minimum -0, maximum -1 , config value-0 and run value -0.

I googled it, it shows to enable but not getting specifically for backup issues, my SQL version is 

Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64) 
Oct 19 2012 13:38:57 
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)

Can you please help me in this whether to change  Automation procedures to "0" or "1" to get this resolved.

Thanks in advance.


Unable to access D:\ drive in SQL Server

$
0
0

I have two drives in SQL Server Box. C and D drives. I am using below script to move mdf and log files from C: drive to D: Drive. However, I keep getting error : Directory lookup for the file "D:\Packages\TestVGR.mdf" failed with the operating system error 5(Access is denied.).

USE MASTER;
GO
-- Take database in single user mode -- if you are facing errors
-- This may terminate your active transactions for database
ALTER DATABASE TestVGR
SET SINGLE_USER
WITH ROLLBACK IMMEDIATE;
GO
-- Detach DB
EXEC MASTER.dbo.sp_detach_db @dbname = N'TestVGR'
GO


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

CREATE DATABASE TestVGR ON
( FILENAME = N'D:\Packages\TestVGR.mdf' ),
( FILENAME = N'D:\Packages\TestVGR_log.ldf' )
FOR ATTACH
GO

Please help

Cannot download Sql Server 2012 Express

$
0
0

Hello

I need to install the Express edition of Sql Server 2012 .

I went to the Microsoft pffical download page (https://www.microsoft.com/en-us/download/confirmation.aspx?id=29062)

I waited the ritual 30 seconds without anything happening, then I clicked the link indicated for when the download doesn't start in 30 seconds, and nothing happens at all .

What 's happening ?

I found another installation on another site, I launched it, but I don't know if the installation is complete.

I can see in Programs | Microsoft Sql Server 2012 the entries :

Import and Export Data (32-bit)

Sql Server Management Studio

Configuration Tools

Integration Services

As I launch Sql Server Installation Center (64-bit), under Configuration Tools, and go to Installation,and then New Installation of Sql Server it asks me for a "Installation support "folder ....

What should I do ?

And why doesn't the official installer download start ?

SQL 2012 SP1 obtain CDKEY

$
0
0

I am trying to retrieve the CDKEY of my SQL 2012 Standard edition SP1, and I have tried every Powershell script, that is online, and they do not work.

I went into the registry & got the 'DigitalProductID', is that the CDKEY?   How do you read it, if this is the key?

There is also a 'ProductCode' but cannot decipher it.

Can anyone help me.


Thanks

Variables

$
0
0
In a query having a couple of states how can i eliminate state of texas from among other states (Create a Table Variable storing all info from the dbo.Flights table of non Texas Flights.)

Can't Connect Goldmine 2014 Installation

$
0
0
I have looked through all the documentation I can find, but I still cannot get a new Goldmine 2014 installation to connect to the SQL Server. Any help is appreciated. Thanks.

SQL Server Installation Error

$
0
0

Hi,

Good day to you.

I am trying to install SQL Server on Azure Virtual Machine and I encounter the error below. Please see attached file. 

TITLE: SQL Server 2008 R2 Setup
------------------------------

The following error has occurred:

'' is not a valid login or you do not have permission.

Please see below for message after clicking the help sign, "?"

Details 
Product: SQL Server 
ID: 15007 
Source: MSSQLServer 
Version: 8.0 
Component: SQL Engine 
Message: The login '%s' does not exist. 

Explanation 
You have passed a nonexistent login to a system stored procedure that is expecting a valid login. 

User Action 
Reissue the stored procedure call with a valid login for the parameter. 

Please help.


After clicking on view problem details:

Description:
  SQL Server 2008 R2 Setup has encountered an error. 

Problem signature:
  Problem Event Name:SQL100Exception
  Problem Signature 01:SQL Server 2008 R2@RTM@
  Problem Signature 02:0x7590AFD6
  Problem Signature 03:0x7590AFD6
  Problem Signature 04:0x9A41B222
  Problem Signature 05:0x9A41B222
  Problem Signature 06:SqlEngineDBStartConfigAction_install_configrc
  Problem Signature 07:0x9C5770A6
  Problem Signature 08:Unknown
  Problem Signature 09:Unknown
  Problem Signature 10:Unknown
  OS Version:6.1.7601.2.1.0.400.8
  Locale ID:1033

Additional information about the problem:
  LCID:1033

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt


Incorrect SQL 2014 SP1 version at the Eval Center

$
0
0

Just wanted to let you guys know that even when selecting the x64 download of SQL 2014 SP1 version at the Eval Center, you still get the x86 version (SQLServer2014SP1-FullSlipstream-x86-ENU.iso).

The quick workaround is of course just to change the URL to ...SQLServer2014SP1-FullSlipstream-x64-ENU.iso but it would nice if the issue could be corrected.

/ Johan


Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

Problems in Sql Server 2012 Express installation

$
0
0

Hello .

I successfully downloaded Sql Server 2012 Express installation package.

I launched the intsallation and after a few minutes it ends with the following errors :

"Database Engines Services"  (not installed)

and

"Sql Server Replica" (not installed)

I read the errorlogs in : "Microsoft Sql Server\{Installation}\MSSQL|Log "

and it seems I have problems with SSL certificate :

2015-05-29 20:01:55.36 spid11s     Error: 17190, Severity: 16, State: 1.
2015-05-29 20:01:55.36 spid11s     Initializing the FallBack certificate failed with error code: 1, state: 20, error number: 0.
2015-05-29 20:01:55.37 spid11s     Unable to initialize SSL encryption because a valid certificate could not be found, and it is not possible to create a self-signed certificate.
2015-05-29 20:01:55.37 spid8s      Failed to verify Authenticode signature on DLL 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER2012\MSSQL\Binn\ftimport.dll'.
2015-05-29 20:01:55.37 spid11s     Error: 17182, Severity: 16, State: 1.
2015-05-29 20:01:55.37 spid11s     TDSSNIClient initialization failed with error 0x80092004, status code 0x80. Reason: Unable to initialize SSL support. 
2015-05-29 20:01:55.37 spid11s     Error: 17182, Severity: 16, State: 1.
2015-05-29 20:01:55.37 spid11s     TDSSNIClient initialization failed with error 0x80092004, status code 0x1. Reason: Initialization failed with an infrastructure error. Check for previous errors. 
2015-05-29 20:01:55.37 spid11s     Error: 17826, Severity: 18, State: 3.
2015-05-29 20:01:55.37 spid11s     Could not start the network library because of an internal error in the network library. To determine the cause, review the errors immediately preceding this one in the error log.
2015-05-29 20:01:55.37 spid11s     Error: 17120, Severity: 16, State: 1.
2015-05-29 20:01:55.37 spid11s     SQL Server could not spawn FRunCommunicationsManager thread. Check the SQL Server error log and the Windows event logs for information about possible related problems.

This is just one log file : others report similar informations.

Msg 170, Level 15, State 1, Line 7

$
0
0

I am very angry with SQL server 2005

It takes me long time, but can not fix it

I am doing a very simple task.

I generate SQL scripts from my SQL server 2005

and execute it in another computer (SQL server 2005, too)

it shows error

Msg 170, Level 15, State 1, Line 7

What a !!!

Unable to download Patches from MS links

$
0
0

Hi,

Can someone please help me in what options do i have when i am unable to download resources from MS link:

I am trying to download Service packs for SQL server 2008 R2 from link https://www.microsoft.com/en-in/download/confirmation.aspx?id=43960

But it says downloading and nothing shows up.

Please help, if there is any alternative or what can be wrong with links?

Thanks

Two SQL Servers, on two seperate sites, how to get them to talk to each other...

$
0
0

Good Morning/Afternoon/Evening,

I have a problem to solve and I shall try to explain as until recently I have never even used SQL server...

We have an application on two computers that connects to a SQL Server 2008R2 Express (Server 1) at SITE A

We have recently taken over a second site that has the same application on two computers, that connects to a SQL Server 2008R2 Express (Server 2) at SITE B.

Both sites are linked by a hardware VPN, which enables us to use DFS-R to distribute the music files that the application uses, however the application also needs the database for the music's information, both currently have local databases to ensure that application can continue to work if there was an internet outage.

I need to find a way to make both sync to each other, so application at SITE A updates Server 1 music record, which then updates SITE B Server 2 and vice versa.

We are a small charity so any solution needs to be cheap or better still free and ideally require little knowledge of SQL...

Thanks :/


How to create ActiveX control wrapper class in vs2012

$
0
0

I have an ActiveX control, and insert the ActiveX control into a dialog

but I can not see the ActiveX control wrapper class, it is created automatically in VC6.0

How to create the ActiveX control wrapper class in vs2012? 



Restore SQL Server 2016 with backup from SQL Server 2012

$
0
0

I am trying to transfer a database from SQL Server 2012 to SQL 2016 by restoring from a 2012 backup. The restore runs without any displayed errors, but no tables are created. The same backup/restore works properly on 2012. Owner is SA with the same password on both computers.

Copy database doesn't work properly.

Export data correctly creates and populates the tables except that is doesn't transfer the ID column properties.

It is possible to set the ID column to primary key after the transfer. ID column properties lets you set Identity to yes, but the change is rejected when you try to save the table changes.

I am aware of the dropping and recreating of a table in order to get around the Identity problem.

Any suggestions about the best way to transfer a database from 2012 to 2016 will be greatly appreciated.


RERThird

Permissions issue?

$
0
0

When trying to connect with SSMS to a database I get this error:

La base de datos XXXXXXXXX no es accesible. (ObjectExplorer)
------------------------------
Ubicación del programa:
   en Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.DatabaseNavigableItem.get_CanGetChildren()
   en Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.NavigableItem.RequestChildren(IGetChildrenRequest request)
   en Microsoft.SqlServer.Management.UI.VSIntegration.ObjectExplorer.ExplorerHierarchyNode.BuildChildren(WaitHandle quitEvent)

Under security I have only 2 logins: BUILTIN\Users and sa (disabled). 

I can't also perform any other operations such as create a new login cause my account has no privileges.

The fact is that it worked last month and now it doesn't.

I am at dead end and I am a beginner with sqlserver. Any ideas?

Thanks

SQL Server Management Studio Download

$
0
0

Hi, I'm having the hardest time finding a suitable link to download and install SQL Server Management Studio. Any ideas? Thanks.

T-Log Reader?

$
0
0

Need to find out who and when data / records were deleted. No logging is in place.

Found:

SQL2000: Redgate's Free tool - SQL Log Rescue

SQL2008: querying fn_dump_dblog (http://solutioncenter.apexsql.com/read-a-sql-server-transaction-log/)OR fn_dblog (http://sqlbak.com/blog/recover-deleted-data-in-sql-server/)

Saw this - https://www.simple-talk.com/sql/performance/the-default-trace-in-sql-server---the-power-of-performance-and-security-auditing/

Edit: Found http://www.sqlservercentral.com/Forums/Topic1471718-1550-1.aspx

Any other recommendations welcome - free tools or any other methods?

Viewing all 9243 articles
Browse latest View live


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