on ‎2009 Feb 13 9:17 PM
warning...newbie question....
We are using the crystal report viewer on an ASP.NET application.
on the parameter panel there is an edit icon, if the user double clicks this, the report viewer triggers the page to re-load, then it displays a tiny dialogbox that says "Please wait while the document is being processed" but the report viewer never refreshes. the dialogbox never goes always.
1) why does the edit icon show up on all the parameters?
2) what is it doing when someone double clicks it?
3) how can i hide or disable it?
any help would greatly be appreciated!!!
Request clarification before answering.
Is this happening on your development computer or after you deploy the app?
Is this an app you wrote? (I don't recognize this error "Please wait while the document is being processed" as a Crystal reports error)
If this is on a deployed system - how was the CR runtime deployed?
What is the OS?
What is the database?
What is the database connection method?
Are yo changing the database connection information (e.g.; new server, database)?
Ludek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is this happening on your development computer or after you deploy the app?
it happenes both in dev and on the servers
Is this an app you wrote? (I don't recognize this error "Please wait while the document is being processed" as a Crystal reports error)
no, it's a small dialog that the viewer is generating when the user clicks on the edit icon in the viewer
If this is on a deployed system - how was the CR runtime deployed?
uggh, i grabbed the MSI that was referenced in the product.xml
What is the OS?
XP on dev, win2k3 on the server
What is the database?
MS SQL 2005
What is the database connection method?
ADO Client
Are yo changing the database connection information (e.g.; new server, database)?
when the report is instantiated, we set the db connections and the report works, it just kind goes off to never never land when the user click the edit icon in the report viewer.
Is this an app you wrote? (I don't recognize this error "Please wait while the document is being processed" as a Crystal reports error)
- no, it's a small dialog that the viewer is generating when the user clicks on the edit icon in the viewer
Edit icon? Not sure what you are referring to. The CR viewer does not have an "Edit" icon. From your description, this looks like an app that was created for you by a 3rd party? If that is so, you should be creating the 3rd party for help...
Ludek
I'm not double clicking on starting period, I'm double clicking on the little square box next to it. I have no idea what this is, the reference book i have on says "Click Edit icon to display full parameter prompt screen" but that's all the info I can dig up. (i guessing i'm looking in the wrong place or calling it the wrong name)
There is no code in report, except for field formulas.
If nothing else, how can i disable it so users wont click on it.
Thanks!!
<%@ Register TagPrefix="CR" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %>
<snip>
<div >
<CR:CrystalReportViewer ID="crv" runat="server"
HasSearchButton="False" HasToggleGroupTreeButton="False"
AutoDataBind="true" PrintMode="ActiveX" Height="50px" ToolPanelView="ParameterPanel"
ToolPanelWidth="150px" Width="350px" HasCrystalLogo="False"
EnableDatabaseLogonPrompt="false" EnableParameterPrompt="False"
HasDrillUpButton="False" />
</div>
sorry, this is the code on the APSX page that creates the CR viewer (i tired to post the entire page, which isnt much but the forum threw a hissy fit
<%@ Register TagPrefix="CR" Namespace="CrystalDecisions.Web" Assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" %>
<snip>
<CR:CrystalReportViewer ID="crv" runat="server"
HasSearchButton="False" HasToggleGroupTreeButton="False"
AutoDataBind="true" PrintMode="ActiveX" Height="50px" ToolPanelView="ParameterPanel"
ToolPanelWidth="150px" Width="350px" HasCrystalLogo="False"
EnableDatabaseLogonPrompt="false" EnableParameterPrompt="False"
HasDrillUpButton="False" />
can anybody please tell me what the heck this and how it can be disabled <<pleading>>.
I really think you should consider obtaining a single case support contract as we're not getting the info we need through this forum. You can obtain a single support case here:
Ludek
Yes, it is. But how is the viewer being "wired" into the website you are working with? There has to be some code, most likely VS .NET that actually places the report viewer on the website and displays the report. It is not as trivial as you appear to think. This post will be closed and locked. Please create a case so you can discuss with a technician over the phone.
Regards,
Ludek
The "Please wait while the document is being processed" is showing up because it is taking time to generate the parameter prompt window for that parameter. The button that you are clicking is for editing a parameter value, so it will be trying to gather the data to create the list of values to prompt you with.
The first click will activate which parameter you are choosing, which makes the icon in that square change, and give you a tooltip that says "Edit". The second click pulls up the paramter prompt.
I have one made one assumption here, that the parameters for the date are created as dynamic parameters based off data in the report.
Thanks Adam! that make sense.
But all my parameters are all defined as a list of static values. (ie "List of Values" = "Static)
Maybe i'm not including everything in project that I need to. ie missing the dll that generates the parameter prompt??
Now that I know it's trying to create the parameter prompt, I can do some more digging to see what I screwed up.
I'll post back later with the results
adding all the CystalDecisions.ReportAppServer.* references to my project didn't help.
when the viewer is attempting to show the parameter prompt window, the console is showing that the DLL is getting loaded;
'WebDev.WebServer.EXE' (Managed): Loaded 'C:\WINDOWS\assembly\GAC\CrystalDecisions.ReportAppServer.Prompting\12.0.1100.0__692fbea5521e1304\CrystalDecisions.ReportAppServer.Prompting.dllbut nothing else appears in the console after that.
I would suggest looking at your code that will be run on postbacks as bringing up the parameter prompt window causes a postback to generate the window, and a second postback to re-render the report. If you have code that takes a long time to process on every postback, that will cause the wait dialog to be shown.
That helped, because I didn't know that it was posting back!!!!!
There are no errors indicating any problems.
HOWEVER, in the Page_Init event we were setting .Source & .ID on the Crystal Report Viewer. The reason we set the the ID was so if the user exported as PDF it would have a custom name.
By setting the .ID we pretty much broke the Parameter Window Prompt.
Thanks adam for pointing me in the right direction!!
Edited by: Eric Crystal Labashosky on Mar 11, 2009 3:05 PM
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.