VB.NET ExpressEdition locked - by C307EF17-87A7-4B39-8DCE-9703007783A8

Status : 

  Not Reproducible<br /><br />
		The product team could not reproduce this item with the description and steps provided.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 233763 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 10/31/2006 3:09:47 AM
Access Restriction Public


I had tried to copy a string array into an integer array, which lead to MESSAGE1. Since ALT-F8 does not work any more (on my computer?) I tried to restart the debuggin, which lead to MESSAGE2. After restarting VB.NET (Express Edition) MEsSAGE2, debugging could be started without MESSAGE2. (By the way: the restart of VB.NET was performed much faster then a usual start.

(messages in English:
MESSAGE1: "The object of the type System.String[] can not be converted into type System.Int32[] .....",
MESSAGE2: "file obj\Debug\Ahnen.exe can not be copied into .\bin\Ahnen.exe. The process can not access the file .\bin\Ahnen.exe because it is beeing used by another process"

System.InvalidCastException wurde nicht behandelt.
  Message="Das Objekt des Typs System.String[] kann nicht in Typ System.Int32[] umgewandelt werden."
       bei Ahnen.PersFam.mnuVorfLösch_Click(Object sender, EventArgs e) in D:\Eigene Dateien\VBNet\Ahnen.NET\frmPersFam.vb:Zeile 250.
       bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
       bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
       bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
       bei System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
       bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
       bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
       bei System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
       bei System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
       bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       bei System.Windows.Forms.ToolStrip.WndProc(Message& m)
       bei System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       bei System.Windows.Forms.Application.Run(ApplicationContext context)
       bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
       bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
       bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
       bei Ahnen.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81.
       bei System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
       bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Threading.ThreadHelper.ThreadStart()

Fehler	1	Datei obj\Debug\Ahnen.exe kann nicht in .\bin\Ahnen.exe kopiert werden. Der Prozess kann nicht auf die Datei .\bin\Ahnen.exe zugreifen, da sie von einem anderen Prozess verwendet wird.	Ahnen
Sign in to post a comment.
Posted by Microsoft on 11/15/2006 at 3:42 PM
Hi Wirus,

Thanks for the feedback! However, we have been unable to reproduce the problem you describe. Here's what we did:
1) Using VB.NET Express
2) Created a VB program that contains a string and integer array
3) Attempted to copy the integer array into the string array.
4) Got the first message you mentioned.

At this point, we're not sure what you were intending on doing when you pressed Alt-F8. You said it no longer works, but truthfully, we don't suspect that what we know it's mapped to is what you intended. For all the keyboard presets (set through Tools->Import and Export Settings profile selection), we always found that Alt-F8 was mapped to View.Macro Explorer.

When we did restart debugging it worked without ever showing Message2.

Please feel free to go ahead and reactivate this issue with further instructions or details and we'll investigate more.

Thanks again,
Jim Griesmer
Visual Studio Diagnostics