We are using TFS 2013 (internal server) and use VS 2012 for develop.
I add the new folders and files with content and i check in, after that other users not able to download the newly added files by me. they are getting "HTTP 302 moved temporarily" error.
if already they have the same file then it sync without problem
My team members tried to download the solution by using
get latest version , get specific version, check out
and none downloads the newly added files
Please help
update :
just found that we are able to download the files by using the server's name and if user uses the IP then the same problem persists
Team Foundation Server name : part1-part2-1
Team foundation server IP : 10.xxx.x.xxx
Any ideas why not able to download the files by using IP
Update : When i try to download code files as .zip files from Visual Studio Team Services (was TFS Online) (within intranet only) our proxy restricts to download as .zip file. So i believe visual studio would have been encountered the same. if this is the case is there any way to instruct the visual studio to download the latest version by files
First, please make sure your Team Foundation Server IP didn't changed. And try to connect TFS server by IP such as http://10.xxx.x.xxx:8080/tfs directly.
And also turn off the anti-virus software and Firewall, try to download the files again using IP. More info about the ERROR HTTP 302 you can refer this link: http://www.checkupdown.com/status/E302.html
Related
Hi I need to move my source code from one my existing TFS server to a new TFS server that is a clone of my existing one. From what I remember I think both servers are 2012 and I am using Visual Studio 2013 for development.
The clone already has my project on it, but it is an old version of the code. The existing server has the latest code but will be decommissioned soon.
Without having admin access on either server how can I move my code from the existing server with the latest code to the new server with an old version of the code.
Is it possible to do this and maintain the project history including the last month of development, or will I only be able to keep the code ? TFS is a managed service for me and I don't have the option to stay on the existing server.
I have only seen solutions where the new TFS server is clean.
You need to use Team Foundation Server Integration Tool: https://visualstudiogallery.msdn.microsoft.com/eb77e739-c98c-4e36-9ead-fa115b27fefe
With this tool, you're able to migrate source code with history.
This is my first time posting a question in StackOverflow. Pls forgive me if I made any mistake.
The condition is such: I have codes inside my laptop that is under source control by a TFS (Team Foundation Server) server in the company and I have a web server which I upload the codes so that user can browse the pages. So there are 3 main items here: the TFS server, my laptop and the web server.
When I try to check in/out between my laptop and TFS server using Visual Studio, no problem.
When I try to use "Copy Web Site" feature in Visual Studio to upload my laptop's code to the web server, no problem too.
However, when I try to use "Copy Web Site" feature in Visual Studio to DOWNLOAD the web server's code into my laptop, then it will says the job is completed, but in actual fact, it has not done anything because the fact is laptop's code is under source control and it cannot overwrite it.
The only solution is I have to "check out" the local laptop's code before I can successfully DOWNLOAD from web server into my laptop. This is very troublesome and annoying if I have many files to DOWNLOAD. Is there another solution to this problem?
Another question is, is there any better way to configure the relationship of these 3 items?
Sorry for such a long question.
I cannot post any images because I don't have the "10 reputation" rights required by stackoverflow.
Thanks
The easiest answer is to use a local workspace, but unfortunately local workspaces aren't an option unless you're using both Visual Studio 2012 and TFS 2012.
The basic problem here is that when you use a server workspace, files are read-only on your file system until you explicitly check them out of source control. Local workspaces don't have that necessity.
The bigger question here is why you want to grab files from the web server. You're using source control. If people are making changes to the code directly in the web server without going through source control, that is a huge problem that should be addressed immediately.
I am trying to setup a new connection to TFS with VS2012. Early on I was able to add my TFS server and, using the Microsoft Git Provider, clone a copy of the remote repository from within Visual Studio. Later, as I was fiddling with things in Team Explorer trying to find the branch I wanted to use, something broke. My local repository remains, but my connection to the remote repository was somehow corrupted, as evidenced with this error:
TF31004: Unexpected error encountered while connecting to Team Foundation Server at http: //my.server.com:8080/tfs. Wait a few minutes and try again. If the problem persists, contact the server administrator ok help
Things I have tried to resolve this:
Wait and try again (as the error message suggested).
Restart Visual Studio.
Reboot my machine.
Reboot TFS server.
Use system restore to revert back before I installed msysgit and Microsoft Git Provider, or had attempted to connect to the TFS server.
Review the MSDN help for the error (see below).
Search Stack Overflow (found one other related issue but did not seem to apply).
Tried devenv /ResetSkipPkgs
Tried devenv /setup
Re-install Team Explorer for VS2012.
Clear IE cookies (per this post).
Clear TFS caches (per this post).
The help page offers these tidbits, but none of them seem likely given that I had, as I said, the connection working at one point:
The version of Team Foundation running on the local computer does not match the version running on the Team Foundation Server server {name}.
The server returned HTML content instead of XML content.
The required Web service on the server could not be found.
Any ideas would be appreciated!
I have had an exactly the same problem.
My solution was to clear all the credentials in the Windows Vault (Credential Manager residing in the Control Panel).
I have no idea why the credentials did get messed up.
I'm using visual studio 2012 and i have a windows form app. the iis express server is configured by default with visual studio 2012.
I have to publish my windows form app. For that, i have create a storege object on azure platform.
But when i try to publish the project using clickonce i have that issue :
Error 83 The Web server does not appear to have FrontPage Server Extensions installed. If FrontPage Server Extensions are installed, this error can occur because the _vti_bin virtual directory is not marked as executable. To correct this problem, run Internet Information Services Manager, select the Web server that has the problem, and then use the Check Server Extensions command.
Screen shot :
https://docs.google.com/file/d/0B-aV0dsLT4CaemZuQV93Ymt4UVE/edit?usp=sharing
I had no issue during the creation of my storage object on azure, and the URL is good !
I have installed de FrontPage Server Extension several times and normally it's good.
i really need to publish my project, if someone can help me ...
Thanks for help.
You are trying to do HTTP publish to a server that doesn't have FPSE installed. FPSE was no longer available after Server 2008 (I'm guessing here, I just know it's not available for newer versions of Windows Server).
Instead of doing HTTP, use FTP. So you FTP the files to the web server, and use an HTTP link for the customer to access them.
For example, your publishing file location might be
ftp://myserver.com/myfolder/
and your installation URL would be something like
http://myserver/thefolder/
We're moving our build from Team Build (Team Foundation Service) to a local build machine using Jenkins CI for build. However, we still want to use the Cloud for Source Control. So now we need to access the cloud TFS to get the latest build.
Jenkins has an TFS Plugin, but that was made for TFS 2008.
Now I have the problem that I'm not able to access the cloud TFS with TF.exe from VS2012.
I found an article here that showed me the difference between TFS 2008 and 2010 (I need to add /tfs/DefaultCollection to the server URL), but that didn't work with the cloud TFS.
Here's the error:
TF31002: Unable to connect to this Team Foundation Server: https://myserver.visualstudio.com/tfs/DefaultCollection.
Team Foundation Server Url: https://myserver.visualstudio.com/tfs/DefaultCollection.
Possible reasons for failure include:
- The name, port number, or protocol for the Team Foundation Server is incorrect
.
- The Team Foundation Server is offline.
- The password has expired or is incorrect.
Technical information (for administrator):
The Remoteserver returned an error: (404) Not found.
I've tried it with and without the /tfs/DefaultCollection. Same result.
Documentation, according to what I have found, is next to nothing.
Has anybody had any success accessing the cloud TFS with TF.exe?
EDIT: browsing through other articles, I saw that others did it without the /tfs, so just add /DefaultCollection
(thanks to Microsoft for changing the URL with every version...)
However, the output is still crap.
C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE>tf workspaces -format:brief /server:https://myserver.visualstudio.com/DefaultCollection /login
:myuser,mypassword
Result:
No workspace matching *;[NAME OF ANOTHER USER] on computer MYMACHINE found in Team Foundation Server https://myserver.visualstudio.com/DefaultCollection.
ok, found the solution...
Add "/computer:*" if no workspace was mapped on the machine running tf.exe before...
Conclusion:
The URL to connect to your collection in TFS changed in every version.
TFS 2008: mytfs
TFS 2010: mytfs/tfs/DefaultCollection
TFS 2012: mytfs/DefaultCollection
OMG..