Quantcast
Channel: SQL Server Setup & Upgrade forum
Viewing all 5760 articles
Browse latest View live

Multiple "sa" logins on start-up

$
0
0

I have recently started providing assistance to a small business that uses Microsoft Dynamics NAV with SQL server that was set up by the NAV support people.  When the NAV server is started, multiple instances of "sa" show up in the NAV database information. Can anyone explain why this happens. 


Installation Error

$
0
0

Hi,

Can anyone please shed some light on the error below:


Installation is on Windows 7 Professional using a mounted ISO.

Darren

What is SQL Server version for 'SQLSysClrTypes_amd64_enu.msi' and it was installed for product 'Microsoft SQL Server System CLR Types (x64)' from , version '10.50.1447.4'

$
0
0

Hello ,

While upgrading SQL 2008 RTM to SQL 2008 SP4 , We got error of "cached file is missing ,

But to repair this WE could not find SQLSysClrTypes_amd64_enu.msi with version 10.50.1447.4

Where I can download SQLSysClrTypes_amd64_enu.msi  with version10.50.1447.4.

Thanks



Thanks , Prakash ,Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

Is it ok to remove duplicate system PATH entries?

$
0
0

I have a system with many versions of SQL Server installed and I am trying to clean up the PATH (since it is so long).

I noticed I have many (nearly) duplicate entries for SQL Server, varying by only the last slash.   Is it ok to remove either the ones with the slash or the ones without the slash?   For example:

C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE
C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio
C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\
C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn
C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio
C:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\
C:\Program Files\Microsoft SQL Server\100\DTS\Binn
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\
C:\Program Files\Microsoft SQL Server\100\Tools\Binn
C:\Program Files\Microsoft SQL Server\100\Tools\Binn\
C:\Program Files\Microsoft SQL Server\110\DTS\Binn
C:\Program Files\Microsoft SQL Server\110\DTS\Binn\
C:\Program Files\Microsoft SQL Server\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\110\Tools\Binn\
C:\Program Files\Microsoft SQL Server\120\DTS\Binn
C:\Program Files\Microsoft SQL Server\120\DTS\Binn\
C:\Program Files\Microsoft SQL Server\120\Tools\Binn
C:\Program Files\Microsoft SQL Server\120\Tools\Binn\
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn
C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\


MSDN premium subscriber

MOVING LOgGFILE TO DIfferent disk

$
0
0
Do you have to move the entire content of the log folder to the new location

SQL Service Account configuring with Domain Account

$
0
0

I have SQL Server 2014 installed successfully and when I try to chnage the service account to Domain account from the configuration manager I get the error as WMI Provider error could not find the object.

And after that I can see that the domain account is configured with service account and is in stopped state.

When I try to start the service account it says could not start in a timely fashion.

Thanks

SQL Server 2008 R2 Service Pack Update Error: Failed to run patch request for instance: (exit code: -568706566)

$
0
0

Hi,

I tried to install sql server 2008 r2 service pack 3 on inactive instance of passive node but it gave me below error, I did not find any solution on internet.

Error: Failed to run patch request for instance: XYZ (exit code: -568706566)

Step I followed in first attempt:

1. I ran SQLServer2008R2SP3-KB2979597-x64-ENU (this executable file is available in local disk) as administrator and it got failed with above mentioned error.

Step I followed in second attempt:

1. I extracted the files from SQLServer2008R2SP3-KB2979597-x64-ENU and save them to the local disk. After that I ran the setup and again it failed with same error.

Please help!!

Thanks

How to Upgrade SQL 2008 SP2 GDR to SQL 2008 SP4

$
0
0

Hello,

How can I update SQL 2008 SP210.2.4067.0 GDR to SQL 2008SP4 (10.4.6000.29)

As it is not allowing me to directly to upgrade toSP4 (10.4.6000.29)


Thanks , Prakash ,Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.


Dev to Prod

$
0
0

Hi,

I may be mixing two different areas here.

Our DEV machine has an MVC web app with SQL Server 2014 backend (database/data warehouse). We also have SSIS, SSRS and SSAS solutions.

