Opened 14 years ago

Closed 10 years ago

#6114 closed defect (obsolete)

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 Mehnert)

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.

Attachments (1)

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

Download all attachments as: .zip

Change History (7)

by Eric Carroll, 14 years ago

Attachment: VBox.log added

comment:1 by Eric Carroll, 14 years ago

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

comment:2 by Eric Carroll, 14 years ago

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 by sunlover, 14 years ago

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 by Eric Carroll, 14 years ago

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 by Eric Carroll, 14 years ago

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 by Frank Mehnert, 10 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use