I keep getting "access is denied" errors in Visual Studio when I run "get latest", or I try and check in code, or something like that. It seems to happen about 75% of the time, but if I try again a second time the error goes away and the operation works. I am using Visual Studio 2013. Any ideas on how to fix this?
In my situation, I could check-in files, but for some reason when I performed a "Get Latest" action, I got access denied ...
The solution was to create a new workspace. I guess there is some corruption on the workspace, but I'm not sure where this may have occurred, or whether there is a configuration type file for workspaces?
It sounds like you have a faulty proxy between you and the TFS server that is dropping your credentials. You should try connecting without the proxy...
Related
After fixing errors and rebuilding the error list window still has empty placeholders and a count of zero errors.
This only goes away after restarting VS
It seems random, some days I dont get the problem at all with the same solution
Trying to open one of the empty errors by clicking on it gives me a "Visual studio has encountered an unexpected error." message.
Its driving me crazy. Cant find any help out there or other people reporting the same problem
VS gets crazy many times.
Make sure your version is up-to-date,
Delete your automatically generated .suo file(s) (resides near the solution file)
Still bad? there might be a corruption or invalidity in a XML file it tries to read or something like that.
Try removing temporary files and generated files. Look at this:
https://www.google.com/?q=visual%20studio%20temp%20files%20location#q=visual+studio+temp+files+location]
You can try using VS Command line switches like /Log and /Out. Further more - Add switches to the MSBuild command in your project configuration. Here is the references:
http://msdn.microsoft.com/en-us/library/xee0c8y7.aspx
http://msdn.microsoft.com/en-us/library/ms164311.aspx
Try using SysInternals ProcessMonitor to see What file is opened just before the error occurs.
Nothing helped? Reinstall VS completely. do a full Uninstall. I suggest you backup your preferences and tools beforehand. You can do this manually or by signing in to VS with your live ID.
http://msdn.microsoft.com/en-us/library/dn457348.aspx
Be aware - your extensions should be re-downloaded. and one of them might be the cause for all this suffering
Maybe this does the trick, update VisualSVN:
https://www.visualsvn.com/visualsvn/download/
To debug this, you can use this solution: https://stackoverflow.com/a/9589139/61883
solved it by:
Open two instances of Visual Studio. Open the same project in both.
In one instance, goto Debug->Exceptions and enable all the 'Thrown' options to stop at first chance exceptions. This will stop the debugger when the exception is generated.
In the same instance, select Debug->Attach to Process, select devenv.exe.
In the other instance, open the form to cause the exception
With any luck the first instance should stop somewhere that yields a more relevant exception.
I'm using TFS 2010. Every single time I try and do a "Checkout File And AutoMerge", I get the following generic error message:
Error
The following exception was encountered. NAMEOFFILE cannot be merged.
Please retry with another resolution option.
This doesn't tell me anything about why or how to resolve it. This is very frustrating because I cannot automerge anything and TFS doesn't give me a manual merge option either. Never thought I'd miss SVN so much. Any ideas how to resolve this?
I have several programs that I have created in vb.net visual studios 2010. I have been working on these programs for months with no problems. Recently I started having an issue where I can no longer access my temp directory while debugging within VS. I can't use My.Settings anymore because these use those temp files. This is the error I get:
Failed to save settings: An error occurred loading a configuration file: Could not find a part of the path 'C:\Users\USERNAME\AppData\Local\PROGNAME\PROGNAME.exe_Url_gty0snnfox5ji5xgprklljwb0e0mthek\1.0.0.0\nl3u0fw2.tmp'. (C:\Users\USERNAME\AppData\Local\PROGNAME\PROGNAME.exe_Url_gty0snnfox5ji5xgprklljwb0e0mthek\1.0.0.0\user.config)*
This file is there though.
I also get an error when trying to use my web services. I get this error:
Access to the temp directory is denied. Identity 'DOMAIN\Username' under which XmlSerializer is running does not have sufficient permission to access the temp directory. CodeDom will use the user account the process is using to do the compilation, so if the user doesn�t have access to system temp directory, you will not be able to compile. Use Path.GetTempPath() API to find out the temp directory location.*
I used the Path.GetTempPath() as the error says and I am trying to access: >"C:\Users\USERNAME\AppData\Local\Temp\"
I have tried going to these folders and making sure that I have the security set to allow everyone complete control. I believe it is a problem with VS not my program because I get the same problem on all of my programs, some of which I haven't opened in months. I did a repair on VS.
I can't think of what might have changed to cause this to stop working all of a sudden. I traveled to a customers facility where I had to change some network settings, but everything should be set back as it was now. My temporary security certificate expired, but I created a new one and now the certificate I am using to sign these applications is in my trusted root on certificate manager and looks to be valid. I should also mention that this is a clickonce deployment and the deployement works fine on my computer and others, it is only while debugging that I have these issues.
I have been running this down for weeks and spent countless hours looking for a solution and have come to a brick wall. Does anyone have any suggestions?
Thanks ahead of time for your help and time! Please let me know if I can clarify anything.
It turns out that the problem was coming from the fact that somehow one of the folders in the filepath to my user.config file got changed. Somehow a .vshost got thrown in on one of the folder names. I still have no idea how this happened and what caused this to happen, and I am not 100% sure that I have gotten to the real root of the problem, but for now, I am able to debug again. I changed the file name back to what it was supposed to be and the errors have stopped. Now lets just hope the file name doesn't get changed back again.
I'm trying to utilize SVNBridge so that my team can use our existing TFS server as our Xcode repository.
SVNBridge appears to be set up correctly on the TFS server, and I can connect to it from Xcode as an SVN repository to grab everything and commit changes.
However, when I have another member of my team update to grab a file I just committed, they receive the following error:
svn: REPORT of '/!svn/bc/36163/-TFS folder structure-': 200 OK (http://-tfs server url-:8081)
The also happens when they update a file, and I then try to update.
We both have full read/write access to the TFS structure.
There is nothing in the SVNBride logs folder on the TFS server.
Any thoughts on the error, or is there a better solution I should use for this?
y0-1, happens all the time for me.
Possible causes are
1) urlscan, check the logs
2) ..svnbridge folders, I usually connect to TFS with native client and delete them, it's a pain cause there are a lot of them usually. After deleting ..svnbridge folders you might want to re-checkout parts of your project where you deleted them and sometimes svnbridge restart is required.
Also svnbridge log usually conatains very usefull info ;)
p.s.
Just realized, that you said that your svnbridge log is clean, that's odd, maybe it is not configured properly(usually folder permissions)
f.e. mine svnbridge log with the similar error on update -
Message : The item 'blah-blah-blah' does not exist at the specified version.
User :
Request : REPORT /!svn/vcc/default HTTP/1.1
I have spent all day trying to get a program working. Now, MS Studio 10 stopped compiling, with an error message,
fatal error LNK1168: cannot open K:\Continuing Education\CCCCD\COSC1436\Prog10\Debug\Prog10.exe for writing
I'm guessing this means it ran out of memory somewhere. What do I need to do to get it working, again?
Possible reasons:
You have an instance of Prog10.exe running
K: drive is full
If K:is a network drive, it went offline.
Make sure you have write permission to the mentioned directory. Is that where your project is stored?
The error message is telling you that it couldn't write out the exe file, which usually means there's something wrong with write permissions for that directory.