Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Problem Using Visual basic 2008 (Application Not Working in Other PC)
 

Problem Using Visual basic 2008 (Application Not Working in Other PC)

Hi Everybody, i am beginner in VB 2008 and i have build an application with database (MS-ACCESS)
it work in My PC but when i try to run this application in other PC with installing .net Framework it doesn't work.why?
and if some have other way for how to make my application workable in other PC's.


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details.
The error is: Could not load file or assembly 'System.Data.DataSetExtensions,
Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies
. Le fichier spécifié est introuvable. ---> System.IO.FileNotFoundException:
Could not load file or assembly 'System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. Le fichier spécifié est introuvable.
File name: 'System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
at IIP_GIP.OwnbuDataSet.InitClass()
at IIP_GIP.OwnbuDataSet..ctor() in C:\Documents and Settings\samouis\Mes documents\Visual Studio 2008\Projects\IIP-GIP\IIP-GIP\OwnbuDataSet.Designer.vb:line 49
at IIP_GIP._2emegi.InitializeComponent() in C:\Documents and Settings\samouis\Mes documents\Visual Studio 2008\Projects\IIP-GIP\IIP-GIP\2emegi.Designer.vb:line 39
at IIP_GIP._2emegi..ctor()

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

--- End of inner exception stack trace ---
at IIP_GIP.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 190
at IIP_GIP.My.MyProject.MyForms.get__2emegi()
at IIP_GIP.Form1.ÈmeAnnéeToolStripMenuItem_Click(Object sender, EventArgs e) in C:\Documents and Settings\samouis\Mes documents\Visual Studio 2008\Projects\IIP-GIP\IIP-GIP\Form1.vb:line 4
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
IIP-GIP
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///I:/IIP-GIP/IIP-GIP/bin/Debug/IIP-GIP.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.42 (RTM.050727-4200)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
System.Data
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
deepmoob  Sunday, May 17, 2009 2:07 PM

Hi,

From the error you got, it seems that your application targets .NET Framework 3.5. Please ensure that the .NET Framework 3.5 has been installed on the machine where you want to run your application.

Sincerely,
Linda Liu


Please remember to mark the replies as answers if they help and unmark them if they provide no help. end us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
  • Proposed As Answer byBimal.net Tuesday, August 04, 2009 10:32 AM
  •  
Linda Liu  Thursday, May 21, 2009 10:39 AM
I am having the same problems with SQL Server databases.
The application give error and doesnt runeven though I install Ms .NET Framework 3.5 in the other PC.
Jonathan TOH  Tuesday, August 04, 2009 6:42 AM

You can use google to search for other answers

Custom Search

More Threads

• how to use the vertical scroll bar
• How do I create my own dialog-like component?
• Good way to expose properties of members in the property grid?
• Property Grid Editor - Value Backcolor
• WinForms Markup Language
• Change border around UserControl.
• Designer Generated Code: SizeF
• Design-time EnableDragRect not working.
• Idesignerhost is blocking the mouse events?
• _MYFORMS=True What is this constant and why designer gets lost when not having it?