Our PROD machine is now ready and we have installed SQL Server 2014. However, our instance names are different on each machine - DEV and PROD. As the db/dw is fully scripted, I can easily modify the scripts to recreate each on the PROD machine. However, the SSIS, SSRS and SSAS projects are currently linked to the DEV instances.

Do I need to manually update each instance name reference in these projects to the PROD instance name before deployment? Or is there a better procedure?

Also, I am are concerned that I will run into problems when I deploy our MVC web app to IIS on the PROD machine. ON our DEV machine, the MVC Identity system automatically created tables in our database:

dbo.AspNetRoles, dbo.AspNetUsers etc

Should I manually detach and attach these tables in PROD before I deploy the MVC web app?

Is it better to maybe make a copy of the MVC web app in DEV and connect this to the SQL Server instance on the PROD machine to ensure it still works, before I deploy?

Appreciate the help!

Replicating Node A to Node B after a SAP SWPM install on the Primary

$
0
0

Hello I'm hoping somebody might have an answer to my question.

We have two servers we are trying to setup with SQL 2008R2 database mirroring for SAP.  A primary (Node A) and a secondary (Node B) which will be the mirror.

SAP Import / Install was done with Node A through a distributed install via SWPM.

Mirror is setup between Node A and Node B.

SQL Logins from Node A have been created on Node B.

What other Node B "post installation" things need to be done to insure that SAP will work as expected?  Is there a specific order to complete these? 

Install of "SAP Host Agent"  from SAP Software Provisioning Manager
Install of "Operating System Users and Groups" from SAP Software Provisioning Manager
Create SQL Logins
Grant SQL Logins Roles/Rights
Window accounts
Create SQL Jobs

How should this be handled or How is this done so that the SQL Jobs are ready to go on Node B?  

There was special code that had to be added to each job when we did this for SQL AlwaysOn Availablity Groups so that the job new if it was suppose to run on the Primary, Secondary, or Both.

The mirror database is in a state of restoring.  It is can't be accessed.  It would make sense that this would be handled differently.
SQL Backup Devices 
Windows Environment Variables 
Windows Registry Keys 
Configuring SAP Applications for Database Mirroring
User environment of the <sid>adm user
Changes in Default.pfl
DBHOST parameter in the TMS domain profile


These are some of the things we have found, but what else we might be missing.  I have been unable to find a document that lists what needs to be done.  

I would be very interested if anybody else has come across these issues and how you resolved them.

Thank You,

Wade Morris

Sql 2008: change database(s) owner to "dbo"

$
0
0

We have a number of sql 2008 server with database owners running the gamut from current AD users (in Dev), "sa", dbo,  AD name of past DBA, etc. No rhyme or reason at all that I can detect. I am considering changing all database owners to "dbo". What are the consequences of this?

TIA,

edm2

SQL Server Instance not being removed

$
0
0

Hello,

I am facing an issue where I am trying to remove a SQL server instance. The wizard completed successfully and no errors were reported in the wizard or in the log but when I list the instances again the instance I removed was still there and I could connect to the instance with no issues. Is it possible that the instance is broken or corrupt and needs repaired before it can be removed or is there a different way to remove this instance.

Thanks,

Todd

Sorry!

SQL Server Memory

$
0
0

Hello Folks,

I have a question with SQL Server RAM consumption, I have a customer who is running Microsoft Dynamics GP with too many users and too many applications, they had 32 GB RAM on the server and the SQL was consuming the full memory, I started the investigation and below what we did:

1. We have increased the RAM of the server to be 128 GB, their SQL Memory consumption was the same, it took all the available memory.

2. We have segregated the SQL databases into 2 clustered servers and implemented ACTIVE/ACTIVE clustering by having two instances of SQL on each server, kept the major "database" on one server and  moved all other databases to the second server, the second server memory is good and stable, but the first server is still consuming the full memory of the server.

