Custom error Page when Run time Occurs in SharePoint

Hi Guys In my SharePoint application in case if any Run time error occurs in my code, It should not come Server error \ ..instead it needs to redirect to Custom error Page But its not working Can you plz help out? I made changes in web.Config file but its
not working..Can you guys plz help me out how to redirect to custom error Page if any run time error occurs in Sharepoint??
   <customErrors mode="RemoteOnly" defaultRedirect="~/GeneralError.htm" redirectMode="ResponseRedirect"></customErrors>
 [[ Web.config file in Virtual Directory C:/inetpub/wwwroot/vd/port/web.config
Is there any changes in addition to this web.config file??
Reddy

Hi Reddy,
Here you go. pls follow the tutorials
http://www.fixthisbug.com/post/creating-a-custom-error-page-for-sharepoint-2010-web-application
http://blog.incworx.com/blog/sharepoint-tips-and-tricks/implementing-sharepoint-2010-custom-error-pages-v3
http://www.spdeveloper.co.in/articles/pages/custom-error-pages-for-sharepoint2010-sites.aspx
Please remember to click 'Mark as Answer' on the answer if it helps you

Similar Messages

  • Redirect to a custom error page when Forms Server shuts down

    Hi,
    I want the forms application to redirect to a custom error page whenever Forms Server goes down. (like network issues, unscheduled shutdown...) Whenever this happens, the user gets a pop up with FRM messages and user has to acknowledge the pop up. Since the application is used in the shop floor, there will not be any user always in front of the screen and will be a very big issue as there are at least 70-80 PC's on the floor which will be attended fewer times(only when there is issue with the machine) other wise the application displays important events of the machine,etc.,
    I am trying to develop a simple HTML error page(may be with applet) which will keep querying the forms server and once the forms server is up and running, the error page will revert back to the application which the user was working earlier to shutdown. Other option is the redirect to main menu of the application (this may be a PSP or a JSP or a Oracle Forms Menu ).
    Is there any event in forms to capture the loss of connection to forms server ??
    BTW, I am using Oracle Application Server 10g Forms and Reports on Windows 2000 Server...
    Any ideas...
    Thanks in advance
    Purush

    I don't think it will be easily possible in Forms for a couple of reasons.
    1. In Forms you do not have query rights, and as soon as you want to edit data, you have to log in. In Forms you log in once, and this sets your rights for the whole session. You will have to do some programming in Forms to achieve what you want. E.g. as soon as you hit the Save button you are asked for a username and password.
    2. A refresh cannot be done in Forms. Remember that Forms is a Java applet. The URL in the browser is just pointing to the startup page only. If you refresh your screen, you are taken back to the login screen of Forms again.
    Well, there will probably be ways around these problems. I'm thinking in the line of calling every form in a separate URL instead of starting a Forms application where one form is called from another form. The default 'query only' form can be called from a startup html page. This page can be refreshed. As soon as the user wants to update data, he clicks on a link or button and is taken to a login form.
    If the refresh is unsuccessful you are taken to a custom error page, like in your ASP application.
    A problem with an automatich refresh may be hanging sessions. Forms server does not always kill sessions.
    And also, how would you avoid a refresh if a user is currently using the form?

  • Customized error page when no javascript is enabled

    It thought it was possible to customize the page or message you get when you are using a browser with disabled javascript.
    I was looking for the documentation on this but I can't find it.
    Can someone guide me to the documentation or some blog post on how to show a customized page for people who have javascript disabled.
    Thanks.

    hi Yannick
    Not sure if this is what you are looking for, but maybe it can help, see documentation "Oracle Fusion Middleware Tag Reference for Oracle ADF Faces Skin Selectors 11g Release 1 (11.1.1.5.0) E15862-04 "
    at http://download.oracle.com/docs/cd/E21764_01/apirefs.1111/e15862/toc.htm
    For the af:document component it refers to resource string
    "af_document.MSG_SCREEN_READER_HINT "
    with description
    "A message that lets screen reader users know that the page is rendered using screen reader optimized contents. This message is rendered such that it is read by screen readers, but not visible to non-screen reader users "
    success
    Jan Vervecken

  • Runtime Error  -GETWA_NOT_ASSIGNED when running COI

    Hi ALL,
    We are getting run time error -  GETWA_NOT_ASSIGNED when running COI tasks.
    Error analysis
         You attempted to access an unassigned field symbol
         (data segment 32995).
         This error may occur for any of the following reasons:
         - You address a typed field symbol before it is set using ASSIGN
         - You address a field symbol that points to a line in an internal table
           that has been deleted
         - You address a field symbol that had previously been reset using
           UNASSIGN, or that pointed to a local field that no longer exists
        - You address a global function interface parameter, even
          though the relevant function module is not active,
          that is it is not in the list of active calls. You can get the list
          of active calls from the this short dump.
    How to correct the error
        You may able to find an interim solution to the problem
        in the SAP note system. If you have access to the note system yourself,
        use the following search criteria:
        "GETWA_NOT_ASSIGNED" C
        "CL_UC_COI_ACT_PT==============CP" or "CL_UC_COI_ACT_PT==============CM00P"
        "REDUCE_GOODWILL_ENTRIES"
        If you cannot solve the problem yourself and you wish to send
        an error message to SAP, include the following documents:
        1. A printout of the problem description (short dump)
           To obtain this, select in the current display "System->List->
           Save->Local File (unconverted)".
    2. A suitable printout of the system log
        To obtain this, call the system log through transaction SM21.
        Limit the time interval to 10 minutes before and 5 minutes
        after the short dump. In the display, then select the function
        "System->List->Save->Local File (unconverted)".
    3. If the programs are your own programs or modified SAP programs,
        supply the source code.
        To do this, select the Editor function "Further Utilities->
        Upload/Download->Download".
    4. Details regarding the conditions under which the error occurred
        or which actions and input led to the error.
    Information on where terminated
        The termination occurred in the ABAP program "CL_UC_COI_ACT_PT==============CP"
         in "REDUCE_GOODWILL_ENTRIES".
        The main program was "UCUWB000 ".
        The termination occurred in line 722 of the source code of the (Include)
         program "CL_UC_COI_ACT_PT==============CM00P"
        of the source code of program "CL_UC_COI_ACT_PT==============CM00P" (when
         calling the editor 7220).
    702   call method do_inv_net_change->create_data_reference
    703     exporting
    704       i_type   = cl_uc_coi_inv_net=>gc_ref_pt_block
    705       io_model = do_model
    706     importing
    707       er_data  = lr_t_data.
    708   assign lr_t_data->* to <lt_share_block>.
    709   call method do_inv_net_change->get_block
    710     importing
    711       et_pt_shares = <lt_share_block>.
    712
    713   create data lr_s_data like line of <lt_share_block>.
    714   assign lr_s_data->* to <ls_share_block>.
    715 * change due to selling invor's transaction
    716   read table <lt_share_block> into <ls_share_block> index 1.
    717
    718 * direct shares prior to divestiture
    719   assign component 'R_TH_DSH_OLD'
    720     of structure <ls_share_block> to <lr_th_dsh_old>.
    721   assign <lr_th_dsh_old>->* to <lt_dsh_old>.
    >>>>   create data lr_s_data like line of <lt_dsh_old>.
    723   assign lr_s_data->* to <ls_dsh_old>.
    724   assign component ucf6_cs_coi_fld-pcnt1
    725     of structure <ls_dsh_old> to <pcnt1_7a>.
    726
    727 * change of direct shares in divestiture
    Please provide your suggestions.
    Edited by: VM2727 on Feb 10, 2012 3:27 AM

    Or even these ones:
    SAP Note 1480856 - C/I: Program termination GETWA_NOT_ASSIGNED
    Symptom
    When you execute the consolidation of investments, a program termination
    occurs (short dump GETWA_NOT_ASSIGNED in the method CREATE_OCI_LIST of the
    class CL_UC_COI_ACT).
    Note 1467924 - Termination GETWA_NOT_ASSIGNED in CL_UC_COI_ACT_PD
    Symptom
    When you execute the consolidation of investments, the program termination GETWA_NOT_ASSIGNED occurs in the method CALC_NET_INCOME_MEM of the class CL_UC_COI_ACT_PD.

  • Error Message when running BI Publisher

    Hi-
    Getting the following error message when running a custom report, report has been defined but still getting the error message in HCM 9.2 with PeopleTools 8.53
    Template definition MAC_CONF_STM not found in the report definition. (235,2012) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:GetTemplate PCPC:15048 Statement:325
    Called from:PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:GetTemplateRuntime Statement:1778
    Called from:PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport Statement:1115
    Called from:BA_VALIDATION.ConfirmStmtPrint.OnExecute Name:PrintConfirmStmt Statement:53
    Called from:W3EB_ENR_SUMMARY.GBL.W3EB_ENR_PB_WRK.ODEM_CONF_STMT_PB.FieldChange Statement:2
    Any idea regarding the error message
    Regards,
    MACD

    Did your custom report ever ran successfully in the environment you are getting the error.
    Most of the time not all the report definition and associated definitions are migrated to the next environment.
    Have a look at following doc:
    E-BI/XMLP: How To Migrate BI/XML Publisher File Definition Objects? (Doc ID 659919.1)

  • No entry in table T001P when running time eval

    Hi,
    Can someone tell me, why this error occurs. "No entry in table T001P" when running time evaluation PT60. I checked his Infotype 1 and has the Personal Area/Subarea assigned.
    Thanks,
    Swarna.

    Hi,
    Please check these tables:
    V_001P_ALL
    V_503_AL
    Or try creating a blank entry in table T001P.
    Hope this helps,
    Reward points if helpful,
    Thank You,

  • Error in configuring Custom Error Pages for Faces Portlets

    According to
    http://e-docs.bea.com/wls/docs92/schemaref/controls-netuix/http.www.bea.com.servers.netuix.xsd.controls.netuix.1.0.0/element/facescontent.html
    you can specify an errorUri attribute on the facesContent object for the error page.
    <netuix:facesContent contentUri="/testList.jsp" errorUri="/error.jsp"/>
    WebLogic Workshop even allows setting this in the tool.
    However, the errorUri never gets picked up and the following error shows up.
    <BEA-423266> <No setter for property :: errorUri.>
    Anyone faced this problem. Is there any other alternative to specify a custom error page for JSF portlets.
    Please note that the errorUri works fine for the jspContent tag used for JSP Portlets.

    Hi Sanjeev,
    You need to check if you have access to AXF_CONFIGS table. Check if you have ran GRANT_ACCESS.sql script which has below grant commands.
    grant execute any type to apps;
    grant create type to AXF;
    grant select on AXF.AXF_CONFIGS to apps;
    v_formId AXF_CONFIGS.FORMID%TYPE; means tableName.columnName%type;
    so looks like when you are running AXF_EBS_SOLUTION_DATA.sql you are not able to access AXF_CONFIGS table.
    Hope this helps.
    Regards,
    Amol Gavali.

  • Custom Error Pages (404 & 500) not invoked (JSF 1.2 & Websphere 6.0.1)

    Hopefully this is very obvious to some of the experts here. I'm trying to have my custom error pages (404 & 500) displayed, but in stead I get the normal system output text (ugly). The web.xml has been configured to apply the FacesServlet to all pages ending with "jspx". What I now get is the following: Whenever a page ending with .jspx cannot be found, the custom 404 page is IGNORED, however, when I don't use .jspx, but .jsp for example, IT WORKS. Below is my web.xml. I have already tried to make the error pages plain html, and also moved them to the root directory, no luck.
    Oh yes, running on RAD 6.0.1, Faces 1.2.
    Please if someone could guide me here...
    ########## SNIP ##########
    <servlet id="Servlet_1212573625706">
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>
    javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>-1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>JS Resource Servlet</servlet-name>
    <url-pattern>/.ibmjsfres/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.jspx</url-pattern>
    </servlet-mapping>
    <error-page>
    <error-code>500</error-code>
    <location>/includes/errorPages/error500.jspx</location>
    </error-page>
    <error-page>
    <error-code>404</error-code>
    <location>/includes/errorPages/error404.jspx</location>
    </error-page>
    ########## SNIP ##########

    I recognize this as an appserver bug (yeah, it's Websphere).
    Websphere (and the older versions of Apache Tomcat where it is actually based on) doesn't expect the error-page to be a dynamic servlet-served page, but as a static page. It roughly handles as follows: get the error-page location from web.xml, test its existence on the disk file system, if positive then go ahead, but if negative then display default error screen.
    The file with .jspx extension does not physically exist on the disk file system. A workaround for which I remember it worked in WAS 5.x is to create physically that file (empty content is allowed) on the disk file system. So create a blank file with jspx extension at the same location.

  • I want to give custome error page in web dynpro application

    Hi ,
    I want to give custom error page for time out condition in my web dynpro application  .
    Kindly give me a soulation ASAP.
    Thank's and regard's.
    Vikash.

    Refer this :
    default error page
    May be it helps you.

  • OWA_UTL.REDIRECT_UTL to show Custom Error Page

    Hi,
    I am attempting to use the following code to redirect to my Custom error page (Page 500) on various error conditions being raised, within PL/SQL blocks: -
    wwv_flow.g_unrecoverable_error := TRUE;
    HTMLDB_UTIL.SET_SESSION_STATE ('P500_ERRMSG', SQLERRM);
    OWA_UTIL.REDIRECT_URL
    ('f?p='
    || gc_app_id
    || ':ERRPAGE'
    || gc_session_id
    || '::::P500_GO_TO_SCREEN,P500_SOURCE_SCREEN:1,'
    || gc_page_id
    || '');
    I have this working in another environment, but now when this condition is met all I get is a blank page and the following text: -
    Location: f?p=123:ERRPAGE:4328468326428634::::P500_GO_TO_SCREEN,P500_SOURCE_SCREEN:1,119
    Has anyone seen this before?
    Thanks,
    Mike

    Mike - Any event that causes the http header to be closed, such as "htp.p(...)", or the explicit closing of the header as in cookie-setting code where the header is closed afterwards, necessitates the use of htp.init in order to open and stuff the header again (as is the case with a call to owa_util.redirect_url).
    Scott

  • No entry in table T001P for key when running time evaluation

    Hi There,
    All the master data is in synch and I am getting this error when
    running time evaluation.
    *No entry in table T001P for key
    Person rejected: xxxxxxxx*
    Apparantly this seems to be config error but we have lot of EEs like this, working okay. All the  master data dates are correct.
    Any comment/help is greatly appreciated.
    Thanks,
    Gajanan

    Hi,
    In one of the thread i have read that, after maintaining Contract Type the issue has been resolved.
    and in other thread he says
    "the issue is caused by a mismatch in the employee's master data dates. Particularly with infotype 8, the first record of his basic pay had a date prior to his hire date"
    Can you please check it once.
    Good Luck..!
    KK

  • Custom Error Pages Using .htaccess

    Hi All
    Im new to Ironport Nation and would like some help setting up custom error pages
    I have an Apache server setup with custom errors but am having trouble with my.htaccess and mod_rewrite i believe it needs to be something like
    URL
    http://proxy.rlc.qld.edu.au/errors/blocked.html?Time=30/Apr/2008:14:29:56%20+1000&ID=0004221698&Client_IP=10.0.0.13&User=-&Site=www.blodddddgstorm.co.uk&URI=htaccess-mod_rewrite-ultimate-guide/&Status_Code=503&Decision_Tag=OTHER&URL_Cat=nc&WBRS=dns&DVS_Verdict=0&DVS_ThreatName=-
    .htaccess
    rewriteEngine on
    rewriteCond %{query_string} ^URL_Cat=nc&WBRS=dns$
    rewriteRule ^errors$ http://proxy.rlc.qld.edu.au/errors/pagenotfound.html [R=301,L]
    redirects to
    http://proxy.rlc.qld.edu.au/errors/pagenotfound.html
    I would also like to incorporate
    URL_Cat=nc&WBRS=dns pagenotfound.html
    URL_Cat=Adul&WBRS=- adult.html
    URL_Cat=Game&WBRS=- games.html
    URL_Cat=C_Bloc&WBRS=- custom.html
    i know the .htaccess (mod_rewite) is wrong thats where i need help
    Thanks in advance
    Steve

    Is there a reason you're trying to use mod_rewrite to do this?
    The EUN redirection was designed to be directed to a CGI script, which can then dynamically generate the error page based on the criteria passed in, which allows you to customize the error returned (eg, you can list the full category name which is blocked, for example)
    If you really want to have it directing to a static page you can still do this in a CGI script rather than using mod_rewrite.
    If you get the config right then mod_rewrite should work, but it's almost certainly going to be overkill...

  • IE7 Does Not Display Custom Error Pages

    Hi,
    I set up the "Handling Servlet Exceptions (http://www.oracle.com/technology/sample_code/tech/java/codesnippet/servlets/handlingservletexceptions/handlingservletexceptions.html#log) sample code in JDev 10.1.3 on a WindowsXP desktop.
    After modifying the web.xml to run the sample "Catch500Error" servlet I discovered IE7 will not display the custom error page but Mozilla Firefox will.
    The web.xml looks like this:
    <web-app>
    <description>web.xml file for HandlingServletExceptions Application</description>
    <servlet>
    <servlet-name>CatchError500</servlet-name>
    <servlet-class>oracle.otnsamples.servlets.CatchError500</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>CatchError500</servlet-name>
    <url-pattern>/catcherror500</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <error-page>
    <error-code>500</error-code>
    <location>/web/500error.html</location>
    </error-page>
    </web-app>
    Does anyone know how to get IE7 to display the custom error page?
    TIA,
    Jim

    The post documents a problem with 'dashboard designer' not 'sharepoint designer' as the post above mentions. I tried the solution that Jilu posts and that does not fix the problem for dashboard designer.
    I figured this out. In the master page gallery where my custom master page was deployed, I had to edit the details, change the content type to 'publishing master page'. After that change there was then UI versions for 3 and 4. I change the UI to 4, published
    the  master page document in the library then dashboard designer saw the custom master page. 
    Andy Fitch

  • How can we define custom error page in protal application

    How can we define custom error page in protal application, like we define "jsp Error page " in JSPs

    Hi,
    Check these:
    Customization of Portal Runtime Errors and portal standard error codes
    http://help.sap.com/saphelp_nw04/helpdata/en/9a/e74d426332bd30e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/ec/1273b2c413b2449e554eb7b910bce7/frameset.htm
    Regards,
    Praveen Gudapati

  • Error message when running the FSPCCURR - PS/Fin MultiCurrency Process

    error message when running the FSPCCURR - PS/Fin MultiCurrency Process
    =====================================================
    2011-03-21-17.21.39.660000 INFO(5870,1) PI(785156) Program(FSPCGLMC) GL MultiCurrency processing has begun.
    2011-03-21-17.21.40.820000 INFO(5870,4) PI(785156) Program(FSPCSTEP) Beginning processing, Step CURPER in Group NONREVAL for Business Unit NAMER.
    2011-03-21-17.30.14.520000 INFO(5870,4) PI(785156) Program(FSPCSTEP) Beginning processing, Step USD_USD in Group NONREVAL for Business Unit NAMER.
    2011-03-21-17.30.53.000000 SEVERE ERROR IN PGM:(5870,58) PI(785156) Program(FSPCPROC) Edit journal fails for Business Unit NAMER and Step USD_USD.

    Hi 841037,
    We are facing this same issue in our environment. We are on FSCM 9.1 bundle #24.Please let me know how you resolved this issue at your end. Any help or pointers regarding this issue is highly appreciated. Thanks.

Maybe you are looking for

  • TV as Macbook Pro monitor video quality

    Hi there, Hoping for some advice here. I've been using an Apple mini displayport to HDMI cable to use my tv as a monitor for my Macbook Pro when streaming online video. It's hard to describe, but the video doesn't look as smooth on the TV as it does

  • Efiboot mba can't boot can't repair

    I have a 9 week old MBA. Im quite impressed with Lion (its my first MAC) and the ease of dualbooting. I have Windows 7 dualbooted with Lion using MacDrive to see Macs files. Ever since two days ago, I can no longer boot into "Macintosh HD". It just s

  • Weblogic 9.2 and axis-wsdl2java issue

    Hi I have been using axis-wsdl2java task to generate stub classes to access a websevice from another server.I could get the response successfully with WL 8.1. But I am using the same generated classes (infact I generated it using new weblogic.jar of

  • Do I need to backup harddrives before install lion

    Do I need to backup hardrives before installing lion, on mac-pro.  I have tons of pictures and video, and 2 harddrives, i have some on external hard drive, but not current stuff, and wanting to upgrade to Lion.  Please advise.  I am sure most are goi

  • Need Information about IPS 4240

    Hello, Could you please give me information about IPS 4240: Number of sessions Number of signature Number of protocol Thank you very much