winform-System.ComponentModel.Win32Exception:

问题描述

System.ComponentModel.Win32Exception:

************** Exception Text **************
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ComponentModel.Win32Exception: 存储空间不足,无法处理此命令。
at System.Drawing.Icon.Initialize(Int32 width, Int32 height)
at System.Drawing.Icon..ctor(SerializationInfo info, StreamingContext context)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._SerializationInvoke(IRuntimeMethodInfo method, Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader._LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
at System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase)
at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
at System.Resources.ResourceManager.GetObject(String name)
at Sshpos.SkJs.InitializeComponent()
at Sshpos.SkJs..ctor()
at Sshpos.PosMain.button1_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.PerformClick()
at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

解决方案

没有磁盘空间,或者文件只读,或者访问的是只读的驱动器(比如CDROM或者写保护的SD卡)

时间: 2024-08-31 13:10:44

winform-System.ComponentModel.Win32Exception:的相关文章

电脑问题-System.ComponentModel.Win32Exception:

问题描述 System.ComponentModel.Win32Exception: System.ComponentModel.Win32Exception: 由于应用程序配置不正确,应用程序未能启动.重新安装应用程序可能会纠正这个问题. 解决方案 http://www.cnblogs.com/songling/archive/2011/05/10/2042290.html

请教“System.ComponentModel.Win32Exception: 创建窗口句柄时出错。”

问题描述 **************************『2008-12-079:07:53』********************************System.ComponentModel.Win32Exception:创建窗口句柄时出错.在System.Windows.Forms.NativeWindow.CreateHandle(CreateParamscp)在System.Windows.Forms.Control.CreateHandle()在System.Window

c#- System.ComponentModel.Container components啥意思?

问题描述 System.ComponentModel.Container components啥意思? private System.ComponentModel.Container components = null是什么意思? 为什么和 protected override void Dispose (bool disposing) { if(disposing && (components != null)) { components.Dispose(); } base.Dispos

请问private System.ComponentModel.Container components = null是什么意思?

问题描述 我在windows应用程序中有两处代码不明白,请教一下:1.privateSystem.ComponentModel.Containercomponents=null是什么意思?2.protectedoverridevoidDispose(booldisposing){if(disposing){if(components!=null){components.Dispose();}}base.Dispose(disposing);}这几句是什么意思? 解决方案 解决方案二:首先说,Di

ASP.NET The system cannot find the file specified解决办法_实用技巧

ASP.NET The system cannot find the file specified解决办法 Server Error in '/' Application. The system cannot find the file specified Description: An unhandled exception occurred during the execution of the current web request. Please review the stack tra

意外发现了winform的一个控件个数的极限

问题描述 很久没来CSDN了,今天跟大家分享一个我的发现,调试这个的时间用了很久,希望大家在遇到类似问题时,不要走弯路.如下图,我用反射在一个窗体上根据从数据库里取来的数据创建自定义控件,当完成1169个之后创建第1170个,而且每次都是在1170时,会报错,如下图.有时则直接说发生了一个异常,根本没把这个错误报出来.大概是微软觉得你肯定不会在同一个窗体上创建1000多个控件吧.....托管(v4.0.30319)):已加载"C:WindowsMicrosoft.NetassemblyGAC_M

LINQToDataTable报错,System.Data.SqlClient.SqlException (0x80131904): Timeout 时间已到。

问题描述 System.Data.SqlClient.SqlException(0x80131904):Timeout时间已到.在操作完成之前超时时间已过或服务器未响应.--->System.ComponentModel.Win32Exception(0x80004005):等待的操作过时.在System.Data.SqlClient.SqlConnection.OnError(SqlExceptionexception,BooleanbreakConnection,Action`1wrapCl

求一个破解版本的IrisSkin.dll

问题描述 我从网上下载了个皮肤控件IrisSkin可放在我的winform窗体中应用时老是提示:请注册!请各位朋友帮我发个破解般不需注册的IrisSkin收到后可立即给分,谢谢!邮箱是:meixiang331@163.comQQ是:81676032谢谢! 解决方案 解决方案二:CNB2CDV9RS185F1DCH2715A3P5F4442BCH5F1V32104A8B3FCH9037P3AACE5FAFCHF458B5D2A16C39CH62FZ373C554CC3CH71D4AGEDBE7C2

奇怪的数据库超时问题

问题描述 System.ComponentModel.Win32Exception:等待的操作过时.[Win32Exception(0x80004005):等待的操作过时.]今天发现IIS发布的服务器无法连接到数据库,提示以上错误,更奇怪的是写了一个windwos应用程序进行测试A,B服务器的数据库连接,分别连接两台不同服务器的数据库,测试1结果如下:A服务器数据库,连接超时B服务器数据库,正常可以查询出数据,测试2把windwos应用程序进行测试A,B服务器的数据库连接结果如下:A服务器数据库