|
hi. i am making a c# web app and the program is to take a crystal report, update the information from the database and display it on the screen. for some reason i get this error when i run the code. i googled around and could not find any help. thanks if you can help me!
Exception of type System.StackOverflowException was thrown.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.StackOverflowException: Exception of type System.StackOverflowException was thrown.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[StackOverflowException: Exception of type System.StackOverflowException was thrown.]
private void Page_Load(object sender, System.EventArgs e)
{
ReportDocument report = new ReportDocument();
string strReportName = "NewClaimsReport";
report.Load(Server.MapPath(strReportName + ".rpt"));
string connectionString = "Data Source=webserver;initial Catalog=StrWebFlow;user id=stronereport;password=ma$terpwd;Integrated Security=SSPI;";
SqlConnection sqlConnection = new SqlConnection(connectionString);
string strSql =
"SELECT Claims.FileNo, Claims.JobName, Claims.InsReceivedDate, "+
"ClaimValues.JobType, InsCompanies.InsName, wfUsers.FirstName, wfUsers.LastName "+
"FROM Claims, ClaimValues, InsCompanies, wfUsers, Adjusters "+
"WHERE Claims.ClaimId = ClaimValues.ClaimId "+
"AND InsCompanies.InsAccId = Claims.InsAccId "+
"AND ClaimValues.InsAdjusterId = Adjusters.AdjusterId "+
"AND wfUsers.UserId = Adjusters.UserId;";
SqlDataReader objDataReader;
SqlCommand objCommand = new SqlCommand(strSql, sqlConnection);
sqlConnection.Open();
objDataReader = objCommand.ExecuteReader();
string strInsert = "";
bool boolCheck = false;
while (objDataReader.Read())
{
if(boolCheck)
{
strInsert += " and ";
}
boolCheck = true;
strInsert +=
" {Claims.FileNo} = '"+ objDataReader.GetValue(0) +"' and " +
" {Claims.JobName} = '"+ objDataReader.GetValue(1) +"' and " +
" {Claims.InsReceivedDate} = Date('"+objDataReader.GetValue(2)+"') and " +
" {ClaimValues.JobType} = '"+ objDataReader.GetValue(3) +"' and " +
" {InsCompanies.InsName} = '"+ objDataReader.GetValue(4) +"' and " +
" {wfUsers.FirstName} = '"+ objDataReader.GetValue(5) +"' and " +
" {wfUsers.LastName} = '"+ objDataReader.GetValue(6) +"' ";
}
sqlConnection.Close();
report.RecordSelectionFormula = strInsert;
DiskFileDestinationOptions objDiskFile = new DiskFileDestinationOptions();
string strFileName = strReportName + "/forum/.pdf";
objDiskFile.DiskFileName = Server.MapPath(".") + strFileName;
report.ExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile;
report.ExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
report.ExportOptions.DestinationOptions = objDiskFile;
report.Export();
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/pdf";
Response.WriteFile(strFileName);
Response.Flush();
Response.Close();
}
|
|
|
Nice post about stack overflow exception. I like your blog very much because it has very interesting articles of different topics like 642-681 dumps, 642-812 free dumps and 642-901 free dumps and their tips and tricks. I am a very big googler and search on different topics. Between searching i found your nice blog. Thanks for your this great blog.
|
|
|
|
|
The definition of coaching is being richly debated across executive suites, human resources departments, and now within the CPI community. I have posted the coaching definition I relate to most, and would love to invite you all to share your definition of coaching.The definition of coaching is being richly debated across executive suites, human resources departments, and now within the CPI community. I have posted the coaching definition I relate to most, and would love to invite you all to share your definition of coaching.The definition of coaching is being richly debated across executive suites, human resources departments, and now within the CPI community. I have posted the coaching definition I relate to most, and would love to invite you all to share your definition of coaching.
==============================================================
pass4sure F50-533|| pass4sure 1D0-510|| pass4sure 1Y0-A17|| pass4sure 1Y0-A09|| pass4sure 4A0-101|| pass4sure 1Y0-A08|| pass4sure 646-204|| pass4sure 1z0-402|| pass4sure 350-040|| pass4sure OG0-091|| pass4sure ST0-91X|| pass4sure 250-309
|
|
|
|
|
Whether you are a single mom or a working mom who has other things to do other than run a household, you should make sure that you provide time to be with your kids. Manage your time well to make this happen. A simple get together for a few minutes on the dinner table at the end of the day can be produce valuable effects. Also, make it a point to plan special events or outings with your kids. This will provide them good memories with you or with the whole family.
__________________________________________________________________
HP0-S30|| 1z0-539|| 642-359|| HP0-S25|| NS0-154|| OG0-093|| 642-504|| PMI-002
|
|
|
Every day, or so it seems, new research shows that some aspect of lifestyle - physical activity, diet, alcohol consumption, and so on - affects health and longevity. Physical fitness is good bodily health, and is the result of regular exercise, proper diet and nutrition, and proper rest for physical recovery. The field of nutrition also studies foods and dietary supplements that improve performance, promote health, and cure or prevent disease, such as fibrous foods to reduce the risk of colon cancer, or supplements with vitamin C to strengthen teeth and gums and to improve the immune system. When exercising, it becomes even more important to have a good diet to ensure that the body has the correct ratio of macronutrients whilst providing ample micronutrients; this is to aid the body in the recovery process following strenuous exercise.
642-456| 70-686| 1z0-052|70-573| 646-230| 70-685| 642-873| 156-215.70
|
|
|
welcome to: http://www.clothingsell.org
The website wholesale for many kinds of fashion shoes, like the nike,jordan,prada,****, also including the jeans,shirts,bags,hat and the decorations. All the products are free shipping, and the the price is competitive, and also can accept the paypal payment.,after the payment, can ship within short time.
free shipping
competitive price
any size available
accept the paypal
http://www.clothingsell.org
jordan shoes $32
nike shox $32
Christan Audigier bikini $23
Ed Hardy Bikini $23
Smful short_t-shirt_woman $15
ed hardy short_tank_woman $16
Sandal $32
christian louboutin $80
Sunglass $15
COACH_Necklace $27
handbag $33
AF tank woman $17
puma slipper woman $30
http://www.clothingsell.org
|
|
|
|
|
Today I found a wonderful website,the site contained:
wedding dresses
cheap wedding dresses
Junior Bridesmaid Dresses
Cheap Homecoming Dresses
Cheap Quinceanera Dresses
Inexpensive bridesmaid dresses
Wholesale wedding dress
Wholesale wedding dress
Discount wedding dresses
Cheap Maternity Wedding Dresses
A-Line Wedding Dresses
Cheap Couture Wedding Dresses
Cheap Beach Wedding Dresses
Cheap Casual Wedding Dresses
Cheap Simple Wedding Dresses
Cheap Modest Wedding Dresses
Cheap Special Occasion Dresses
Cheap Evening Dresses
Cheap Prom Dresses
Cheap Little Black Dresses
Cheap Plus Size Wedding Dresses
Pink Wedding Dresses
Cheap Wedding Party Dresses
Cheap Bridesmaid Dresses
Cheap Flower Girl Dresses
Cheap Mother of the Bride Dresses
victoria's secret,
cheap wedding dresses,wholesale wedding dress,Wedding dresses 2011,Plus Size Wedding Dress wholesale,Couture Wedding Dress wholesale,Formal Wedding Dress wholesale,Bridesmaid Dresses wholesale,Discount Bridesmaid Dress wholesale,Junior Bridesmaids Dresses wholesale,Maternity Bridesmaid Dress wholesale,Cocktail Dress wholesale,Prom Dress wholesale,Evening Dress wholesale,Sexy Evening Dress wholesale,Stardoll Dress wholesale,Quinceanera Dress wholesale,Mother of the Bride Dress,Flower Girl Dress,Wedding Accessories wholesale
|
|
|
A century ago, American farmers healthy breakfast and city-dwellers alike piled breakfast low calorie diet plan plates high with meat, potatoes, gravy, eggs, bread, and healthy breakfast ideas/strong> sometimes pastries. Not much has eggs breakfast recipe changed.A 21st century leisurely breakfast often healthy breakfast foods consists of sausage or bacon, eggs, fried potatoes, gravy, healthy breakfast cookie recipe and waffles or pancakes smothered healthy breakfast cereal choices in butter and syrup or topped with healthy breakfast recipes sweetened fruit compote low calorie breakfast recipes and whipped cream.This breakfast is high in saturated fat and low in vitamins and healthy breakfast diet for kids other important nutrients. People who engage average breakfast cereal choices in regular hard work similar to healthy breakfast choices our ancestors, like the Amish, might get away with diet breakfast recipes eating that diet, but the rest of healthy eating tips America is at healthy breakfast dishes for kids increased risk of obesity and chronic diseases, such as cancer and diabetes.Another typical breakfast hurriedly gobbled down healthy recipes for weight loss before children and adults rush out the door is breakfast recipes for kids a bowl of sugar-coated cereal. An alternate version is a pastry and a cup of Tips for Healthy Eating coffee. These foods are highly processed and Breakfast and Brunch Cookbook high in sugar. They fill the void and give you a healthy indian breakfast recipe quick flash of energy, but the effect is short lived. By healthy brekfast foods for girls mid-morning, you're tired wrap sandwich recipes and hungry. Not only are you Real Food for Healthy Kids consuming empty calories, but you're also increasing your risk of diabetes healthy breakfast menus kids and obesity.Eating regular meals — especially breakfast — every day is a good health habit. Breakfast kick-starts your metabolism, healthy snack foods kids provides fuel for your healthy snacks kids mind, and healthy breakfast fruits for kids cuts down on mid morning snacking. Most snack foods are breakfast and brunch cookbook morning high in calories, fat, sugar, easy breakfast casserole and salt, and low in nutrients. This is probably one reason why pictures of healthy food breakfast skippers tend to weigh more healthy food habits.
|
|
|
|
|
|
|
|
|
|
This 17 message thread spans 2 pages: [1] 2 > > |
|
|
|
|
|