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

TransReplicator Software, does\has anyone used this software to manage dev and qa db servers?

$
0
0

I just want to know if any SQL administrators have used or currently using TransReplicator - http://www.transreplicator.com/default.html  I am looking into a way to manage data on dev and qa servers.  Thanks.

P.S if this belongs in a different sub-forum please let me know.


Copy SQL Logins from SQL Server 2005 to SQL Server 2012

$
0
0

Hello,

Let me start off by stating I am not a seasoned DBA. I have been given a project to copy everything (SQL databases, SSIS Packages, SQL Jobs, Logins, Server Roles assigned to users, etc…). Basically set up a new SQL Server so that I can decommission the old SQL Server. I think I have everything copied over except for the SQL logins. I was able to copy over the users with Windows (Active directory) logins by simply choosing Script login as; CREATE To; New Query Editor Window on the source SQL server and then copy, paste and run the query on the destination server. When I follow this same method on the SQL logins the query is created as below:

/****** Object: Login [MyDataBase]    Script Date: 09/08/2015 11:50:40 ******/

/* For security reasons the login is created disabled and with a random password. */

/****** Object: Login [MyDataBase]    Script Date: 09/08/2015 11:50:40 ******/

CREATELOGIN [MyDataBase] WITHPASSWORD=N'¬G4~)mà_u131 ?_6;$ãÍæ)KÞÅ´ò5_ëÜÉw_h|',DEFAULT_DATABASE=[MyDataBase],DEFAULT_LANGUAGE=[us_english],CHECK_EXPIRATION=OFF,CHECK_POLICY=OFF

GO

ALTERLOGIN [MyDataBase]DISABLE

My question is; if I create the SQL login using the script above it will generate a random password. How can I change this password if it is random and I don’t know what it is?

If I go into the properties of a SQL login I see the Password and Confirm password fields are populated. The person who set this up no longer works at my instution so I don’t know which password he created for the SQL logins.

How do I copy a SQL login from the source SQL server to the new destination SQL server?

Also, When I finally do copy over the SQL logins will there be an issue with the SID’s? If yes, what will that effect?

The source SQL server is SQL Server 2005 SP2 standard edition 32 bit. The OS is Windows Server 2003 R2 SP2. The destination SQL server is SQL Server 2012 Developer Edition x64 and the OS is Windows Server 2012 R2 Standard.

Any assistance will be greatly appreciated. Thank you.

Dave


David Young

error on install: Performance counter registry hive consistency check - Status:Failed

$
0
0

Hi, I'm tryng to install sql server 2008 in win vista and in the System Configuration Check, item: Performance counter registry hive consistency check has the status FAILED  all the others items has PASSED and the setup stops here theonly option is CANCEL. Thus anyone knows the possible problem and resolution to this?

 

best regards

Unable to register SPN using domain service account SQL 2012

$
0
0

I am working with a client who is rolling out 50+ VM's based of a template we created.  This is SQL 2012 CU1 running on Windows Server 2008 R2.  Using the default service account the installer has it registers fine and we get the following in the SQL log.

The SQL Server Network Interface library successfully registered the Service Principal Name (SPN) [ MSSQLSvc/server.domain.com:1433 ] for the SQL Server service.

When we change to a domain service account through SQL configuration manager we see the following and cannot connect remote using integrated authentication

The SQL Server Network Interface library could not register the Service Principal Name (SPN) [ MSSQLSvc/server.domain.com:1433 ] for the SQL Server service. Windows return code: 0x2098, state: 15. Failure to register a SPN might cause integrated authentication to use NTLM instead of Kerberos. This is an informational message. Further action is only required if Kerberos authentication is required by authentication policies and if the SPN has not been manually registered.

My understanding is you should and could change service accounts using the SQL Server Configuration Manager and it would set all permissions.  Is there something we need to do in addition to get this up and working?



Convert DTS to SSIS | Document SSIS | 30+ SSIS Tasks | Real-time SSIS Monitoring | Quick Starts | BI Blitz

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?

SSMA - Changing Packaged Types

$
0
0

I need to make minor changes to my Oracle packages to properly resolve ROWTYPE.  SSMA for Oracle V6 allows me to change Packaged Functions and Packaged Procdures, but not Packaged Types.  I'd like to change the following statement

