爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

搜索
查看: 2997|回复: 4

软件突然不能正常打开了

[复制链接]

新浪微博达人勋

发表于 2014-4-6 13:44:40 | 显示全部楼层 |阅读模式

登录后查看更多精彩内容~

您需要 登录 才可以下载或查看,没有帐号?立即注册 新浪微博登陆

x
王老师,您好!刚才打开meteoinfo-C#提示错误,而java没问题。请帮忙看一下。
错误如下:
4.6.png
密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-4-6 14:28:34 | 显示全部楼层
"Details"里面的信息是什么?
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-4-6 14:36:31 | 显示全部楼层
MeteoInfo 发表于 2014-4-6 14:28
"Details"里面的信息是什么?

************** Exception Text **************
System.ArgumentException: Parameter is not valid.
   at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
   at MeteoInfoC.Map.MapView.PaintLayers()
   at MeteoInfoC.Map.MapView.ZoomToExtent(Extent aExtent)
   at MeteoInfoC.Map.MapView.OnResize(EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.UserControl.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)

************** 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.


密码修改失败请联系微信:mofangbao

新浪微博达人勋

发表于 2014-4-6 15:06:17 | 显示全部楼层
rceclx 发表于 2014-4-6 14:36
************** Exception Text **************
System.ArgumentException: Parameter is not valid.
  ...

应该是MeteoInfo安装目录中的Default.mip文件有问题了(MeteoInfo启动的时候会读这个文件),可以将此文件改个名字,比如Default-1.mip,这样MeteoInfo启动时就不会读相关内容了(找不到Default.mip文件了),打开MeteoInfo图层管理区应该是空的。

你也可以试试下载MeteoInfo最新文件看看是不是能打开。
密码修改失败请联系微信:mofangbao

新浪微博达人勋

 楼主| 发表于 2014-4-6 15:25:38 | 显示全部楼层
MeteoInfo 发表于 2014-4-6 15:06
应该是MeteoInfo安装目录中的Default.mip文件有问题了(MeteoInfo启动的时候会读这个文件),可以将此文 ...

多谢王老师!两种方法都解决了问题!
密码修改失败请联系微信:mofangbao
您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆

本版积分规则

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

快速回复 返回顶部 返回列表