473,508 Members | 2,240 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

System.OutOfMemoryException'

Hi,
I have installed VS.Net(Ver:7.0.9466) & .Net_Frameword_1.0
(Ver: 1.0.3705). Until recently, I could develop and run
applications using the VS.IDE.

A couple of days ago, I downloaded a sample application
(remoting example) that required .Net_Framework_1.1.
Since then I can only run console apps. If I try to run a
windows app with only a form, I get the following error
message:
/*---------------------------------------------------
1. WINDOWS APP WITH ONLY A FORM
-------------------------------
An unhandled exception of
type 'System.OutOfMemoryException' occurred in
system.windows.forms.dll

Additional information: Error creating window handle.

-----------------------------------------
2. WINDOWS APP WITH FORM AND TEXTBOX ONLY
-----------------------------------------
An unhandled exception of
type 'System.NullReferenceException' occurred in system.dll

Additional information: Object reference not set to an
instance of an object.
------------------------------------------------------*/

I uninstalled everything that has to do with VS.Net and re-
installed it. The problem still remains.

I tried to run a compiled windows application written in
VS.Net in a different developer machine and it seems to
run fine.

WHAT IS THE PROBLEM
Thanx.

..
Jul 21 '05 #1
1 10020
Did you install framework 1.1 when trying to run the sample app ?

One option that may sort the problem out would be to remove Visual Studio,
remove the framework (both 1.0 & 1.1) and then reinstall - frameworks
first.

--
Regards

Tim Stephenson MCSD.NET
Charted MCAD & MCSD.NET Early Achiever
"king solomon" <so************@texceltechnology.com> wrote in message
news:03****************************@phx.gbl...
Hi,
I have installed VS.Net(Ver:7.0.9466) & .Net_Frameword_1.0
(Ver: 1.0.3705). Until recently, I could develop and run
applications using the VS.IDE.

A couple of days ago, I downloaded a sample application
(remoting example) that required .Net_Framework_1.1.
Since then I can only run console apps. If I try to run a
windows app with only a form, I get the following error
message:
/*---------------------------------------------------
1. WINDOWS APP WITH ONLY A FORM
-------------------------------
An unhandled exception of
type 'System.OutOfMemoryException' occurred in
system.windows.forms.dll

Additional information: Error creating window handle.

-----------------------------------------
2. WINDOWS APP WITH FORM AND TEXTBOX ONLY
-----------------------------------------
An unhandled exception of
type 'System.NullReferenceException' occurred in system.dll

Additional information: Object reference not set to an
instance of an object.
------------------------------------------------------*/

I uninstalled everything that has to do with VS.Net and re-
installed it. The problem still remains.

I tried to run a compiled windows application written in
VS.Net in a different developer machine and it seems to
run fine.

WHAT IS THE PROBLEM
Thanx.

.

Jul 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2729
by: Per Bergland | last post by:
After many woes, I finally managed to get a stack dump of my System Service (written in C#) that insists on crashing when launched at system boot time (see below on how to get this dump - I...
1
4545
by: jason | last post by:
I have exhausted all resources, so perhaps someone out there can help. I have a 8MB string (that represents an html document) and I am trying to run a couple of regular expressions on this...
1
3426
by: Ripul Handa | last post by:
Hi We are running IIS 5.0 cluster with cisco local director. We are running a website on 2 webservers and I have been observing that from past few days we have are getting this error message of...
5
11983
by: Versteijn | last post by:
Hello all I have a ASPX file called scaleimage.aspx that scales my images down to a given width. This page is used very much in web project I am working on. But due to the large size of the...
1
4954
by: SMG - Idealake | last post by:
Hi all, I am getting following error on my error, what could be the reason? Exception of type System.OutOfMemoryException was thrown. Description: An unhandled exception occurred during the...
4
2081
by: Ed Chiu | last post by:
Hi, I migrated our company's ASP.Net web appplication from a regular Pentium 4 machine to a multiple xeon processors machine. The web application was acceptable in speed on the old machine, I...
1
3866
by: Ashkan Daie | last post by:
Hi All, When trying to install a performance counter via InstallUtil I get the following exception: Creating performance counter category Enterprise Library Caching. An exception occurred...
6
4271
by: chad | last post by:
assuming I have 2GB memory. And 1.5GB available. dim c1(,) as byte redim c1(1000, 1024*1024) throws system.outofmemoryexception. I'm like... huh? Initially I thought a lot of space is taken...
0
4401
by: AY | last post by:
Hello, We use a third party reporting system (Actuate) which provides soap services via WSDL. My web application was initially built in Visual Studio 2003 using .NET 1.1. I was able to...
8
12542
by: =?Utf-8?B?UGlnZ3k=?= | last post by:
Hi to all, I am getting this System.OutOfMemoryException calling the Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(<stream>,<Obj>) method. The type of <streamis...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7336
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.