Click here to Skip to main content
15,881,872 members
Home / Discussions / C#
   

C#

 
AnswerRe: handle script error on virtual machine Pin
Eddy Vluggen27-Nov-12 13:49
professionalEddy Vluggen27-Nov-12 13:49 
QuestionEn- or disabling labels regarding to checked items in a listbox Pin
Dennis Bork27-Nov-12 3:15
Dennis Bork27-Nov-12 3:15 
AnswerRe: En- or disabling labels regarding to checked items in a listbox Pin
Alan N27-Nov-12 4:36
Alan N27-Nov-12 4:36 
AnswerRe: En- or disabling labels regarding to checked items in a listbox Pin
Richard MacCutchan27-Nov-12 4:52
mveRichard MacCutchan27-Nov-12 4:52 
AnswerRe: En- or disabling labels regarding to checked items in a listbox Pin
Nilesh Raval27-Nov-12 19:22
professionalNilesh Raval27-Nov-12 19:22 
GeneralRe: En- or disabling labels regarding to checked items in a listbox Pin
Dennis Bork28-Nov-12 0:05
Dennis Bork28-Nov-12 0:05 
GeneralRe: En- or disabling labels regarding to checked items in a listbox Pin
Nilesh Raval28-Nov-12 1:05
professionalNilesh Raval28-Nov-12 1:05 
QuestionUnsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack. Pin
MAHAMADLATIF HASAN SANADI27-Nov-12 0:41
MAHAMADLATIF HASAN SANADI27-Nov-12 0:41 
Respected Sir,

I am new in web base application using c# & back end sql 2005 , I am create report file in crystal 10

please help me.

strFileNm = 'RpItemLst";
strFileNmWithPath = Server.MapPath(strFileNm + ".rpt");

RepDoc.Load(strFileNmWithPath);

===========below error============

Server Error in '/FactoryProduction' Application.
--------------------------------------------------------------------------------

Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.
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.Runtime.InteropServices.COMException: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.

Source Error:


Line 157: //RepDoc.Load(strFileNmWithPath, OpenReportMethod.OpenReportByTempCopy);
Line 158: // RepDoc.Load("d:/sanadi/factoryproduction/RpItemLst.rpt");
Line 159: RepDoc.Load(strFileNmWithPath.ToString());
Line 160: CrystalReportViewer1.ReportSource = RepDoc;
Line 161: CrystalReportViewer1.DataBind();


Source File: d:\sanadi\FactoryProduction\RepItem.aspx.cs Line: 159

Stack Trace:


[COMException (0x80041811): Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack.]
CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +144
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +549

[CrystalReportsException: Load report failed.]
CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +650
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1823
CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +186
RepItem.BtnPrint_Click(Object sender, EventArgs e) in d:\sanadi\FactoryProduction\RepItem.aspx.cs:159
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +118
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +112
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563
AnswerRe: Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack. Pin
Richard Deeming27-Nov-12 1:06
mveRichard Deeming27-Nov-12 1:06 
Questionhow to load values into combobox Pin
chahthuranga26-Nov-12 22:06
chahthuranga26-Nov-12 22:06 
AnswerRe: how to load values into combobox Pin
Richard MacCutchan26-Nov-12 22:51
mveRichard MacCutchan26-Nov-12 22:51 
AnswerRe: how to load values into combobox Pin
Pete O'Hanlon26-Nov-12 22:53
mvePete O'Hanlon26-Nov-12 22:53 
Questionideal time out problem Pin
VishwaKL26-Nov-12 21:21
VishwaKL26-Nov-12 21:21 
AnswerRe: ideal time out problem Pin
OriginalGriff26-Nov-12 21:43
mveOriginalGriff26-Nov-12 21:43 
GeneralRe: ideal time out problem Pin
VishwaKL26-Nov-12 23:44
VishwaKL26-Nov-12 23:44 
AnswerRe: ideal time out problem Pin
Simon_Whale26-Nov-12 23:48
Simon_Whale26-Nov-12 23:48 
AnswerRe: ideal time out problem Pin
BobJanova28-Nov-12 23:53
BobJanova28-Nov-12 23:53 
GeneralRe: ideal time out problem Pin
VishwaKL29-Nov-12 20:51
VishwaKL29-Nov-12 20:51 
QuestionDetecting Internet Connection Loss Pin
Roger Wright26-Nov-12 16:29
professionalRoger Wright26-Nov-12 16:29 
AnswerRe: Detecting Internet Connection Loss Pin
Abhinav S26-Nov-12 16:56
Abhinav S26-Nov-12 16:56 
GeneralRe: Detecting Internet Connection Loss Pin
Roger Wright26-Nov-12 17:40
professionalRoger Wright26-Nov-12 17:40 
AnswerRe: Detecting Internet Connection Loss Pin
Peter_in_278026-Nov-12 18:38
professionalPeter_in_278026-Nov-12 18:38 
GeneralRe: Detecting Internet Connection Loss Pin
Roger Wright27-Nov-12 2:32
professionalRoger Wright27-Nov-12 2:32 
QuestionDateTime NullReferenceException Pin
zeqir8525-Nov-12 22:36
zeqir8525-Nov-12 22:36 
AnswerRe: DateTime NullReferenceException Pin
Ingo25-Nov-12 23:15
Ingo25-Nov-12 23:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.