Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in code - with Stored Proc
Message
 
To
27/07/2004 16:17:42
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00928301
Message ID:
00928555
Views:
28
This is what is happening I think.
The form instantiates
In the form load it calls New Company()
In Company it creates CompanyRules()
In CompanyRules() I want to access a getDataSet method in Company, so I thought I would create a New Company() Object

I think this is the problem with the recursion you are mentioning.

Stack Overflow is Happening in Main. I load the form and it all crashes with stack overflow.
Working on that now.

Thanks for the pointers and where to look.

New Languages...this is why i have no hair left!!! :-)


-->Shawn



>>Thanks Bonnie, I did add the new Company to it and now i get a stack overflow error.
>>the whole prgram crashes out.
>>
>>Is it a problem that company is created on the main form. and then i try to create it again?
>
>Shawn,
>
>Where are you getting the stack overflow error? Normally creating multiple instances of something will not cause this sort of problem, but then again I have no idea what your class might be doing. There might be some repetitive recursion or something going on. Have you traced it?
>
>~~Bonnie
Shawn Dorion
Geo Sektor Dot Com
Website: http://www.geosektor.com

Web Hosting Plans
Visit : http://WebHosting.Applications4u.com/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform