Question on changing the report template to display the images
I am trying to change the report template so that each table cell will display an image and a checkbox for the image. The column templatet for the new report template is like this:
<td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t17data">
<table>
<tr height="90%"><td>
<img src= "&F101_GET_THUMB.#COLUMN_VALUE#" onmouseover="return onmouseover_img('#COLUMN_VALUE#');">
</td></tr>
<tr height="10%"><td align="center" valign="bottom">
<input type="checkbox" name="f01" value="#COLUMN_VALUE#"/>
</td></tr>
</table>
</td>
My questions are:
1. If the #COLUMN_VALUE# is null, the table cell will display a broken image icon and a checkbox. How could I avoid this? I could add condition to this template, such as when #COLUMN_VALUE# is not null, but how to refer to the value of #COLUMN_VALUE# in pl/sql?
2. I want to always put the checkbox at the center bottom, but no matter what I set "align='center' valign='bottom', it is always close to the image. Since the image sizes are different, the appearance of the checkbox are just up and down. How to fix this?
Thanks,
Fengting
hello,
at designtime the elements from the template are physically
imported into the report. the only way of re-applying a template
is to use the wizard, which will re-default the layout.
regards,
the oracle reports team --pw
Similar Messages
-
Change Preferred Viewing Locale by a paramter field in the report template
Hello,
Is there a method that allows to change the Preferred Viewing Locale at the report template level?
Actually I have some templates for final clients in different countries, and these reports should be generated in Infoview.
In order to generate reports in different languages, I inserted a parameter {?Language}
Then for caption/text I used a formula like this
Select {?Language}
Case "en_US": .....
Case "de_CH": .....
Case "it_IT": .....
Case "nl_BE": .....
However this won't work for date axis in charts and number formats.
So I switched to Preferred Viewing Locale settings, which seemed to be exactly what I wanted cause everything can be changed according to the local settings, except that I need to change the setting every time by selecting View - Preferred Viewing Locale - German - (Germany)... for 20 different reports
And what's more important is that I cannot change this setting when I launch the template in Infoview. Change in Preferences will impact all the templates while I just need change on one template only.
I had a look on all the functions available and it seems that ContentLocale function can only display the current setting.
Is there any solutions?
Thanks in advance,
WenzhaoPost your question to BOE Admin forums
-
#PAGINATION# in the report template
Hi there,
(Apex 4.0.1)
I am modifying the Standard, Alternating Row Colors report template, and in the After Rows sections I put:
<tr><td class="pwc_ReportHeader">#PAGINATION#</td></tr></table>
</table>In other words, I want the pagination to be displayed in the last row in the table, using a specific style.
However, this is what is generated in the page:
<tr>
<td class="pwc_ReportHeader">
<tr>
<td colspan="7" align="right" >
<table summary="">
<tr>
<td class="pagination"></td>
<td class="pagination"></td>
<td nowrap="nowrap" class="pagination"><span>1 - 2</span></td>
<td class="pagination"></td>
<td class="pagination"></td>
</tr>
</table>
</td>
</tr>
</td>
</tr>As you can see, it replaced the #PAGINATION# placeholder with a table inside a tr, which completely messes up the layout I want. These tags don't even have IDs or classes associated to them so it is impossible to style them using CSS.
Where did those tr and table come from? Is it possible to change what is generated?
Thanks
LuisLuis Cabral wrote:
In other words, I want the pagination to be displayed in the last row in the table, using a specific style.
However, this is what is generated in the page:
<tr>
<td class="pwc_ReportHeader">
<tr>
<td colspan="7" align="right" >
<table summary="">
<tr>
<td class="pagination"></td>
<td class="pagination"></td>
<td nowrap="nowrap" class="pagination"><span>1 - 2</span></td>
<td class="pagination"></td>
<td class="pagination"></td>
</tr>
</table>
</td>
</tr>
</td>
</tr>As you can see, it replaced the #PAGINATION# placeholder with a table inside a tr, which completely messes up the layout I want.Join the club:
{thread:id=333925}
{thread:id=1047198}
(I'm sure there are others.)
Where did those tr and table come from?From the innards of APEX.
Is it possible to change what is generated?Maybe. Never done this, nor seen it done:
{thread:id=1025125}
Another approach would be to use a Dynamic Action/JavaScript to modify the APEX-generated elements in the DOM.
These tags don't even have IDs or classes associated to them so it is impossible to style them using CSS.IDs and classes are not the only CSS selectors. Unless you're stuck in quirks mode on IE6/7/8/(9?), you can use attribute, child, adjacent sibling and pseudo-class selectors to target those elements.
If you post the complete report template we can try to identify possible selectors. -
Output of the report is not displaying based on the layout
Hi,
We are not able to get the report based on the layout. We have found that F4 help is not working for the layout selection, as there are so many layoust mantained for the report.The FM REUSE_ALV_VARIANT_F4 is used to select the variant.But we have checked the table LTDX, there are no lay out is there for this report.hence the out out of the report is always displaying based on one standrd layout.
Kindly guide me to resolve this issue.
Regards,
ArundhatiHi, follow these steps:
1 - Variant on Screen
SELECTION-SCREEN BEGIN OF BLOCK bloco2 WITH FRAME.
PARAMETERS: p_layout LIKE disvariant-variant.
SELECTION-SCREEN END OF BLOCK bloco2.
2 - F4 on field
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_layout.
PERFORM busca_variantes.
AT SELECTION-SCREEN ON p_layout.
IF NOT p_layout IS INITIAL.
PERFORM verifica_variante.
ENDIF.
3 - Functions for F4
3.1 Form busca_variantes
FORM busca_variantes.
DATA: variant_exit(01) TYPE c,
variante LIKE disvariant.
variante-report = sy-repid.
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
is_variant = variante
i_save = 'A'
IMPORTING
e_exit = variant_exit
es_variant = v_variante
EXCEPTIONS
not_found = 1
program_error = 2
OTHERS = 3.
IF sy-subrc = 0.
IF variant_exit = space.
p_layout = v_variante-variant.
ENDIF.
ENDIF.
ENDFORM. " busca_variantes
3.2 - FORM verifica_variante
FORM verifica_variante.
v_variante-report = sy-repid.
v_variante-variant = p_layout.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
i_save = 'A'
CHANGING
cs_variant = v_variante
EXCEPTIONS
wrong_input = 1
not_found = 2
program_error = 3
OTHERS = 4.
IF sy-subrc 0.
MESSAGE w368(00) WITH p_layout ' não é uma variante válida'.
CLEAR p_layout.
ENDIF.
ENDFORM. " verifica_variante
4 - Calling the variant on reuse function
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
is_variant = v_variante
5 - Global DATA
DATA: v_variante LIKE disvariant. -
In XL Reporter the report template ER-1 is not working,
In XL Reporter the report template ER-1.ixr given by SAP is not working,
Error message displayed: "Error in Expansion" how to correct this problem
please give me the solution or mail me ER 1.ixr if you got working file, thank you
Regards
krish
mail id:[email protected]Dear Radhakrishnan,
This error has already been reported to SAP Support earlier also. It happens with SalesTaxRegister.ixr also and here is the solution for it :
Whenever the Xlreport "SalesTaxRegister.ixr" is executed from
XLReporter the error "Error in expansion" appears.
This error occurs because the report references two fields which do not
exist in the metadata.
Note: SalesTaxRegister.ixr is provided by SAP for Indian localisation.
To correct this problem, follow these steps:
1. Open the report definition in Excel.
2. Click menu 'Format > Column > Unhide' to unhide all columns. This
will make columns A to AC visible.
3. Delete the content in cells O15 and O25 (PO4_NonDdctPrc).
4. Hide columns A to AC again and save the report.
5. Try to run the report again.
The above solution will work for SalesTaxRegister.ixr report.
For the customized report which the partner must have
created, there would be some similar references that do not exist
in the metadata. Once these references are deleted the report will work
again.
For further information please have a look at the note : 1072702.
Regards
Arshdeep -
Parameter REPORT for the Report Web item in the Web template is empty or mi
Hello,
I tried to create a Web-Template (WAD). By executing the report, I get the selection screnn, but by confirming the selection I get the following message:
Web Item Report Error
Web template error in specifications for the Web item report
Parameter REPORT for the Report Web item in the Web template is empty or missing
Use the BEx Web Application Designer to add parameter REPORT to the report Web item in the Web template, and assign a report name to the parameter
Contact your system administrator. This error was recorded
What can I do to solve this error?
Thanks!
XmchXAs DP_1 Type Query_view_Data_provider, I have assinged a Query Designer Query wich works fine, if I execute it as QDR.
The entry Query_view_Data_provider makes sense for me, but what do I need to maintain for the type "Filter"?
Thanks!
XmchX -
How to freeze the report header row in the web template SAP BI 7.0?
Hello,
Can somebody tell me how to freeze the report header row in the web template SAP BI 7.0 (key fiigures1, 2,3)?
key figure1 key figure2 key figure3
20 30 40
30 80 90
ThanksHi,
You can refer the following threads...
Re: Create Scrollable Table Body in WAD - Locking Table Column and Header
Freeze Data Columns in WAD
This will help you!
Rgds,
Murali -
How to report print to the printer immediately and display the popup?
Dear friends,
I am running my report in background and displaying the confirm results on popup window and sending the results to printer,
but now i want to send the results page to printer then want to display the popup.
i have writen my popup perform after printer perform only but its not working...when i am clossing the popup or came back from that popup then only the results sending to printer...
How to report print to the printer immediately and display the popup?
Thanks in advance
SridharHi Sudheer,
I am using my print parameters like this :
NEW-PAGE PRINT ON DESTINATION ws_printer
IMMEDIATELY 'X'
KEEP IN SPOOL 'X'
NEW LIST IDENTIFICATION 'X'
SAP COVER PAGE 'X'
ARCHIVE MODE '1'
LINE-COUNT 64
LINE-SIZE 170
NEW-SECTION
NO DIALOG.
Then also its not printing immediatly.
here one thing for displaying the popup i am using submit report(calling another report for popup purpose)
before trigering the submit programe i need to print this.
Thanks
Sridhar. -
Hi,
I was looking to create a new report, all I want to do is to run a report that shows a users activities so if they have updated a record, or created/modified notes.
I tried the followingbut I got an error of The report cannot be displayed. (rsProcessingAborted)Thanks David,
Thanks for your help.
I can see the following from the logs.
Application log
Report Server (MSSQLSERVER) cannot load the TERADATA extension.
System log
The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server CRMAPPSVC. The target name used was HTTP/CRMSERVER. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal
name (SPN) is registered on an account other than the account the target service is using. Please ensure that the target SPN is registered on, and only registered on, the account used by the server. This error can also happen when the target service is using
a different password for the target service account than what the Kerberos Key Distribution Center (KDC) has for the target service account. Please ensure that the service on the server and the KDC are both updated to use the current password. If the server
name is not fully qualified, and the target domain (C.LOCAL) is different from the client domain (C.LOCAL), check if there are identically named server accounts in these two domains, or use the fully-qualified name to identify the server.
Reporting Service log files
library!WindowsService_142!1c58!02/04/2015-09:27:48:: i INFO: Call to CleanBatch()
library!WindowsService_142!1c58!02/04/2015-09:27:48:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
library!WindowsService_142!1c58!02/04/2015-09:27:48:: i INFO: Call to CleanBatch() ends
processing!ReportServer_0-9!140c!02/04/2015-09:28:02:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'DSMain'.
---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
Microsoft.Crm.CrmException: An unexpected error occurred.
System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception.
System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception.
System.ComponentModel.Win32Exception: The target principal name is incorrect ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: An unexpected error occurred. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
A call to SSPI failed, see inner exception. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: A call to SSPI failed, see inner exception. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: The
target principal name is incorrect
--- End of inner exception stack trace ---
at System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult lazyResult, Byte[] message, Exception exception)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty& remoteSecurity)
at System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult lazyResult, Byte[] message, Exception exception)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)
at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty& remoteSecurity)
--- End of inner exception stack trace ---
I do believe the issue to be with authorization account so i will dig further to see if i can fix it. -
Bug and Fix: Report Template Preview displays ORA-01002
Hi, omniscient All!
Let me share some knowledge with you. There is an old APEX bug:
BUG: preview report template errors with ORA-01002
Report Template Preview/Copy Error
Template Preview Error:
You can definitely see it in 4.0, 4.1, 4.2, 4.2.1 versions: open any database application in AppBuilder, go to Shared Components→Templates, move cursor on Some Report Template row, click Preview Icon. Voilà:
report error:
ORA-01002: fetch out of sequenceI looked into Template Preview region's source and have found next WWV_RENDER_REPORT3.show call:
wwv_render_report3.show(
p_query => '
select 1 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 2 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 3 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 4 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 5 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 6 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual
order by 1',
p_row_template_id => :f4000_p245_id,
p_region_id => 88449328191587806
);I have no wish to go deep into my further investigation, therefore I just call a cause: APEX Team, you forgot to set the value of P_PLUG_SOURCE_TYPE parameter.
Workaround: While APEX Team will making a patch, those who can't wait it should fix it manually by executing next code:
update &APEX_SCHEMA.wwv_flow_page_plugs
set plug_source = q'{wwv_render_report3.show(
p_query => '
select 1 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 2 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 3 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 4 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 5 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual union
select 6 COL1, ''[...]'' COL2, ''[...]'' COL3, sysdate COL4 from dual
order by 1',
p_row_template_id => :f4000_p245_id,
p_region_id => 88449328191587806,
p_plug_source_type => 'SQL_QUERY'
where id = 14562627207747006
/APEX_SCHEMA is schema where APEX was installed.
Good luck,
Alex
Edited by: tiPPLer on 14.02.2013 17:14I wouldn't mind piggy-backing this to ask if the Report Template "shortcut" links at the top of the page can be updated to account for all sections that are now a part of the Report Template. "Before Each Row" and "After Each Row" sections are not listed in the shortcuts. There are also two shortcuts listed as "Before" and "After" which should probably be relabeled.
Shane. -
View the .rtf file not display the data in BI Publisher Enterprise.
Hi,
Platform: OBIEE 10g in NT XPsp2
View the .rtf file not display the data in BI Publisher Enterprise.
Step 1, I created Answer-request, create .rtf file with Word and add the request name, Add bar chart and table, preview PDF is working fine with data, Upload this template to Answers, View Template from Answer is working fine with data.
Step 2, Answers – More Products > BI Publisher > My Folders > Create a new report > Edit > Data Model > New > Type: SQL Query > Data Source: Oracle BI EE > Query Builder > from SupplierSales assign Customer, Periods, Sales Facts (select Region, state, Year, Units Shipped) > Results > Save > Save
Click Layouts > New > enter Name ….. > Click Layouts > borrows .rtf file in Manage T file > Upload > Save > Click View
It is showing only the .rtf file without data. Why there is no data?
Please guide me to solve this issue.
Thanks,
JoThanks for you reply,
Our scenario is this report is basically a dissconnected mode report... we are developing these reports for mobile clients.
We dint face this kind of issue while developing other reports.
So please let us know if you have any idea on why we are facing this issue.
Regards,
Maneesh -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
Actually it does display the page, but it doesn't display some of the elements which 3.6 did perfectly & even lowly old IE9 still does
Where do I post the 2 screenshots? - the 1 of IE9? & the other of FF15? - which, it should be obvious, isn't displaying the blue lines down the sidescor-el wrote:
Do you know what (CSS) code is responsible for those lines?
After you asked your question, I did some experimentation by varying
the size of the jpg displaying the long blue bar
& came to a startling conclusion
FF15 has changed its ability to display jpgs, if said jpg is even slightly greater
than 30K on its long (vertical) side
You see, the blue bar isn't generated by FF - it's an independent 8x35Kblubx.jpg,
an 8 x 35,000 pixel blue line, which was custom created in a drawing prg
I can send you the file if you want to see it, but the bottom line is,
the old version of FF used to display it perfectly & in virtually any paint type
or jpg display prg (preferably such as IrfanView or ACDSee etc),
it still will, but NOW, in FF15 it doesn't work
Thus whoever's responsible for finalizing the code at Mozilla/FF (whether it's a committee
or a person making a decision for a committee), they've decided some type of jpgs
just won't display, if they're greater than some arbitrary # of pixels
on its long (vertical) side
So, here it is ; even FF15 runs the HTM perfectly, *if* I restrict the 8x35Kblubox.jpg
to its shorter `brother', which is 8x30Kblubox.jpg
Why 30K is acceptable to FF15, but even 30.5K or certainly 34K isn't,
is completely upto whoever's responsible for deciding what will display on FF15
All right, why the change? - Even IE9 still displays the 35Kblubox
& all the way upto 60K & maybe more (I decided 60K was as big as I'd need
at the time they were created), but FF15 jams out at 30.5!
Clearly it's a FF15 `issue' & should be restored to its former ability to run at least 60K
pixel or greater jpgs (along the long upright edge)
frebe -
Stop the report from firing until the user clicks the Go button?
Hi All,
Is there a way to stop the report from firing until the user clicks the Go button? At the moment it is populating when I open the dashboard page. I found something online that said i could use the Page Options>Save Current Settings> For Others.. but even though i am signed in as an administrator i only see a For Me.. option. Also, even after setting this option i would like to be able to hit the 'Go' button to run the report and have it uncollapse the section. Is this possible?
ThanksThanks for the replies,
In my report i am trying to constrain the report to todays data only. However the only prompt i have is for another column. If i place a filter on the date column with Year=0000 it will not change with the prompt selection and so will never return any results. Is there any other way?
It seems wasteful to fire a request to the database onload of the page. Is there an option to only fire a request what the prompts are entered? I will be using a stored proc which needs parameters to run the request so it would be good to be able to set the report to not run until it has parameters entered
Thanks -
I have created an RDL file programatically. When I execute the code I get the error as mentioned below:
Error: Sub report cannot be shown.
An internal error occurred on the report server. See the error log for more details. (rsInternalError)
When I copy and paste the code of RDL file into new RDL file and try to preview the output I get correct result.
Note: The new RDL file does not give any error if the output is seen using preview tab but it gives the error only when executed from report viewer or from internet explorer.
Any Suggestion/feedback is highly appreciated.
Thank You.
The code of the sample RDL is shown below:
<?xml version="1.0" encoding="utf-8"?>
<Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
<DataSources>
<DataSource Name="DataSource1">
<DataSourceReference>DataSource1</DataSourceReference>
<rd:DataSourceID>fe4806ee-0358-4a87-b764-ac5de049545e</rd:DataSourceID>
</DataSource>
</DataSources>
<BottomMargin>0.25in</BottomMargin>
<RightMargin>0.25in</RightMargin>
<PageWidth>11in</PageWidth>
<ReportParameters>
<ReportParameter Name="machine_id">
<DataType>String</DataType>
<Prompt>machine_id</Prompt>
</ReportParameter>
<ReportParameter Name="from_date">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>From Date</Prompt>
</ReportParameter>
<ReportParameter Name="to_date">
<DataType>String</DataType>
<AllowBlank>true</AllowBlank>
<Prompt>To Date</Prompt>
</ReportParameter>
</ReportParameters>
<rd:DrawGrid>true</rd:DrawGrid>
<InteractiveWidth>8.5in</InteractiveWidth>
<rd:SnapToGrid>true</rd:SnapToGrid>
<Body>
<ReportItems>
<Table Name="table1">
<DataSetName>Main_Report</DataSetName>
<TableGroups>
<TableGroup>
<Header>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Textbox Name="textbox2">
<rd:DefaultName>textbox2</rd:DefaultName>
<ZIndex>1</ZIndex>
<Style>
<TextAlign>Left</TextAlign>
<PaddingLeft>2pt</PaddingLeft>
<PaddingBottom>2pt</PaddingBottom>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
</Style>
<CanGrow>true</CanGrow>
<Value>=Fields!syscode.Value</Value>
</Textbox>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.25in</Height>
</TableRow>
</TableRows>
<RepeatOnNewPage>true</RepeatOnNewPage>
</Header>
<Grouping Name="table1_Group1">
<PageBreakAtEnd>true</PageBreakAtEnd>
<GroupExpressions>
<GroupExpression>=Fields!syscode.Value</GroupExpression>
</GroupExpressions>
</Grouping>
</TableGroup>
</TableGroups>
<Details>
<TableRows>
<TableRow>
<TableCells>
<TableCell>
<ReportItems>
<Subreport Name="subreport1">
<Parameters>
<Parameter Name="machine_id">
<Value>=Fields!machine_ip.Value</Value>
</Parameter>
<Parameter Name="syscode">
<Value>=Fields!syscode.Value</Value>
</Parameter>
<Parameter Name="from_date">
<Value>=Parameters!from_date.Value</Value>
</Parameter>
<Parameter Name="to_date">
<Value>=Parameters!to_date.Value</Value>
</Parameter>
</Parameters>
<ReportName>Holding_Summary_Multi_Period</ReportName>
</Subreport>
</ReportItems>
</TableCell>
</TableCells>
<Height>0.25in</Height>
</TableRow>
</TableRows>
</Details>
<TableColumns>
<TableColumn>
<Width>10.5in</Width>
</TableColumn>
</TableColumns>
<Height>0.5in</Height>
</Table>
</ReportItems>
<Height>0.75in</Height>
</Body>
<rd:ReportID>d0a1293a-e98c-4f75-9597-03426d2e7218</rd:ReportID>
<LeftMargin>0.25in</LeftMargin>
<DataSets>
<DataSet Name="Main_Report">
<Query>
<rd:UseGenericDesigner>true</rd:UseGenericDesigner>
<CommandText>select account_syscode as syscode , 'display Name' as display_name , * from mars_customer_list
where machine_ip = @machine_id</CommandText>
<QueryParameters>
<QueryParameter Name="@machine_id">
<Value>=Parameters!machine_id.Value</Value>
</QueryParameter>
</QueryParameters>
<DataSourceName>DataSource1</DataSourceName>
</Query>
<Fields>
<Field Name="syscode">
<rd:TypeName>System.Int64</rd:TypeName>
<DataField>syscode</DataField>
</Field>
<Field Name="display_name">
<rd:TypeName>System.String</rd:TypeName>
<DataField>display_name</DataField>
</Field>
<Field Name="customer_syscode">
<rd:TypeName>System.Int64</rd:TypeName>
<DataField>customer_syscode</DataField>
</Field>
<Field Name="account_syscode">
<rd:TypeName>System.Int64</rd:TypeName>
<DataField>account_syscode</DataField>
</Field>
<Field Name="machine_ip">
<rd:TypeName>System.String</rd:TypeName>
<DataField>machine_ip</DataField>
</Field>
</Fields>
</DataSet>
</DataSets>
<Code>Shared offset As Integer
Public Function GetPN(reset As Boolean, pagenumber As Integer) As Integer
If reset
offset = pagenumber - 1
End If
Return pagenumber - offset
End Function
</Code>
<Width>10.5in</Width>
<InteractiveHeight>11in</InteractiveHeight>
<Language>en-US</Language>
<PageFooter>
<ReportItems>
<Image Name="image1">
<Sizing>Fit</Sizing>
<Left>8.875in</Left>
<MIMEType />
<Width>1.5in</Width>
<Source>External</Source>
<Style />
<Value>bottom_right_logo.gif</Value>
</Image>
</ReportItems>
<Height>0.5in</Height>
<PrintOnLastPage>true</PrintOnLastPage>
<PrintOnFirstPage>true</PrintOnFirstPage>
</PageFooter>
<TopMargin>0.5in</TopMargin>
<PageHeight>8.5in</PageHeight>
</Report>i created a SSRS report with shared datasets and uploaded rdl files and rsd files , while trying to map rdl file with data sets i am getting an error
when i click on manage for .rdl file, its throwing error , as
"An internal error occurred on the report server. See the error log for more details. (rsInternalError)
Object reference not set to an instance of an object.
please help me with this
Maybe you are looking for
-
Macbook Air camera not working with Jabber and Skype
New Macbook Air (2013) and the camera does not recognize Skype or Jabber (Cisco product). Unbelievable that Apple does this but any suggestions on how to fix this issue?
-
Unacceptable Errors after 10.5.2
This needs to be fixed: 1. Audio skipping horribly- rendering my entire music library unlistenable. 2. Video's in Quicktime/VLC skipping horribly 3. Iphoto Slideshows skip and pause horribly 4. Computer won't wake from sleep I have observed Activity
-
Hi, usually i have a trap{} in my scripts to handle and log(!) all unforseen exceptions which i have not otherwise handled via Try/catch. This works great. But, when i have a script with windows forms, all exceptions will be displayed automatically
-
Hi Experts, My Business requirement is to create a Visit Plan and assigned it respective Employee Responsible with Activity Type "Task". With this I am creating a Task for that employee so that once user Log-on (Employee Resp.) can see their task on
-
Premiere Pro CS4 and JVC HM700e (Mac)
Hey there, first i'd like to excuse my bad (school-)english. Hope you'll understand my question anyway. We just bought a new JVC-HM 700e Camcorder and we use the CS4 Creative Suite in our company. The 700e we can produce MP4 (Win) and MOV (Mac + Fina