3. We started investigating the database itself, we found major consumption of SQL Memory from custom reports the users been running with un-optimized queries, we have resolved this by creating a "Log Shipping" setup for the database to a new server and moved all the reporting connections to the new server, performance of the server was enhanced a bit, but it still consuming high memory of the server and sometimes by end of the day it reaches the full server memory.

4. Upgraded from SQL Server 2005 to SQL Server 2012 with SP2!

All the above left the SQL for this database that is being used by Microsoft Dynamics GP only and for around 70 concurrent users, which we normally estimate to require 70-80 GB of memory with other customers, but here it is consuming 120 GB and sometimes users reporting slowness and "hangs" during transactions processing, and the only way to reduce the memory usage is by restarting the SQL Server service after working hours.

My questions are the following:

1. Is there a way to get a list of processes and queries that are currently consuming the SQL Server memory? I need to know what is really consuming the memory to take actions accordingly, I tried the "Processes" tab of the "Activity Monitor", but the "Memory Use" column is always between 16 and 24 KB for each query, is there a way to get a break down for all queries that is consuming the memory, so the summation of these will represent the actual memory usage? I found too many scripts over the internet but none returned what I am looking for.

2. Lets say the a big process was initiated and caused the SQL to consume the server memory, is there a way to release this memory usage after the disposal of the process? So the SQL memory usage returns back to the normal situation?

Regards,

Mohammad R. Daoud - Dynamics GP MVP


Regards, Mohammad R. Daoud MVP, MCP, MCBMSP, MCTS, MCBMSS Mob: +962 - 79 -999 65 85 mohdaoud@gmail.com http://mohdaoud.blogspot.com/


Installation of SQL Express 2014 blocked by Framework 4.0

$
0
0

Hello,

I have a very strange problem when I try to install SQL Express 2014 on 1 PC on my network.

The setup is blocking on the step "rules of functionnality" (I hope it is the good translation ...).

I ha ve a message that indicates that there is a problem the following checking : "It exists a Internet connection with the download center for Microsoft Framework 4.0". At the beginning I had Framework 3.5 and 4.5 installed on the PC.

When I tried to install manually Framework 4.0 I had a message that indicated that the setup was not possible because there was a Superior version. So I uninstall v4.5 and install v4.0 normally.

I run again SQL 2014 Express setup but I have always the same error. I take a look on Internet to look for the same problem but I found nothing.

Does someone can help me ?

Thanks in advance.

Anthony


SQL Edition upgrade

$
0
0

I installed SQL 2012 sp1 enterprise evaluation because at the time of the start of the project the licenses was not available.

The SQL eval has expired and now I have to do an edition upgrade. I have looked in to it and it should go smoothly just want to check if there is anything i have missed .

https://technet.microsoft.com/en-us/...ql.110%29.aspx

Based on this I can change edition from sql 2012 sp1 enterprise evaluation to sql 2012 sp1 standard.

I am still waiting to find out whether we have the per core license or the server cal from my boss who failed to send through the license information on time, even though i asked him many times for it.

I have downloaded the ISO from the eopen that includes the license key and run the setup from that and gone to change edition and it comes prepopulated with a key.

So i think i should be ok, I will have to restart the sql server and thus stop all the applications connected to the service.

I read that some people said after changing editions they had problems with the service accounts being reset and changed. Has anyone done this before and have any advice to prevent any issues?


Another question, under the eopen it states there that there is two different license version of the same ISO. ie SQL Server 2012 Standard Edition with SP1 – Per Core and SQL Server 2012 Standard Edition SP1 – Server/CAL.

Both ISO look 100% identical in file name and size. Will i have to find out from my boss which license type he went with when installing the ISO or will it not matter? Just seems odd taht they would have two identiical ISO with different names. There is also a confusing message, "Special Instructions Please Note: SQL Server Standard 2012 with SP1 and SQL Server Standard Core 2012 with SP1 contain the same software."

Microsoft SQL Server Management Studio: Index was outside the bounds of the array. (Microsoft.SqlServer.Smo)

$
0
0

