Switch Team Foundation Server account - authentication

I am connecting to two different accounts on TFS online service with VS2008. For the past week, I have been experiencing an authentication issue when I try to switch between those two accounts.
When I open VS, it automatically connects to one of them (the last one I connected) and everything works fine. But if I choose to switch to another TFS account, I am prompted to log in and then the screen is redirected to the TFS Status web service.
I use the same login to connect to both accounts, I am the owner of these accounts and I can connect to both of these accounts with other versions of visual studio without a problem.
Any ideas?

Related

Executing SQL Server 2014 Configuration Manager

What It basically says is that this application was blocked for my own protection. It also says that An administrator refused the execution of this application and I should contact him (the administrator).
I'm using Windows 10. I only have one account and I'm an administrator. I can't login into SQL because I need to run the service first.
I tried multiple methods to get access to this including: Services from Task manager, Computer Management , typing SQLServerManager12.msc everything resulted to the same thing. except the Services thing, when I start the SQL service, It doesn't want to.

which account does MSDE execute under?

have a .net app that talks to a locally hosted MSDE instance -does anyone know the user account the MSDE runs under?
The business sysadmins have released a bunch of "upgrades" to PC's (apparently for active directory and a bunch of other stuff) and now the app cannot connect to the database - so we figure the user account may have been deleted.
Buzz
MSDE - I haven't come across that in a while, that dates back to SQL Server 2000! (MSDE was replaced with SQL Server Express in 2005, so you're a bit out of date).
Anyway, MSDE runs as an NT service, and every service (at least up to Windows Vista) runs under a user account: often one of SYSTEM, NetworkService, or LocalService (Windows 7 and later introduces the concept of Service Identities, which is complicated). You can also run a service under its own user identity, which can be a built-in principal like SYSTEM, a local user account, or a domain account.
I've forgotten the defaults that MSDE uses, but considering it was made in 1999/2000 before NetworkService was invented, it probably runs under SYSTEM or LocalService. To be sure, check your Services.msc listing.
As for the failure-to-connect, that could be caused by anything: firewall, configuration error, etc, not just a wrong service identity.
So anyway, check your services.msc and your Application Event Log, then report back with your findings.

How to setup a WebForms authentication web app to connect to SSAS?

I'm trying to connect a web forms application to an SSAS Cube. The app is using web forms authentication and it is using web roles in Azure. The SSAS cube is on a Virtual Machine within Azure. There is no domain installed. The web app is using GrapeCity's Active Analysis control. When running the app i get the error "An existing connection was forcibly closed by the remote host". While profiling on the server I get an "Anonymous Logon" attempt.
How can I set this up?
SSAS uses Windows authentication only, so either:
1) You somehow get your web app's application pool to run under a windows account that can access the cube box (Sounds unlikely).
2) You have your application pool run under a windows account and create a windows account with the same username/password on the cube box, and assign it the permissions (Used to work, I think it still does).
3) You allow Anonymous Logon read permissions to your cube. I know you can do this at the server level (Dev enviroments..), I haven't tried it at the cube role level.
These are the ones I know of, best of luck.
EDIT: Sorry, thought I'd forgotten one, there is basic authentication if you add IIS as an extra layer, you have to set it up to go via the MSDMPump.dll, full explanation here: http://msdn.microsoft.com/en-us/library/gg492140.aspx

Add a deployment administrator to CRM 4.0 using SQL

Is there a way to add a deployment administrator to Microsoft CRM 4.0 using a sql query against the CRM database? The person that setup the CRM was the only one who was the Deployment Administrator and he has left and his account was deactivated before another Deployment Administrator could be added using the deployment manager tool. Or is there another way of adding another Deployment Administrator?
The way to set additional deployment administrators is through the "Deployment Manager" mmc console. Of course that the console must be opened under the existing deployment administrator AD account.
If you say that the account was disabled from the AD, then reenable it, reset the password to something you know and then open the console and add another Deployment Manager.
On the other hand, if the account was deactivated from CRM, than that means that another CRM user has the privilege to activate/deactivate users ... so log on with that user and reactivate the account.
Hope this helps.
There is no supported way to add a deployment administrator to Dynamics CRM 4.0 SQL. It is important that you setup at least two deployment administrators in the event that one account is deactivated. The only option would be to reinstall CRM and then import the organization. In our case we were fortunate that we were able to have the deactivated account reactivated and we were able to add at least two deployment administrators in both the UAT and PROD environments.
In order to register a CRM plugin you need to be a CRM System Admin, Customizer and Deployment Administrator.

Report Server not available after Team Foundation Server 2008 SP1 install

We installed SP1 on our Team Foundation Server 2008 server. Everything seems fine after the install, except there is a red X on the Reports folder in the Team Explorer in Visual Studio. If we attempt to access the Reporting Services web site, we get a message that says that the "report server is unavailable". There were no errors during the installation.
The Reporting Services service started up fine and left no errors in the event log. We looked at the Reporting Services Configuration Tool and everything shows as OK. We tried restarting the RS service and rebooting the machine. Again, no errors but still no report availability.
The SQL Server instance where our data lives is up and running fine and we can query the OLAP cube and the relational side with no problem. All of our developer machines are already at VSTS 2008 SP1. Visual Studio is not installed on the server.
We looked at the logs files in the RS folder and the only errors that show are the ones that we get when we try to access the web site from IE, but that don't seem to contain any more info about the root cause.
Any help would be greatly appreciated. I'll post any updates on other things we try here.
UPDATE: There is a login error showing up the ReportServer(timestamp).log file. The login on the reporting services service is not the login that is showing up in this error, so I'm not yet sure what process is actually trying to make the connection to the db.
We got this resolved. It appears that the TFS 2008 SP1 install process decided to change the identity setting of application pool for the Reporting Services web site. To resolve we needed to:
Open Internet Information Server Manager
Go into Application Pools
Right click on the Reporting Services application pool
Click on the Identity tab
Change the account from NetworkService to our TFS domain account
Edit the rsreportserver.config located in "\Program Files\Microsoft SQL Server\MSSQL.1\Reporting
Change the "NT Authority\NetworkService" to "OurDomain\TFSDomainAccount"
Restart IIS
Hope this saves someone else some time.
Check the IIS application pools. My feeling is that reporting services doesn't play nice with other web applications (usually I've fixed this in the past by setting a seperate pool for the other applications).