|
Are you talking about Subversion? If so, I'm not sure I understand the problem. SVN never removes stuff unless you explicitely modify the repo (and that requires admin rights). It doesn't remove local files either, unless they are unchanged compared to the revision of your check-out or update, even if those files were removed by someone and the removal was checked in. Also note that moving files or directories to a different location is registered in SVN as a removal followed by an addition.
Things you could do:
- Check the log/history of the parent folder: you should see any previous modifications relating to the directory.
- Try checking older revisions in the repo. If that folder has ever been committed to the repo, it has to be there, and you should be able to restore the last version before its removal. (plus you should see the log entry of the removal, giving you a hint what went wrong, or who did it)
- One other thing you could do is check your file system if you happen to have a copy somewhere - maybe it has been moved, not removed.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
|
|
|
|
|
I was thinking the same thing... SVN should not have done this. This is one reason why I have an early morning export done daily to another RAID device (this is at work).
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
Every time I have to restart VS it loses all my tab settings and reverts to spaces. Spaces!!! Most irritating - I will certainly require tea and hob nobs to recover from this.
|
|
|
|
|
I haven't noticed that - but then I prefer spaces anyway.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
R. Giskard Reventlov wrote: Every time I have to restart VS My guess is you are not exiting Visual Studio properly. That's a problem many Brits have.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
Hangle through the settings maybe there is some "save settings".
Do you exit the VS properly or are you unplugging the PC
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
With me it depends, if its been a bad or worse day 'Yank the plug from the wall and walk away' a good day camly shut the blessed thing down while whistling...
|
|
|
|
|
You need to reformat your system and reinstall.
#SupportHeForShe
Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson
You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
|
|
|
|
|
|
Is i<sup><small>2</small></sup> just keeping it real?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I think the root of your problems is imaginary.
/ravi
|
|
|
|
|
|
Yup, it's not as complex as it seems.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
Yup, it just shows the power of 2.
|
|
|
|
|
I don't like to be negative, but it is simply e^(i*pi)
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Mmmmm.....pi.....
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
Yes but it's always so negative...
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
Alas, I got work with the beautiful Entity Framework. As I'm trying to copy the exception details
System.ObjectDisposedException was unhandled
HResult=-2146232798
Message=Die ObjectContext-Instanz wurde verworfen und kann nicht mehr für Vorgänge verwendet werden, für die eine Verbindung erforderlich ist.
ObjectName=""
Source=EntityFramework
StackTrace:
bei System.Data.Entity.Core.Objects.ObjectContext.get_Connection()
bei System.Data.Entity.Core.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
bei System.Data.Entity.Core.Objects.DataClasses.EntityCollection`1.Load(List`1 collection, MergeOption mergeOption)
bei System.Data.Entity.Core.Objects.DataClasses.RelatedEnd.DeferredLoad()
bei System.Data.Entity.Core.Objects.Internal.LazyLoadBehavior.LoadProperty[TItem](TItem propertyValue, String relationshipName, String targetRoleName, Boolean mustBeNull, Object wrapperObject)
bei System.Data.Entity.Core.Objects.Internal.LazyLoadBehavior.<>c__DisplayClass7`2.<GetInterceptorDelegate>b__1(TProxy proxy, TItem item)
bei System.Data.Entity.DynamicProxies.Abstimmungungswochen_4B2170BEEFBCB0E3760C0A28F933A214FEE1AF613CEA6B3CD7752FA43966F7F3.get_Stimmzettel()
bei SuisseVote.Business.DomainModel.Urnengang..ctor(Abstimmungungswochenende a) in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SuisseVote.Business.DomainModel\Urnengang.cs:Zeile 57.
bei SuisseVote.Business.Shared.Repository.UrnengangRepository.<>c.<GetListAll>b__6_0(Abstimmungungswochenende c) in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SuisseVote.Business.Shared\Repository\UrnengangRepository.cs:Zeile 35.
bei System.Linq.Enumerable.WhereSelectListIterator`2.MoveNext()
bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
bei SuisseVote.Business.Shared.Repository.UrnengangRepository.GetListAll() in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SuisseVote.Business.Shared\Repository\UrnengangRepository.cs:Zeile 35.
bei SuisseVote.Business.Center.Repository.UrnengangRepository.GetListAll() in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SuisseVote.Business.BusinessLayer\Repository\UrnengangRepository.cs:Zeile 86.
bei SuisseVote.Ui.Center.OpenUrnengangControl.UserControl_Loaded(Object sender, RoutedEventArgs e) in C:\Workspaces\SuisseVote\SwissVote\SuisseVote-2_1_Update_3_Happy Feet\SwissVote\Urnengang\OpenUrnengangControl.xaml.cs:Zeile 40.
bei System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
bei System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
bei System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
bei System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
bei MS.Internal.LoadedOrUnloadedOperation.DoWork()
bei System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
bei System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
bei System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
bei System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
bei System.Windows.Interop.HwndTarget.OnResize()
bei System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
bei System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
bei MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
bei System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
bei System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
bei System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
bei MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
InnerException:
to the Google, they inform me of performing an illegal request.
Why is MS now also breaking other company's stuff?
|
|
|
|
|
It has nothing to do with MS. Google search is rejecting your query because the search text is too large. But you probably knew that.
/ravi
|
|
|
|
|
Ravi Bhavnani wrote: But you probably knew that.
I did
|
|
|
|
|
Looks like the exception handling is sub-optimal.
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
They are far more chance that the problem is in your own code... An object seems to be disposed twice! Maybe your connection? Maybe your code does not properly handle some events that occurs in a way you did not expect?
Philippe Mori
|
|
|
|
|
OK, time for a random guess of what your code looks like:
public Foo GetFoo(int id)
{
using (var context = new YourDbContext())
{
return context.Foos.FirstOrDefault(foo => foo.Id == id);
}
}
...
Foo foo = GetFoo(42);
Bar bar = foo.Bar;
You've retrieved an entity instance without loading any of its related entities. You've then disposed of the DbContext before trying to load a related entity. The lazy-loading proxy that EF created for your entity is then trying to load the related entity from the database, using the previously-disposed DbContext .
You can either turn off lazy loading, in which case the navigation property will return null ; or you can explicitly load the related entities before you dispose of the DbContext ; or you can use the Include extension method to eagerly load the related entities at the same time as the main entity.
Entity Framework Loading Related Entities[^]
And now, you've managed to sneak a programming question into the Lounge!
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|