Fortress Closes/crashes VS 2008

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
Chrissteven81
Posts: 17
Joined: Tue Dec 11, 2007 1:53 pm

Fortress Closes/crashes VS 2008

Post by Chrissteven81 » Wed Sep 17, 2008 1:50 pm

Hello, I am using VS 2008. I am working with 2 other Devs on a web project. every once in a while we click the solution or click retrieve from fortress it will bring up the Get latest version Screen with attempt automatic merge selected. we click ok and VS disapears. no error or anything.
If you need i can provide the sln file if that helps solve the problem. the way we have to fix this error is to delete our project files and reget them from the server.

Any Ideas are appreciated.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Fortress Closes/crashes VS 2008

Post by Beth » Thu Sep 18, 2008 9:00 am

It sounds like your proj files are attempting to merge. By default, those are set as non-mergeable files. You can change that in the Fortress admin web page and make them mergeable, but often that's not recommended. You absolutely don't ever want to do that to your solution file. Some users do set their proj files as mergeable anyway, while others will only exclusively check out proj files so that there is never a case where something needs to be merged. Another option would be to perform your Gets on your proj files as overwrites instead of merging.
Beth Kieler
SourceGear Technical Support

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: Fortress Closes/crashes VS 2008

Post by ian_sg » Thu Sep 18, 2008 9:22 pm

I'm not sure merging of project files has anything to do with this. Obviously a Get Latest should never crash the IDE.

What version of Fortress are you running? Do all the developers occasionally experience the crash, or just one? Is it observed strictly on one particular solution, or several?

If you turn on diagnostic logging (Tools|Options|Source Control|Integration Options) and send us a log after a crash, we can dig deeper. (The log file will be at %TEMP%\VaultVsipClient2008.txt. You can email it to ian at sourcegear dot com.)
Ian Olsen
SourceGear

Chrissteven81
Posts: 17
Joined: Tue Dec 11, 2007 1:53 pm

Re: Fortress Closes/crashes VS 2008

Post by Chrissteven81 » Mon Oct 20, 2008 11:31 am

I realize i posted this a while back but as you know if its not broke ... anyways it just happened again the default radio button selection is merge. i tried it 2 times and it crashed both times. then i came to the site and read what you guys wrote and selected the do not merge option and it gave me a message saying there was an error last time i ran it and it will attempt to skip the problem file. and now it works...

Chrissteven81
Posts: 17
Joined: Tue Dec 11, 2007 1:53 pm

Re: Fortress Closes/crashes VS 2008

Post by Chrissteven81 » Mon Oct 20, 2008 1:21 pm

ok that did work one time but the next time i opened the source of another project it broke. I deleted the log file and duplicated the error. The following link will take you to the error log.

http://beta.netoutcomes.net/VaultVsipClient2008.txt

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: Fortress Closes/crashes VS 2008

Post by ian_sg » Mon Oct 20, 2008 2:09 pm

Unfortunately the log doesn't have anything particularly revealing. Can you reproduce this every time now, just by doing a get latest?

Would you mind posting a screenshot of your Local Files options? In Visual Studio, you can get there via Tools->Options->Source Control->Fortress Options->Advanced Options->Local Files. I've attached a screenshot from my machine.
Attachments
LocalFilesOptionsFortress113.png
LocalFilesOptionsFortress113.png (24.08 KiB) Viewed 12977 times

Chrissteven81
Posts: 17
Joined: Tue Dec 11, 2007 1:53 pm

Re: Fortress Closes/crashes VS 2008

Post by Chrissteven81 » Thu Dec 18, 2008 7:18 am

Sorry for the delay I forgot all about posting this untill it happened again lol. also if it helps sometimes i can change the combo box on the initial fortress screen when it starts retrieveing from overwrite to auto merge and that makes it load.

Image

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: Fortress Closes/crashes VS 2008

Post by ian_sg » Fri Jan 09, 2009 9:08 am

Thanks for the information.
Ian Olsen
SourceGear

Chrissteven81
Posts: 17
Joined: Tue Dec 11, 2007 1:53 pm

Re: Fortress Closes/crashes VS 2008

Post by Chrissteven81 » Thu Feb 12, 2009 7:23 am

happening again. it only happens on my web apps. I have a layered solution and it will get all the files if i delete the contents of the web directory and let it get them again.

Chrissteven81
Posts: 17
Joined: Tue Dec 11, 2007 1:53 pm

Re: Fortress Closes/crashes VS 2008

Post by Chrissteven81 » Thu Feb 12, 2009 7:25 am

once in a while ill get an error from fortress that says. "An error was encountered while opening associated documents the last time this solution was loaded. document load is being skipped during this solution load in order to avoid that error." but might take me 5-6 trys to open and fail before i get that error.

Chrissteven81
Posts: 17
Joined: Tue Dec 11, 2007 1:53 pm

Re: Fortress Closes/crashes VS 2008

Post by Chrissteven81 » Thu Feb 12, 2009 7:26 am

2/12/2009 7:23:11 AM <generic>: Trying to refresh Solution Folder Project Solution Items:4294967294 [System.Runtime.InteropServices.COMException (0x80040100): Trying to revoke a drop target that has not been registered (Exception from HRESULT: 0x80040100 (DRAGDROP_E_NOTREGISTERED))]Trying to revoke a drop target that has not been registered (Exception from HRESULT: 0x80040100 (DRAGDROP_E_NOTREGISTERED))


Stack Trace:
at SourceGearLLC.VaultVsipClient.VsipUtility.LogErrorIfFailed(Int32 hresult, String logContextInfo)
at SourceGearLLC.VaultVsipClient.Project.Refresh(UInt32 itemid)
at SourceGearLLC.VaultVsipClient.VaultCommandGetLatest.GetLatestVersion(Boolean forceDialogShow)
at SourceGearLLC.VaultVsipClient.SccProviderService.OnAfterOpenSolution_Implementation(Object pUnkReserved, Int32 fNewSolution)
at SourceGearLLC.VaultVsipClient.SccProviderService.OnAfterOpenSolution(Object pUnkReserved, Int32 fNewSolution)

ian_sg
Posts: 787
Joined: Wed May 04, 2005 10:55 am
Location: SourceGear
Contact:

Re: Fortress Closes/crashes VS 2008

Post by ian_sg » Thu Feb 12, 2009 5:58 pm

I think I found the bug that causes this. I'll follow up when I know more.
Ian Olsen
SourceGear

Chrissteven81
Posts: 17
Joined: Tue Dec 11, 2007 1:53 pm

Re: Fortress Closes/crashes VS 2008

Post by Chrissteven81 » Fri Feb 13, 2009 7:49 am

Thanks

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Fortress Closes/crashes VS 2008

Post by Beth » Fri Feb 13, 2009 2:56 pm

If you have any further questions, just let us know.
Beth Kieler
SourceGear Technical Support

Post Reply