Win32Execption: The operation completed successfuly

M

MajorTom

Hello developers.



This is not my day.



I working with a C# WinForms application, I have about 200 hundred WinForms,
they are most of them working as I need.



But now when I tried to open (not run) one of them in the designer, it take
a lot of time (about 45 second) and almost all the time my visual Studio
2003 IDE bring a lot of errors, some of them:



1- Win32Execption: The operation completed successfully

2- Unknown error (0x0)

3- An Error has occurred with the C # compiler is unable to report due to
low memory or possible heap corruption. It is recommended that you save al
files, close and restart visual studio



The visual studio has to be close from the task manager (totally
unresponsive)



As far I tied to understand what is happening I found that the particular
form has 14 typed datasets, and if I take them out of my form it have a
normal behavior (of course, my form get a lot of errors), I put them back
one by one and the performance get worse and finaly get the same set of
errors. And not a particular dataset to blame.



My development Laptop have a Pentium M processor 2 Ghz, 1 GB of RAM, and a
big and fast H.D. with more than 50 % free space, running windows XP SP2
(firewall enable), McAffe antivirus, MS Anti SpyWare, all the Security
updates and framework 1.1 SP1.



Please some one make my day.



TIA



MajorTom
 
A

Alvin Bruney [MVP - ASP.NET]

please don't cross post

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
 
M

MajorTom

Sorry,



Can you please suggest me the appropriate nw for this problem ?



Thanks



MajorTom





please don't cross post

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
MajorTom said:
Hello developers.



This is not my day.



I working with a C# WinForms application, I have about 200 hundred
WinForms, they are most of them working as I need.



But now when I tried to open (not run) one of them in the designer, it
take a lot of time (about 45 second) and almost all the time my visual
Studio 2003 IDE bring a lot of errors, some of them:



1- Win32Execption: The operation completed successfully

2- Unknown error (0x0)

3- An Error has occurred with the C # compiler is unable to report due to
low memory or possible heap corruption. It is recommended that you save
al files, close and restart visual studio



The visual studio has to be close from the task manager (totally
unresponsive)



As far I tied to understand what is happening I found that the particular
form has 14 typed datasets, and if I take them out of my form it have a
normal behavior (of course, my form get a lot of errors), I put them back
one by one and the performance get worse and finaly get the same set of
errors. And not a particular dataset to blame.



My development Laptop have a Pentium M processor 2 Ghz, 1 GB of RAM, and
a big and fast H.D. with more than 50 % free space, running windows XP
SP2 (firewall enable), McAffe antivirus, MS Anti SpyWare, all the
Security updates and framework 1.1 SP1.



Please some one make my day.



TIA



MajorTom
 
A

Alvin Bruney [MVP - ASP.NET]

I don't understand why you have 200 forms. That by itself should be a memory
hog. Do you need that many? In fact, the error message seems to indicate
that this is the problem.

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
MajorTom said:
Sorry,



Can you please suggest me the appropriate nw for this problem ?



Thanks



MajorTom





please don't cross post

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
MajorTom said:
Hello developers.



This is not my day.



I working with a C# WinForms application, I have about 200 hundred
WinForms, they are most of them working as I need.



But now when I tried to open (not run) one of them in the designer, it
take a lot of time (about 45 second) and almost all the time my visual
Studio 2003 IDE bring a lot of errors, some of them:



1- Win32Execption: The operation completed successfully

2- Unknown error (0x0)

3- An Error has occurred with the C # compiler is unable to report due
to low memory or possible heap corruption. It is recommended that you
save al files, close and restart visual studio



The visual studio has to be close from the task manager (totally
unresponsive)



As far I tied to understand what is happening I found that the
particular form has 14 typed datasets, and if I take them out of my form
it have a normal behavior (of course, my form get a lot of errors), I
put them back one by one and the performance get worse and finaly get
the same set of errors. And not a particular dataset to blame.



My development Laptop have a Pentium M processor 2 Ghz, 1 GB of RAM, and
a big and fast H.D. with more than 50 % free space, running windows XP
SP2 (firewall enable), McAffe antivirus, MS Anti SpyWare, all the
Security updates and framework 1.1 SP1.



Please some one make my day.



TIA



MajorTom
 
M

MajorTom

Thanks Alvin



The application is a CRM-ERP and have to be that big, I can make the
necessary divisions if this is the point, I have a SQL database with 154
tables, and the problem don't look to be directly related to the number of
forms in the project because all the others forms open at the designer with
a good performance. The form that was having problem has about 14 typed
dataset at the designer, I change to 8 and woks fine, and finally I reduce
to only one.



The problem, I'm agreed with you, is about system resource, and in my case
is directly related to the typed dataset when they are instance at designer
time, I just change all the code to create the dataset instances at run
time.



I really think that this is a flaw with the IDE of the visual studio, what
is all the work that is done when you put an typeddataset at design time ?



Now I have the experience to take care of the load to put to de IDE.



Thanks for your time



MajorTom



PD: I personally find funny this Win32 Exception?

Win32Execption: The operation completed successfully

Why to send an exception for completed successfully, and really not so
successfully, and a lot useless



(sorry my English)


Alvin Bruney said:
I don't understand why you have 200 forms. That by itself should be a
memory hog. Do you need that many? In fact, the error message seems to
indicate that this is the problem.

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
MajorTom said:
Sorry,



Can you please suggest me the appropriate nw for this problem ?



Thanks



MajorTom





please don't cross post

--
Regards,
Alvin Bruney - ASP.NET MVP

[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
Now available @ www.lulu.com/owc, Amazon.com etc
Hello developers.



This is not my day.



I working with a C# WinForms application, I have about 200 hundred
WinForms, they are most of them working as I need.



But now when I tried to open (not run) one of them in the designer, it
take a lot of time (about 45 second) and almost all the time my visual
Studio 2003 IDE bring a lot of errors, some of them:



1- Win32Execption: The operation completed successfully

2- Unknown error (0x0)

3- An Error has occurred with the C # compiler is unable to report due
to low memory or possible heap corruption. It is recommended that you
save al files, close and restart visual studio



The visual studio has to be close from the task manager (totally
unresponsive)



As far I tied to understand what is happening I found that the
particular form has 14 typed datasets, and if I take them out of my
form it have a normal behavior (of course, my form get a lot of
errors), I put them back one by one and the performance get worse and
finaly get the same set of errors. And not a particular dataset to
blame.



My development Laptop have a Pentium M processor 2 Ghz, 1 GB of RAM,
and a big and fast H.D. with more than 50 % free space, running windows
XP SP2 (firewall enable), McAffe antivirus, MS Anti SpyWare, all the
Security updates and framework 1.1 SP1.



Please some one make my day.



TIA



MajorTom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top