Ticket #6114 (closed defect: obsolete)

Opened 13 years ago

Last modified 10 years ago

Visual Studio 2008 fails when local source repository is via vboxsvr

Reported by: Eric Carroll Owned by:
Component: shared folders Version: VirtualBox 3.1.2
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by frank) (diff)

Host: Ubuntu 9.04, Guest: Windows 7

Replicate by:

Open VS 2008 In team explorer, add existing team project. Select project X.
Select Source Control Explorer / Workspace / Workspaces... / Edit
Add the Source Control Folder, and a Local Folder in the vboxsvr letter mapped drive
Notice the files in the Local Path pane are grey
Perform a "get latest", FAIL with error message "Method failed with unexpected error code 1"
If you check the files in the Local Folder they exist.

Clean out the workspace and reset VS.

Repeat above with drive a C: or SMB letter drive, with success. Checkin/checkout works as expected.

Also notice that if you set up initial to a C: Local Folder, then edit Workspaces to refer to a vboxsvr folder, VS will successfully move the files and checkin/checkout works.

This only fails if you create the Local Folder on a vboxsvr folder initially.


VBox.log Download (62.4 KB) - added by Eric Carroll 13 years ago.

Change History

Changed 13 years ago by Eric Carroll

comment:1 Changed 13 years ago by Eric Carroll

Can anyone make any suggestions on how to debug this, what data to collect, etc?

comment:2 Changed 13 years ago by Eric Carroll

I should note that despite my initial claim, I have found conditions where working with a C: Local Folder, then moving it to a vboxsvr based Local Folder generates the error code 1 under certain circumstances after initially being successful. Haven't fully chased it down yet.

comment:3 Changed 13 years ago by sunlover

Did you run Visual Studio 2008 from an administrator account or from an regular user account? Could you please try if that makes any difference?

comment:4 Changed 13 years ago by Eric Carroll

I have tried running as administrator and still get the error:

Getting F:\XXX\Y.eap
F:\XXX\Y.eap: Method failed with unexpected error code 1.

I have also tried the following commands:

c:\Windows\Microsoft.NET\Framework\v2.0.50727>CasPol.exe -m -ag 1 -url "file://F:/*" FullTrust -exclusive on
c:\Windows\Microsoft.NET\Framework\v2.0.50727>CasPol.exe -m -ag 1 -url "file:////\vboxsvr\Home:/*" FullTrust -exclusive on

Both commands were successful but did not change the error message.

I also used the .Net 2.0 Configuration tool to set Intranet to fully trusted. No impact.

Mr. Google and I are out of ideas.

comment:5 Changed 13 years ago by Eric Carroll

Oh and to be clear I set up samba on the same machine, bound the same directory to drive letter F: using samba instead of vboxsvr, and it works fine.

comment:6 Changed 10 years ago by frank

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use