BOEXIR2 report embedded in aspx page
I currently have an aspx application that passes parameters dynamically to Crystal Reports that are located in the local file system using the viewer. I am able to set the database/logon info dynamically and everything works great.
We now have a demo version of BOEXIR2 that we are testing. I have successfully published the reports to the BOE server and now I would like to call the report from my aspx app and do the same thing as before but make sure the BOE server handles all of the processing.
1. Can I do this with the viewer sdk or should I use RESDK?
2. How can I change the database for the report at runtime?
Thanks
Hi FranK.
you can send me an example?
on the other hand, the Jdev TP4 when try to map conecction to BAM if click Test Connection to confirm, the wizard always send the same error "Please verify BAM Server Host & RMI Port."
But if click Finish the conecction is OK and works
It´s a bug?
Thanks!
Similar Messages
-
Problem passing parameter to crystal report subreport from *.aspx page
Background:
I am developing a .NET web application using Visual Studio 2005. The code behind is in VB.net. One of my asp.net pages calls a report, which is invoked when the user clicks a Print button. I have developed this report using the Crystal Reports software that is bundled with Visual Studio 2005. I am passing one parameter from the asp.net page (utilizing the VB.net code-behind on the Print button) to the Crystal report. The report consists of a main report and 5 subreports. Both the main report and the subreports use the same parameter. Both the main report and the subreports are bound to stored procedures, each of which require a parameter.
Problem:
For some reason, the parameter is not being passed from the asp.net page to the report. I am receiving the following error: "CrystalDecisions.CrystalReports.Engine.ParameterField.CurrentValueException: Missing Parameter Values." However, when I remove the subreports, the parameter gets passed, and the report is invoked with no problem.
I have read in other forums that there may be an issue with the Crystal Reports software that is causing this problem. I have downloaded and run the suggested hotfix, but the problem remains unresolved. I have tried changing the linking of my main report to the subreport, but that doesn't help either. It is possible that I am doing something wrong with the linking, as this is the first time I have developed a report with Crystal Reports. I need a workaround or definitive solution. Below is the aspx code used to call the report:
Imports System
Imports System.Collections.Specialized
Imports System.Collections.ObjectModel
Imports System.Collections
Imports System.Text
Imports System.Configuration
Imports System.Data.SqlClient
Imports System.Data
Imports System.Data.SqlClient.SqlDataAdapter
Imports System.Web.Configuration
Imports Crystaldecisions.crystalreports.engine
Imports Crystaldecisions.reportsource
Imports Crystaldecisions.shared
Partial Class OACIS_Award_or_Deny_BudgetSummary_PrintRpt
Inherits System.Web.UI.Page
Dim paramFields As ParameterFieldDefinitions
Dim paramField As ParameterFieldDefinition
Dim paramValue As ParameterValues
Dim paramDiscreteValue As New ParameterDiscreteValue
Public Shared idCase, nameRpt As String
Private PrintRpt As ReportDocument
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Try
idCase = Request.QueryString("id")
nameRpt = Request.QueryString("prtName")
Dim config As Configuration = WebConfigurationManager.OpenWebConfiguration("~/")
Dim settings As AppSettingsSection = DirectCast(config.GetSection("appSettings"), AppSettingsSection)
Dim file As String = settings.File
Dim dSource, iCatalog, userIs, passUser, appString As String
dSource = Nothing
iCatalog = Nothing
userIs = Nothing
passUser = Nothing
appString = config.ConnectionStrings.ConnectionStrings("OacisConn").ToString()
Dim AppArray() As String = Split(appString, ";")
Dim arrayLgth As Integer = AppArray.Length
Dim i As Integer
For i = 0 To arrayLgth - 1
Dim pairIs() As String = Split(AppArray(i), "=")
Dim firstItem As String = pairIs(0)
Dim secondItem As String = pairIs(1)
If firstItem = "Data Source" Then : dSource = secondItem : End If
If firstItem = "Initial Catalog" Then : iCatalog = secondItem : End If
If firstItem = "UID" Then : userIs = secondItem : End If
If firstItem = "PWD" Then : passUser = secondItem : End If
Next
Dim crReportDocument As ReportDocument
Dim crExportOptions As ExportOptions
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
Dim crconnectioninfo As ConnectionInfo
Dim crDatabase As Database
Dim crtables As Tables
Dim crtable As Table
Dim crtablelogoninfo As TableLogOnInfo
Dim Fname As String
Dim Prtname As String
Dim FPath As String
Dim crSection As Section
Dim crReportObject As ReportObject
Dim crSubreportObject As SubreportObject
Dim subRepDoc As New ReportDocument
FPath = Server.MapPath("") + "\"
Dim rptIs As String = nameRpt
crReportDocument = New ReportDocument
Prtname = FPath
Prtname = Prtname + rptIs
crReportDocument.Load(Prtname)
Fname = "C:\WINDOWS\TEMP\" & Session.SessionID.ToString & ".pdf"
crconnectioninfo = New ConnectionInfo
crconnectioninfo.ServerName = dSource
crconnectioninfo.DatabaseName = iCatalog
crconnectioninfo.UserID = userIs
crconnectioninfo.Password = passUser
crDatabase = crReportDocument.Database
crtables = crDatabase.Tables
For Each crtable In crtables
Try
crtablelogoninfo = crtable.LogOnInfo
crtablelogoninfo.ConnectionInfo = crconnectioninfo
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.SetDataSource(Prtname)
crtablelogoninfo.ConnectionInfo.DatabaseName = iCatalog
crtablelogoninfo.ConnectionInfo.UserID = userIs
crtablelogoninfo.ConnectionInfo.Password = passUser
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.Location = iCatalog + ".dbo." + crtable.Name
Catch ex As Exception
Response.Write(ex)
Exit Sub
End Try
Next crtable
For Each crSection In crReportDocument.ReportDefinition.Sections
For Each crReportObject In crSection.ReportObjects
If crReportObject.Kind = ReportObjectKind.SubreportObject Then
crSubreportObject = CType(crReportObject, SubreportObject)
subRepDoc = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
For Each crtable In subRepDoc.Database.Tables
Try
crtablelogoninfo = crtable.LogOnInfo
crtablelogoninfo.ConnectionInfo = crconnectioninfo
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.SetDataSource(Prtname)
crtablelogoninfo.ConnectionInfo.DatabaseName = iCatalog
crtablelogoninfo.ConnectionInfo.UserID = userIs
crtablelogoninfo.ConnectionInfo.Password = passUser
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.Location = iCatalog + ".dbo." + crtable.Name
Catch ex As Exception
End Try
Next
End If
Next
Next
crDiskFileDestinationOptions = New DiskFileDestinationOptions()
crDiskFileDestinationOptions.DiskFileName = Fname
crExportOptions = crReportDocument.ExportOptions
With crExportOptions
.DestinationOptions = crDiskFileDestinationOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
End With
Dim parIDCase As ParameterValues = New ParameterValues
Dim disIDCase As ParameterDiscreteValue = New ParameterDiscreteValue
disIDCase.Value = idCase
parIDCase.Add(disIDCase)
crReportDocument.DataDefinition.ParameterFields("@ID_CASE_NMBR").ApplyCurrentValues(parIDCase)
crReportDocument.Export()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.WriteFile(Fname)
Response.Flush()
Response.Close()
System.IO.File.Delete(Fname)
Catch ex As Exception
lblMessage.Visible = True
lblMessage.Text = "Error Load
" & Convert.ToString(ex)
End Try
End Sub
End Class
Your help is greatly appreciated!Thanks for your help!
I've now gotten past the "missing parameter values" error, and the report renders fine in the report viewer. However, I've encounted another problem. The data in my main report displays correctly, but the data in my subreport does not display. Of course, when I view the report in the designer, both the main report and subreport display correctly. What am I doing wrong? Below is my vb.net code:
Try
idCase = Request.QueryString("id")
nameRpt = Request.QueryString("prtName")
Dim config As Configuration = WebConfigurationManager.OpenWebConfiguration("~/")
Dim settings As AppSettingsSection = DirectCast(config.GetSection("appSettings"), AppSettingsSection)
Dim file As String = settings.File
Dim dSource, iCatalog, userIs, passUser, appString As String
dSource = Nothing
iCatalog = Nothing
userIs = Nothing
passUser = Nothing
appString = config.ConnectionStrings.ConnectionStrings("OacisConn").ToString()
Dim AppArray() As String = Split(appString, ";")
Dim arrayLgth As Integer = AppArray.Length
Dim i As Integer
For i = 0 To arrayLgth - 1
Dim pairIs() As String = Split(AppArray(i), "=")
Dim firstItem As String = pairIs(0)
Dim secondItem As String = pairIs(1)
If firstItem = "Data Source" Then : dSource = secondItem : End If
If firstItem = "Initial Catalog" Then : iCatalog = secondItem : End If
If firstItem = "UID" Then : userIs = secondItem : End If
If firstItem = "PWD" Then : passUser = secondItem : End If
Next
Dim crReportDocument As ReportDocument
Dim crExportOptions As ExportOptions
Dim crDiskFileDestinationOptions As DiskFileDestinationOptions
Dim crconnectioninfo As ConnectionInfo
Dim crDatabase As Database
Dim crtables As Tables
Dim crtable As Table
Dim crtablelogoninfo As TableLogOnInfo
Dim Fname As String
Dim Prtname As String
Dim FPath As String
Dim crSection As Section
Dim crReportObject As ReportObject
Dim crSubreportObject As SubreportObject
Dim subRepDoc As New ReportDocument
FPath = Server.MapPath("") + "\"
Dim rptIs As String = nameRpt
crReportDocument = New ReportDocument
Prtname = FPath
Prtname = Prtname + rptIs
crReportDocument.Load(Prtname)
Fname = "C:\WINDOWS\TEMP\" & Session.SessionID.ToString & ".pdf"
crconnectioninfo = New ConnectionInfo
crconnectioninfo.ServerName = dSource
crconnectioninfo.DatabaseName = iCatalog
crconnectioninfo.UserID = userIs
crconnectioninfo.Password = passUser
crDatabase = crReportDocument.Database
crtables = crDatabase.Tables
For Each crtable In crtables
Try
crtablelogoninfo = crtable.LogOnInfo
crtablelogoninfo.ConnectionInfo = crconnectioninfo
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.SetDataSource(Prtname)
crtablelogoninfo.ConnectionInfo.DatabaseName = iCatalog
crtablelogoninfo.ConnectionInfo.UserID = userIs
crtablelogoninfo.ConnectionInfo.Password = passUser
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.Location = iCatalog + ".dbo." + crtable.Name
Catch ex As Exception
Response.Write(ex)
Exit Sub
End Try
Next crtable
For Each crSection In crReportDocument.ReportDefinition.Sections
For Each crReportObject In crSection.ReportObjects
If crReportObject.Kind = ReportObjectKind.SubreportObject Then
crSubreportObject = CType(crReportObject, SubreportObject)
subRepDoc = crSubreportObject.OpenSubreport(crSubreportObject.SubreportName)
For Each crtable In subRepDoc.Database.Tables
Try
crtablelogoninfo = crtable.LogOnInfo
crtablelogoninfo.ConnectionInfo = crconnectioninfo
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.SetDataSource(Prtname)
crtablelogoninfo.ConnectionInfo.DatabaseName = iCatalog
crtablelogoninfo.ConnectionInfo.UserID = userIs
crtablelogoninfo.ConnectionInfo.Password = passUser
crtable.ApplyLogOnInfo(crtablelogoninfo)
crtable.Location = iCatalog + ".dbo." + crtable.Name
Catch ex As Exception
End Try
Next
End If
Next
Next
crDiskFileDestinationOptions = New DiskFileDestinationOptions()
crDiskFileDestinationOptions.DiskFileName = Fname
crExportOptions = crReportDocument.ExportOptions
With crExportOptions
.DestinationOptions = crDiskFileDestinationOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.PortableDocFormat
End With
crReportDocument.SetParameterValue("@ID_CASE_NMBR", idCase)
crReportDocument.SetParameterValue("@ID_CASE_NMBR", idCase, "MemberName")
crReportDocument.Export()
Response.ClearContent()
Response.ClearHeaders()
Response.ContentType = "application/pdf"
Response.WriteFile(Fname)
Response.Flush()
Response.Close()
System.IO.File.Delete(Fname)
Catch ex As Exception
lblMessage.Visible = True
lblMessage.Text = "Error Load<br>" & Convert.ToString(ex)
End Try
Edited by: LaShandra Knox on Sep 17, 2008 7:59 PM -
OBIEE 11.1.1.6 dashboard reports embeded into JS_HTML_JAVA pages
Customers asked us to use OBIEE dashboard reports(Framework) embeded into the specail pages which are developed through Java + JS+ Html.
Could you please tell me how to implement this functionality? Thank you for your kindly help.
For example:
Logo Image-----------|--- JS+HTML+JAVA Developing
Tree Reports------|
(JS+HTML+JAVA----|--------------Framework
Developing------------|--------------Embed OBIEE reports(Excluding OBIEE TOP Frame,Only retain reports frame)
)--------------------------|
---------------------------|Hi,
It seems "Add on" missing , Can you try to upgrade IE then check it .
I can suggest you please check matrix.
Thanks,
Satya Ranki Reddy -
Hidden Report Viewer Confiugration Error on aspx pages that use report viewer web control
I try to fix the problem. The error below is embedded on aspx pages that use report viewer web control. Please note that the div element is hidden, and the reportviewer is displaying correct contents.
Div element hidden on aspx page
<div id="ReportViewer1_HttpHandlerMissingErrorMessage" style="border-color:Red;border-width:2px;border-style:Solid;padding:10px;display:none;font-size:.85em;">
<h2>
Report Viewer Configuration Error
</h2><p>The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file. Add <add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.web/httpHandlers section of the web.config file, or add <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> to the system.webServer/handlers section for Internet Information Services 7 or later.</p>
</div>
I tried adding the two elements to web.config, but to no avail.
Add below to system.web/httpHandlers
<add verb="*" path="Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
or add below to system.webServer/handlers for Internet Information Services 7 or later.
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
The required assemblies below are installed under C:\Windows\assembly folder. I have installed both Microsoft ReportViewer 2010 Redistributable, and 2008 SP1.
Microsoft.ReportViewer.WebForms, version 10
Microsoft.ReportViewer.Common, version 10
Below is the whole web.config:
<?xml version="1.0" encoding="utf-8"?>
<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->
<configuration>
<connectionStrings>
<add name="ApplicationServices" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="car" value="myCar" />
<!--<add key="ReportViewerServerConnection" value="WebForm.Lab.ReportConnection, WebForm" />-->
</appSettings>
<system.web>
<httpHandlers>
<add verb = "*" path = "Reserved.ReportViewerWebControl.axd" type = "Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<!--<add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false" />-->
</httpHandlers>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
<buildProviders>
<add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</buildProviders>
</compilation>
<authentication mode="Forms">
<forms loginUrl="~/Account/Login.aspx" timeout="2880" />
</authentication>
<membership>
<providers>
<clear />
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
</providers>
</membership>
<profile>
<providers>
<clear />
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
</providers>
</profile>
<roleManager enabled="false">
<providers>
<clear />
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
</providers>
</roleManager>
<pages>
<controls>
<add tagPrefix="ajaxToolkit" assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" />
</controls>
</pages>
</system.web>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true" />
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
<httpProtocol>
<customHeaders>
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
</system.webServer>
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="WebService1Soap" />
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://localhost:58269/WebService1.asmx" binding="basicHttpBinding"
bindingConfiguration="WebService1Soap" contract="ServiceReference1.WebService1Soap"
name="WebService1Soap" />
</client>
</system.serviceModel>
</configuration>
Any idea?
Update:
IIS is7.5, AppPool is Integrated.
I have tried below, none of them works:
1) Add it only to system.web\httpHanders. Changed AppPool to classic, still got hidden error.
2) Add it only to system.webServer\handlers. Integrated mode,still got hidden error.
3) Add both to both element. Integrated mode, still got hidden error.Hi Kingofwebguru,
According to your description, when you use reportviewer control, you got the error message: The Report Viewer Web Control HTTP Handler has not been registered in the application's web.config file.
To troubleshoot the problem, please refer to the following steps:
Click Start, click Run, then type InetMgr.exe and click OK.
Click plus sign next to server name to expand it.
Click Application Pools in left pane.
In Application Pools list, click DefaultAppPool.
In the Actions pane, in Edit Application Pool section, click Edit Settings to check the Pipeline mode.
Configuration settings for the HTTP handlers are specified in the system.web/httpHandlers element and the system.webServer/handlers element. of your application Web.config file. The handler specified in system.web/httpHandler is used by Internet Information
Services (IIS) 6.0 or IIS 7.0 in Classic mode, whereas the handler specified in system.webServer/handlers is used by IIS 7.0 in Integrated mode. To use IIS 7.0 in Integrated mode, you must remove the HTTP handler in system.web/httpHandlers. Otherwise, IIS
will not run the application, but will display an error message instead.
For more information about Web.config Settings for ReportViewer, please refer to the following document:
http://msdn.microsoft.com/en-us/library/ms251661.aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support -
SharePoint Foundation 2010 - StoreMan.aspx page not reporting proper metrics
The configuration of my farm:
Sharepoint 2010 Foundation - up to date on all service packs.
SharePoint Offers an Application Page (_layouts/storman.aspx) which enables the user to view the Size usage of files throughout a Site collection.
Currently this page is only referred from within the Site settings. Only those with owner rights can get to the link. We are planning to set up the link on an "Admin Dashboard page" so all users can see and use the information to delete
versions or uneeded documents. It's very handy for this type of reporting.
The problem is that the numbers shown in the .aspx page do not properly reflect the values shown in the libraries. I'm sure the timer job that runs this report is looking at all versions throughout the portal (even in the recycle bin). This is where I see
the innacuracy I'm experiencing. Is there a way to get Storageman.aspx to only run on the files in libraries and ignore the recycle bin? Does anyone have any ideas of how to give users more accurate data on file sizes? Our storage is locally hosted and
we adhere to a strict data usage policy, yet I'm finding it difficult to enforce without the ability to show users where the "problem children" live.HI Shaun,IE11 is having some know issues with the share point.Make sure the IE (Internet Explorer) Version should be 32-bit and not a 64-bit.
http://expertsharepoint.blogspot.de/2014/08/issues-with-sharepoint-2013-and.html
Anil Avula[MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/ -
I couldn't use Crystal Report Viewer Control in my ASPX page.
Please I'm having a problem with crystal report viewer control which I couldn't resolve. I'm using VS 2008 and Framework 3.5.
I building an ASP web application and when I add a CrystalReportViewer to my ASPX page I'm getting the following
error.
"Error 20 Type 'CrystalDecisions.Web.CrystalReportViewer' is not defined."
I think maybe because I'm not having the right reference file. I'm using Crystal Reports 2008 and also I installed the following
Service Packs:
cr121_redist_install
CR2008-SP1
CR2008SP1-Fixes 1 and 2
cr121_clickonce
I check all the reference files in my project and they are as follow:
CrystalDecisions.CrystalReports.Engine (12.0.2000.0)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.CrystalReports.Engine.dll
CrystalDecisions.Enterprise.Framework (12.0.1100.0)
C:\Program Files\Business Objects\Common\4.0\managed\CrystalDecisions.Enterprise.Framework.dll
C:\Program Files\Business Objects\Common\4.0\managed\CrystalDecisions.Enterprise.InfoStore.dll (12.0.1100.0)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.ReportSource.dll (12.0.2000.0)
C:\Program Files\Business Objects\Common\4.0\managed\dotnet2\CrystalDecisions.Shared.dll (12.0.2000.0)
Please Why I'm getting this problem? How I can resolve it?
Thanks.If you have a viewer on one of your forms, delete it off the form and re-add it, ensuring that the crystalreports.web assembly referenced in your project is version 12.
Ludek -
Report Viewer control disabled in aspx page
Hi All,
I am trying to generate a report with data pulled from one of a SharePoint list and binding it to report viewer control. The binding happens fine through code. Page is actually a layout based and deployed to one of folder in layouts and in the
same folder the rdlc file resides. But when the aspx page is opened in SharePoint site, the report viewer control appears as disabled. We are using visual studio 2012 and SharePoint 2013 setup to generate the report. Does anyone have idea how to fix this
issue
Regards RCPYou can get the report viewer disabled if scripts aren't enabled.
Check your browser settings.
I should imagine if the correct scripts aren't served with the control for whatever reason then the same problem could occur.
You might want to consider posting the question on the sharepoint forum. I know configuring SharePoint is notoriously tricky and that might be your issue here.
But I don't do sharepoint. -
Embedding WebI and Crystal reports on a web page
Hi,
I'm new to BO, so please bear with me. I've also posted this to the .NET-side, so sorry if you've seen this post before.
We have a project where we will need to embed WebI and Crystal reports on a web page, i.e. we want the people who access the web page to get the reports (mainly graphs) as embedded content on the web page without any controls and other clutter.
Is this possible and what's the correct way of doing this?
Thanks,
CarlHi,
Thanks for the help!
We still face the original problem, though. I.e. with openDocoument we get the report, controls, tab selections, scroll bars etc. What we actually would like is to get just the contents of a report.
Is there any way of doing it? We're not afraid of coding, we have good developers. Or do we need to schedule report creation to some format (e.g. PDF) and then load the PDF to the web page?
Basicaly it's more important to get this working for WebI reports as we can redo almost all reports from Crystal to WebI. Of course we are happy to find a resolution for both cases.
Br,
Carl-Gustaf -
First time Report aspx page load fine close Second time it asking parameter
Hi
Please go to
http://viewer.zoho.com/docs/da5aaag (or)
http://www.megaupload.com/?d=HQCSMQNA
it has my Crystal report aspx page and aspx.cs page sourceu2026!
Note: Save image in the above url and Zoom it see clear code
My Problem:-
Its working fine, but have small problem let me know why the problem occur
When I first load the page it show data fine in crystal report viewer and if I select from dropdwonlist it showing data based on dropdownlist value working fine.. when I close the page and come back agaion it asking paramter why its asking parameter in second time when I come to same page in first time its working fine.. second time it asking parameter.. let me know where im wrongu2026
Edited by: gopihere on Oct 30, 2010 10:51 AM
Edited by: gopihere on Oct 30, 2010 1:03 PMYou are setting the CrystalReportViewer1.ReportSource in multiple sections of code on this page. I'm not quite sure what you are attempting to accomplish here? In my opinion, your ConfigureCrystalReports() should accept a report filename, or something similar. Then use that info to load the report and throw it into Session. Then the last line of ConfigureCrystalReports can set the ReportSource.
If you can tell us what you are trying to do we might be able to give you some advice. But at this point I'd just say start over on this page. -
Since upgrading to 10.10.3, I keep getting a dialogue box that asks me to choose an application or search the app store for some purportedly missing app to open whatever video is embedded on that page. I can just click "cancel" to skip through it, but it really slows me down and is annoyingly unnecessary since videos continue to play in a normal fashion when I click on them. I've tried uninstalling and trashing the components of Flash, but the dialogue boxes continue. And I've also tried downloading and installing the latest version of Flash to see if that was the problem, but no success. Anybody else experiencing this? Clearly this was introduced by the latest OS X software upgrade, because this did not occur before that.
I don't understand why I (not a power user) should have to go through this whole rigamarole since Apple is apparently the culprit in introducing this problem to my system, due to the upgrade to 10.10.3, but here it is:
Problem description:
Since upgrading to 10.10.3, I’m getting pop-up dialogue boxes on pages with embedded videos telling me that the app I need to view the video is missing and that I should search the MacApp store to find what I need (which is actually nothing at all). I have to click cancel to continue and the videos can be viewed as normally. This only started with the latest Mac version of OS X, and I blame the problem on Apple, which has apparently introduced some error into my system.
EtreCheck version: 2.1.8 (121)
Report generated April 16, 2015 at 2:34:29 PM PDT
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Click for support] links for help with non-Apple products.
Click the [Click for details] links for more information about that line.
Hardware Information: ℹ️
iMac (21.5-inch, Late 2009) (Technical Specifications)
iMac - model: iMac10,1
1 3.06 GHz Intel Core 2 Duo CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
Empty
BANK 1/DIMM0
Empty
BANK 0/DIMM1
2 GB DDR3 1067 MHz ok
BANK 1/DIMM1
2 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 9400 - VRAM: 256 MB
iMac 1920 x 1080
System Software: ℹ️
OS X 10.10.3 (14D131) - Time since boot: 1:36:19
Disk Information: ℹ️
Hitachi HDT721050SLA360 disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 499.25 GB (366.89 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
OPTIARC DVD RW AD-5680H
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Western Digital My Passport 0820 2 TB
EFI (disk3s1) <not mounted> : 210 MB
Meryl (disk3s2) /Volumes/Meryl : 2.00 TB (1.40 TB free)
Logitech USB Receiver
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Parallels Desktop.app
[not loaded] com.parallels.kext.hypervisor (10.2.0 28956 - SDK 10.7) [Click for support]
[not loaded] com.parallels.kext.netbridge (10.2.0 28956 - SDK 10.7) [Click for support]
[not loaded] com.parallels.kext.usbconnect (10.2.0 28956 - SDK 10.7) [Click for support]
[not loaded] com.parallels.kext.vnic (10.2.0 28956 - SDK 10.7) [Click for support]
/System/Library/Extensions
[loaded] com.Logitech.Control Center.HID Driver (3.3.0) [Click for support]
[loaded] com.Logitech.Unifying.HID Driver (1.2.0) [Click for support]
[loaded] com.eltima.ElmediaPlayer.kext (1.0 - SDK 10.4) [Click for support]
[not loaded] com.kensington.mouseworks.iokit.KensingtonMouseDriver (3.0) [Click for support]
[not loaded] com.wdc.driver.1394.64.10.9 (1.0.1 - SDK 10.9) [Click for support]
[loaded] com.wdc.driver.USB.64.10.9 (1.0.1 - SDK 10.9) [Click for support]
/System/Library/Extensions/KensingtonMouseDriver.kext/Contents/PlugIns
[not loaded] com.kensington.mouseworks.driver.ADBID32Mouse (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.ADBID32MouseX1 (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.ADBID4Mouse (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.ADBID4MouseX1 (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.KMWBluetoothHIDMouse (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.KMWBluetoothOldHIDMouse (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.KMWUSBHIDMouse (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.USBMouseX1 (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.VirtualMouse (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.driver.VirtualMouseX1 (3.0) [Click for support]
[not loaded] com.kensington.mouseworks.iokit.KensingtonMouseDriverX1 (3.0) [Click for support]
Startup Items: ℹ️
HP IO: Path: /Library/StartupItems/HP IO
Startup items are obsolete in OS X Yosemite
Launch Agents: ℹ️
[loaded] com.hp.help.tocgenerator.plist [Click for support]
[running] com.Logitech.Control Center.Daemon.plist [Click for support]
[loaded] com.oracle.java.Java-Updater.plist [Click for support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Click for support]
[running] com.eltima.ElmediaPlayer.daemon.plist [Click for support]
[loaded] com.oracle.java.Helper-Tool.plist [Click for support]
[loaded] com.oracle.java.JavaUpdateHelper.plist [Click for support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Click for support]
[loaded] com.facebook.videochat.[redacted].plist [Click for support]
[loaded] com.google.keystone.agent.plist [Click for support]
[failed] com.plexapp.mediaserver.plist [Click for support] [Click for details]
User Login Items: ℹ️
MenuWeather Lite UNKNOWN (missing value)
Google Drive UNKNOWN (missing value)
GrowlHelperApp Application (/Users/[redacted]/Library/PreferencePanes/Growl.prefPane/Contents/Resources/Gr owlHelperApp.app)
iTunesHelper UNKNOWN Hidden (missing value)
Dropbox Application (/Applications/Dropbox.app)
WeatherHDMenu UNKNOWN (missing value)
AdobeResourceSynchronizer Application Hidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
UltralinguaHotkey Application Hidden (/Applications/Ultralingua/Ultralingua.app/Contents/Resources/UltralinguaHotkey .app)
Messages Application (/Applications/Messages.app)
Mail Application (/Applications/Mail.app)
WDSecurityHelper Application (/Applications/WD Security.app/Contents/WDSecurityHelper.app)
WDDriveUtilityHelper UNKNOWN (missing value)
WDDriveUtilityHelper Application (/Applications/WD Drive Utilities.app/Contents/WDDriveUtilityHelper.app)
RealPlayer Downloader Agent Application (/Users/[redacted]/Library/Application Support/RealNetworks/RealPlayer Downloader Agent.app)
MouseWorks Background Application (/Library/PreferencePanes/MouseWorks.prefPane/Contents/Resources/Support/MouseW orks Background.app)
HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
Internet Plug-ins: ℹ️
JavaAppletPlugin: Version: Java 8 Update 31 Check version
FlashPlayer-10.6: Version: 17.0.0.169 - SDK 10.6 [Click for support]
Default Browser: Version: 600 - SDK 10.10
AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Click for support]
AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Click for support]
Flash Player: Version: 17.0.0.169 - SDK 10.6 [Click for support]
QuickTime Plugin: Version: 7.7.3
Google Earth Web Plug-in: Version: 5.1 [Click for support]
Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
iPhotoPhotocast: Version: 7.0
User internet Plug-ins: ℹ️
RealPlayer Plugin: Version: Unknown [Click for support]
SlingHealth: Version: Unknown [Click for support]
Safari Extensions: ℹ️
VideoCatcher
Open in Internet Explorer
3rd Party Preference Panes: ℹ️
Flash Player [Click for support]
Growl [Click for support]
Java [Click for support]
Logitech Control Center [Click for support]
MacFUSE [Click for support]
Kensington MouseWorks [Click for support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 499.25 GB Disk used: 132.36 GB
Destinations:
Meryl [Local]
Total size: 2.00 TB
Total number of backups: 47
Oldest backup: 2014-10-29 06:58:11 +0000
Last backup: 2015-04-16 07:57:48 +0000
Size of backup disk: Excellent
Backup size 2.00 TB > (Disk size 499.25 GB X 3)
Top Processes by CPU: ℹ️
7% WindowServer
6% backupd
1% RealPlayer Downloader Agent
1% launchd
1% fseventsd
Top Processes by Memory: ℹ️
176 MB mds_stores
125 MB com.apple.WebKit.WebContent
107 MB Mail
94 MB WindowServer
82 MB Finder
Virtual Memory Information: ℹ️
852 MB Free RAM
1.75 GB Active RAM
753 MB Inactive RAM
675 MB Wired RAM
1.79 GB Page-ins
41 KB Page-outs
Diagnostics Information: ℹ️
Apr 16, 2015, 12:56:39 PM Self test - passed
Apr 14, 2015, 10:16:02 PM /Users/[redacted]/Library/Logs/DiagnosticReports/ath_2015-04-14-221602_[redacte d].crash
Apr 14, 2015, 07:40:51 PM /Library/Logs/DiagnosticReports/discoveryd_2015-04-14-194051_[redacted].crash -
How to go back to the parent report to a particular page from Child report in SSRS
Hi,
I am utilizing the Drill through functionality in one of my SSRS Report.
My Parent Report contains 5 pages. From 1st page I am selecting a link which goes to my Child report.
Here from my child report I want to provide a link to go back to my parent report's and it should render 3rd (it should show 3rd) page in parent report.
How to specify this ? Give your inputs as soon as possible.
SridharHi Sridhar,
After testing the issue in my environment, we can refer to the steps below to achieve your requirement.
Right-click a report item to open the properties dialog in Child report, click Action in the left pane.
Enable Go to URL action, the URL below is for your reference:
="http://server_name/ReportServer?/folder_name/parent_report_name&rc:Section=3”
When you click the textbox in the Child report, it jumps to the Parent report in the third page.
Reference:
http://msdn.microsoft.com/en-us/library/ms152835.aspx
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
CrystalReportViewer Not Visible/Empty in ASPX Page??!!
Hi,
I have an aspx page that creates a report object, sets parameters and then sets the report source on a CrystalReportViewer control on my page. I can step through the code and see that it is getting the report file, setting parameters, there are records returned to the report object but when it sets the report source on the viewer control and the page is done loading, the page is completely blank.
I am using Visual Studio 2013 and Crystal Reports 2011 (v13) on a Windows 2008 R2 64-bit server. The target framework is .NET 4.0 and the target platform is Any CPU. Any help trying to figure this out would be great. I've been stuck on this for over 2 weeks now.
I have attached the web.config and the aspx page and it's code behind below.
Thanks,
DavidHi David,
Please don't post the same question in multiple forums. Wastes every ones time.
Thanks -
Swf reloaded autometically in aspx page and buttons dissappear from flash content
Hi, I am facing a problem with flash content in aspx.
After spending some time, the swf embeded in the aspx page is
reloaded autometically ( without refresing the aspx page only swf
reload ) and two buttons from that swf dissappear.
I can't understand why the swf reload ?
Can any one help me !!Hi,
Thanks Darr_darshan.
I had embed the swf directly. And the swf is reloaded using
backend coding, so i can't get the idea about that how the swf is
reloaded ? -
Way to render aspx page(markup) in a dll
I have an asp.net web application with only one aspx page. Its code behind contain a public function which calls a java script function in the same page.
Now my requirement is I need to make this as a dll and call this public function from another web application. I am confused because I am not sure how the javascript code renders here. I have even tried to make the aspx page build property as Embedded Resource.
But is not working. Any solution?
Thanks.Thanks for the reply...
In my application from server side(in one public member function) I am ADDING (sorry not calling) this js code to the page. This js code access the div element in aspx page and doing some operation. Everything works fine. Now my requirement is I will compile
this application and will get a dll. This dll I need to use in another application.
From that application I need to call the public method in the dll. This also works fine. But this public method adds the java script code to the page. That portion is not working. Because I know when we compile the web project only cs code will compile,
not the js or aspx page... So my requirement is I need to add this aspx and js code also into the dll.
"Embedding a JavaScript File as a Resource in an Assembly" -- > I have already tried this..but my scenario its not only JavaScript, the java script uses some html controls, that means I need to embed the aspx page also into dll. This is my issue. -
Must Register Assembly with TaxPrefix Be in EVERY aspx page??
I am new to Crystal. I have got my first major report designed and working, including launching it from a web page successfully, and passing a parameter the report uses to connect and select the desired data from multiple joined tables.
I am assuming the following happened when I dragged the CrystalReportViewer onto my aspx page. At the top of the page is a" Register Assembly="CrystalDecisions.Web" declaration. It includes the declaration fo the TaxPrefix="CR",
Also, and this happened at some point automatically, but I do not know what the trigger was, all the key Crystal assemblies are now referenced in my web.config file, including the assembly mentioned above. But in the web.config, there appears to be no way to add the Namespace and TagPrefix properties to the declaration of the same assembly in the web.config.
Now the obvious question is, apparently this means whenever I change versions, I will have to track down every page where the assembly is registered and cahnge the version and publickeytoken value of the assembly if that changes. Which really will be a royal pain, rather than changing it once in the web.config.
Also, what auotadded the assembly references to my web.config in the project. I did the following in order:
1. Installed the latest free download of Crystal and installed it integrated into Visual Studio.
2. Uninstalled that version, and installed a full eval download of Crystal 2011.
3. Created the web page and dragged the CrystalReportViewer object onto the page. I suspect the adds to the web.config happened at this point automagically, because I did observer the required Crystal references being inserted automatically into the References folder in the web project under Solution Explorer in Visual Studio 2010.Here is the line that is in the web.config file:
<add assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
Here is what is inserted into the aspx page:
<%@ Register Assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
Both reference the same assembly.
The question is very simple:
Does the assembly also have to be registered in each aspx page when adding this:
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" />
to support report output from the page.
Note the two properties on the web page declaration: namesspace and TagPrefix. You apparently cannot add these two properties to the declaration of the assembly in the web.config file. Intellisense protests and declares they are invalid.
So the bottom line question: does the declaration have to be made on each aspx page?
If so, that just means a maintenance issue involving finding all references is the Crystal assembly version changes, rather than being able to change the assembly reference in one place, the web.config file.
Edited by: RDEdge on Oct 13, 2011 10:34 PM
Maybe you are looking for
-
What was going on in db at a given time ??
Hi All, I am on 11.2 on Linux. I want to find out (ideally) which SQLs were running on my database between 21:00 and 21:15 last night? How can I do that? AWR has 1 hour snapshot interval, can it still generate report for 15 minutes interval? What els
-
Count Cells Based on Font Colour
I have a Numbers spreadsheet that lists all my movies. The font is different colours based on Blu-Ray DVD (Blue), Apple TV (Green) or normal DVD. Column A has the list and I would like to list the number of DVD's based on DVD type (Font Colour) in co
-
Help on Id cs5 forms for Acrobat Pro 9
Hi. I am trying to create an Id cs5 form for import into acrobat pro 9. The form is a Nutrition label, so is very specific in FDA regulations. Therefore I cannot have underscores nor boxes appearing to indicate fields. Am I missing some work around h
-
Hi, is it possible to change the label icons of a Pie Chart legend? I have a pie chart with genre distribution % and would like to set the male and female genre icons instead of the color. Thank you
-
Integriertes Laufwerk wird nicht mehr erkannt
Bei dem Mac Mini wird das integrierte Laufwerk nicht mehr erkannt. Zudem Probleme mit I-Tunes. I-Pods werden nicht von I-Tunes getrennt.