TYPE gv_table1_address_type IS TABLE OF table1%ROWTYPE INDEX BY PLS_INTEGER;

to

TYPE gv_table1_address_type IS TABLE OF schema1.table1%ROWTYPE INDEX BY PLS_INTEGER;

How can I change/edit my Packaged Types?

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

Transreplicator tool for Windows 7 machine

$
0
0

Hi,

I would like to use Transreplicator Tool (http://www.transreplicator.com/home.shtm) for windows 7 machine with SQL server 2008 version for DB comparison.

Anyone can help me whether Win7 machine will support Transreplicator tool.


Windows Server 2008 R2 DataCenter + Sql 2008 install leads to CAS Policy error

$
0
0

I created a new Windows Server 2008 R2 SP1 DataCenter VM using a Microsoft Azure image

I enabled the .NET 351 Framework via Features in Service Manager and installed IE11 (as I needed to download a file from OneDrive)

As soon I began to install sql 2008 I received this error:

"Microsoft.NET Framework CAS Policy Manager has stopped working"

Problem signature:  BEX64
Application Name:   caspol.exe
Application version: 2.0.50727.5483
Fault module Name:  System.Data.Dll


The odd part is I did this very same install on an Azure Windows VM 3 or 4 months ago and it worked fine.
Any ideas much appreciated.

edm2

Installed 2014 developer edition but SSMS says license has expired

$
0
0

Installed SQL Server 2014 to evaluate it. The evaluation has expired. I uninstalled SQL Server 2014. Via my MSDN subscription I downloaded the Developers edition for SQL Server 2014.

It installed ok but SSMS.exe says that the evaluation period has expired.

---------------------------
Microsoft SQL Server Management Studio
---------------------------
Evaluation period has expired. For information on how to upgrade your evaluation software please go to http://www.microsoft.com/sql/howtobuy
---------------------------
OK   
---------------------------

I don't want to buy it I have the developers edition and I want to use it to develop with not use in a commercial sense.


I tried following the advice here https://support.microsoft.com/en-us/kb/971268?wa=wsignin1.0 even though it is for an older version. Didn't work.

I now as a consequence have 2 named instances of SQL Server 2014 but can't play with either of them due to SSMS being expired.

How can one fix this short of nuking my notebook and starting again which I won't do?

All SQL Server 2014 upgrades are failing

$
0
0

Hi,

Im trying to update SQL Server 2014 but so far havent been able to.
Have tried SP1 and several other updates, but they all seem to fail.
SP1 upgrade fails with Installation Failure: Windows failed to install the following update with error 0x80070643: Microsoft SQL Server 2014 Service Pack 1 (KB3058865). Event Id: 20

Apparently there is some kind of mismatch between the versions updater is expecting.

Have also tried repair function from some other installation medi , this always fails since some RTM required file is missing from media.

I have originally made this development image based on Azure BizTalk 2013 R2 delopment image from gallery.
When I made a version upgrade to SQL Server Enterprise. MDS is also present in current installation.

When trying to update RTM CU7 i get following error:

The version of SQL Server instance Shared Component does not match the version expected by the SQL Server update. The installed SQL Server product version is 12.0.2000.10, and the expected SQL Server version is 12.0.2000.8.

How can fix my environment to make a successful upgrade? 

Any way to prevent members of SQLAgentOperatorRole from creating jobs?

$
0
0

I need some people to have access to troubleshoot/start/stop SQL jobs their accounts wont own in SQL 2014.  To do this I've granted role membership to SQLAgentOperatorRole in msdb and revoked EXECUTE on sp_add_job, however anyone with membership to the operator role can still create jobs.

Is there no way to override the rights provided by SQLAgentOperatorRole?  Or is there a way to provide members of SQLAgentReaderRole the ability to start/stop jobs they don't own as well as prevent them from creating their own jobs?

Just trying to baton down the hatch for SQL security.  Any help is appreciated.  Thanks.

firewall issue with SQL

$
0
0

I have a named sql instance on SQL 2012. The issue is that the clients is having problem connecting to it when the firewall is on, this is not consistent. The connection is fine when I disabled the firewall. When I turned the Windows firewall back on, it will work for awhile and it fails. I checked the SQL configuration manager and saw that a dynamic port is assigned to the named instance. I did put that in the firewall rule and unblock it. I also put TCP 1433 and 1434 as well as the browser service port, TCP\UDP 2382 and it still didn't work.

What is the best way to determine what port does the named instance are listening?

Thanks

Upgrading Symantec 2010 To 2014 & facing issue in SQL

$
0
0

We are upgrading Symantec 2010 To 2014 & facing issue in SQL.

The following error has occurred:
An error occurred during the installation of assembly 'Microsoft.VC80.ATL,version="8.0.50727.6229",publicKeyToken="1fc8b3b9a1e18e3b",processor Architecture="amd64", Please refer to Help and Support for more information. HRESULT: 0x8007370B.

please support on this asap.

Regards,

Ganesh B.






SSMS 2014 broken by Visual Studio 2010 SP1 update from Windows Update

$
0
0

I ran a windows update today on my Windows Server 2008 R2 box that is running SQL Server 2014 Standard.  One of the options was for Visual Studio 2010 SP1.  Great, I thought, maybe this will fix the issue with not being able to open certain files with the standalone VS 2010 program.  Nope.  On reboot now when I open SSMS (2014) it throws an error:

"object reference not set to an instance of an object"

This occurs several more times and ends with the following error:

Microsoft.SqlServer.Management.IRegistrationService' not found

I set SSMS to log events with the -log flag and found the following in the log file (there were a few different ones but I don't have the file in front of me at the moment):

SetSite failed for package [VsDebugPresentationPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]

I've tried uninstalling all the Visual Studio 2010 components and uninstalling the SSMS tools from SQL Server then putting them back in but no luck, all the same errors are being thrown.  

Has anyone run across this and know of a fix?



SQL Server Failures

$
0
0

Please refer to my other post: Team Foundation Server 2013 Update 4 - Completely crashing

The issue resolved itself, but basically TFS appeared to have triggered a state where SQL Server was unusable to the point an Administrator couldn't even restart the SQL services, and no one could connect to any of the databases.  We had to restart the server, and connectivity was available for a short while before the issue reoccurred.  All event logs related to TFS point to the fact it couldn't connect to the database, I couldn't find any indication as to why SQL Server went into that state.

Can you please help me troubleshoot what actually caused the issue (via my SQL Logs or Windows logs) so I can prevent it from happening again?  What would you like for me to share?

Thanks, Jibba

Full list of MS SQL 2000 features that are supported in compatibilty 80 mode but not available in 2008 R2 compatibility 100

$
0
0

Hello Everyone,

Could you possibly suggest where I can find a full list MS SQL 2000 features that are supported in 2008 R2 compatibilty 80 mode but not available in  compatibility 100?

Thanks


SSIS question

Downgrade Business Intelligence 2012 to Standard 2014

$
0
0

Hi

I wanted to upgrade our sql server.  Apparently we had a SQL 2012 business intelligence.  We are not using any of BI features. When installing 2014, the installwizard stops on "FeatureUpgradeMatrixCheck : Checks whether the specified feature meets SQL Server 2014 upgrade requirements." 

(extra info: The specified edition upgrade is not supported. For information about supported upgrade paths, see the SQL Server 2014 version and edition upgrade in Books Online.)

How can I force a downgrade without having to run 2 sql servers next too each other and moving all db's manually?


Dampee (blog | twitter)

error on installing sql server 2014 enterprise

$
0
0

Hi I got this error and am being given the option of either retrying (which I've done twice) or continuing setup.

Why did this happen and should I just continue setup?  The web doesn't seem to address it occurring during installation.

ExecuteNonQuery requires an open and available connection.  The connection's current state is closed.  Click retry to retry the failed action or click cancel to cancel this action and continue setup.


SQL Server 2014 Management Studio not available on Start Menu All Apps

$
0
0
I have upgraded to Windows 10 and uninstalled all versions of SQL Server (2005, 2008 R2, 2012) and installed SQL Server 2014, SQL Server 2014 Management Studio and SQL Server 2014 Configuration Manager.  SQL Server Management Studio and Configuration Manager are not available in the Start Menu.  They do not appear in Programs and Features either.  I have created Desktop Shortcuts to both and they appear to work correctly.  I have tried to pin the .exe files to the Start Menu but this did not work either.  Does anyone know why they are not in the Start Menu or Programs and Features?
Viewing all 4282 articles
Browse latest View live


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