C# dataset.select and stack overflow
-
Hi guys, Please HELLLLLLPPPPPPP! I have been working on this for 3 days now and I was able to bring it down to stack overflow error in my dataset.Select statement. I have a windows service that gathers data in a dataset and then based on different configurations runs the dataset.select statement. This works and worked fine with .NET 1.1 but after migrating to .NET 2.0, I am getting the stack overflow error when too many dataset entries are generated. Please help!
Sameer
-
Hi guys, Please HELLLLLLPPPPPPP! I have been working on this for 3 days now and I was able to bring it down to stack overflow error in my dataset.Select statement. I have a windows service that gathers data in a dataset and then based on different configurations runs the dataset.select statement. This works and worked fine with .NET 1.1 but after migrating to .NET 2.0, I am getting the stack overflow error when too many dataset entries are generated. Please help!
Sameer
What is the code, and what is the stack trace ?
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Hi guys, Please HELLLLLLPPPPPPP! I have been working on this for 3 days now and I was able to bring it down to stack overflow error in my dataset.Select statement. I have a windows service that gathers data in a dataset and then based on different configurations runs the dataset.select statement. This works and worked fine with .NET 1.1 but after migrating to .NET 2.0, I am getting the stack overflow error when too many dataset entries are generated. Please help!
Sameer
HI Saamir first one If you can try post error description or any error stack trace another one check in .net 2.0 framework dataset.select() params are correct. thanks
Cheers,Earn and Enjoy RRave MCTS,MCPD http://ravesoft.blogspot.com
-
HI Saamir first one If you can try post error description or any error stack trace another one check in .net 2.0 framework dataset.select() params are correct. thanks
Cheers,Earn and Enjoy RRave MCTS,MCPD http://ravesoft.blogspot.com
Hi there, thank you for your response. It's my windows service that is throwing the exception and when I close the exception my service shuts down. The exception is displayed is JIT debugger. It says an Unhandled exception ('') occured in the windowsservice.exe The statement I believe that is causing this is DataRow[] arrSelectedRow = null; string sSelecct = tbCondition.Rows[i]["Condition"].ToString(); string sSortBy = tbCondition.Rows[i]["SortBy"].ToString(); arrSelectedRow = dsData.Tables[SSShare.GetAlerts.g_sTABLEData].Select(sSelecct, sSortBy); //IF I comment this line out no errors Please help
Sameer
-
What is the code, and what is the stack trace ?
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Hi Christian, thank you for your response. It's my windows service that is throwing the exception and when I close the exception my service shuts down. The exception is displayed is JIT debugger. It says an Unhandled exception ('') occured in the windowsservice.exe The statement I believe that is causing this is DataRow[] arrSelectedRow = null; string sSelecct = tbCondition.Rows[i]["Condition"].ToString(); string sSortBy = tbCondition.Rows[i]["SortBy"].ToString(); arrSelectedRow = dsData.Tables[SSShare.GetAlerts.g_sTABLEData].Select(sSelecct, sSortBy); //IF I comment this line out no errors Please help
Sameer
-
Hi there, thank you for your response. It's my windows service that is throwing the exception and when I close the exception my service shuts down. The exception is displayed is JIT debugger. It says an Unhandled exception ('') occured in the windowsservice.exe The statement I believe that is causing this is DataRow[] arrSelectedRow = null; string sSelecct = tbCondition.Rows[i]["Condition"].ToString(); string sSortBy = tbCondition.Rows[i]["SortBy"].ToString(); arrSelectedRow = dsData.Tables[SSShare.GetAlerts.g_sTABLEData].Select(sSelecct, sSortBy); //IF I comment this line out no errors Please help
Sameer
Sameer... I am using .net 1.1 datasets and our produciton application is having the EXACT same issue. Stack overflow seemly triggered by a select on a large dataset table. I don't know a strict solution yet. I may have to re-arch my appliation to eliminate this process.