Quantcast
Viewing all 12963 articles
Browse latest View live

Sql Server 2012 Install on Win 2012: Rpc Server Is Unavailable

Has anyone else had this?  I am trying to install Sql Server 2012 (with SP1) on top Win Server 2012.  I have done quite a few installs of SS 2012 with no trouble but never on top of Win Server 2012.

Basically I get through most of the install and enter the service accounts and then click next.  At that point it returns with an error that says, "The RPC server is unavailable."

Any idea what would cause that?  

I have done all of my installs by rdping (using term server) into the server, so I don't know why this would cause problems.  I am local admin on the server as is the Sql Server service account and it is a "domain account" as well.

Help!  


Delete Backup History: Internal Query Processor Error

I was attempting to cleanup backup history, but in doing so I get an error

I ran "exec sp_delete_backuphistory '9/1/2014'" and received the error

Msg 8630, Level 16, State 1, Procedure sp_delete_backuphistory, Line 59

Internal Query Processor Error: The query processor encountered an unexpected error during execution (HRESULT = 0x80040e19).



Lee

How to fire one of these alerts

How can I get one of these alerts to fire?

Alert - Sev 19 Error: Fatal Error in Resource';
Alert - Sev 20 Error: Fatal Error in Current Process';
Alert - Sev 21 Error: Fatal Error in Database Process';
Alert - Sev 22 Error Fatal Error: Table Integrity Suspect';
Alert - Sev 23 Error: Fatal Error Database Integrity Suspect';
Alert - Sev 24 Error: Fatal Hardware Error';
' Alert - Sev 25 Error: Fatal Error'


Alan

cannot login to sql server using domain account

hi all,

 i added my domain account\username and password using credentail manager like below shown in box.

now how can i logon to sqlserver using this domain account...so that i can access client servers and databases(using vpn)..

pls help asap

thanx in advance..

control panel-->System and Security-->Credential Manager.


lucky

Upgrade path from Access 2003/SQL 2003 ADP to cloud, Azure, etc.

My company uses a massive client database to track all interactions with our clients -- phone log, billing info, authorized users, associates, products and services they subscribe to, etc. -- as well as separate records for leads and clients. There are over 25,000 clients and leads in the database and each client or lead has at least 30 selectable options plus numerous phone/interaction log entries.

The database is in MS-SQL 2003 Server with an Access 2003 ADP front-end running on Windows Server 2003, accessible from over 30 user accounts on the WS2003 box and accessed either over RDP or in-house XP clients.

Therein lies my problem. I did not build this monster, but am now the servers admin for this company and so it has become "my problem". Windows XP and Office 2003 are already past EOL and Windows Server 2003 will be EOL in July 2015.  However, Access 2013 does not support the ADP file format and so I cannot open the ADP on a newer computer. 

Rewriting the database and its records -- estimating there are over 50,000,000 records in this database -- is prohibitive. My employer would rather use the WS2003 servers to perpetuity than rewrite this beast. However, knowing what I do about the security risks and the confidential client data stored in it, I am arguing that we must eliminate all of our XP/2003 servers ASAP or we will be the next Target or Home Depot. 

What options do we have? Cost is a factor but not a deal-breaker since we have to do something. 
Ideally, I would like to be able to migrate the MS-SQL 2003 back end to Azure SQL; then hire a programmer to rewrite the .ADP Access 2003 file into either a .NET application or a MS Access 2013 front end.  However, we cannot afford much downtime for this -- as our 30+ staff are routinely and simultaneously entering and transcribing phone calls throughout the work day -- and whatever we do still needs to be able to be simultaneously accessed by multiple staff members.

I should add that I am not going to be programming this myself; I am the department head and supervisor of this project, but will be putting together the job description and work order for the developer we hire or contract with to do this job. So what I need from the community is a recommendation on how we should go about this:  Which services, which software, and how should we implement it?

Thank you in advance.

Filegroup/Partitioning

Hi All,

