Click here to Skip to main content
16,004,944 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPlease Help Pin
rockyl30-Jan-07 0:57
rockyl30-Jan-07 0:57 
Questionmissing method exception Pin
subrata.jana30-Jan-07 0:56
subrata.jana30-Jan-07 0:56 
AnswerRe: missing method exception Pin
Jasmine250130-Jan-07 5:58
Jasmine250130-Jan-07 5:58 
GeneralRe: missing method exception Pin
subrata.jana30-Jan-07 17:28
subrata.jana30-Jan-07 17:28 
QuestionAJAX counter part from microsoft ? Pin
karraparameshwar30-Jan-07 0:44
karraparameshwar30-Jan-07 0:44 
AnswerRe: AJAX counter part from microsoft ? Pin
jchigg200030-Jan-07 4:33
jchigg200030-Jan-07 4:33 
QuestionVS.NET AND CRYSTAL RAS 9 Pin
Vilarino30-Jan-07 0:40
Vilarino30-Jan-07 0:40 
QuestionASP.NET 2003 WITH CRYSTAL REPORTS 10 AND RAS 9 Pin
Vilarino30-Jan-07 0:40
Vilarino30-Jan-07 0:40 
I am using VS.Net to set up a DataSet (xsd). starting from him I set up a report in crystal reports 10 that I want to publish in a paste that the RAS 9 have access permission, but I am not getting to turn the report crystal.

This informing the following mistake:

--------------------------------------------------------------------------------
Error in File C:\WINDOWS\TEMP\{7243DB8C-36BF-4227-8137-B78BC196C5F0}.rpt: The request could not be submitted for background processing.
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: Error in File C:\WINDOWS\TEMP\{7243DB8C-36BF-4227-8137-B78BC196C5F0}.rpt: The request could not be submitted for background processing.

Source Error:

Line 69: crs.ReportAppServer = "192.168.0.105"
Line 70:
Line 71: crs.Open("C:\Program Files\Crystal Decisions\Report Application Server 9\Reports\Teste.rpt")
Line 72: '.Report.FileName = "C:\Program Files\Crystal Decisions\Report Application Server 9\Reports\Teste.rpt"
Line 73: crs.DatabaseController.SetDataSource(dsRelatorio)

Source File: C:\Crystal\RASNET\ras9_vbnet_web_DiscreteParam\WFrmReport.aspx.vb Line: 71
--------------------------------------------------------------------------------

Segue o codigo do sistema.

-------------------------------------------------------------------------------
Imports System.Data
Imports System.Data.OleDb
Imports CrystalDecisions.Web
Imports CrystalDecisions.ReportAppServer.ClientDoc
Imports CrystalDecisions.ReportAppServer.Controllers
Imports CrystalDecisions.ReportAppServer.DataDefModel

Public Class WFrmReport

Inherits System.Web.UI.Page

Dim mdb_path As String = "C:\Program Files\Crystal Decisions\Report Application Server 9\Samples\En\Databases\xtremeteste.mdb"
Private conn As New OleDbConnection
Dim crs As ReportClientDocument

Public Sub PreencheDataSet()

conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & mdb_path
Dim da As New OleDbDataAdapter( _
"Select OrderId From Orders ", _
conn)

Dim daCustomer As New OleDbDataAdapter( _
"Select * from Customer ", _
conn)


Dim daOrder As New OleDbDataAdapter( _
"Select * from Orders ", _
conn)

Dim dsRelatorio As New dsxtreme

conn.Open()
daCustomer.Fill(dsRelatorio.Customer)
daOrder.Fill(dsRelatorio.Orders)
conn.Close()
crs = New ReportClientDocument
crs.ReportAppServer = "192.168.0.105"

crs.Open("C:\Program Files\Crystal Decisions\Report Application Server 9\Reports\Teste.rpt")
crs.DatabaseController.SetDataSource(dsRelatorio)
'crs.ReportDocument.SetDataSource(dsRelatorio)
CrystalReportViewer1.ReportSource = crs
CrystalReportViewer1.DataBind()

End Sub

Public Sub InicializaReport()

PreencheDataSet()

End Sub

#Region " Web Form Designer Generated Code "

'This call is required by the Web Form Designer.
<system.diagnostics.debuggerstepthrough()> Private Sub InitializeComponent()

End Sub
Protected WithEvents CrystalReportViewer1 As CrystalDecisions.Web.CrystalReportViewer

'NOTE: The following placeholder declaration is required by the Web Form Designer.
'Do not delete or move it.
Private designerPlaceholderDeclaration As System.Object

Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
'CODEGEN: This method call is required by the Web Form Designer
'Do not modify it using the code editor.
InitializeComponent()

InicializaReport()

End Sub

#End Region


Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
End Sub

End Class
-------------------------------------------------------------------------------

I am using ASP.NET 2003 with Crystal Reports 10 and with the RAS 9 with report servant.

Thanks
Questionproblem with rebinding of the parent windows datagrid on closing of the child one. Pin
MissionSuccess30-Jan-07 0:28
MissionSuccess30-Jan-07 0:28 
QuestionHelp in Marquee Pin
shereem khaleel29-Jan-07 23:50
shereem khaleel29-Jan-07 23:50 
AnswerRe: Help in Marquee Pin
badgrs29-Jan-07 23:57
badgrs29-Jan-07 23:57 
GeneralRe: Help in Marquee Pin
shereem khaleel30-Jan-07 0:01
shereem khaleel30-Jan-07 0:01 
AnswerRe: Help in Marquee Pin
yuvachandra30-Jan-07 0:41
yuvachandra30-Jan-07 0:41 
AnswerRe: Help in Marquee Pin
PavanPareta30-Jan-07 2:45
PavanPareta30-Jan-07 2:45 
GeneralRe: Help in Marquee Pin
shereem khaleel30-Jan-07 19:31
shereem khaleel30-Jan-07 19:31 
QuestionWS problem:Unable to connect to the remote server Pin
Mouadh TRABELSI29-Jan-07 23:48
Mouadh TRABELSI29-Jan-07 23:48 
AnswerRe: WS problem:Unable to connect to the remote server Pin
Sandeep Akhare30-Jan-07 1:13
Sandeep Akhare30-Jan-07 1:13 
GeneralRe: WS problem:Unable to connect to the remote server Pin
Mouadh TRABELSI30-Jan-07 1:31
Mouadh TRABELSI30-Jan-07 1:31 
QuestionAspMaxRequestEntityAllowed Metabase Property (IIS 6.0) Pin
Venkatesh Mookkan29-Jan-07 23:15
Venkatesh Mookkan29-Jan-07 23:15 
AnswerRe: AspMaxRequestEntityAllowed Metabase Property (IIS 6.0) Pin
Vasudevan Deepak Kumar30-Jan-07 2:32
Vasudevan Deepak Kumar30-Jan-07 2:32 
GeneralRe: AspMaxRequestEntityAllowed Metabase Property (IIS 6.0) Pin
Venkatesh Mookkan30-Jan-07 15:33
Venkatesh Mookkan30-Jan-07 15:33 
QuestionRead from HyperLinkField inGridView Pin
abohlin29-Jan-07 23:08
abohlin29-Jan-07 23:08 
Questionuse scanner from asp.net Pin
vinadas29-Jan-07 22:41
vinadas29-Jan-07 22:41 
AnswerRe: use scanner from asp.net Pin
badgrs29-Jan-07 23:53
badgrs29-Jan-07 23:53 
Questionconverting from vs2003 to vs2005 Pin
Shaimmaa29-Jan-07 22:27
Shaimmaa29-Jan-07 22:27 

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.