错误如下:
[2009-2-12 17:20:04] 运行程序 D:\Program Files\China Mobile\Fetion\VMDotNet\v2.0.50727\a.exe 出现错误!System.IO.FileNotFoundException: 
File name: 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
   at WebGameDataManager.LogIN.InitializeComponent()
   at WebGameDataManager.LogIN..ctor()
   at WebGameDataManager.Program.Main()
   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
   at FetionVM.Program.Main(String[] args)
请问是不是少了什么文件啊,如果是那么这些问在那里,该怎么解决啊

解决方案 »

  1.   

    补充 我用的是 VMDotNet\v2.0.50727
      

  2.   

    我也遇到这个问题了,调试中发现DataSet ds = new DataSet()这个报错,原来飞信的VMDotNet文件夹中没有system.data.dll,导致这个问题的产生
      

  3.   

    将 System.Data.dll 、 System.Transactions.dll 、Microsoft.VC80.CRT.manifest 这三个文件拷贝到 VMDotNet\v2.0.50727\System 目录里来,前两个在 \Windows\Microsoft.NET\Framework\v2.0.50727 下找, 最后一个文件 VMDotNet\v2.0.50727\v2.0.50727 目录里已有,复制过来即可。
      

  4.   

    解决没有啊,我也出现这个问题,按上楼朋友的方法,也不行。
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.************** Exception Text **************
    System.IO.FileNotFoundException: 
    File name: 'Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
       at JjDdz.MainForm.su(Int32 t, Int32 s, Int32 typ)
       at JjDdz.MainForm.susu(Int32 type, Int32 gesu, Int32 tezheng, Int32[] t)
       at JjDdz.MainForm.P_d(String[] Array)
       at JjDdz.MainForm.Timer1Tick(Object sender, EventArgs e)
       at System.Windows.Forms.Timer.OnTick(EventArgs e)
       at System.Windows.Forms.Timer.TimerNativeWindow.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: n/a
        CodeBase: file:///C:/Documents%20and%20Settings/Administrator/桌面/程序打包/VMDotNet/VMDotNet/v2.0.50727/v2.0.50727/mscorlib.dll
    ----------------------------------------
    JjDdz
        Assembly Version: 1.0.4040.32351
        Win32 Version: 1.0.4040.32351
        CodeBase: file:///C:/Documents%20and%20Settings/Administrator/桌面/程序打包/VMDotNet/VMDotNet/v2.0.50727/JjDdz.EXE
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.214 (QFE.050727-2100)
        CodeBase: file:///C:/Documents%20and%20Settings/Administrator/桌面/程序打包/VMDotNet/VMDotNet/v2.0.50727/System/System.Windows.Forms.DLL
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/Documents%20and%20Settings/Administrator/桌面/程序打包/VMDotNet/VMDotNet/v2.0.50727/System.DLL
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
        CodeBase: file:///C:/Documents%20and%20Settings/Administrator/桌面/程序打包/VMDotNet/VMDotNet/v2.0.50727/System.Drawing.DLL
    ----------------------------------------
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.42 (RTM.050727-4200)
        CodeBase: file:///C:/Documents%20and%20Settings/Administrator/桌面/程序打包/VMDotNet/VMDotNet/v2.0.50727/System/Accessibility.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.