Showing posts with label guys. Show all posts
Showing posts with label guys. Show all posts

Saturday, March 31, 2012

System.FormatException

Hi Guys,

When I trying to execute this code,

insGrupo = Nothing
insGrupo = New Grupo(Short.Parse(0), TxtGrCoCodi.Text)

occurs the following error

System.FormatException: Sequence of entrance was not in a incorrect format.

Somebody knows what it can be this error?

---------------
Marcus Vincius M. Montezanodid you get help with this?

--
Regards,
Alvin Bruney
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Marcus Vincius" <marc.marcus@.bol.com.br> wrote in message
news:%23M9qgFe1DHA.4032@.tk2msftngp13.phx.gbl...
> Hi Guys,
> When I trying to execute this code,
> insGrupo = Nothing
> insGrupo = New Grupo(Short.Parse(0), TxtGrCoCodi.Text)
>
> occurs the following error
> System.FormatException: Sequence of entrance was not in a incorrect
format.
>
> Somebody knows what it can be this error?
>
> ---------------
> Marcus Vincius M. Montezano

Thursday, March 22, 2012

System.OutOfMemory Exception urgent Help pls

Hi Guys,

I have a real serious problem that stoped me doing any progress in my project.

in one of my webpages I have a wizard of more then 13 pages and in every page some Ajax controls, textboxes, dropdownlists, about 4 panels, where every page in my wizard have almost the same controls;

so all what I had to do is copy the controls from a wizard page then paste it to next one and just change the controls names and it was going all fine till the page 8 in my wizard where pasting this set of controls is now giving me this error "System.OutOfMemory Exception" and this is happening at design time, and even just browsing between the wizard pages at design time is giving me the same error.

I thought that the wizard plus these controls are consuming too much memory so I changed my design and deleted the wizard and used MultiView instead but still the same problem.

So help me pls, or how can I increase the memory space used by Visual Studio knowing that my pc's RAM is 2G and still have 30G free disk space!!!!?

Thanks
Regards,
M.RochdiYou say that the code is almost the same in all pages, lets see the code and
what the differences are.
When you used the MultiView what page did you get the error on?
You may need to add code bit by bit find the problem.
What do the pages do, is it possible that your machine is running out of
memory without an error?
"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:EBE6EFED-83EB-4648-930E-A33A66C3F9CC@.microsoft.com...
> Hi Guys,
> I have a real serious problem that stoped me doing any progress in my
> project.
> in one of my webpages I have a wizard of more then 13 pages and in every
> page some Ajax controls, textboxes, dropdownlists, about 4 panels, where
> every page in my wizard have almost the same controls; so all what I had
> to
> do is copy the controls from a wizard page then paste it to next one and
> just
> change the controls names and it was going all fine till the page 8 in my
> wizard where pasting this set of controls is now giving me this error
> "System.OutOfMemory Exception" and this is happening at design time, and
> even
> just browsing between the wizard pages at design time is giving me the
> same
> error. I thought that the wizard plus these controls are consuming too
> much
> memory so I changed my design and deleted the wizard and used MultiView
> instead but still the same problem. So help me pls, or how can I increase
> the
> memory space used by Visual Studio knowing that my pc's RAM is 2G and
> still
> have 30G free disk space!!!!?
>
> Thanks
>
> --
> Regards,
> M.Rochdi
You say that the code is almost the same in all pages, lets see the code and
what the differences are.
I said that the controls are almost the same in every wizard page witch
means the Design code would be almost the same, but its really too long to
cut and past it in my post.
When you used the MultiView what page did you get the error on?
with MultiView there was only one page. I deleted the wizard witch means all
its pages and I used a MultiView instead with 13 Views in my webpage and whe
n
trying to add more controls to View 8 or 9 that error will start to come up
in the add control it self. but anyway, when having the wizard just browsing
backward and forward between the wizard pages at design time will give the
same error.
What do the pages do?
the controls in the page will change to a Gray box will the above error.
is it possible that your machine is running out of
memory without an error?
Well I do have 2G RAM and when I checked the Performance of my CPU it was
only from 1% to 40% but I don't know how much memory is conserved to Visual
Studio to work and I've heard that you can increase the memory that VS can
work on but I don't know How?
Regards,
M.Rochdi
"ThatsIT.net.au" wrote:

> You say that the code is almost the same in all pages, lets see the code a
nd
> what the differences are.
> When you used the MultiView what page did you get the error on?
> You may need to add code bit by bit find the problem.
> What do the pages do, is it possible that your machine is running out of
> memory without an error?
>
> "Mike" <Mike@.discussions.microsoft.com> wrote in message
> news:EBE6EFED-83EB-4648-930E-A33A66C3F9CC@.microsoft.com...
>

System.OutOfMemoryException problem

Hi Guys,
I have an aspx page that include some Ajax components (UpdatePanel,
ProgressBar, Extenders) and a wizard for about 15 pages and in every page I
am adding some labels, textboxes, dropdownlists, checkboxes.
and now I'm up to page 8 in my wizard and if I add some more controls in my
wizard page or even moving backward or forward to another wizard page some o
f
the controls will change to gray box with an error like this eg. -(Error
Creating Control -Label65 Exception of type 'System.OutOfMemoryException'
Was Thrown).
I tried close and reopen the application or to restart the computer but
still getting the same error!!!?
Thanks
Regards,
M.RochdiWhat is the system usage of memory like when you start to walk through the
different pages of the wizard? Does it continue to grow?
--
Regards,
Alvin Bruney [MVP ASP.NET]
[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
"Mike" <Mike@.discussions.microsoft.com> wrote in message
news:2846DA5C-FE2C-47D0-8828-AB82CF8DBCFE@.microsoft.com...
> Hi Guys,
> I have an aspx page that include some Ajax components (UpdatePanel,
> ProgressBar, Extenders) and a wizard for about 15 pages and in every page
> I
> am adding some labels, textboxes, dropdownlists, checkboxes.
> and now I'm up to page 8 in my wizard and if I add some more controls in
> my
> wizard page or even moving backward or forward to another wizard page some
> of
> the controls will change to gray box with an error like this eg. -(Error
> Creating Control -Label65 Exception of type 'System.OutOfMemoryException'
> Was Thrown).
> I tried close and reopen the application or to restart the computer but
> still getting the same error!!!?
>
> Thanks
> --
> Regards,
> M.Rochdi