What else can be done with Rights to Run Sql Profiler - profiler

when I told my DBA team to give me rights to run Sql profiler in test server they said giving profiler rights means giving admin rights which is against our policy
Can anybody tell me that if a user has Alter trace right to run profiler what else he has access to that is apart from running sql profiler what else he can do with Alter Trace Rights

Related

TFS 2015 SQL Server evaluation period has expired

I am taking over the TFS 2015 a previous employee set up.
When trying to access the webapp I am getting an HTTP 500 error "The website is under maintenance".
When trying to open the Team Foundation Server Administration Console I am getting the "... TF246017: Team Foundation Server could not connect to the database..."
When looking at the SQL Server ERRORLOG I am seeing the "SQL Server evaluation period has expired."
It seems to me previous employee setup the trial version of TFS 2015.
How could I verify this is true and how can I upgrade the version to a purchased license?
Thanks
The root cause is "SQL Server evaluation period has expired."
You can try testing the SQL Server instance in TFS Administration Console (Generally the test connection should be failed if the SQL license expired) :
Select specific Collection --> Stop the collecion --> Edit Settings --> Test
To activate the SQL Server again, you need an edition upgrade for SQL Server . To upgrade, you need to have installation media of the destination version. SQL Server evaluation edition can be upgraded to standard, developer, enterprise editions.
Here are the steps:
From SQL Server installation media, launch setup.exe.
From the SQL Server Installation Center click Maintenance, and then
select Edition Upgrade
It would launch Wizard where you need to keep on pressing next, next
and finally “Upgrade”. Make sure that edition shown in the license
terms screen is what you purchased.
Please refer to SQL SERVER – Evaluation Period Has Expired – How to Activate SQL Server? for details.

How to release hung licenses from the client side?

abaqus floating licenses gets hung. For example: if I kill a running job, the tokens that were previously in use (by me) gets hung and if I submit a job again there are no tokens available. When I check the token usage with abaqus licensing ru, it's my machine that’s using the tokens but no other job is running and no one else is using.
At the moment I’m restarting my machine to free up the tokens. Sometimes (Close to all) restart also doesn't help. Simulia Knowledgebase is not of much help.
I also checked whether the lmgrd.exe and ABAQUSLM is running in the process, apparently not. I don't have access to the server, How the client can purge the licenses, which the client checked out?
From the client side, it must be used the command 'lmutil' :
./lmutil lmremove --help
lmutil - Copyright (c) 1989-2014 Flexera Software LLC. All Rights Reserved.
usage: lmremove [-c licfile] feature user host display
lmremove [-c licfile] -h feature host port handle
lmremove [-c licfile] [-tsborrow <client_host>] | [-tsborrowstat]
For the 'licfile' parameter, you can use <server port>#<server name>.
But all users can't do that. Under Linux (I suppose under Windows to) the user that use this command must belong to the 'lmadmin' group on the licenses server.
A good solution is to use the 'TIMEOUT' directive in the option file if Abaqus's vendor daemon authorize this. 'TIMEOUT' define a delay. If a token isn't used during this delay, the server get it (an automatic 'IN' is done) and the token is free for an other user or the same when needed.
The license administrator can forbid this user action. It's very dangerous because all services licenses can be shut down by all members of the 'lmadmin' group. There is now way to limit the user's privileges if he belongs to the 'lmadmin' group on the licences server.
The simple solution is to ask to your licences administrator to release the token. In some case, there is no other solution than stop and restart the licences service.

Oracle OCI and Thin drivers are missing in SQuirreL SQL

I downloaded SQuirreL SQL and I want to use it as an Oracle client, but when I go to Drivers tab, the following jars are missing:
Oracle OCI Driver
Oracle Thin Driver
How can I fix this problem?
Download ojdbc7.jar
you need an Oracle account, but the e-mail is the only important detail that you need to provide (you can add any characters for Work Phone, Company Name, etc.)
Go to the SQuirreL SQL installation folder (E.g.: C:\Program Files\squirrel-sql-3.7.1) > lib and put ojdbc7.jar there.
Restart SQuirreL SQL.
The file ojdbc7.jar has to be downloaded from the following page, as you must accept the license agreement: https://www.oracle.com/technetwork/database/features/jdbc/jdbc-drivers-12c-download-1958347.html
Note that you are not requested to log in nor to provide your email address.

TFS 2013 Admin Console locks Tfs_Configuration preventing its restoration

My dry run attempt to restore a set of TFS databases failed because the admin console reports that Tfs_Configuration already exists and should be dropped before the restore:
TF400990: Database Tfs_Configuration exists on SQL instance
However, the admin console has an open connection to the Tfs_Configuration which prevents me from dropping the database. If I close the admin console, perform the drop, and try to re-launch the admin console it fails because it cannot find the Tfs_Configuration database. So I'm stuck.
I can work around by manually restoring the databases or using the tfsrestore.exe tool (but that won't include the logs -- just the full backup).
So how is restore supposed to work from the admin console? My scenario is total vanilla. Install TFS, backup, quiesce, restore... seems like that should work.
Duh. I had to uninstall the application tier first.

Access denied of random Global Resources in Azure application

Whenever I run the web application, it is fine and the login screen shows. However, when I run the web application in the Azure emulator things go wrong.
It cannot execute the operation "CreateFile" on a random resource file, as shown below, look at the bottom two entries where the result is "ACCESS DENIED". The language of my system is Dutch (nl-NL) so that doesn't have to do with it.
I have opened the properties of these events and they are posted below:
The process w3wp.exe is run under NT AUTHORITY\NETWORK SERVICE and this account has full rights on the parent directory and the actual files inside the directory.
Two additional notes:
I have fully updated Windows 8, Visual Studio 2012, Azure SDK October 2012 etc.
A colleague of mine has got it all up and running with no seemingly changes on his end.
Do you guys have any idea why this happens? Again, it only happens when run in Azure.
It seems that the following didn't hold when I double-checked it:
The process w3wp.exe is run under NT AUTHORITY\NETWORK SERVICE and this account has full rights on the parent directory and the actual files inside the directory.
Only the parent directories had the combination of NETWORK SERVICE and the rights imposed, the individual files didn't. After explicitly setting the rights on the files, the problem was solved.

Resources