I want to take advice from all of experts,My database is located at data center and System Admin is telling to me SAN disk is sharable it means San disk is shared with many server and provide to us particular amount of space(1 TB) from SAN   (i don't have too much knowledge about hardware) .If I am wrong then please correct to me

My second question is if its sharable then its doesn't improve any  performance if i adding filegroup  /adding file (ndf )/partitioning 

thanks

Adding semicolon in Transact SQL statements

Hi All,

I am migrating a database from MS SQL Server 2008 to MS SQL Server 2012. I heard that the TRANSACT SQL statements in the 2012 version expects a semicolon at the end of every statement. Since it is not possible to modify every sql file one by one, is there any parsers or add ons available to rectify this?

Please let me know if any other options are available for this requirement.

Thanks,

DeeJay007

 

running 8.1 64 bit and sql server 5 32bit keeps installing on my brand new HP

My old laptop has sql server 5 32bit on it and I just bought a HP Pavilion 500-200t.  As soon as I connect to the internet, the sql 5 comes back on my 64bit computer and makes it very slow.  I want to uninstall the 5 because I can't update it to run 64bit.  Any help with this would be greatly helpful

Disk speed test

I found this code on the following link. I tested it against tempdb and another database with the same options. THe speed between the two are lot different. THe tempdb is way faster than the other database. Any ideas of why this is?

http://www.sqlusa.com/bestpractices2005/administration/diskspeedtest/


Alan

Is it possible to run a mdf database without SQL Server

I deployed a setup of windows application which have a .mdf database file included with this setup. I want to install it to another machine where I don't want to install sql server. Is it possible to run the application?

An error 1069 - )The service did not start due to logon failure) occurred while performing this service operation ...

Hi All,

 

We seem to be being plagued by the error below by our SQL Server agent. This happens almost everytime we restart the server that has been running for a day or two.

 

Our SQL Server Agent uses a none expiring domain credential. I understand that this problem only happens when the profile being used by the SQL Servr Agent has changed (password change). What puzzles me is that the login is A ok and no changes has been made to it's password.

 

We always resolve this problem by changing the login used in the SQL Server Agent to local and after that, returning it back to it's original domain login. Unfortunately, we cant always do this everytime something goes wrong.

 

Can anyone please help us shed a light on this? We're using SQL2k with SP3a. Thanks!

 

Error:

An error 1069 - )The service did not start due to logon failure) occurred while performing this service operation on the SQLServerAgent service.

 

 

Regards,

Joseph

insert script for data data insertion into table having identity column

Hi all,

  i need to write a normal insert script for inserting records into a table having identity column.now, my doubt is whether we have to give the value for identity column? But,it normally takes contionus values like 1,2,3,4.........ryt

what's necessary to wirte like values for identity column also

for eg:

create table pen(id int identity(1,1) not null, name varchar(10))

do we have to give script as below?

insert into pen(id,name)values(1,'abcd')

insert into pen (id,name) values(2,'jkl')

or

insert into pen(name) values('abcd')

insert into pen(name) vaues('jkl')

what's better way to write insert script..

please help

thanx in advance..


lucky

The SQLAGENT$InstanceName service on ServerName started and then stopped.

SQL Server 2012 on OS 2012

The port number of Analysis Services was changed to the same number as the SQL Server Engine and SQL Server Agent.  This was done by someone else and not me.  What happened was that the SQL Server Engine and Agent stopped.  I altered the port number for the SQL Server Engine and I got it working.  But I cannot start SQL Server Agent.  When I look at the log I get the following:

2014-09-25 15:37:37 - ? [100] Microsoft SQLServerAgent version 11.0.3431.0 (X64 unicode retail build) : Process ID 5172
2014-09-25 15:37:37 - ? [495] The SQL Server Agent startup service account is NT Service\SQLAgent$InstanceNameHere.
2014-09-25 15:37:37 - ! [150] SQL Server does not accept the connection (error: 64). Waiting for Sql Server to allow connections. Operation attempted was: Verify Connection On Start.
2014-09-25 15:37:37 - ! [000] Unable to connect to server 'ServerNameHere\InstanceNameHere'; SQLServerAgent cannot start
2014-09-25 15:37:37 - ! [298] SQLServer Error: 26, Client unable to establish connection because an error was encountered during handshakes before login. Common causes include client attempting to connect to an unsupported version of SQL Server, server too busy to accept new connections or a resource limitation (memory or maximum allowed connections) on the server. [SQLSTATE 08001]
2014-09-25 15:37:37 - ! [298] SQLServer Error: 64, TCP Provider: The specified network name is no longer available. [SQLSTATE 08001]
2014-09-25 15:37:37 - ! [298] SQLServer Error: 26, Client unable to establish connection [SQLSTATE 08001]
2014-09-25 15:37:37 - ! [298] SQLServer Error: 64, Client unable to establish connection due to prelogin failure [SQLSTATE 08001]
2014-09-25 15:37:37 - ! [382] Logon to server 'ServerNameHere\InstanceNameHere' failed (DisableAgentXPs)
2014-09-25 15:37:37 - ? [098] SQLServerAgent terminated (normally)

