ValidateLongRange Tag implementation error?

Dear Friends,
I encountered this strange problem after I started using JSF-1.2 implementation shipped with netbeans 6.01, glass fish V2. It looks like the
following validation tag will always cause the java.lang.NumberFormatException,
<f:validateLongRange minimum="13000000000" maximum="13999999999" />
When I looked back at the call stack for javax.faces.webapp.ValidatorELTag.doStartTag(), I saw following:
java.lang.NumberFormatException: For input string: "13000000000"
{color:#ff0000}
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:459)
at java.lang.Integer.valueOf(Integer.java:553){color}
at com.sun.faces.taglib.jsf_core.ValidateLongRangeTag.evaluateExpressions(ValidateLongRangeTag.java:140)
at com.sun.faces.taglib.jsf_core.ValidateLongRangeTag.createValidator(ValidateLongRangeTag.java:117)
at javax.faces.webapp.ValidatorELTag.doStartTag(ValidatorELTag.java:108)
The lines in red make me very worried. I assume the string "13000000000" in this tag should be interperated as java.lang.Long, however, it looks like the string was converted to java.lang.Integer.
I did not have this problem with jsf implementation in tomcat 5.5 shipped with netbeans 5.5.1. Could anboyd kindly let me know if he/she has the same problem as well?
Thanks,

I don't know anything about the tag libraries you're using but there appears to be nothing wrong with the xml and if it works on one server, all things being equal, it'll work on another.
Therefore....I would ask to see the taglib tags on your page(s) (to see how your importing them) as well as asking questions like..are you packaging these within your application or have you manually installed them on bother servers?

