Source file 'C:\windows\TEMP\loamdxkp.0.cs' could not be fou
Posted: Mon Sep 10, 2012 10:53 pm
Hi
I have been going crazy with this problem since the past 2 days well its like when i run the project in debug mode the report loads and everything works great but as soon as i publish my project on my local IIS the report starts giving this error
error CS2001: Source file 'C:\windows\TEMP\loamdxkp.0.cs' could not be founderror CS2008: No inputs specified
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.Exception: error CS2001: Source file 'C:\windows\TEMP\loamdxkp.0.cs' could not be founderror CS2008: No inputs specified
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:
[Exception: error CS2001: Source file 'C:\windows\TEMP\loamdxkp.0.cs' could not be founderror CS2008: No inputs specified]
Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType) +1993
Stimulsoft.Report.StiReport.Compile() +21
Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState) +847
Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState) +1588
Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode) +952
Stimulsoft.Report.StiReport.Render(Boolean showProgress) +53
Stimulsoft.Report.Web.StiWebViewer.RenderReport(StiReport report) +120
Stimulsoft.Report.Web.StiWebViewer.ProcessReport() +1250
Stimulsoft.Report.Web.StiWebViewer.set_Report(StiReport value) +3190
Printing.Page_Load(Object sender, EventArgs e) +1039
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
it seems it is looking for some weird file i dont get it :-S i have tried just about everything i can but still no use :-S
here is the code
Dim _requestNum As String = Request.Params("RN")
Dim _consultationTransHdrID As String = Request.Params("CID")
Dim _mrn As String = Request.Params("MRN")
Dim _customFormID As String = Request.Params("CFID")
Dim _transHdrID As String = Request.Params("TID")
Dim _lang As String = Request.Params("LANG")
Dim Rep As StiReport = StiWebReport1.GetReport()
Rep.Load(Root + "UCAF.mrt")
Rep.Compile()
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@RequestNum").ParameterValue = Int32.Parse(_requestNum)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@ConsultationTransHdrID").ParameterValue = Int32.Parse(_consultationTransHdrID)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@MRN").ParameterValue = Int32.Parse(_mrn)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@CustomFormID").ParameterValue = Int32.Parse(_customFormID)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@TransHdrID").ParameterValue = Int32.Parse(_transHdrID)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@Lang").ParameterValue = Int32.Parse(_lang)
Rep.Render()
Me.StiWebViewer1.Report = Rep
PLEASE HELP ASAP !
And my IIS version is 7.5 something
I have been going crazy with this problem since the past 2 days well its like when i run the project in debug mode the report loads and everything works great but as soon as i publish my project on my local IIS the report starts giving this error
error CS2001: Source file 'C:\windows\TEMP\loamdxkp.0.cs' could not be founderror CS2008: No inputs specified
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.Exception: error CS2001: Source file 'C:\windows\TEMP\loamdxkp.0.cs' could not be founderror CS2008: No inputs specified
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:
[Exception: error CS2001: Source file 'C:\windows\TEMP\loamdxkp.0.cs' could not be founderror CS2008: No inputs specified]
Stimulsoft.Report.StiReport.Compile(String path, Stream stream, StiOutputType outputType, Boolean autoCreate, Object standaloneReportType) +1993
Stimulsoft.Report.StiReport.Compile() +21
Stimulsoft.Report.Engine.StiReportV2Builder.RenderSingleReport(StiReport masterReport, StiRenderState renderState) +847
Stimulsoft.Report.StiReport.RenderReport(StiRenderState renderState) +1588
Stimulsoft.Report.StiReport.Render(StiRenderState renderState, StiGuiMode guiMode) +952
Stimulsoft.Report.StiReport.Render(Boolean showProgress) +53
Stimulsoft.Report.Web.StiWebViewer.RenderReport(StiReport report) +120
Stimulsoft.Report.Web.StiWebViewer.ProcessReport() +1250
Stimulsoft.Report.Web.StiWebViewer.set_Report(StiReport value) +3190
Printing.Page_Load(Object sender, EventArgs e) +1039
System.Web.UI.Control.OnLoad(EventArgs e) +91
System.Web.UI.Control.LoadRecursive() +74
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
it seems it is looking for some weird file i dont get it :-S i have tried just about everything i can but still no use :-S
here is the code
Dim _requestNum As String = Request.Params("RN")
Dim _consultationTransHdrID As String = Request.Params("CID")
Dim _mrn As String = Request.Params("MRN")
Dim _customFormID As String = Request.Params("CFID")
Dim _transHdrID As String = Request.Params("TID")
Dim _lang As String = Request.Params("LANG")
Dim Rep As StiReport = StiWebReport1.GetReport()
Rep.Load(Root + "UCAF.mrt")
Rep.Compile()
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@RequestNum").ParameterValue = Int32.Parse(_requestNum)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@ConsultationTransHdrID").ParameterValue = Int32.Parse(_consultationTransHdrID)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@MRN").ParameterValue = Int32.Parse(_mrn)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@CustomFormID").ParameterValue = Int32.Parse(_customFormID)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@TransHdrID").ParameterValue = Int32.Parse(_transHdrID)
Rep.CompiledReport.DataSources("sp_CustomForms_UCAF").Parameters("@Lang").ParameterValue = Int32.Parse(_lang)
Rep.Render()
Me.StiWebViewer1.Report = Rep
PLEASE HELP ASAP !
And my IIS version is 7.5 something