CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
山寨机中的战斗机! 程序优化工程师到底对IT界有没有贡献
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  .NET技术 >  C#

高手请进(在线等)

楼主qimini(循序渐进)2002-09-30 10:59:22 在 .NET技术 / C# 提问

本机调试通过,打包后在另一机器安装却出现问题。  
  在DataGrid显示数据时出错。但点继续则DataGrid中数据存在,但不能正常显示????  
  出错代码如下:  
  有关调用实时   (JIT)   调试而不是此对话框的详细信息,  
  请参阅此消息的结尾。  
   
  **************   异常文本   **************  
  System.ArgumentException:   路径中具有非法字符。  
        at   System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[]   str)  
        at   System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess   access,   String[]   pathList,   Boolean   checkForDuplicates,   Boolean   needFullPath)  
        at   System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess   access,   String   path)  
        at   System.AppDomainSetup.get_ConfigurationFile()  
        at   System.Configuration.DefaultConfigurationSystem.get_AppConfigPath()  
        at   System.Configuration.DefaultConfigurationSystem.System.Configuration.IConfigurationSystem.Init()  
        at   System.Configuration.ConfigurationSettings.SetConfigurationSystem(IConfigurationSystem   configSystem)  
        at   System.Configuration.ConfigurationSettings.GetConfig(String   sectionName)  
        at   System.Diagnostics.DiagnosticsConfiguration.GetConfigTable()  
        at   System.Diagnostics.DiagnosticsConfiguration.Initialize()  
        at   System.Diagnostics.DiagnosticsConfiguration.get_SwitchSettings()  
        at   System.Diagnostics.Switch.Initialize()  
        at   System.Diagnostics.Switch.get_SwitchSetting()  
        at   System.Diagnostics.TraceSwitch.get_TraceVerbose()  
        at   System.Windows.Forms.DataGridRelationshipRow.Paint(Graphics   g,   Rectangle   bounds,   Rectangle   trueRowBounds,   Int32   firstVisibleColumn,   Int32   numVisibleColumns,   Boolean   alignToRight)  
        at   System.Windows.Forms.DataGrid.PaintRows(Graphics   g,   Rectangle&   boundingRect)  
        at   System.Windows.Forms.DataGrid.PaintGrid(Graphics   g,   Rectangle   gridBounds)  
        at   System.Windows.Forms.DataGrid.OnPaint(PaintEventArgs   pe)  
        at   System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs   e,   Int16   layer,   Boolean   disposeEventArgs)  
        at   System.Windows.Forms.Control.WmPaint(Message&   m)  
        at   System.Windows.Forms.Control.WndProc(Message&   m)  
        at   System.Windows.Forms.ControlNativeWindow.OnMessage(Message&   m)  
        at   System.Windows.Forms.ControlNativeWindow.WndProc(Message&   m)  
        at   System.Windows.Forms.NativeWindow.Callback(IntPtr   hWnd,   Int32   msg,   IntPtr   wparam,   IntPtr   lparam)  
   
   
  **************   已加载的程序集   **************  
  mscorlib  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3705.0  
          基本代码:file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll  
  ----------------------------------------  
  WindowsApplication6  
          程序集版本:1.0.1003.18263  
          Win32   版本:1.0.1003.18263  
          基本代码:file:///C:/PROGRAM%20FILES/苏州航天/CRM查询子系统/WINDOWSAPPLICATION6.EXE  
  ----------------------------------------  
  System.Windows.Forms  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3705.0  
          基本代码:file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll  
  ----------------------------------------  
  System  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3705.0  
          基本代码:file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll  
  ----------------------------------------  
  System.Data  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3705.0  
          基本代码:file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e089/system.data.dll  
  ----------------------------------------  
  System.Xml  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3705.0  
          基本代码:file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll  
  ----------------------------------------  
  System.Drawing  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3705.0  
          基本代码:file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll  
  ----------------------------------------  
  System.EnterpriseServices  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3705.0  
          基本代码:file:///c:/windows/assembly/gac/system.enterpriseservices/1.0.3300.0__b03f5f7f11d50a3a/system.enterpriseservices.dll  
  ----------------------------------------  
  mscorlib.resources  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3300.0  
          基本代码:file:///c:/windows/assembly/gac/mscorlib.resources/1.0.3300.0_zh-chs_b77a5c561934e089/mscorlib.resources.dll  
  ----------------------------------------  
  System.Data.resources  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3300.0  
          基本代码:file:///c:/windows/assembly/gac/system.data.resources/1.0.3300.0_zh-chs_b77a5c561934e089/system.data.resources.dll  
  ----------------------------------------  
  System.Windows.Forms.resources  
          程序集版本:1.0.3300.0  
          Win32   版本:1.0.3300.0  
          基本代码:file:///c:/windows/assembly/gac/system.windows.forms.resources/1.0.3300.0_zh-chs_b77a5c561934e089/system.windows.forms.resources.dll  
  ----------------------------------------  
   
  **************   JIT   调试   **************  
  若要启用实时   (JIT)   调试,此  
  应用程序或计算机的配置文件   (machine.config)   的    
    system.windows.forms   节中必须设置   jitDebugging   值。  
  编译应用程序时还必须启用  
  调试。  
   
  例如:  
   
  <configuration>  
          <system.windows.forms   jitDebugging="true"   />  
  </configuration>  
   
  启用   JIT   调试后,任何未处理的异常  
  将被发送到此计算机上注册的   JIT   调试器,  
  而不是由此对话框处理。  
   
   
  问题点数:100、回复次数:7Top

1 楼yarshray(saga jion(心飘情落))回复于 2002-09-30 11:25:46 得分 10

出现这钟情况通常问你的数据和数据库中的数据  
  不匹配!Top

2 楼qimini(循序渐进)回复于 2002-09-30 12:44:40 得分 0

能不能说得详细点!!!??Top

3 楼qimini(循序渐进)回复于 2002-09-30 12:47:00 得分 0

我在本机调试通过啊!???Top

4 楼lkal4587()回复于 2002-09-30 13:07:39 得分 10

database   connection   ?Top

5 楼swjuhml(asp.net)回复于 2002-09-30 17:50:43 得分 80

如果客户机是win98  
  注意在打包后安装在客户机上时安装目录不能还有中文  
   
  如原来安装在     c:\系统\myApp\目录下面  
  则将其修改为   c:\system\myApp\   就可以了.  
  Top

6 楼qimini(循序渐进)回复于 2002-10-04 20:52:59 得分 0

可我的程序只是在DataGrid显示数据时出错。DataGrid中数据存在,但不能正常显示????Top

7 楼solidus(啊猫)回复于 2002-10-09 13:20:52 得分 0

11Top

相关问题

  • phpteam请进,在线~~~~~
  • icyer,请进,在线等待
  • 在线请进!100分!
  • 高手请进!!在线等!!!
  • 高手请进!在线等!
  • 高手请进!在线等!
  • 高手请进!在线等....
  • 高手请进~~~~[在线等]
  • 达人请进,在线等
  • 高手请进,在线等

关键词

  • win32
  • 版本
  • 代码
  • 数据
  • 安装
  • datagrid
  • security
  • dll
  • diagnosticsconfiguration
  • fileiopermission

得分解答快速导航

  • 帖主:qimini
  • yarshray
  • lkal4587
  • swjuhml

相关链接

  • CSDN .NET频道
  • .NET类图书
  • C#类图书
  • .NET类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo