Generate XML error

Hi, I am getting error during the generation following XML
Error details:

Error report:
ORA-19202: an error has occurred in the processing of XML
ORA-00904: "K_001": invalid identifier
ORA-06512: at "SYS." DBMS_XMLGEN", line 288
ORA-06512: at line 1
ORA-06512: at line 6
19202 00000 - "an error has occurred in the treatment of XML %s.
* Cause: An error occurred during the processing of the XML function
* Action: Check the given error message and resolve the problem appropriate

my code is:

DECLARE
V_xmldata CLOB;
v_id VARCHAR2 (50): = "K_001";
BEGIN

"SELECT ' < ns0:Employee_Details xmlns:ns0 ="http://BizTalk_Server_Project1.Employee_DesirableFormat">"
|| Chr (10) | dbms_xmlgen.getxmltype ("SELECT xmlforest (emp_id, name, dept_id, xmlforest (add1, add2) AS address, City) as employees
Of EMPLOYEES WHERE id ='. v_id). EXTRACT('ROWSET/ROW/*') | ' < / ns0:Employee_Details > ' AS XML
IN v_xmldata
from Dual;

INSERT INTO xmldata VALUES (V_xmldata);


END;

It genereated good out put when the id is the number data type... but my id column is VARCHAR2... which gives me error. also tell me if one of the column retains the value null, then the tag should be there

help me... Thanks in advance

Hello

It could work if v_id had been a variable binding, but here you are string concatenation for case analysis K_001 is interpreted as an identifier and not a string value.

Solution is to place your additional quoted string in the section of the declaration or in the query:

v_id VARCHAR2(50):='''K_001'''; 

or

'SELECT xmlforest(emp_id, name, dept_id, xmlforest(add1,add2) AS Address,city) As Employees
FROM EMPLOYEES WHERE id = ''' || v_id || ''''

That being said, your method of producing content XML is a little too complicated and not really "elegant": change of context, no variable binding, string concatenation with xmltype...

I'm sure it's possible with a unique SELECTION of your database table using only the SQL/XML functions.
Care to share some examples of data and the power required?

Thank you.

Published by: odie_63 on 14 September. 2010 20:19

Tags: Database

Similar Questions

  • tag PT. Core.html generating an error

    Hello

    I have a custom header portlet (WCI 10.3.0.1.) that generates an error in ptspy. The error does not cause a problem in the application and is ignored. He however entered into portalserver - log.spy by the service of the recorder. As this happens whenever a user presses on a page then the diary became massive over time and we must keep stopping the service and delete the file. We can handle this by the presence of the log files more small crash etc. (can't really configure ptLogger.xml to ignore the errors we want mistakes Records) but ideally I would like to correct the code, so it doesn't because it can't be great for performance in all cases.

    The code is to post a link to admin if the administrator user id:

    < pt:core.comm tent > <!-get the link of the Administration; If we do not have access to the admin page, the variable does not exist-> < /pt:core.comment >
    < pt:ptdata.administrationdata pt:id = "adminLink" / >
    < pt:logic.existexpr pt: data = "adminLink" pt:key = "canAccessAdmin" / >
    < pt:logic.if pt:expr = "$canAccessAdmin" >
    < pt:logic.iftrue >
    < pt:core.comment > <!-there should only be 1-> < /pt:core.comment >
    < pt:logic.foreach pt: data = "adminLink" pt:var = "link" >
    < pt:core.html pt:tag = "a" href = "$link.url" > < pt:logic.value pt: value = "$link.title" / > < /pt:core.html >
    < td align = "left" valign = "middle" nowrap = "nowrap" colspan = "1" class = "haTopBarText" > | < table >
    < /pt:logic.foreach >
    < /pt:logic.iftrue >
    < /pt:logic.if >

    The error is:

    "Cannot find onclick variable to use in replacement of value attribute in the html tag.

    The tag documentation, there is no element onclick so I don't know what is the cause of the error and the admin is a link generated works very well.

    Spy output below:

    13 the portal. HAWBBPPRT521.xeasacj 05/25/2010 13:46:00.880 Portal_Tags .NET #1 com.plumtree.portaluiinfrastructure.tags.helper.TagHelper error cannot find onclick variable to use in replacement of value attribute in the html tag
    Portal 14. HAWBBPPRT521.xeasacj 05/25/2010 13:46:00.880 Portal_Tags .NET #1 com.plumtree.portaluiinfrastructure.tags.helper.TagHelper Ignoring error has no transformation for the html tag attribute and the attribute onclick.
    com.plumtree.openfoundation.util.XPIllegalArgumentException: cannot perform the replacement of value attribute $onclick attribute.
    com.plumtree.openfoundation.util.XPIllegalArgumentException: cannot perform the replacement of value attribute $onclick attribute.
    at com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessAttribute (String _strAttribute) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\helper\TagHelper.cs:line 772
    to com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessAllXMLAttributes () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\helper\TagHelper.cs:line 693
    to com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.GetXMLAttributeNames () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\helper\TagHelper.cs:line 575
    to com.plumtree.portaluiinfrastructure.tags.ATag.GetXMLTagAttributeNames () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\ATag.cs:line 1069
    to com.plumtree.taglib.core.HTMLTag.GetXMLAttributes () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\taglibCore\dotnet\prod\src\com\plumtree\taglib\core\HTMLTag.cs:line 83
    to com.plumtree.taglib.core.HTMLTag.DisplayTag () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\taglibCore\dotnet\prod\src\com\plumtree\taglib\core\HTMLTag.cs:line 45
    to com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\helper\TagHelper.cs:line 986
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display (TagVisitor _tagVisitor) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\displaytree\TagDisplayElement.cs:line 114
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display (TagVisitor _tagVisitor) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\displaytree\CompositeDisplayElement.cs:line 61
    to com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.ProcessTagBody () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\helper\TagHelper.cs:line 111
    to com.plumtree.portaluiinfrastructure.tags.ATag.ProcessTagBody () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\ATag.cs:line 385
    to com.plumtree.taglib.ptui.SearchFormTag.DisplayTag () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\taglibPTUI\dotnet\prod\src\com\plumtree\taglib\ptui\SearchFormTag.cs:line 134
    to com.plumtree.portaluiinfrastructure.tags.helper.TagHelper.DisplayTag () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\helper\TagHelper.cs:line 986
    at com.plumtree.portaluiinfrastructure.tags.displaytree.TagDisplayElement.Display (TagVisitor _tagVisitor) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\displaytree\TagDisplayElement.cs:line 114
    at com.plumtree.portaluiinfrastructure.tags.displaytree.CompositeDisplayElement.Display (TagVisitor _tagVisitor) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\displaytree\CompositeDisplayElement.cs:line 61
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ExecuteTags (IDisplayElement tagTree, AActivitySpace aSpace) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\displaytree\DisplayTree.cs:line 185
    at com.plumtree.portaluiinfrastructure.tags.displaytree.DisplayTree.ProcessTagMarkup (AActivitySpace aSpace, Object [] [] objArrMarkup) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portaluiinfrastructure\dotnet\prod\src\com\plumtree\portaluiinfrastructure\tags\displaytree\DisplayTree.cs:line 33
    at com.plumtree.portalpages.browsing.gateway.GatewayUtils.AddMarkupToElement (AActivitySpace asOwner, Object [] [] objArrMarkup) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\gateway\GatewayUtils.cs:line 167
    at com.plumtree.portalpages.browsing.myportal.MyPortalModel.MyPortalModelTempData.InitializePortletContent (MyPortalModel _topSpeed, Int32 [] nPortletIds) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\myportal\MyPortalModel.cs:line 1988
    to com.plumtree.portalpages.browsing.myportal.MyPortalModel.InitializePortletContent () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\browsing\myportal\MyPortalModel.cs:line 1508
    to com.plumtree.portalpages.common.uiparts.NavigationModel.InitializePortletContent () in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\common\uiparts\NavigationModel.cs:line 911
    at com.plumtree.portalpages.common.uiparts.PlumtreeDP.Display (IWebData pageData) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portalpages\dotnet\prod\src\com\plumtree\portalpages\common\uiparts\PlumtreeDP.cs:line 107
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleDisplayPage (myRedirect, RequestData tempData redirect) in 1909 e:\buildroot\Release\portalui\10.3.0.x\ptwebui\uiinfrastructure\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.HandleRequest (IXPRequest ask, answer IXPResponse, ISessionManager session, IApplication application) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\uiinfrastructure\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 600
    at com.plumtree.uiinfrastructure.interpreter.Interpreter.DoService (IXPRequest ask, answer IXPResponse, ISessionManager session, IApplication application) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\uiinfrastructure\dotnet\prod\src\com\plumtree\uiinfrastructure\interpreter\Interpreter.cs:line 200
    to com.plumtree.uiinfrastructure.web.XPPage.Service (HttpRequest httpRequest, HttpResponse httpResponse, HttpSessionState httpSession, HttpApplicationState httpApplication) in e:\buildroot\Release\httpmemorymanagement\10.3.0.x\dotNET\src\com\plumtree\uiinfrastructure\web\XPPage.cs:line 78
    at com.plumtree.portaluiinfrastructure.activityspace.PlumHandler.ProcessRequest (HttpContext context) in e:\buildroot\Release\portalui\10.3.0.x\ptwebui\portal\dotnet\prod\src\web\PlumHandler.cs:line 36
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute)
    at System.Web.HttpApplication.ExecuteStep (IExecutionStep step, Boolean & completedSynchronously)
    at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps (Exception error)
    at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest (HttpContext context, AsyncCallback cb, Object extraData)
    at System.Web.HttpRuntime.ProcessRequestInternal (HttpWorkerRequest wr)
    to System.Web.HttpRuntime.ProcessRequestNoDemand (HttpWorkerRequest wr)
    to System.Web.Hosting.ISAPIRuntime.ProcessRequest (ecb As IntPtr, Int32 iWRType)

    I'd be happy to spend some tried and tested admin link display code as an alternative to fixing what I use so if anyone has an alternative solution so please let me know.

    Thank you very much
    Chris

    Edited by: user10594442 may 25, 2010 06:45

    I think that Yes, its been a while that. have you tried it?

    I was going to say, you don't need to use the tag code.html because you can just use a regular anchor tag and use pt:logic.value to fill the good bits

  • Impossible to analyze your diet. Invalid XML: error on line 190: name of the "disabled" attribute associated with an element type "button" should be followed by the "=" character.

    Hello I am trying to download an episode of my Podcast podcast connect and get this error?

    Impossible to analyze your diet. Invalid XML: error on line 190: name of the "disabled" attribute associated with an element type "button" should be followed by the "=" character.

    my diet is validated? http://beprovidedhealthradio.libsyn.com/RSS

    It worked for my first episode? I don't know why it doesn't work for the second episode. I also use Libsyn if that helps.

    Your show is already in iTunes.

    https://iTunes.Apple.com/podcast/id1151562400?MT=2 & ls = 1

    And everything seems fine with it and your diet.  You ONLY SUBMIT YOUR FEED ONCE.

    That's it - better to stay outside of your podcast connect account - only bad things happen to go there and play with things.  Once again, your show is very well and is in iTunes and your flow is good with it.

    Both episodes show when you subscribe - and your most recent episode appears on the page of the iTunes, general store with in 24 hours from when you posted it.

    Rob W

    https://iTunes.Apple.com/us/podcast/beprovided-health-radio/id1151562400?MT=2 https://iTunes.Apple.com/us/podcast/beprovided-health-radio/id1151562400?MT=2

  • Cancellation of registration user stored in the shift register event generates the error 1 if Subvi runs intermittently

    Hello

    I'm trying to understand the behavior of the attached excerpt from a larger overall vi functional.

    In a State, I'm generating a user event and in a State later unsubscribe from the event and destroy it.

    Now, if I went through the VI together in one step (i.e., step through events? set to FALSE), the VI runs without generating an error. However, if I run the VI by intermittent and output after each execution of the loop, the vi generates error 1. Why is it so? Please notify. Thank you.

    Peter

    Why are you registration and deregistration of events user, but you have no event structure in your VI who use them?

    When you run events, probaby the event you registered disappears when your VI stops running.  If you were able to keep your VI in the foreground running, then the life of the event would persist.

    The event number still exists in the uninitialized shift register, but it does not say more once your high level VI stops and you get the error 1.

    If it was really a global functional VI, you would terminals connected to the connector table in your VI, you would call this as a Subvi as part of a main VI and life event would persist and you wouldn't mistake 1.

  • How to simplify the code to generate custom error codes and messages

    I designed a vi that generates the error when any data entry is missing, it works correctly, but the problem is that I want to simplify, because it is part of the main program and its block diagram is great to use as such (I tried to use this vi as a Subvi in the main program, but that does not work correctly) so I need help to simplify the code or if there is no other better medium to generate the error message.

    Hello

    As shown in the previous example, to a different question of yours, it is always good to reduce with diagrams of huge block with repeated code.

    When you overwrite functionality even repeated several times, put it in a loop and run it to have recurrences of 4 or 5 of the same code.

    It will be evolving in the future.

    joined the vi changed for you.

    Note: when you want to simplify your program, isolate your code in functions, put each function inside a under vi.

    in your case, you can have the control to an empty string for all channels within a Subvi. build an array of strings and go through the subvi. Control in the sub that VI is that strings are empty.

    an array of Boolean output error. build your error string in another under vi. the wires together.

  • Msinfo32.exe generates an Error Message "cannot collect information.

    Hello

    I am running XP Prof with SP3 and made a scan with the perfect system optimizer and it did remove a lot of files he said were copies and since then, Information System says that it can collect Information, cannot access windows management instrumentation software. Windows Management files may have been moved or missing. I tried to use the administrative tools in the Management Console Microsoft and add snap - in following the instructions from microsoft on their site, but still did not help. Also tried to restore as soon as possible and the recovery of deleted files from the optimizer software. Nothing has helped so far. I am also on a network with my laptop which runs on Windows 7, but the have not enabled since I stupidly paid 39.99 for this software now appeasrs to have screwed up my computer. Restoration did do 1 restore and I tried 5 times and it said could not files to an earlier time which is an another prolbem I've had for a while with system restore doesn't work does not correctly. If anyone can help me I would really appericiate it. Thank you my friends.

    PKBISHOP

    Hi PKBISHOP,
     
    The error message occurs if the Windows Management Instrumentation (WMI) service is not started. This can happen if the service is disabled, if a dependent service is not started, or if a problem is preventing start the WMI service. The system information utility will be able to collect information that the WMI service is started.
     
    To correct this information to resolve this problem, see the link below.
     
  • Print to Adobe PDF format generates the PDF, but also generates an error entry in the print queue

    I am running Windows Vista Ultimate Edition and Adobe Acrobar 8.
    Whenever I print a document in PDF format, the PDF document is generated correctly.
    Unfortunately, it also generates an error entry in the Adobe PDF print queue. At each system restart Windows Live One Care detects errors and ask me to fix.

    Hello Pino Sannicolo,

    Try to check your print to the printer settings. Right-click on the printer, and then click Properties. Click the Advanced tab and then click on "print directly to printer". Dave D
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • WebWorks structure bad XML OS 7 - config.xml error analysis-

    I get this error when compiling with SDK WebWorks 2.3.1.5

    [INFO]                  Parsing of the command line options
    [INFO]                  Bbwp.properties analysis
    [INFO]                  Validation of archive application
    [INFO]                  The analysis of config.xml
    [ERROR]                 Impossible to analyze the file config.xml - bad structure XML

    It's my config.xml file


    http://www.w3.org/ns/widgets ".
    ' xmlns:RIM ='http://www.blackberry.com/ns/widgets '
    version = "2.0".
    RIM: header = "" Widget-RIM: RIM/widget ">"
     
      http://www.myWeb.com/myplaybookapp/theApp.html
    RIM: copyright = "Copyright 2012-2013 mycomp.com" > my comp ".

     
     

    My application
     
     
    My app description
     

    <>committees mode = "portrait" / >
     
     <>
    backgroundColor = "#A4C1D8."
    foregroundImage = "img/allcategories.png"
    onLocalPageLoad = "true" >
      
     


     
     


       
     


     

    subdomains of http://www.myComp.com"="true">
      subdomains of http://ADN.eBay.com"="true">


    Copyright (c) 2013 Itassets.
    THE SOFTWARE IS PROVIDED "AS WHAT ', WITHOUT WARRANTY OF ANY KIND,.
    EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE
    OF MERCHANTABILITY, FIT HAS A PARTICULAR PURPOSE AND
    ABSENCE OF COUNTERFEIT. IN ANY CASE, THE AUTHORS OR COPYRIGHT
    HOLDERS BE RESPONSIBLE FOR ANY CLAIM, DAMAGE OR OTHER LIABILITY,
    WHETHER IN AN ACTION OF CONTRACT, INSULT OR OTHERWISE, ARISING
    WHERE IN CONNECTION WITH THE SOFTWARE OR THE USE OR
    OTHER TRANSACTIONS IN THE SOFTWARE.
     

     

    Hello

    Your href missing a symbol of closure ".»

    For reference, this site gives a decent XML validator:
    http://www.w3schools.com/XML/xml_validator.asp

    Saved my bacon a few times :-)

  • Widget Config.xml error when compiling

    I get the following error message when I try to compile the example of push from the lab.

    C:\Program Research In Motion\BlackBerry Widget Packager > web/pdemo.zip bbwp
    [INFO]                  Parsing of the command line options
    [INFO]                  Bbwp.properties analysis
    [INFO]                  Validation of the Archives widget
    [INFO]                  The analysis of config.xml
    [ERROR]                 Invalid config.XML - failed to scan the item

    Here is my file config.xml

    http://www.BlackBerry.com/ns/widgets"version ="1.0.0"xmlns ="http://www.w3.org/ns/widgets">".
    Example of push
    Code examples
    "http://www.RIM.com/' rim: copyright ="no copyright"email ="[email protected]">."
    Research in Motion - API webteam
     







    SDM BIS-B TCP_WIFI TCP_CELLULAR WAP2 WAP
    http://www.license.com "> This is an example of license"

    Yet when I create a zip file of this file and others the resulting XML file adds the following line

    What I'm missing here?

    The question - my XXML editor was not saving changes - seems it is not compatible with Win 7. When I edited using another (textpad), I was able to go beyond that.

    Thanks for the reply!

  • Generate XML in PL/SQL format

    I have a generated XML format:

    Need help please to generate an XML file based on the XML format below

    <? XML version = "1.0" standalone = 'no '? >

    <! DOCTYPE tags SYSTEM "label.dtd" >

    < labels _FORMAT = 'E:ASSET. ZPL"_QUANTITY ="1"_PRINTERNAME ="printer 1"_JOBNAME ="LBL101">

    < label >

    < variable name = "$$ PART_NUMBER$ $" > S123456789 < / variable >

    < variable name = "$$ PART_NUMBER_DESCRIPTION$ $" > XXXXXXXXXXXXXXXXXXXXXXXXX < / variable >

    < variable name = "Serial_number of $$$ $" > XXXXXXXXXX < / variable >

    < / label >

    < / Label >

    Data are stored in the SQL table, right? So why do you need it in PL/SQL? But yes, you can wrap this selection in PL/SQL:

    DECLARE

    v_xml XMLTYPE.

    BEGIN

    SELECT XMLSERIALIZE)

    DOCUMENT

    XMLELEMENT)

    "labels."

    XMLATTRIBUTES)

    ' E:ASSET. ZPL "AS '_FORMAT',

    "1" AS "_QUANTITY;

    "Printer 1' AS '_PRINTERNAME ', '.

    'LBL101' AS '_JOBNAME '.

    ),

    XMLAGG)

    XMLELEMENT ("label",

    XMLELEMENT ("variable",

    XMLATTRIBUTES)

    "$$ PART_NUMBER$ $' AS 'name '.

    ),

    PART_NUMBER

    ),

    XMLELEMENT ("variable",

    XMLATTRIBUTES)

    "$$ PART_NUMBER_DESCRIPTION$ $' AS 'name '.

    ),

    part_number_description

    ),

    XMLELEMENT ("variable",

    XMLATTRIBUTES)

    "$$ SERIAL_NUMBER$ $' AS 'name '.

    ),

    Serial_number

    )

    )

    )

    )

    DASH SIZE = 2

    ) AS XMLCOLUMN

    IN v_xml

    OF test_tab_a;

    END;

    /

    SY.

  • ORA-06528: PL/SQL Profiler generator runtime error

    Version 11.2.0.3.  I have installad DBMS_PROFILER:

    SYS AS SYSDBA > @?/rdbms/admin/profload.sql

    SYS AS SYSDBA > @?/rdbms/admin/proftab.sql


    I tried to use dbms_profiler.start_profiler in PLSQL code with user NUFN and discovered that lacked the NUFN user privileges on the objects of the Profiler. So I ran the following grants:

    grant the update, insert and delete on plsql_profiler_units to NUFN;

    grant the update, insert and delete on plsql_profiler_runs to NUFN;

    Grant execute on DBMS_PROFILER to NUFN;

    But still no luck:

    SQL > START

    dbms_profiler.start_profiler ('test1');

    EXECUTE IMMEDIATE 'select max (STATS_UPDATE_TIME), owner of the DBA_TAB_STATS_HISTORY group from owner to owner.

    dbms_profiler.stop_profiler ();

    END;

    /

    BEGIN

    *

    ERROR on line 1:

    ORA-06528: PL/SQL Profiler generator runtime error

    ORA-06512: at "SYS." DBMS_PROFILER", line 123

    ORA-06512: at "SYS." DBMS_PROFILER", line 132

    ORA-06512: at line 2

    I can't find what is missing from my user NUFN for her to be able to run DBMS_PROFILER.  Help, please!

    Thanks Bella, I had not run @?/rdbms/admin/proftab.sql as my user NUFN but as sys.  But you know what?  Even after execution of @?/rdbms/admin/proftab.sql as NUFN, the problem persisted!

    So I traced my session, read the trace file and found nothing wrong (but I have no experience in finding fault with the workings of dbms_profiler).  But I found the SQL code executed by the dbms_profiler.start_profiler command, which is:

    PARSING IN CURSOR #4574691968 len = 155 dep = 2 uid = 155 oct 2 lid = 155 = tim = hv 530047132716 = ad 3718124591 = "7000000946da848" sqlid = "akx2pxvftw51g."

    INSERT INTO PLSQL_PROFILER_RUNS (RUNID, RUN_DATE, RELATED_RUN, RUN_OWNER) VALUES (PLSQL_PROFILER_RUNNUMBER. NEXTVAL,: B1,: B2, USER) RETURN RUNID IN: O0

    END OF STMT

    ANALYSIS #4574691968:c = 315, e = 844, p = 0, cr = 0, cu = 0, put = 1, r = 0, dep = 2, og = 1, plh = 0, tim = 530047132715

    I tried manually the same HOME, and bingo, I discovered the cause of my problem:

    INSERT INTO PLSQL_PROFILER_RUNS (RUNID, RUN_DATE, RELATED_RUN, RUN_OWNER) VALUES (PLSQL_PROFILER_RUNNUMBER. NEXTVAL, sysdate, 'manually', 'ME');

    ORA-01950: no privileges on tablespace execution times

    After performing ALTER USER NUFN QUOTA UNLIMITED ON STATES; the problem has been resolved.

    Conclusion: after DBMS_PROFILER installation for a user, make sure that the user can write in objects DBMS_PROFILER (SUBSIDIES and QUOTAS).

  • Help-Code for one or more InDesign cannot be generated. (Error 400: font not available).

    Hello

    I have the last Version of Muse in a Mac. Yosemite.

    I have problems when I want to publish my Web site. It appears error 400.  For some reason, the code cannot be generated for Typekit. That s the German version. "Code for one or more InDesign in"Homepage"cannot be generated. (Error 400: font not available).

    Imágenes integradas 1

    A time comes this: publish the view have an error, because the Muse may not have an HTTP connection. It may be a software firewall that does not allow to connect. The main reason may be a software firewall that stops the HTTP connection. Probably you should check the Firewall properties.

    Imágenes integradas 3

    Imágenes integradas 5

    But nothing has changed.

    I did the following things:

    1. I'll raise the app
    2. I disconnect from the creative cloud, leave, reconnect and reopen Muse.
    3. I remove Ghostery.
    4. Muse I uninstalled and re-installed.
    5. Restart the computer.
    6. Try again with a new Web site.
    It's my current antivirus

    Imágenes integradas 4

    Help please! Need to finish a project.

    Looks like you have anti-virus/anti-malware with settings that prevent Muse to connect to internet. Your screenshots are not visible on the forum. They must be inserted using the response within the forum feature in your browser (click the camera icon to add an image).

  • Try to update CC Bridge and Photoshop CC 2014 generates the error "failed to extract the downloaded files. Press Retry to download again. (U44M1I210)

    Try to update CC Bridge and Photoshop CC 2014 Creative Cloud program generates the error "failed to extract the downloaded files. Press Retry to download again. (U44M1I210). I am running Windows 7. Previous traffic on this subject did not help my situation.

    Please clean the cache of the MAO by deleting after the contents of the folder:

    For Mac:

    ·        /Volumes/%volume Name%/Users/%Username%/Library/Application Support/Adobe/AAMUpdater/1.0

    To win:

    ·        C:\Users\\AppData\Local\Adobe\AAMUpdater\1.0

    Then try to run updates.

    Kind regards

    Ashutosh

  • Banner advertising generating the error "Flash files with network methods are not allowed."

    SWF files created in Falsh CC generates this error. No one knows how to fix?

    Click file > publishing settings > avancΘs as3 (the wrench) > and change the default link to "merged into code".

  • form2xml generate xml files with '? ' for non-Latin characters

    I used form2xml in oracle 10 g costume to convert formulas 5 .fmb .xml. using the command:

    frmf2xml.bat OVERWRITE = YES myform.fmb

    Forms contains the set of Arabic characters, but the xml file is generated with the character "?", and the xml file is unusable ".

    What can I do to keep the Arabic characters in the generated xml files.

    Edit:

    I run form2xml on windows xp SP3 with Arabic support (codepage = 1256)

    The xml file is generated in UTF-8 format

    I solved the problem.

    Step 1: Search the registry for each NLS_Lang key and change its value to the codepage 1256 using regedit

    Step 2: in the Panel of control-region and language, I changed the language to be Arab

    Now everything is good

Maybe you are looking for