I have looked at various solutions and they don't seem to fix it.  Can anyone point me in the right direction?


lcerni

SQL Server reboot recommedations

SQL Server Guru's,

We usually follows the weekly/ monthly/ quarterly SQL Server reboot as a general practice, but I did not came across any recommendations from MS like after certain days SQL Services/ Server needs to be restarted?

Please guide..thank you in advance

Regards,

Nilesh


- Nilesh

SQL Server Memory Performance

Windows 2012 R2 DataCanter

SQL Server 2012 SP1 Enterprise

The server has 36 GB of memory of which SQL Server has a Max Memory of 32 GB. When the server re-starts, the application that uses the database is fast/has a good response time. However, after a few hours, SQL Server uses all of it's assigned 32 GB of Memory and the application performance falls. When SQL Server is re-started, again, performance is good until a few hours when SQL Server takes all of the assigned 32 GB of memory and then performance slows. 

Glenn Berry's query:

-- SQL Server Process Address space info  (Query 32) (Process Memory)
--(shows whether locked pages is enabled, among other things)
SELECT physical_memory_in_use_kb/1024 AS [SQL Server Memory Usage (MB)],
       large_page_allocations_kb, locked_page_allocations_kb, page_fault_count, 
  memory_utilization_percentage, available_commit_limit_kb, 
  process_physical_memory_low, process_virtual_memory_low
FROM sys.dm_os_process_memory WITH (NOLOCK) OPTION (RECOMPILE);

-- You want to see 0 for process_physical_memory_low
-- You want to see 0 for process_virtual_memory_low
-- This indicates that you are not under internal memory pressure

shows 0 for process_physical_memory_low or  process_virtual_memory_low.

I am not able to understand why performance is better at re-start. If we need better performance, should we keep re-starting SQL Server?

-Jeelani


SQL2008R2 upgrade SP1 to SP2 with VS2008 Shell

Hi, 

Need to upgrade a production instance of SQL2008R2 from SP1 to SP3.  Seems fairly straightforward to do however the this server has a version of Visual Studio 2008 Shell (integrated) installed which I cannot find any reference to in the documentation. 

This server is used to create/run SSIS jobs via sql agent and also SSRS reports.

  • If I install SP3 and there are issues can I just remove the KB from installed programs to put the environment back? 
  • Is this install going to upgrade Visual Studio, which may in itself need to be rolled back if there are issues? 
  • What is this shell version of visual studio, is it likely to be an issue? 

I have no server with the same setup on which to test this so any advice would be great.

Thanks 

 


cluster index view: Online VS Offline

Hello, 

I have a table SALES that have around 500 clustered index views based on it. 

Now, in oder to edit the table (add more rows) I drop all views, add the data and then create again the views and cluster index. 

This procedure is slow, very slow. 

Now, I want to know if changing the option to online views, I can add more rows to the main table so I don´t need to re-reate every single view?

Does this works for this purpose?


Gilberto H.

Compile locks on Resource database only

Our server was recently crippled by blocked processes on the Resource database.

Restarting the instance resolved the problem, however I would like to understand why Resource DB was blocking on compile, yet no other database was experiencing blocking.

<blocked-process-report monitorLoop="717845">
 <blocked-process>
  <process id="processeb92c99c38" taskpriority="5" logused="0" waitresource="OBJECT: 32767:-412:0 [COMPILE]" waittime="7822" ownerId="6639115589" transactionname="sqlsource_transform" lasttranstarted="2014-09-05T23:00:11.117" XDES="0x201b053d20" lockMode="X" schedulerid="19" kpid="10208" status="suspended" spid="819" sbid="0" ecid="0" priority="-5" trancount="0" lastbatchstarted="2014-09-05T23:00:11.117" lastbatchcompleted="2014-09-05T23:00:11.117" lastattention="1900-01-01T00:00:00.117" clientapp="ediEnterpriseServiceRunner" hostname="WG1-SPRC-22" hostpid="138648" loginname="OdysseyAdmin" isolationlevel="read committed (2)" xactid="6639115589" currentdb="796" lockTimeout="4294967295" clientoption1="671090784" clientoption2="128056">
   <executionStack>
    <frame line="2" stmtstart="-1" sqlhandle="0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
    <frame line="2" stmtstart="-1" sqlhandle="0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
    <frame line="2" stmtstart="-1" sqlhandle="0x02000000b8e27d16fe8d28b092004808170c1d201fbac34b0000000000000000000000000000000000000000"/>
   </executionStack>
   <inputbuf>

