annonymous 1
annonymous 1

Reputation: 371

TF30063: You are not authorized to access Microsoft-IIS/8.5

I got an issue with the tfs.

Firstly after my tfs server database got full.

So in order to solve it i cleared the table of logs from tfs server.

Now at time of clearing data one of my workspace had checkout of one file. As soon i finished my clearing data, it is giving me this error TF30063: You are not authorized to access Microsoft-IIS/8.5. at every time i try to get latest version.

Thats how i am unable to take latest.

Any help would be appritiable.

Upvotes: 33

Views: 16259

Answers (13)

Daniel A.
Daniel A.

Reputation: 11

Refresh TFS not worked for me

In my case the error disappear restarting Visual Studio

or me, it helped just to restart Visual Studio.

Upvotes: 0

Shahzad
Shahzad

Reputation: 1705

I had the same issue. When I closed an open Source Control Explorer window and all the files in Visual Studio, I was able to check in.

Upvotes: 1

christo8989
christo8989

Reputation: 6826

I had a locked item. When I excluded/undo the locked item it went through.

Upvotes: 0

rvgenius
rvgenius

Reputation: 163

Using Visual Studio 2017 Enterprise with the latest update installed v15.2 (26430.4) on Windows 10 64-bit. The issue has been happening for awhile, it is not new with the latest VS update. We're using a TFS repository hosted on Visual Studio Online, i.e. our TFS repository is at COMPANY.visualstudio.com.

Frequently, when checking in, or attempting to shelve changes from the Team Explorer window in VS, I'll get an error message indicating I'm not authorized to access Microsoft-IIS/10.0. I've had reports of other developers experiencing this as well.

We've discovered the following workarounds.

Clicking the refresh button on the top of the Team Explorer window and then trying the operation again

If you have multiple workspaces, changing to a different one, then back to the original, then trying the operation again

It appears something is "stale" perhaps with the TFS connection and that refreshing it prevents the error message.

Hitting the refresh button over the Team explorer, resolved the issue.

Upvotes: 0

Avnish Patel
Avnish Patel

Reputation: 141

  • 1 : Open TFS window.
  • 2 : Click on Refresh(F5).
  • 3: Try again to Check-in.

CLick here see Solution (Image):

I have faced same issue while check-in on TFS : You are not authorized to access Microsoft-IIS/10.0.

Upvotes: 0

Hong Van Vit
Hong Van Vit

Reputation: 2986

For me, Run as Administrator from Visual, It will never make this error again.

Upvotes: 0

Daniel P.
Daniel P.

Reputation: 840

For me it helps if i just click the Refresh button at the top of the Team Explorer. After that, the message disappears and i can normally check in.

Upvotes: 36

Steven Ryssaert
Steven Ryssaert

Reputation: 1967

I just reconnected to the team project in the Team Explorer and my commit went through, didn't have to restart anything.

Upvotes: 1

ADH
ADH

Reputation: 3071

If you can get a copy of the file that is on TFS you can add it as a new file to TFS, and then do get latest version of the file, and then select keep local when you get the conflict error, and then you can check in the file. After that you can then get latest with no errors.

Upvotes: 0

stackoverfloweth
stackoverfloweth

Reputation: 6917

  1. Right-click solution
  2. Get Latest Version
  3. Try commit again

Issue started for me when I upgraded to VS2017

Upvotes: 48

Jiří Herník
Jiří Herník

Reputation: 2477

For me, it helped just to restart Visual Studio.

Upvotes: 30

Rush.2707
Rush.2707

Reputation: 683

I think i got solution, exactly got that how to do.

Do checkout that file and check in an old version of that file

and

than do take latest.

It will not generate this error again.

Upvotes: 0

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31023

  1. Clean the Cache folder on client computer. The folder path is: C:\Users\username\AppData\Local\Microsoft\Team Foundation\5.0\Cache.

  2. Clean the Cache folder on Server machine. The folder path is: C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services_tfs_data

  3. After cleaned, on Server machine, click Start and select Run… to open the dialog box, then input iisreset.exe and click OK, wait it run completely.

Upvotes: 6

Related Questions