Similar Messages

  • Cure for "501 Method Not Implemented" error at site in Firefox but not Chrome or IE?

    I am receiving a "501 Method Not Implemented" error message at a site in Firefox but not in Chrome or IE. How can this be cured?

    Do you get that error if you access the site or if you click a link to got to another page?
    You can reload the page and bypass the cache with:
    * Press and hold Shift and left-click the Reload button.
    * Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    * Press "Cmd + Shift + R" (MAC)
    See [[Keyboard shortcuts]] and [[Mouse shortcuts]]
    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • How to Solve: tag nesting error? in Struts project.

    Hello, EveryBody:
    I am working for a Struts system in testing a program of look-up user password via user-inputs with birthdate, postal code, userid. I have writen three program, lookup.jsp, LookupForm.java, LookupAction.java. When I get the lookup.jsp run, the web browser displays "HTTP 500". Please find the attached message for error message, lookup.jsp and Lookupform.java. Thanks a lot.
    HTTP Status 500 -
    type: Exception report
    message: description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.compiler.ParseException: End of content reached while more parsing required: tag nesting error?
         at org.apache.jasper.compiler.JspReader.popFile(JspReader.java:293)
         at org.apache.jasper.compiler.JspReader.hasMoreInput
    ..........(Omit)
    lookup.jsp:
    <%@ page language="java" import="com.tfu.struts.common.Constants" %>
    <%@ taglib uri="/WEB-INF/app.tld" prefix="app" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
    <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
    <html:html locale="true">
    <head>
    <title><bean:message key="lookup.title"/></title>
    <html:base/>
    </head>
    <body bgcolor="#FFFFFF" background="images/FREE-bg.gif">
    <%@ include file="header1.html" %>
    <html:errors/>
    <%
    String selectedMonthValue = (String)request.getAttribute(Constants.SELECTED_MONTH_KEY);
    log("selectedMonthValue = " + selectedMonthValue);
    String selectedCountryValue = (String)request.getAttribute(Constants.SELECTED_COUNTRY_KEY);
    log("selectedCountryValue = " + selectedCountryValue);
    %>
    <html:form action="/lookup">
    <html:hidden property="action">
    <table>
    <tr><td><bean:message key="prompt.lookup.signin"/></td></tr>
    <tr><td><bean:message key="prompt.lookup.notes1"/>
    <bean:message key="prompt.lookup.notes2"/></td>
    </tr>
    <tr><td><bean:message key="prompt.lookup.step1"/>
    <bean:message key="prompt.lookup.step11"/></td>
    </tr>
    <tr>
    <td><bean:message key="prompt.birthdate"/></td>
    <td>
    <html:select property="birthmonth" size="1">
    <html:options collection="<%= Constants.MONTH_ARRAY_KEY %>"
    property="value"
    labelProperty="label"/>
    </html:select>
    <html:text property="birthday" size="2"/>
    <bean:message key="prompt.birthdate.comma"/>
    <html:text property="birthyear" size="4"/>
    <bean:message key="prompt.birthdate.tail"/>
    </td></tr>
    <tr>
    <td><bean:message key="prompt.postcode"/></td>
    <td><html:text property="postcode" size="10" maxlength="16"/></td>
    <td><bean:message key="prompt.country"/></td>
    <td>
    <html:select property="country" size="1">
    <html:options collection="<%= Constants.COUNTRY_ARRAY_KEY %>"
    property="value" labelProperty="label"/>
    </html:select>
    </td>
    </tr>
    <tr>
    <td>
    <bean:message key="prompt.lookup.step2"/>
    <bean:message key="prompt.lookup.step21"/>
    </td>
    </tr>
    <tr><td><html:text property="userid" size="16" maxlength="16"/></td></tr>
    <tr><td><html:submit property="submit" value="Get Password"/></td></tr>
    </table>
    </html:form>
    <bean:write name="LookupForm" property="password"/>
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <%@ include file="footer0.html" %>
    </body>
    </html:html>
    </html>
    LookupForm.java
    * $Header: /com/tfu/struts/lookup/LookupForm.java
    * $Revision: 1.0 $
    * $Date: 2002/12/31 $
    * writen by Jianming Ke 2002.12.31
    package com.tfu.struts.lookup;
    import javax.servlet.http.HttpServletRequest;
    import org.apache.struts.action.ActionError;
    import org.apache.struts.action.ActionErrors;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionMapping;
    import com.tfu.struts.common.Constants;
    * Form bean for the user password retrieve.
    public final class LookupForm extends ActionForm {
    // --------------------------------------------------- Instance Variables
    private String birthmonth = null;
    private String birthday = null;
    private String birthyear = null;
    private String postcode = null;
    private String country = null;
    private String userid = null;
    private String password = null;
    // ----------------------------------------------------------- Properties
    public String getBirthmonth() {
         return (this.birthmonth);
    public void setBirthmonth(String birthmonth) {
    this.birthmonth = birthmonth;
    public String getBirthday() {
         return (this.birthday);
    public void setBirthday(String birthday) {
    this.birthday = birthday;
    public String getBirthyear() {
         return (this.birthyear);
    public void setBirthyear(String birthyear) {
    this.birthyear = birthyear;
    public String getPostcode() {
         return (this.postcode);
    public void setPostcode(String postcode) {
    this.postcode = postcode;
    public String getCountry() {
         return (this.country);
    public void setCountry(String country) {
    this.country = country;
    public String getUserid() {
         return (this.userid);
    public void setUserid(String userid) {
    this.userid = userid;
    public String getPassword() {
         return (this.password);
    public void setPassword(String password) {
    this.password = password;
    // --------------------------------------------------------- Public Methods
    * Validate the properties that have been set from this HTTP request,
    * and return an <code>ActionErrors</code> object that encapsulates any
    * validation errors that have been found. If no errors are found, return
    * <code>null</code> or an <code>ActionErrors</code> object with no
    * recorded error messages.
    * @param mapping The mapping used to select this instance
    * @param request The servlet request we are processing
    public ActionErrors validate(ActionMapping mapping,
    HttpServletRequest request) {
    ActionErrors errors = new ActionErrors();
    if ((postcode == null) || (postcode.length() < 1))
    errors.add("postcode", new ActionError("error.postcode.required"));
    if ((userid == null) || (userid.length() < 1))
    errors.add("userid", new ActionError("error.userId.required"));
    return errors;
    I edited the struts-config.xml with two segments:
    <!-- ========== Form Bean Definitions ================== -->
    <form-beans>
    <!-- Logon form bean -->
    <form-bean name="logonForm"
    type="com.tfu.struts.logon.LogonForm">
    </form-bean>
    <!-- Lookup form bean -->
    <form-bean name="lookupForm"
    type="com.tfu.struts.lookup.LookupForm">
    </form-bean>
    <!-- ========== Action Mapping Definitions ================= -->
    <action-mappings>
    <!-- Lookup a user password -->
    <action path="/lookup"
    type="com.tfu.struts.lookup.LookupAction"
    name="lookupForm"
    scope="request"
    input="/lookup.jsp">
    <forward name="lookpass" path="/logon.jsp"/>
    </action>

    Hi,
    After I added the line you mentioned, new error messages displays...
    javax.servlet.ServletException: No getter method for property action of bean org.apache.struts.taglib.html.BEAN
         at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:471)
         at org.apache.jsp.lookup$jsp._jspService(lookup$jsp.java:719)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    Thanks a lot.

  • Micrologix 1400 Ethernet/IP invalid tag format error

    I am unable to get the Micrologix 1400 to communicate via Ethernet/IP using register address as tag name, error that appears in the VI is:
    EthernetIP Tag Read BOOL.vi;
    Details: The tag name is not correctly formatted
    Compact Logix PLC works correctly with specified tag names programmed with RSLogix 5000.
    Is there a specific format that I need to use for the Micrologix 1400?

    Images attached.  Tried various formats of the address as well, only testing with digital input 0.  
    Thanks
    Attachments:
    Front_panel.JPG ‏53 KB
    Block_diagram.JPG ‏204 KB
    addressing_details.JPG ‏73 KB

  • Resource registration is failing - Couldnt run method tag. Error in execve

    Hi,
    We have solaris cluster setup with two nodes and a resource group exists which contains a zfs resource which could be mounted on to one of the nodes in the cluster.
    Our application is installed on one of the directory in the zfs file system. The file system and the application would be to be on one of the nodes and if somethings goes bad, it shoud failover to other node.
    I used Agent Builder to create new resource type for managing our application part of sun cluster and used the ksh mode providing it start/stop/probe scripts. I have left validate script as blank.
    When I try to register this new resource type, (resource time generated folder/util/start* script,
    nodex /u2/appx/cluster/ResourceType_01/XYZSolarisAPPXClusterL0/util % ls -ltr
    total 71
    -rw-r--r-- 1 appowner appowner 13960 Jan 12 07:36 startSolarisAPPXClusterL0 <---
    -rw-r--r-- 1 appowner appowner 8281 Jan 12 07:36 removeSolarisAPPXClusterL0
    -rw-r--r-- 1 appowner appowner 7316 Jan 12 07:36 stopSolarisAPPXClusterL0
    -rw-r--r-- 1 appowner appowner 2300 Jan 12 07:36 SolarisAPPXClusterL0_config
    # Resource group creation was successful (SolarisAPPXClusterL0-harg)
    # Virtual Host resource creation was successfull
    # It got added to the new group created
    # But it is failing when it is attempting to create resource for the new resource type - SolarisAPPXClusterL0-hars
    Error:
    Jan 17 14:52:01 nodex Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <SolarisAPPXClusterL0_validate.ksh> for resource <SolarisAPPXClusterL0-hars>, resourcegroup <SolarisAPPXClusterL0-harg>, node <nodex>, timeout <300> seconds
    Jan 17 14:52:01 nodex Cluster.RGM.fed: [ID 838032 daemon.error] SolarisAPPXClusterL0-harg.SolarisAPPXClusterL0-hars.2: Couldn't run method tag. Error in execve: No such file ordirectory.
    Jan 17 14:52:01 nodex Cluster.RGM.global.rgmd: [ID 699104 daemon.error] VALIDATE failed on resource <SolarisAPPXClusterL0-hars>, resource group <SolarisAPPXClusterL0-harg>, time used: 0% of timeout <300, seconds>
    The new resource type files are available on nodex and nodey. When we try to remove and start it again, the error occurred on the other nodey with similar error.
    Jan 17 14:33:52 nodey Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <hafoip_validate> for resource <failover-clus1>, resource group <SolarisAPPXClusterL0-harg>, node <nodey>, timeout <300> seconds
    Jan 17 14:33:52 nodey Cluster.RGM.global.rgmd: [ID 515159 daemon.notice] method <hafoip_validate> completed successfully for resource <failover-clus1>, resource group <SolarisAPPXClusterL0-harg>, node <nodey>, time used: 0% of timeout <300 seconds>
    Jan 17 14:33:53 nodey Cluster.RGM.global.rgmd: [ID 224900 daemon.notice] launching method <SolarisAPPXClusterL0_validate.ksh> for resource <SolarisAPPXClusterL0-hars>, resourcegroup <SolarisAPPXClusterL0-harg>, node <nodey>, timeout <300> seconds
    Jan 17 14:33:53 nodey Cluster.RGM.fed: [ID 838032 daemon.error] SolarisAPPXClusterL0-harg.SolarisAPPXClusterL0-hars.2: Couldn't run method tag. Error in execve: No such file ordirectory.
    Jan 17 14:33:53 nodey Cluster.RGM.global.rgmd: [ID 699104 daemon.error] VALIDATE failed on resource <SolarisAPPXClusterL0-hars>, resource group <SolarisAPPXClusterL0-harg>, time used: 0% of timeout <300, seconds>
    Are there other logs than /var/adm/messages to check for errors ?
    What is causing this error ? Any help is appreciated.
    Thanks in advance!

    See if adding the execute permissions to the scripts solve the problem.
    In general, I just use the SUNW.gds resource type directly rather than use the agent builder. If you want to build something a little more complex, then I would recommend sub-classing the SUNW.gds agent. There are a number of Oracle supplied agents that do this, for example, the HA-LDoms, and HA-obiee agents. Have a look at how they work.
    Regards,
    Tim
    ---

  • Tag Library Error

    I am using Jdeveloper and BEA Weblogic 8.1 application server environment.
    I have custom tag and tld file for the tag. When I try to compile it , I am getting this error which just points to the begininng of the jsp file which uses the tag.
    Error: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    I've tried searching online and found that it may be caused by the the wrong jar reference in classpath. I've tried adding whole bunch of different versions of servlet.jar to my classpath in the project properties but I am still getting the same error.
    Please advice
    Mikhail

    I've tried putting weblogic.jar into the web-inf/lib folder and also added library reference in the project properties but that did not fixed it.
    I still receive this error in all jsp files where I have a tag:
    Error: java.lang.NoSuchMethodError: javax.servlet.jsp.tagext.TagAttributeInfo.<init>(Ljava/lang/String;ZLjava/lang/String;ZZ)V
    Here's the content of my simple tld file:
    <?xml version="1.0" encoding="UTF-8" ?>
    <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
    <!-- a tag library descriptor -->
    <taglib>
    <tlib-version>1.0</tlib-version>
    <jsp-version>1.1</jsp-version>
    <short-name>Bima Tags</short-name>
    <description>Application tag library for the BIMA Application</description>
    <tag>
    <name>navbar</name>
    <tag-class>com.arrownacp.bima.tags.NavBarTag</tag-class>
    <body-content>empty</body-content>
    <description>Display the Navigation Bar</description>
    <attribute>
    <name>pageName</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    <type>java.lang.String</type>
    </attribute>
    </tag>
    </taglib>
    This is how I refer to it in my jsp file:
    <%@ taglib uri="WEB-INF/BimaTags.tld" prefix="es" %>
    and in the page body:
    <es:navbar pageName="addUser" />
    Need an urgent help, thanks
    Mikhail

  • Internal Tag Stack Error

    I have a Bible reading app from Olive Tree, I have recently installed a new bible translation and now when I open the app I receive an error - "Internal Tag Stack Error: Tag Stack too deep" The only option given is to press OK but then the error repeats. Any clue what this is or how to avoid this problem?

    Try resetting your phone:
    Press the sleep/wake button & home button at the same time, keep pressing until you see the Apple logo, then release(ignore the slide to power off). If you get the same error again, delete the app from your phone & then reinstall it.

  • GoogleSearch WSDL and "Bad envelope tag:  definitions" Error

    Hi folks - I'm at my wits end with this. I'm dynamically accessing a WSDL, generating and compiling the stub code, loading it in via reflection, and trying to use it's methods.
    Now, it seems whatever I do I get a "Bad envelope tag: definitions" error when I invoke the remote method. This occurs whether I do the invocation through WSIF, Axis api, or just using reflection and only using Axis for the type mapping.
    Obviously this is a complex situation, but any help anyone can provide would be fantastic.
    Lee
    Message was edited by: Lee
    Just to further embellish - its a SaxException, and the WSDL doc and web service I use to practice is the standard Google one. Thanks.

    >> Does anyone have any experience of intergration with Tririga or has come across this error before?
    Yes, I worked with TRIRIGA and its Business connect API.
    Question:
    Why do you use SOAP Axis adapter not SOAP Adapter? Is there any reason for it?
    This issue seems to be at your end not at TRIRIGA side.
    Suggestion: Please specify wsdl url properly in your SOAP receiver CC.  Also first import wsdl and test via XMLSPY or soapui client and see how that works. Then go for PI unit testing.
    Are u using runNamedQuery? or something?
    I would use PROXY to SOAP Synchronous for this.
    Just my few cents.
    Baskar

  • FUNCTION NOT IMPLEMENTED error when calling C# method from SAP, why?

    Hi,
    I've build a server stub in order to get SAP calling my own methods that exist in the C# world, for that I developed several methods in a class that extends SAPServer and then implemented them...
    I added the special custom properties needed (Abap Name, length, etc) to the function and to its parameters, I've made the ABAP code required to call it...
    I've checked, every parameters that I place in ABAP (importing, exporting and tables) are also defined in C# (its 53 parameters) with the same name (in C# they are in capital letters and in a diferent order but I tried this before and it didn't matter)...
    The name of the function is the same...
    How can I get the 'FUNCTION NOT IMPLEMENT' error in SAP?
    What's going wrong when I get this error?
    Can anyone tell me?
    Is there any place in this site that has a error description and possible reasons?
    When I get a parameter wrong I get a different error (I tried to make smaller functions and they work fine).
    Thanks for the help,
    Nuno Felino
    Message was edited by: Nuno Felino

    Hi,
    I'll explain what I'm doing:
    - we have a set of services made in a C and VB that are available using an API in C#, these services must be available to SAP. So I have a program that will see what parameters the API service requires and makes a proxy so that SAP can call these services.
    To do this I must map SAP types with C#, build the function signature and then implement it. So I cannot use the wizard to do this
    Now, back to the question, what kind of customer attributes I got wrong to get that exception? The most logic is the AbapName of the function but they are equal (the one called in SAP and the one in the customer attributes of the function)...
    Thanks for the answer, can you give me any more hint?

  • Help! Problem with Struts tag html:errors/

    Hi everybody,
    In my JSP page called addUser.jsp, i have the different Struts Tag
    <html:errors/>
    <html:form action="/addUser" focus="firstName">
    </html:form>
    I have of course the ApplicationResources.properties file with differents Struts properties:
    errors.footer=</ul><hr>
    errors.header=<h3><font color="red">Validation Error</font></h3>You must correct the following error(s) before proceeding:<ul>
    errors.ioException=I/O exception rendering error messages: {0}
    and an other one:
    error.fieldsNeeded=<font color="#FF0000">Some fields are missing.</font>
    when I call the addUser form, my JSP page display:
    null Some fields are missing. null
    Have u any suggestion about my prob?
    tx a lot
    s.

    Hi,
    can u post the java code where u are actually adding the error to the action errors. may be there is something wrong with that. I dont see any problem with the jsp or the applicationsResources.properties.
    Thanks
    Latha

  • 501 not implemented errors

    Hi,
    In our portal some users are getting 501 not implemented errors in some front pages.After refreshing everything works fine.Any body have any idea?How this can be solved?
    Regards
    Imran

    HI
    Error Message:
    Error 501/505: Not implemented or not supported.
    Translation:
    This error may occur when using Internet Explorer in Windows XP to view a Web page. This error can be caused by either having the HTTP 1.1 setting enabled or by an interference with Internet Explorer by a third-party product. Since there are some Web sites that still use HTTP 1.0, connection issues can arise if you have HTTP 1.1 enabled.
    Solution:
    The easiest fix for this error can be found if HTTP 1.1 is enabled. To fix the problem, simply disable HTTP 1.1. You can do this by clicking Tools in Internet Explorer and going to the Internet Options menu. Go to the Advanced tab and uncheck the box next to Use HTTP 1.1. Click OK and test to see if the issue is resolved. If you have resolved the issue, do not proceed with the following steps. If the error still remains, go back to the Tools menu in Internet Explorer and select Internet Options. Next, click the Advanced tab and check the box next to u201CShow friendly HTTP error messagesu201D and click OK. The next time this error occurs, a more detailed error message should appear to tell you which program is interfering with the proper display of the Web page. The more friendly error message will say something to the effect of, u201CHTTP version not supported by program name,u201D where program name is the name of the program that is preventing the Web page from displaying correctly. You can either remove this program to attempt to solve the problem or you can contact the manufacturer of the program to see if there is a fix available.
    Regards,
    vijay.

  • Intermittent 501 Not Implemented Errors

    Just wanted to ask if anyone else had come across intermittent Error 501 -- Not Implemented Errors while using PeopleTools 8.51? We are using PeopleTools 8.51.02 and have come across this a few times in both campus solutions and financials (same tools versions).
    Any ideas or suggestions on what might be causing it? Signs tend to suggest and AJAX related problem.

    PeopleSoft has also published this resolution on My Oracle Support (MOS) - E-PIA: PeopleTools 8.50 and 8.51 - Intermittent "Error 501--Not implemented" Messages when Navigating to a Page Using IE7 or IE8 Browser. Doc ID : 1337266.1

  • Vim "No tags file" error with python

    I'm trying to get vim set up for python IDE stuff, but when I ctrl+] on a method or anything else, I get a "No tags file" error. I have the TagList plugin installed. Is there anything else I need to do to set this up?

    You need the "tag file" before you to use "ctrl +]".
    To get the tag file run this command "ctags -R *"  in your source files' directory.

  • Could not resolve to a component implementation error

    I am using the SuperImage component from
    http://www.quietlyscheming.com/blog/2007/01/23/some-thoughts-on-doubt-on-flex-as-the-best- option-orhow-i-made-my-flex-images-stop-dancing/
    The problem I am having is that when I try to use this
    component in a TileList ItemRenderer, I recieve the error Could not
    resolve <qs:SuperImage> to a component implementation.
    In my Application tag, I use xmlns:qs="qs.controls.*" which
    allows me to use the SuperImage component anywhere else, but the
    error occurs when I use it in a Component.
    I have searched for an answer but could not find anything
    that worked. Can anyone help me figure out what is wrong? Below is
    the code where the error occurs.
    <mx:TileList>
    <mx:itemRenderer>
    <mx:Component>
    <mx:VBox>
    <qs:SuperImage/>
    <mx:Label/>
    </mx:VBox>
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    Thank you for any help.

    Why would Component not be able to find the package, but
    everywhere else in the same file can?
    If I add <qs:SuperImage/> right before the TileList, it
    works correctly. Is there a way to specify the classpath for
    Component specifically? I wasn't able to find a way to do
    that.

  • CrystalReportViewer: "Missing parameter values with implemented error event

    I'm using the CrystalReportViewer in APS.net (C#), and try to display a report in it.
    I've implemented the error event of the viewer to show the user a different error message than the viewer itself does.
             this.CrystalReportViewer.Error += new CrystalDecisions.Web.ErrorEventHandler(CrystalReportViewer_Error);
          protected void CrystalReportViewer_Error(object source, CrystalDecisions.Web.ErrorEventArgs e)
             var msg = "Error in CrystalReportViewer\r\n{0}".FormatInvariant(e.ErrorMessage);
             throw new InvalidOperationException(msg);
    But.... Now if I want to show a report that has parameters in it, the parameter page does not appear before the report itself. How can I make my code work (without removing the implementation of the error event), so the viewer first shows the parameter page, before showing the actual report?

    And in the Page_Load method:
    this.CrystalReportViewer.Error += new CrystalDecisions.Web.ErrorEventHandler(CrystalReportViewer_Error);
    I've done this so i can show my own error page to the user of the website. Otherwise the CRViewer shows his own error, and I do not want the user of the website to see this 'technical' error.
    So i've implemented the CrystalReportViewer.Error method:
    protected void CrystalReportViewer_Error(object source, CrystalDecisions.Web.ErrorEventArgs e)
       // Missing parameter values.
       var discardToShowParameterPrompt = (e.ErrorMessage.ToUpperInvariant() == "Missing parameter values.".ToUpperInvariant())
         || (e.ErrorMessage.ToUpperInvariant() == "Ontbrekende parameterwaarden.".ToUpperInvariant());
       if (discardToShowParameterPrompt)
          _Log.Debug("The parameter screen should be displayed now.");
       else
          var msg = "Error in CrystalReportViewer: {0}".FormatInvariant(e.ErrorMessage);
          throw new InvalidOperationException(msg);
    If I load a report with no params in the report, the page shows immediately the report.
    If I load a report with params in the report, the params page is shown, the user can enter the param values, and after pressing OK, the report is shown.
    If an error occurs (for example the report cannot connect to the database), the viewer does NOT show the error (because i've implemented the _error event) but my code throws an InvalidOperationException, and this is handled by code so the error is logged to a file, and the user gets a user friendly message on the website.
    If i do not implement the _error event, the user will see the technical error in the crystal reports viewer.
    If I comment out the code where I'm looking for the string "Missing parameter values." (or "Ontbrekende parameterwaarden") the parameter page will not be shown, and an error will be thrown by the Crystal Reports viewer.
    If I put e.handled = true in the _error event, and there is an error (for example the database cannot be found), no error will be thrown, and there is nothing to see in the viewer.
    So for now the only way to get the params page is to implement the _error event the way i've done in the above code, checking the error message on a string value.

Maybe you are looking for