SELECT name, type_desc
FROM [Odyssey1_SD001].sys.triggers
WHERE parent_class = 0
AND is_ms_shipped = 0
AND is_disabled = 0   </inputbuf>
  </process>
 </blocked-process>
 <blocking-process>
  <process status="suspended" waitresource="OBJECT: 32767:-412:0 [COMPILE]" waittime="8574" spid="766" sbid="0" ecid="0" priority="-5" trancount="0" lastbatchstarted="2014-09-05T23:00:10.367" lastbatchcompleted="2014-09-05T23:00:10.367" lastattention="1900-01-01T00:00:00.367" clientapp="ediEnterpriseServiceRunner" hostname="WG1-SPRC-24" hostpid="18348" loginname="OdysseyAdmin" isolationlevel="read committed (2)" xactid="6639111342" currentdb="1070" lockTimeout="4294967295" clientoption1="671090784" clientoption2="128056">
   <executionStack>
    <frame line="2" stmtstart="-1" sqlhandle="0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
    <frame line="2" stmtstart="-1" sqlhandle="0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"/>
    <frame line="2" stmtstart="-1" sqlhandle="0x02000000f030cd2a8c487038f8e4314b6bf429f9681699700000000000000000000000000000000000000000"/>
   </executionStack>
   <inputbuf>

SELECT name, type_desc
FROM [Odyssey2_SD001].sys.triggers
WHERE parent_class = 0
AND is_ms_shipped = 0
AND is_disabled = 0   </inputbuf>
  </process>
 </blocking-process>
</blocked-process-report>

Calling all SS DBE Gurus! Now is your time! Step up and be counted!

Dear clever clogs and smarty pants!

We need YOU to lighten up our dark evenings and warm our hearts with your TechNet Wiki articles!

Yes, it's THAT time of the month again, submissions time!

September has seen a huge amount of amazing content from our community, providing plenty of fresh and fruity facts and figures to fill the tummies of techies, the world over.

We have some new manes. Some legends. Some icons!!

TechNet Wiki Gurus are beloved the world over and treasured by their countries.

Now is your turn.

You've waited all of your life for this.

Mark this moment as where it all began...

This is where your amazing future starts for you!

 

All you have to do is add an article to TechNet Wiki from your own specialist field. Something that fits into one of the categories listed on the submissions page. Copy in your own blog posts, a forum solution, a white paper, or just something you had to solve for your own day's work today.

Drop us some nifty knowledge, or superb snippets, and become MICROSOFT TECHNOLOGY GURU OF THE MONTH!

This is an official Microsoft TechNet recognition, where people such as yourselves can truly get noticed!

HOW TO WIN

1) Please copy over your Microsoft technical solutions and revelations toTechNet Wiki.

2) Add a link to it on THIS WIKI COMPETITION PAGE (so we know you've contributed)

3) Every month, we will highlight your contributions, and select a "Guru of the Month" in each technology.

If you win, we will sing your praises in blogs and forums, similar to the weekly contributor awards. Once "on our radar" and making your mark, you will probably be interviewed for your greatness, and maybe eventually even invited into other inner TechNet/MSDN circles!

Winning this award in your favoured technology will help us learn the active members in each community.

Feel free to ask any questions below.

More about TechNet Guru Awards

Thanks in advance!
Pete Laker
Image may be NSFW.
Clik here to view.


#PEJL

Got any nice code? If you invest time in coding an elegant, novel or impressive answer on MSDN forums, why not copy it over to the one and onlyTechNet Wiki, for future generations to benefit from! You'll never get archived again!

If you are a member of any user groups, please make sure you list them in the Microsoft User Groups Portal. Microsoft are trying to help promote your groups, and collating them here is the first step.

Can CDC enabled database DIFF backups be RESTORED while maintaining the CDC integrity?

We tried restoring FULL + subsequent DIFF backups of a CDC enabled database to a different SQL server and found that the CDC integrity is not being maintained. We did RESTORE the databases with the KEEP_CDC option.

Can someone please guide us on how to successfully restore the CDC enabled database backups(FULL + DIFF) while maintaining the CDC integrity?

Note: SQL Server Version: SQL Server 2012 SP1 CU2

Viewing all 12963 articles
Browse latest View live


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