Getting error while reset sequence value

i hve created two table. and a sequence for other table. i want to do that when i insert into a first table, entries of other table should be deleted and sequence value should reset to 1. For that i have executed the following sql code
but getting the error:
create or replace Trigger m_sale_ainsert_trig
after insert on m_sale_bill
for each row
begin
DELETE FROM M_TEMP;
<<COLUMN_SEQUENCES>>
BEGIN
Alter Sequence M_TEMP_SEQ Restart with 1;
END COLUMN_SEQUENCES;
end;
Alter Trigger m_sale_ainsert_trig enable;
Warning: execution completed with warning
Trigger m_sale_ainsert_trig Compiled.
Alter Trigger m_sale_ainsert_trig succeeded.
5/4 PLS-00103: Encountered the symbol "ALTER" when expecting one of the following:
( begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
continue close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge pipe purge
pls rectify it!!!!! what are the mistakes in this code?
Edited by: JKMourya on Mar 21, 2013 10:55 AM

JKMourya wrote:
i hve created two table. and a sequence for other table. i want to do that when i insert into a first table, entries of other table should be deleted and sequence value should reset to 1. For that i have executed the following sql code
but getting the error:
create or replace Trigger m_sale_ainsert_trig
after insert on m_sale_bill
for each row
begin
DELETE FROM M_TEMP;
<<COLUMN_SEQUENCES>>
BEGIN
Alter Sequence M_TEMP_SEQ Restart with 1;
END COLUMN_SEQUENCES;
end;
Alter Trigger m_sale_ainsert_trig enable;
Warning: execution completed with warning
Trigger m_sale_ainsert_trig Compiled.
Alter Trigger m_sale_ainsert_trig succeeded.
5/4 PLS-00103: Encountered the symbol "ALTER" when expecting one of the following:
( begin case declare exit for goto if loop mod null pragma
raise return select update while with <an identifier>
<a double-quoted delimited-identifier> <a bind variable> <<
continue close current delete fetch lock insert open rollback
savepoint set sql execute commit forall merge pipe purge
pls rectify it!!!!! what are the mistakes in this code?
Edited by: JKMourya on Mar 21, 2013 10:55 AMDDL inside PL/SQL is NOT allowed
you must (ab)use EXECUTE IMMEDIATE

Similar Messages

  • Getting error while resetting password

    Hi,
    I'm getting below error while doing reset password in atg, it's coming in OOTB classes and not getting any hint why it's happening. Please help me out If anybody has some idea.
    ####<Oct 29, 2013 3:45:11 PM PDT> <Error> <HTTP> <devrdatgap138> <ss_ps01> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <8164221be15c76f6:164e9b0f:142064045f9:-8000-00000000000004e5> <1383086711647> <BEA-101020> <[ServletContext@607729113[app:self-service module:/ng3 path:/ng3 spec-version:2.5]] Servlet failed with Exception
    java.lang.NullPointerException
            at atg.security.SaltedDigestPasswordHasher.encryptPassword(SaltedDigestPasswordHasher.java:222)
            at atg.userprofiling.PropertyManager.generatePassword(PropertyManager.java:654)
            at atg.userprofiling.ProfileTools.generateNewPasswordForProfile(ProfileTools.java:2672)
            at atg.userprofiling.ForgotPasswordHandler.handleForgotPassword(ForgotPasswordHandler.java:354)
            at com.ForgotPasswordHandler.handleForgotPassword(ForgotPasswordHandler.java:227)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at atg.droplet.EventSender.sendEvent(EventSender.java:639)
            at atg.droplet.FormTag.doSendEvents(FormTag.java:823)
            at atg.droplet.FormTag.sendEvents(FormTag.java:671)
            at atg.droplet.DropletEventServlet.sendEvents(DropletEventServlet.java:614)
            at atg.droplet.DropletEventServlet.service(DropletEventServlet.java:642)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.commerce.order.CommerceCommandServlet.service(CommerceCommandServlet.java:150)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.commerce.promotion.PromotionServlet.service(PromotionServlet.java:213)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.userprofiling.AccessControlServlet.service(AccessControlServlet.java:696)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.servlet.sessionsaver.SessionSaverServlet.service(SessionSaverServlet.java:2447)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.userprofiling.PageEventTriggerPipelineServlet.service(PageEventTriggerPipelineServlet.java:191)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.search.servlet.SearchClickThroughServlet.service(SearchClickThroughServlet.java:437)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.multisite.SiteSessionEventTriggerPipelineServlet.service(SiteSessionEventTriggerPipelineServlet.java:161)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.userprofiling.SessionEventTrigger.service(SessionEventTrigger.java:512)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.userprofiling.ProfilePropertyServlet.service(ProfilePropertyServlet.java:230)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.userprofiling.ProfileRequestServlet.service(ProfileRequestServlet.java:460)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.projects.store.servlet.pipeline.ProtocolSwitchServlet.service(ProtocolSwitchServlet.java:309)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.servlet.pipeline.DynamoPipelineServlet.service(DynamoPipelineServlet.java:491)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.servlet.pipeline.URLArgumentPipelineServlet.service(URLArgumentPipelineServlet.java:302)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.servlet.pipeline.PathAuthenticationPipelineServlet.service(PathAuthenticationPipelineServlet.java:392)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.servlet.security.ThreadUserBinderServlet.service(ThreadUserBinderServlet.java:113)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.dtm.TransactionPipelineServlet.service(TransactionPipelineServlet.java:234)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.servlet.pipeline.SecurityServlet.service(SecurityServlet.java:191)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.multisite.SiteContextPipelineServlet.service(SiteContextPipelineServlet.java:405)
            at atg.servlet.pipeline.PipelineableServletImpl.passRequest(PipelineableServletImpl.java:157)
            at atg.servlet.pipeline.HeadPipelineServlet.passRequest(HeadPipelineServlet.java:1271)
            at atg.servlet.pipeline.HeadPipelineServlet.service(HeadPipelineServlet.java:952)
            at atg.servlet.pipeline.PipelineableServletImpl.service(PipelineableServletImpl.java:272)
            at atg.filter.dspjsp.PageFilter.innerDoFilter(PageFilter.java:349)
            at atg.filter.dspjsp.PageFilter.doFilter(PageFilter.java:208)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    Hi,
    I could see that you customized the form handler, using com.nintendo.g3.store.profile.NintendoForgotPasswordHandler.
    Can you try to disable your custom component and using OOTB? If it works in a good way, the problem is in your handleForgotPassword.
    Like David_DE said, the login can be null when try to encrypt the password.
    Hope it helps

  • Getting error while selecting LOV value

    Hi all,
    I am getting the below error in R12 apps while selecting the lov value from list (But it is working properly in 11i apps and loacal jdeveloper.)
    Error: Stale Data
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The view object ProjectInformationAM.EmployeeLOVVO1 contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.
    To proceed, please select the Home link at the top of the application page to return to the main menu. Then, access this page again using the application's navigation controls (menu, links, and so on) instead of using the browser's navigation controls like Back and Forward.
    The lov query is select employee_number,full_name from per_all_people_f
    I have tried both internal and external lov but both cases it is showing the error in R12
    I have used below code in PR of create page, still no use
    if(!am.getEmployeelovVO1().isPreparedForExecution())
    am.getEmployeelovVO1().executeQuery();
    Row row1 = am.getEmployeelovVO1().createRow();
    am.getEmployeelovVO1().insertRow(row1);
    row1.setNewRowState(Row.STATUS_INITIALIZED);
    Except this lov all lov's working properly,
    Any one help on this it is very very urgent....
    Thanks

    Hi,
    I had a similar issue just now, and we fixed it in this way. But the case is probably different compared to your situation.
    Situation:
    - custom inquiry page
    - case: manual search, so not results based or Auto Customization Criteria
    - multiple search criteria fields
    - separate AM for all the LOV fields
    - each LOV has its own VO
    - Results table on same page, but with its own VO
    - each search criteria field has Lov mapping to the corresponding external Lov region
    Issue: when selecting a value via the Lov and coming back into the search page, I received the stale data error.
    searched lots of places and finally figured out what was wrong in my case.
    Each search field had its BC4J properties set to the VO of the results table. And since we wanted to make a manual search thing, this is not good.
    Removing the View Instance value and the View Attribute value in the properties of the search fields resolved the error.
    Hoperfully this can help other beginners, like me, in finding a solution for the same mistakes... :)
    regards
    Ronny

  • Getting the following error while parsing the values usng xml parser

    Hi
    I am getting the following error while parsing the values using the code in r12 instance on linux
    declare
    XML_PARSER XMLPARSER.PARSER;
    DOC XMLDOM.DOMDOCUMENT;
    DOCELEMENT DBMS_XMLDOM.DOMELEMENT;
    BEGIN
    -- NEW PARSER
    XML_PARSER := XMLPARSER.NEWPARSER;
    -- SET SOME CHARACTERISTICS
    XMLPARSER.SETVALIDATIONMODE(XML_PARSER, FALSE);
         IF P_DIR IS NOT NULL AND P_FILENAME IS NOT NULL
         THEN
         FND_FILE.PUT_LINE(FND_FILE.LOG,'DIRECTORY FOUND'||'-'||P_DIR);
         XMLPARSER.SETBASEDIR(XML_PARSER, P_DIR);     
         -- PARSE INPUT FILE
         FND_FILE.PUT_LINE(FND_FILE.LOG,'FILE FOUND'||'-'||P_FILENAME);
         XMLPARSER.PARSE(XML_PARSER, P_DIR || '/' || P_FILENAME);     
         -- GET DOCUMENT
         DOC := XMLPARSER.GETDOCUMENT(XML_PARSER);
         LOAD_SUPP(doc);
         ELSE
         DBMS_OUTPUT.PUT_LINE('DIRACTORY/FILENAME CANNOT BE NULL');
         END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('DATA NOTINSERTED'||sqlerrm);
         ROLLBACK;
    END
    I am getting the following error
    DIRACTORYL-/home/appldevORA-0000: normal, successful completion
    FILE NAME-suppliersample_data.xmlORA-0000: normal, successful completion
    DATA NOTINSERTEDORA-31001: Invalid resource handle or path name "/home/appldev/suppliersample_data.xml"
    ORA-06512: at "SYS.XDBURITYPE", line 11
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    It could be great if some one could give a suggestion/solution.
    Thanks
    Ajesh

    Besides this is not the correct forum try to google the error message first before posting:
    http://ora-29280.ora-code.com/
    cheers

  • Error while resetting a cleared document

    Hi everyone,
    I am getting an error while resetting a cleared invoicing document 'Document xxxxxxxxxxx with origin R4 can not be reversed'. Please guide me how can we reset the clearing of this document.
    Thanks and Regards

    Hi,
    You need to reset all clearing for the corresponding FICA document for the print document.
    Reset the clearing for the document no. mentioned in the output for EA13 execution.
    You need to reset all the clearing for the document, before reversing the same.
    To get all the clearing document, go to DFKKOP table, enter the FICA document no. (for the print document on FPL9). Get all AUGBL documents,
    Alternatively, you can go on to FPL9 screen, double click on the consumption document, in the basic data you will see the clearing date (if it is cleared), expand the view their (click on + sign), you will se the clearing document no,
    Pass the above clearing document no, to FP07, and once all the clearing is reset for the invoice, you can reverse the corresponding invoice through EA13.
    Regards,
    Rajesh Popat

  • Excel service and OWA - getting ERROR while trying to open/edit Excel documents

    Hi All,
    We have configured SharePoint 2013 with Excel Service and OWA (Office Web Apps).
    After configuring, we are able to view/edit Word or PowerPoint documents from the browser (as OWA is configured). But we are getting errors while trying to open/edit Excel documents.
    We are not able to view/edit the excel workbook from the browser (through OWA).
    To open the excel in the browser, decision has to be taken at the farm level on what to be used – Excel Service or OWA Server? Is it possible to do setting at site collection level?
    Error details are given below:
    Event code: 3005
    Event message: An unhandled exception has occurred.
    Event time: 3/25/2013 1:29:08 PM
    Event time (UTC): 3/25/2013 7:59:08 AM
    Event ID: fc2e0530f493493896e6c8b6297a0423
    Event sequence: 10
    Event occurrence: 3
    Event detail code: 0
    Application information:
        Application domain: /LM/W3SVC/2/ROOT/x-1-130086717598089315
        Trust level: Full
        Application Virtual Path: /x
        Application Path: C:\Program Files\Microsoft Office Web Apps\ExcelServicesWfe\
        Machine name: VHYDMANTHSTP-02
    Process information:
        Process ID: 1252
        Process name: w3wp.exe
        Account name: NT AUTHORITY\NETWORK SERVICE
    Exception information:
        Exception type: ArgumentException
        Exception message: An entry with the same key already exists.
       at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    Request information:
        Request URL:
    http://mysrevr/x/_layouts/xlpreview.aspx?ui=en-US&rs=en-US&WOPISrc=http://myservernames1/_vti_bin/wopi.ashx/files/f36d669ceb814d67bdad0e1e1f98e466&wdSmallView=1
        Request path: /x/_layouts/xlpreview.aspx
        User host address: 10.81.138.92
        User: 
        Is authenticated: False
        Authentication Type: 
        Thread account name: NT AUTHORITY\NETWORK SERVICE
    Thread information:
        Thread ID: 13
        Thread account name: NT AUTHORITY\NETWORK SERVICE
        Is impersonating: False
        Stack trace:    at System.Collections.Generic.TreeSet`1.AddIfNotPresent(T item)
       at System.Collections.Generic.SortedDictionary`2..ctor(IDictionary`2 dictionary, IComparer`1 comparer)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.GetInstalledUICultures()
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.IsUICultureSupported(String cultureTag, CultureInfo& cultureInfo)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICulture(String cultureTag, Boolean useOleo, Boolean allowCustomFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentUICultureFromFrontEnd(String uiCultureTag, Boolean allowFallback)
       at Microsoft.Office.Excel.Server.ExcelServerRegionalSettings.SafeSetCurrentCulturesFromFrontEnd(String uiCultureTag, String dataCultureTag)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.SetCurrentCulturesFromContext(HttpContext context)
       at Microsoft.Office.Excel.Server.ServiceHost.ServiceHost.Microsoft.Office.Excel.Server.Host.IEwaHost.PreProcessRequest(HttpContext context)
       at Microsoft.Office.Excel.WebUI.XlPreview.OnLoad(EventArgs e)
       at System.Web.UI.Control.LoadRecursive()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    I have the same issue while opening the file , i have checked every thing twice. but unable to fix this thing . can any one help.
    One more thing which is i am wondering none of the MS representative replied on this post which is originally posted on March 27-2013.
    is microsoft alive??
    Imran Bashir Network Administrator MCP, JNCIA-EX,ER,JNIOUS +92-333-4330176

  • Error while resetting release of segment

    Hi Experts,
    We have one custom IDoc.I am trying to add new field to one of the segment.So i am trying to cancel release status of segment using we31.But i am getting error Error while resetting release of segment  ZXXXXX Message no. EA259 .I checked many of SDN threads but no where exact solution is mentioned for this.Current release for the message type is 701.so we are on same version now also.I put  a break-point in LEDIJF05 in form CHANGE_CLOSE_SEGDEF.i observed it is failing at line 625 and
    can not unclose segment: release of last version is not SAP-version*.Can any body tell me what is the exact issue.
    Thanks in advance,
    Vijay

    Hi Vijay,
    If the SAP version and the version segment released last time is the same, then this problem should not occur. If you are still facing the issue, add a version to the existing segment. You should be able to add the new field then.
    Regards,
    Parthiban

  • Error while saving date value in Java dictionary

    Hello Everybody,
    I got following error while saving date value in one of the fields of the Java table.
    Internal error occured in submit request: Error in method updateRequestContact : The object of type java.sql.Date with the value '2005-12-04 08:00:00.0' assigned to host variable 9 is not normalized. It must not contain time components in the time zone running the virtual machine.
    I can't find why it is taking time value in the date object.
    This value is coming from the RFC as a date value, and I am saving this value in Java dictionary table.
    Same code for this was working fine earlier. But, now suddenly it gives error like this.
    Even if I provide date on the screen from webdynpro application, this date value can't save in the Java dictionary and gives same error.
    What should be the problem behind this?
    Regards,
    Bhavik

    Hi Satyajit,
    I am getting date value from the screen of the webdynpro application from date picker control and passing this value in Java dictionary.
    More Information:
    I have dat value in the Date object: <b>target_date</b>
    But Now I have made new Date object as following:
    Date target_Date1 = new Date(target_date.getYear(),target_date.getMonth(),target_date.getDate());
    Then I am passing this object to Java dictionary. Still it gives same error.
    Then I have changed code as following:
              int l_year;
              int l_month;
              int l_days;
              l_year = target_Date.getYear();
              l_month = target_Date.getMonth();
              l_days = target_Date.getDate();
         Date target_Date1 = new Date(l_year,l_month,l_days);
    Now it works for me.
    But I guess this is not the perment solution. It looks very strange. I have used so many date objects at various palces. So, this solution is not the final for me.
    I want to findout the main cause of it.
    One more thing: This code was working for a mornth or two. But, now suddenly it is giving this error.
    Please help me if anybody knows.
    Regards,
    Bhavik

  • Getting Error while creating Genric Datasource

    Hi,
    I was try to create genric extracter where i was getting error
    While creating view genric extracter where i am getting error "Entry A ZV_ZFRT  does not exist in DD02L - check your entry".
    My requirement is need to create extracter which is getting populated from three modules like SD,MM,FI/CO.From these three module i am using several tables and some of the tables don't have relation btween these tables as like foreign key and refrence key.
    Which extracter i need to create as given scenario?
    Does view will fullfill with my requirement or any other extracter.
    Please some one can help me in this scenario.
    Answer would be great appreciate.

    Hi,
    Rather than writing a program write a function module. Create a structure and include all the necessary fields in the structure. Then in the function module write the logic to extract the values for those fields. While creating the datasource specify the function module and structure name.
    Refer this link:
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    Hope this helps.
    PB

  • Getting error while running SSRS report in SharePoint 2010

    Hi,
    I am getting below error while running a SSRS reports in SharePoint. Your help will be appreciated
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
    Timestamp: Wed, 5 Nov 2014 11:58:42 UTC
    Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 503
    Line: 5
    Char: 62123
    Code: 0
    Thanks,
    Manjunath

    Hi,
    According to your post, my understanding is that you get error while running SSRS reports.
    Basically, If the Request Management service is enabled, it manages all incoming requests by evaluating logic rules against the user requests in order to determine what\which action to take and which machine or machines (targets) in the farm should handle
    the request.
    By default the Request time out value for Request Management service are as follows,
    RequestTimeout                    : 00:01:40
    RequestExecutionTimeout       : 01:00:00
    So the error throws from RM service for those reports who take more than 1 minute to generate the report.
    To solve this issue, we can stop the Request Management service.
    Or increase the time out
    value by making use of following PowerShell  script.
    $waUrl = "URLofWEbApp"
    $wa = Get-SPWebApplication $waUrl
    $rmSettings = $wa | Get-SPRequestManagementSettings
    $req=$wa.RequestManagementSettings
    $timeout2= New-TimeSpan -minutes 5
    Sreq.Requesttimeout=$timeout2
    $req.update()
    For more information:
    http://blogs.technet.com/b/sajiths/archive/2014/08/19/ssrs-reports-timed-out-with-39-503-39-error-sharepoint-2013.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Getting error while taking MAX DB trans log backup.

    Hi,
    I am getting error while taking trans log backup of Maxdb database for archived log through data protector as below,
    [Critical] From: OB2BAR_SAPDBBAR@ttcmaxdb "MAX" Time: 08/19/10 02:10:41
    Unable to back up archive logs: no autolog medium found in media list
    But i am able to take complete data and incremental backup through data protector.
    I have already enabled the autolog for MAX DB database and it is writing that log file directly to HP-UX file system. Now i want to take backup of this archived log backup through data protector i.e. through trans log backup. So that the archived log which is on the file system after trans log backup completed will delete the archived logs in filesystem.  So that i don;t have to manually delete the archived logs from file system.
    Thanks,
    Subba

    Hi Lars,
    Thanks for the reply...
    Now i am able to take archive log backup but the problem is i can take only one archive file backup. Not multiple arhive log files generated by autolog at filesystem i.e /sapdb/MAX/saparch.
    I have enabled autolog and it is putting auto log file at unix directory i.e. /sapdb/MAX/saparch
    And then i am using the DataProtector 6.11 with trans log backup to backup the archived files in /sapdb/MAX/saparch. When i start the trans backup session through data protector it uses the archive stage command as "archive_stage BACKDP-Archive LOGBackup NOVERIFY REMOVE" If /sapdb/MAX/saparch has only one archive file it will backup and remove the file successfully. But if /sapdb/MAX/saparch has multiple archive files it gives an error as below,
      Preparing backup.
                Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
                Setting environment variable 'BI_REQUEST' to value 'OLD'.
                Setting environment variable 'BI_BACKUP' to value 'ARCHIVE'.
                Constructed Backint for MaxDB call '/opt/omni/lbin/sapdb_backint -u MAX -f backup -t file -p SAPDB.13576.1283767878.par -i /var/opt/omni/tmp/MAX.
    bsi_in -c'.
                Created temporary file '/var/opt/omni/tmp/MAX.bsi_out' as output for Backint for MaxDB.
                Created temporary file '/var/opt/omni/tmp/MAX.bsi_err' as error output for Backint for MaxDB.
                Writing '/sapdb/data/wrk/MAX/dbm.ebf' to the input file.
                Writing '/sapdb/data/wrk/MAX/dbm.knl' to the input file.
            Prepare passed successfully.
            Starting Backint for MaxDB.
                Starting Backint for MaxDB process '/opt/omni/lbin/sapdb_backint -u MAX -f backup -t file -p SAPDB.13576.1283767878.par -i /var/opt/omni/tmp/MAX.
    bsi_in -c >>/var/opt/omni/tmp/MAX.bsi_out 2>>/var/opt/omni/tmp/MAX.bsi_err'.
                Process was started successfully.
            Backint for MaxDB has been started successfully.
            Waiting for the end of Backint for MaxDB.
                2010-09-06 03:15:21 The backup tool is running.
                2010-09-06 03:15:24 The backup tool process has finished work with return code 0.
            Ended the waiting.
            Checking output of Backint for MaxDB.
            Have found all BID's as expected.
        Have saved the Backup History files successfully.
        Cleaning up.
            Removing data transfer pipes.
                Removing data transfer pipe /var/opt/omni/tmp/MAX.BACKDP-Archive.1 ... Done.
            Removed data transfer pipes successfully.
            Copying output of Backint for MaxDB to this file.
    Begin of output of Backint for MaxDB (/var/opt/omni/tmp/MAX.bsi_out)----
                #SAVED 1009067:1 /sapdb/data/wrk/MAX/dbm.ebf
                #SAVED 1009067:1 /sapdb/data/wrk/MAX/dbm.knl
    End of output of Backint for MaxDB (/var/opt/omni/tmp/MAX.bsi_out)----
            Removed Backint for MaxDB's temporary output file '/var/opt/omni/tmp/MAX.bsi_out'.
            Copying error output of Backint for MaxDB to this file.
    Begin of error output of Backint for MaxDB (/var/opt/omni/tmp/MAX.bsi_err)----
    End of error output of Backint for MaxDB (/var/opt/omni/tmp/MAX.bsi_err)----
            Removed Backint for MaxDB's temporary error output file '/var/opt/omni/tmp/MAX.bsi_err'.
            Removed the Backint for MaxDB input file '/var/opt/omni/tmp/MAX.bsi_in'.
        Have finished clean up successfully.
    The backup of stage file '/export/sapdb/arch/MAX_LOG.040' was successful.
    2010-09-06 03:15:24
    Backing up stage file '/export/sapdb/arch/MAX_LOG.041'.
        Creating pipes for data transfer.
            Creating pipe '/var/opt/omni/tmp/MAX.BACKDP-Archive.1' ... Done.
        All data transfer pipes have been created.
        Preparing backup tool.
            Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
            Setting environment variable 'BI_REQUEST' to value 'OLD'.
            Setting environment variable 'BI_BACKUP' to value 'ARCHIVE'.
            Constructed Backint for MaxDB call '/opt/omni/lbin/sapdb_backint -u MAX -f backup -t file -p SAPDB.13576.1283767878.par -i /var/opt/omni/tmp/MAX.bsi_
    in -c'.
            Created temporary file '/var/opt/omni/tmp/MAX.bsi_out' as output for Backint for MaxDB.
            Created temporary file '/var/opt/omni/tmp/MAX.bsi_err' as error output for Backint for MaxDB.
            Writing '/var/opt/omni/tmp/MAX.BACKDP-Archive.1 #PIPE' to the input file.
        Prepare passed successfully.
        Constructed pipe2file call 'pipe2file -d file2pipe -f /export/sapdb/arch/MAX_LOG.041 -p /var/opt/omni/tmp/MAX.BACKDP-Archive.1 -nowait'.
        Starting pipe2file for stage file '/export/sapdb/arch/MAX_LOG.041'.
            Starting pipe2file process 'pipe2file -d file2pipe -f /export/sapdb/arch/MAX_LOG.041 -p /var/opt/omni/tmp/MAX.BACKDP-Archive.1 -nowait >>/var/tmp/tem
    p1283767880-0 2>>/var/tmp/temp1283767880-1'.
            Process was started successfully.
        Pipe2file has been started successfully.
        Starting Backint for MaxDB.
            Starting Backint for MaxDB process '/opt/omni/lbin/sapdb_backint -u MAX -f backup -t file -p SAPDB.13576.1283767878.par -i /var/opt/omni/tmp/MAX.bsi_
    in -c >>/var/opt/omni/tmp/MAX.bsi_out 2>>/var/opt/omni/tmp/MAX.bsi_err'.
            Process was started successfully.
        Backint for MaxDB has been started successfully.
        Waiting for end of the backup operation.
            2010-09-06 03:15:25 The backup tool process has finished work with return code 2.
            2010-09-06 03:15:25 The backup tool is not running.
            2010-09-06 03:15:25 Pipe2file is running.
            2010-09-06 03:15:25 Pipe2file is running.
            2010-09-06 03:15:30 Pipe2file is running.
            2010-09-06 03:15:40 Pipe2file is running.
            2010-09-06 03:15:55 Pipe2file is running.
            2010-09-06 03:16:15 Pipe2file is running.
            Killing not reacting pipe2file process.
            Pipe2file killed successfully.
            2010-09-06 03:16:26 The pipe2file process has finished work with return code -1.
        The backup operation has ended.
        Filling reply buffer.
            Have encountered error -24920:
                The backup tool failed with 2 as sum of exit codes and pipe2file was killed.
            Constructed the following reply:
                ERR
                -24920,ERR_BACKUPOP: backup operation was unsuccessful
                The backup tool failed with 2 as sum of exit codes and pipe2file was killed.
        Reply buffer filled.
        Cleaning up.
            Removing data transfer pipes.
                Removing data transfer pipe /var/opt/omni/tmp/MAX.BACKDP-Archive.1 ... Done.
            Removed data transfer pipes successfully.
            Copying output of Backint for MaxDB to this file.
    Begin of output of Backint for MaxDB (/var/opt/omni/tmp/MAX.bsi_out)----
    End of output of Backint for MaxDB (/var/opt/omni/tmp/MAX.bsi_out)----
            Removed Backint for MaxDB's temporary output file '/var/opt/omni/tmp/MAX.bsi_out'.
            Copying error output of Backint for MaxDB to this file.
    Begin of error output of Backint for MaxDB (/var/opt/omni/tmp/MAX.bsi_err)----
    End of error output of Backint for MaxDB (/var/opt/omni/tmp/MAX.bsi_err)----
            Removed Backint for MaxDB's temporary error output file '/var/opt/omni/tmp/MAX.bsi_err'.
            Removed the Backint for MaxDB input file '/var/opt/omni/tmp/MAX.bsi_in'.
            Copying pipe2file output to this file.
    Begin of pipe2file output (/var/tmp/temp1283767880-0)----
    End of pipe2file output (/var/tmp/temp1283767880-0)----
            Removed pipe2file output '/var/tmp/temp1283767880-0'.
            Copying pipe2file error output to this file.
    Begin of pipe2file error output (/var/tmp/temp1283767880-1)----
    End of pipe2file error output (/var/tmp/temp1283767880-1)----
            Removed pipe2file error output '/var/tmp/temp1283767880-1'.
        Have finished clean up successfully.
    The backup of stage file '/export/sapdb/arch/MAX_LOG.041' was unsuccessful.
    2010-09-06 03:16:26
    Cleaning up.
        Have encountered error -24919:
            Can not remove file '/var/tmp/temp1283767880-0'.
            (System error 2; No such file or directory)
        Could not remove temporary output file of pipe2file ('/var/tmp/temp1283767880-0' ).
        Have encountered error -24919:
            Can not remove file '/var/tmp/temp1283767880-1'.
            (System error 2; No such file or directory)
        Could not remove temporary output file of pipe2file ('/var/tmp/temp1283767880-1' ).
    Have finished clean up successfully.
    Thanks,
    Subba

  • Getting error while tring to Check in any document in Sharepoint 2007. Error - "Unable to validate data. System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) ...

    Hi Team,
    I am getting error while tring to Check in any document in Sharepoint 2007. Error - "Unable to validate data. System.Web.Configuration.MachineKey.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength).
    Anybody please let me know how to resolve the issue. It has affected our 9 site collection with almost 2000+ sites. Please email me your your suggestion or you can share your ideas here also.
    Tried to reset the IIS, checked the Internet connection speed (8MBps). Cleared the cache and all but no luck.
    Thanks,
    Pronob

    Hello,
    I have found this support window for you:
    http://support.microsoft.com/kb/556031
    http://technet.microsoft.com/en-in/library/cc298582%28v=office.12%29.aspx
    This may help you
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Getting error while loading Flat File

    Hello All,
    I am getting error while loading flat file. Flat file is a CSV file.
    Value ',,,,,,,,' of characteristic 0DATE is not a number with 000008 spaces
    Data seprator  |
    Escape sign    ;
    It has 23708 entries , it s loading successfully till 23 665 entries
    Besides when checked in PSA
    for record having entries >23667 has calender day as ,,,,,, where as rest entries are  having date
    Besides when i checked in Flat file ,the total number of rows is 23,667 is there but i wonder why it has got 23,708 in
    RSMO
    Could you please let me know how to correct.
    regards
    path

    Hi,
    For date column you should maintain YYYYMMDD formate Eg: 20090601, kepp cursor on date column and right click and Formate >Custome>make it 00000000 then save teh file as .CSV . First type values on column and do like this formate and save it and without opening it load it. Once you open it you losw 00000000 formate you need to give again the same formate.
    Settings in Infopackage:
    Data Format  = CSV
    Data Separator = ,
    Escape Sign = ;
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/01ed2fe3811a77e10000000a422035/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a6567e07211d2acb80000e829fbfe/content.htm
    Thanks
    Reddy

  • Getting error while passing implicit request object from JSP to JavaBean

    Hi,
    I am getting error while passing implicit object ie( request object)
    from within JSP to JavaBean.
    Following is source for JSP, JavaBean and Error message I am getting.
    vaLookup.jsp Source
    <jsp:useBean id="db" class="advisorinsight.javabeans.DisplayPages"
    scope="request">
    <jsp:setProperty name="db" property="request" value="<%= request %>"
    />
    </jsp:useBean>
    <jsp:getProperty name="db" property="totalrecords" />
    JAVABEAN DisplayPages.java source
    package javabeans;
    import java.io.Serializable;
    import javax.servlet.http.HttpServletRequest;
    public final class DisplayPages implements Serializable {
    private String totalrecords;
    private HttpServletRequest request;
    public void setRequest(HttpServletRequest req){
    this.request = req;
    public java.lang.String getTotalrecords()
    this.totalrecords =
    this.request.getParameter("totalrecords");
    return this.totalrecords;
    public DisplayPages(){
    totalrecords = "";
    request = null;
    error after executing vaLookup.jsp
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service JavaExtData successfully loaded
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service LockManager successfully loaded
    [30/Nov/2001 11:56:04:5] info: EXTMGR-006: GXExtensionManager: Extension
    service RLOPManager successfully loaded
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:5] info: REQ-012: thread add
    [30/Nov/2001 11:56:04:7] info: ENGINE-ready: ready: 10819
    [30/Nov/2001 11:56:46:0] info: --------------------------------------
    [30/Nov/2001 11:56:46:0] info: JSPRunnerSticky: init
    [30/Nov/2001 11:56:46:0] info: --------------------------------------
    [30/Nov/2001 11:56:51:7] error: Exception: SERVLET-compile_failed:
    Failed in compiling template: /va/valookup.jsp, javac error:
    c:\iplanet\ias6\ias\APPS\variabl
    S\va\valookup.java:76: Undefined variable: JSP_8
    db.setRequest(_JSP__8);
    ^
    1 error
    Exception Stack Trace:
    java.lang.Exception: javac error:
    c:\iplanet\ias6\ias\APPS\variableannuity\va\WEB-INF\compiled_jsp\jsp\APPS\va\valookup.java:76:
    Undefined variable: JSP_8
    db.setRequest(_JSP__8);
    ^
    1 error
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileJSP(Unknown Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileOrLoadJSP(Unknown
    Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
    Source)
    at
    com.netscape.server.servlet.jsp.JSPCompiler.compileInstance(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callJspCompiler(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUri(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformHttpServletResponse.callUriRestrictOutput(Unknown
    Source)
    at
    com.netscape.server.servlet.platformhttp.PlatformRequestDispatcher.forward(Unknown
    Source)
    at com.netscape.server.servlet.jsp.JSPRunner.service(Unknown
    Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
    at
    com.netscape.server.servlet.servletrunner.ServletInfo.service(Unknown
    Source)
    at
    com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown
    Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
    at com.kivasoft.thread.ThreadBasic.run(Native Method)
    at java.lang.Thread.run(Thread.java:479)

    The only thing that I see that looks funny to me is when you pass the request object into the method using <%=request%>, Im not sure whats going to happen here because that is suppose to print the results. Have you tried simply using <%request%>?

  • Getting error while starting managed recovery

    Hi,
    I am getting error while starting managed recovery.Please suggest.
    Please find below error log
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION
    Attempt to start background Managed Standby Recovery process (OTP3)
    Wed Jun 23 19:24:10 2010
    MRP0 started with pid=50, OS id=3350
    MRP0: Background Managed Standby Recovery process started (OTP3)
    Fast Parallel Media Recovery enabled
    Managed Standby Recovery not using Real Time Apply
    Warning: Recovery target destination is in a sibling branch
    of the controlfile checkpoint. Recovery will only recover
    changes to datafiles.
    Datafile 1 (ckpscn 296765005228) is orphaned on incarnation#=1
    MRP0: Background Media Recovery terminated with error 19909
    Errors in file /ora/app/oracle/admin/OTP3/diag/rdbms/otp3/OTP3/trace/OTP3_mrp0_3350.trc:
    ORA-19909: datafile 1 belongs to an orphan incarnation
    ORA-01110: data file 1: '/ora_ots_gdb1/oradata/OTP3/datafile/o1_mf_SYSTEM_REORG1_.dbf'
    Errors in file /ora/app/oracle/admin/OTP3/diag/rdbms/otp3/OTP3/trace/OTP3_mrp0_3350.trc:
    ORA-19909: datafile 1 belongs to an orphan incarnation
    ORA-01110: data file 1: '/ora_ots_gdb1/oradata/OTP3/datafile/o1_mf_SYSTEM_REORG1_.dbf'
    MRP0: Background Media Recovery process shutdown (OTP3)
    Completed: ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION

    Hi,
    The standby database has been activated previously but since then reverted back into its standby role. Prior to the
    RMAN duplicate operation the "alter system reset control_files scope=spfile sid='*';" has not been executed (i.e. the
    control files have not been overwritten).
    check the incarnation on both the sides i.e primary & standby
    list incarnation of database;
    RMAN> reset database to incarnation 2;
    database reset to incarnation 2
    RMAN> exit
    hope you can solve by restting the incarnation.
    Thanks

Maybe you are looking for

  • Colors On Display

    How many colors can the iphone display?

  • Cannot Access pre-repair TimeMachine files after config. new TM

    Hello all...really in a bind... My only backup is a Time Machine backup which wouldn't restore. While replacing files/folders individually manually (via finder), and then also through Time Machine (somehow became possible again), I decided to backup

  • Exporting a movie doesn't save the sound track

    First timer with Garageband so I might be doing things totally wrong. Hopefully someone can tell me where I'm going wrong. Also first time using Keynote. So I make a presentation in Keynote and then send it to Garageband via the File-->Send to option

  • Cost center in F.08 standard report.

    Dear Friends ,                  I need cost centre to be included in RFSSLD00 (Tcode-F.08) Report. It is basically a mpp program i dont know how to add that as the input parameter in this report. there is also a dynamic selection ,i need to know how

  • First fully CSS layout.

    I've really enjoyed building this page, a challenge at times for a someone who's bit of a CSS toddler! I've attempted to make it expand vertically for content and accessibility with ctrl/cmd + in firefox/safari. If you see anywhere I'm going wrong, o