I am getting this error "Index was outside the bounds of the array. (Microsoft.SQLServer.Smo)"


I have downloaded a hotfix, but when I tried running the patch, I was told the expected version is 10.2.4000.0, I am running 10.0.1600.22.


I can not locate the correct patch for my version.


Here is more information that may help.


Microsoft SQL Server Management Studio10.0.1600.22 ((SQL_PreRelease).080709-1414 )
Microsoft Data Access Components (MDAC)6.1.7601.17514 (win7sp1_rtm.101119-1850)
Microsoft MSXML3.0 6.0 
Microsoft Internet Explorer9.11.9600.17041
Microsoft .NET Framework2.0.50727.5485
Operating System6.1.7601

Unable to uninstall SQL Server 2008 R2 - Stuck on SqlEngineConfigAction_remove_unconfigrc_Cpu64

$
0
0

Hi

I have been attempting to uninstall my version of SQL Server 2008 R2 as we are migrating to SQL 2014 and I need to leverage the default instance. I have managed to uninstall all the SQL Server 2008 R2 features except for the database engine. When I attempt to delete the Database Engine it hangs (left it for over 4 hours) at the SqlEngineConfigAction_remove_unconfigrc_Cpu64 section within the uninstall. After checking in the Detail logs for the uninstall I can see that it is stuck at the following step:

2015-09-17 16:49:51 SQLEngine: --RsFxConfiguration: RsFxConfiguration:Uninstall :
2015-09-17 16:49:51 Slp: Sco: Attempting to open SC Manager
2015-09-17 16:49:51 Slp: Sco: Attempting to open service handle for service RsFx0151
2015-09-17 16:49:51 Slp: Sco: Attempting to close service handle for service RsFx0151
2015-09-17 16:49:51 Slp: Sco: Attempting to close SC Manager
2015-09-17 16:49:51 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
2015-09-17 16:49:51 Slp: Sco: Attempting to open registry subkey SYSTEM\CurrentControlSet\Services\RsFx0151\InstancesShares
2015-09-17 16:49:51 Slp: Sco: Attempting to get service status for service RsFx0151
2015-09-17 16:49:51 Slp: Sco: Attempting to open SC Manager
2015-09-17 16:49:51 Slp: Sco: Attempting to open service handle for service RsFx0151
2015-09-17 16:49:51 Slp: Invoking QueryServiceStatus Win32 API
2015-09-17 16:49:51 Slp: Sco: Attempting to close service handle for service RsFx0151
2015-09-17 16:49:51 Slp: Sco: Attempting to close SC Manager
2015-09-17 16:49:51 Slp: Sco: Returning service status Running
2015-09-17 16:49:51 SQLEngine: --RsFxConfiguration: RsFxConfiguration:Uninstall : Issuing driver stop IOCTL

It never gets past this step. I have had to restore my computer 3 - 4 times today because the only way to stop the uninstall was to reboot my machine and then restore so I could attempt to uninstall again.

Before I started the uninstall this last time, I made sure that all SQL Services were disabled; that all service/websites that talked to SQL were disabled but I am still running into this issue. The closest issue I found on that net that was close to the same symptoms (hanging on SqlEngineConfigAction_remove_validation_Cpu64) but I don't have the registry item of AppCompat in the folder to even try setting that registry key to a different value.

Hopefully someone else has encountered this and knows how to fix it because my next steps are a complete reformat but I don't really have the time to start that.

Thanks for your help,

CG

TFS 2013 cals and SQL editions compatibility.

$
0
0

Hello,

  Could somebody let me know if TFS 2013 will work on the Developer version of SQL ?
i.e., this product:

http://www.microsoftstore.com/store/msaus/en_AU/pdp/SQL-Server-2014-Developer-Edition/productID.304734200

Or must it be Standard or Enterprise?

And, as I understand it, purchasing TFS 2013 will give me 5 CALS for the users?

Database Backup restore

$
0
0
I want to restore my SQL Server 2000 database backup to SQL Server 2014.

But can't able to do .
Viewing all 5760 articles
Browse latest View live


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