Item Values Not Set - Dynamic SQL Fails to Parse.

** Think I've fixed this **
(By simply defining some page computations I was able to set the item values to some default. Please don't feel the need to reply :-))
I have a page consisting of 5 report parameters and a report, all in one region, 4 parameters are LOVs and one is a text field which in the query are all compared to table column values. The report region type is SQL Query(PL/SQL function body returning SQL Query).
If I load the page in a new session with default values for the LOVs as '%' and a null text field, I get the following error message:-
failed to parse SQL query:
ORA-00936: missing expression
If I examine the session state, I see that none of the parameter values are set, which is probably why the dynamic sql is failing.
If I set one of the parameters to something, eg. choose another value in an LOV or type some text in the text field, and re-run the report, it executes without error.
What's the easiest way to fix this, is it to set the page items to some specific values when the page is first loaded? If so how do I do that? I'm not having much luck creating some process to do it.
All help appreciated.
Ian
Message was edited by:
Ian_F

Hi Ian,
Did you already try to put a default value for that lov?
Or try to do a computation before header?
Thanks,
Dimitri
-- http://dgielis.blogspot.com
-- http://apex-evangelists.com

Similar Messages

  • Item value not showing up in PL/SQL function on another item.

    Basically, I am trying to update a database field based on the vaule of 2 other fields, but the item value dow not seem to get stored. No errors, it just shows up as a null value in the database. Here is the code inside the default area as a FL/SQL Function.
    declare
    P14_TNUM varchar2(255);
    begin
    select concat(mname,id) into P14_TNUM from T1,T2 where mid=:P14_TID;
    return P14_TNUM;
    exception when others then
    return null;
    end;
    Note:
    id is in T1
    mname and mid is in T2
    :P14_TID is the item which points to the pk in table T1

    Anon,
    I'm still a little confused as to what you're trying to do. Could you please take a little bit to better explain?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • Report headings based on Items: values not substituted in BI Publisher

    That is, custom column headings such as "&P7_HEADING_X.".
    They show up fine as the item values in the browser report, but as the literal ("&P7_HEADING_X.") in BI Publisher output to Excel, Word, etc.
    I've noticed that PL/SQL based headings pass through all right. I can probably use this as a work-around. Is there a way to get BI Publisher to do the item value substitutions ?
    I am working with Application Express 3.1.0.00.32 on apex.oraclecorp.com.
    I've just been introduced to BI Publisher (like today). All I know about it is that you get to it through the Print Attributes panel.

    Mike said: "I am assuming that you are just using the default download and I use the "&." notation in the column headings so it should pass over to word, or excel."
    Yes, this is it. But, when the column headers pass through BI Publisher, they are not substituting (like you said, they "should" but they don't). I wind up with an Excel (or Word, or PDF) file where the column headings are all '&P7_HEADING_01.', '&P7_HEADING_02.', etc.
    Again though, all I know about BIP is that it hooks into APEX by way of the Report "Print Attributes" panel. And, I'm not even so sure about that; there's no indication what's doing the "print" serving behind the scenes.

  • Handling of pictures changed? Item values not properly updated in Beta 3?

    I had created an application which allows to upload an image for a row, basically based on what's done in the demo app for the products table.
    Today, I exported the app and then uninstalled Beta 2 and installed Beta 3. Installation finished without any problems - so far so good, but after I recreated my tables etc. and then imported the application, the image handling just didn't work any more...
    I took a look at the demo app in Beta 3 and saw that unlike before, it looks like the blob content is no longer being inserted into the DEMO_IMAGES table, but instead remains in wwv_flow_files (now called htmldb_application_files?). This feels wrong somehow, IMO the former approach moving the file content into the custom table was much safer and cleaner.
    Also, I noticed when I open an edit page from a report link and look at the session state then, the page item values don't get updated properly (in fact nothing gets updated except for the PK value I clicked on the report page) - this feels totally wrong as well (and I suspect some kind of coincidence here why the picture upload or display doesn't work any more like before)...strange enough, the items on the page show the expected values, but in session state display they are all empty (R).
    Is it intended to leave it this way? Why did it have to be changed at all?
    Somehow frustrated,
    Holger

    Holger,
    You are witnessing a couple things here.
    One - for Production XE, the configuration of the Database Access Descriptor for the embedded PL/SQL Gateway makes use of the request-validation-function. This is a function which validates the procedures being invoked from the URL. Out of the box, only those suitable for running XE are enabled. Otherwise, any publicly executable procedure in the database could be invoked directly from the URL, and for security reasons, this needed to be locked down. Search for "Restricting Access to Oracle Database XE" in the online help and you'll see instructions how to open up this validation function for your custom procedures which are invoked directly from the URL.
    Two - you are correct, the Demonstration Application was modified to use the global upload table instead of the custom upload table in your schema. Given the security decision (mentioned above), it was a choice between not locking down the procedures which could be invoked from the URL, or providing a demonstration application which would work for all customers out of the box. Obviously, we chose the latter. From a security standpoint, I highly recommend you to use your own table as you were before.
    As far as your comments about session state and the report link, nothing has changed in this regard. This is consistent and expected behavior. I confirmed this is consistent with HTML DB 2.0 and XE Beta. Scott discussed this on the OTN Application Express forum in a number of places, including here: Re: Automated Row Fetch, when does the value hit the session state?
    Thank you for your feedback. I do appreciate it.
    Joel

  • Application item value based on pl sql

    Hello Guys,
    I am pretty new to pl sql and have a basic question.
    I want to calculate the value of an app item (say p_X)using pl sql.
    Th logic is
    if( X1!=0)
    p_X = X1;
    else if (X2!=0)
    p_X=X2;
    and so on.
    Xi, X2 are app items.
    Please help .

    I would say jQuery would need to be involved.
    This may point you in the right direction
    Grassroots Oracle: Use jQuery to dynamically modify Region title

  • System Partition Not Set. Bcdboot failed! bcdboot.exe

    Hey guys,
    I have an issue that I can't get past, and I've completely run out of ideas.
    I have an SCCM 2012 SP1 server and it has KB2801987 applied.
    From this server, I run a Windows 7 Enterprise x86, and a Windows 7 Enterprise x64 task sequence for bare metal deployment to workstations.
    Everything works perfectly fine, EXCEPT when I deploy the Windows 7 Ent x64 WIM, and I've used bootable USB media.
    PXE Booting a machine, and running the task sequence that deploys Win7x64 = works perfectly.
    Advertising the Win7x64 task sequence to a machine = works perfectly
    Booting from a 32-bit boot usb media, running the Win7x64 task sequence -> downloads the boot(x64) WinPE image, then starts deployment = works perfectly
    Booting from 64-bit boot usb media, running the Win7X64 task sequence = Task Sequence Error (0x8004005).
    I've recreated my USB boot media several times. I've tried different brands/models of USB keys, and I always get the exact same error.
    And this is the same error that always happens in my SMSTS.LOG.  It seems it can't set the boot partition, and fails at the every end of applying the WIM image.  And again, this is ONLY when I use USB boot media for THIS particular task sequence. 
    The exact same TS, WinPE boot image and WIM image work just fine when deployed via any other method.  I guess the only thing I haven't tried yet is to make a bootable CD with the same media to see if I get the same issue.  I will try that as soon
    as I can. 
    But any ideas/help is appreciated.  Thanks guys.
    <![LOG[Expand a string: WinPE]LOG]!><time="14:21:09.154-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="executionenv.cxx:782">
    <![LOG[Executing command line: OSDApplyOS.exe /image:BAC0004C,%OSDImageIndex% "/config:BAC00054,%OSDConfigFileName%" /target:0,2 /runfromnet:False]LOG]!><time="14:21:09.154-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="commandline.cpp:827">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="14:21:09.186-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="commandline.cpp:228">
    <![LOG[Set command line: "OSDApplyOS.exe" /image:BAC0004C,2 "/config:BAC00054,bac_unattend_soe_64.xml" /target:0,2 /runfromnet:False]LOG]!><time="14:21:09.186-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="commandline.cpp:731">
    <![LOG[Found run from net option: 0]LOG]!><time="14:21:09.186-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="applyos.cpp:283">
    <![LOG[Not a data image]LOG]!><time="14:21:09.186-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="applyos.cpp:433">
    <![LOG[ApplyOSRetry: ]LOG]!><time="14:21:09.186-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="applyos.cpp:445">
    <![LOG[TSLaunchMode: UFD]LOG]!><time="14:21:09.186-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="applyos.cpp:446">
    <![LOG[OSDUseAlreadyDeployedImage: FALSE]LOG]!><time="14:21:09.201-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="applyos.cpp:447">
    <![LOG[Adding logical drive: C:]LOG]!><time="14:21:09.201-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="diskutils.cpp:1537">
    <![LOG[Adding logical drive: D:]LOG]!><time="14:21:09.201-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="diskutils.cpp:1537">
    <![LOG[Skipping non-local logical drive: E:]LOG]!><time="14:21:09.201-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="diskutils.cpp:1543">
    <![LOG[Skipping non-local logical drive: F:]LOG]!><time="14:21:09.201-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="diskutils.cpp:1543">
    <![LOG[Skipping non-local logical drive: X:]LOG]!><time="14:21:09.201-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="diskutils.cpp:1543">
    <![LOG[The volume D:\ exists and is a local hard drive.]LOG]!><time="14:21:09.201-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installcommon.cpp:557">
    <![LOG[The volume D:\ is using a valid file system.]LOG]!><time="14:21:09.279-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installcommon.cpp:600">
    <![LOG[Windows target partition is 0-2, driver letter is D:\]LOG]!><time="14:21:09.279-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="applyos.cpp:491">
    <![LOG[Succeeded loading resource DLL 'X:\sms\bin\x64\1033\TSRES.DLL']LOG]!><time="14:21:09.279-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="util.cpp:963">
    <![LOG[The machine does not have a local client cache.]LOG]!><time="14:21:09.279-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="installcommon.cpp:1029">
    <![LOG[ResolveSource flags: 0x00000001]LOG]!><time="14:21:09.279-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="resolvesource.cpp:3265">
    <![LOG[SMSTSPersistContent: . The content for package BAC0004C will be persisted]LOG]!><time="14:21:09.279-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="resolvesource.cpp:3274">
    <![LOG[The package BAC0004C is found locally in the cache D:\_SMSTaskSequence\Packages\BAC0004C]LOG]!><time="14:21:09.279-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="resolvesource.cpp:3301">
    <![LOG[Opening image file D:\_SMSTaskSequence\Packages\BAC0004C\Win7 (x64) - Build and Capture v1.0.wim]LOG]!><time="14:21:09.279-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="wimfile.cpp:416">
    <![LOG[Image file BAC0004C version "" will be applied]LOG]!><time="14:21:09.311-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installimage.cpp:463">
    <![LOG[Starting to apply image 2 from Win7 (x64) - Build and Capture v1.0.wim to D:\]LOG]!><time="14:21:09.311-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installimage.cpp:671">
    <![LOG[Wiping D:\]LOG]!><time="14:21:09.311-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installcommon.cpp:799">
    <![LOG[Set "D:\_SMSTaskSequence" to not be wiped]LOG]!><time="14:21:09.311-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installcommon.cpp:808">
    <![LOG[Set "%OSDStateStorePath%" to not be wiped]LOG]!><time="14:21:09.311-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installcommon.cpp:839">
    <![LOG[Set "%_SMSTSClientCache%" to not be wiped]LOG]!><time="14:21:09.311-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installcommon.cpp:839">
    <![LOG[Set "%_SMSTSNewClientCachePathToCleanup%" to not be wiped]LOG]!><time="14:21:09.311-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installcommon.cpp:839">
    <![LOG[Calculating expected free space.]LOG]!><time="14:21:09.326-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="380" file="installcommon.cpp:232">
    <![LOG[Reporting deletion progress.]LOG]!><time="14:21:09.420-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="380" file="installcommon.cpp:250">
    <![LOG[Skipping D:\System Volume Information for wipe]LOG]!><time="14:21:35.627-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="ccmfile.cpp:983">
    <![LOG[Skipping D:\_SMSTaskSequence for wipe]LOG]!><time="14:23:14.716-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="ccmfile.cpp:983">
    <![LOG[Successfully wiped D:\]LOG]!><time="14:23:14.716-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installcommon.cpp:918">
    <![LOG[Applying image to D:\]LOG]!><time="14:23:14.716-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installimage.cpp:710">
    <![LOG[Applying image 2 to volume D:]LOG]!><time="14:23:14.716-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="wimfile.cpp:607">
    <![LOG[Successfully applied image to D:\]LOG]!><time="14:30:47.797-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installimage.cpp:730">
    <![LOG[OfflineRegistry::Init("D:\Windows")]LOG]!><time="14:30:47.797-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="offlineregistry.cpp:168">
    <![LOG[Loading offline registry hive "D:\Windows\system32\config\software" into HKLM\OfflineRegistry1]LOG]!><time="14:30:47.797-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="offlineregistry.cpp:60">
    <![LOG[Loading offline registry hive "D:\Windows\system32\config\system" into HKLM\OfflineRegistry2]LOG]!><time="14:30:49.830-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="offlineregistry.cpp:60">
    <![LOG[CurrentControlSet is mapped to ControlSet001]LOG]!><time="14:30:50.124-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="offlineregistry.cpp:215">
    <![LOG[System root for target OS is D:\Windows, System drive is D:]LOG]!><time="14:30:50.139-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installimage.cpp:919">
    <![LOG[OS Version is 6.1]LOG]!><time="14:30:50.155-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installimage.cpp:938">
    <![LOG[Successfully loaded a source BCD boot system]LOG]!><time="14:30:50.171-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="bootsystem.cpp:1196">
    <![LOG[SetupNewOS: Loaded source boot system from target volume "D:\"]LOG]!><time="14:30:50.171-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="installimage.cpp:1013">
    <![LOG[!sBootDevicePath.empty(), HRESULT=80004005 (e:\nts_sccm_release\sms\framework\tscore\bootvolume.cpp,34)]LOG]!><time="14:30:50.873-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="bootvolume.cpp:34">
    <![LOG[System partition not set]LOG]!><time="14:30:50.873-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="3" thread="1160" file="bootvolume.cpp:34">
    <![LOG[Unable to find the partition that contains the OS boot loaders. Please ensure the hard disks have been properly partitioned
    Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="14:30:50.873-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="3" thread="1160" file="bootvolume.cpp:62">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="14:30:50.873-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="commandline.cpp:228">
    <![LOG[Set command line: "bcdboot.exe" D:\Windows /l en-US]LOG]!><time="14:30:50.873-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="commandline.cpp:731">
    <![LOG[Executing command line: "bcdboot.exe" D:\Windows /l en-US]LOG]!><time="14:30:50.873-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="commandline.cpp:827">
    <![LOG[Process completed with exit code 15299]LOG]!><time="14:30:50.889-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="commandline.cpp:1123">
    <![LOG[uExitCode == 0, HRESULT=80004005 (e:\nts_sccm_release\sms\framework\tscore\bcdbooter.cpp,88)]LOG]!><time="14:30:50.889-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="bcdbooter.cpp:88">
    <![LOG[Bcdboot failed! bcdboot.exe D:\Windows /l en-US failed (15299)
    stdout:
    Failure when attempting to copy boot files.
    stderr:
    ]LOG]!><time="14:30:50.889-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="3" thread="1160" file="bcdbooter.cpp:88">
    <![LOG[TS::Boot::BcdBooter::InstallBootFilesAndConfigBCD (sTargetSystemRoot, this->defaultLanguage, sBootVolume), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1065)]LOG]!><time="14:30:50.889-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="installimage.cpp:1065">
    <![LOG[Unloading offline SOFTWARE registry hive]LOG]!><time="14:30:50.889-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="offlineregistry.cpp:270">
    <![LOG[Unloading offline SYSTEM registry hive]LOG]!><time="14:30:52.766-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="offlineregistry.cpp:284">
    <![LOG[SetupNewOs(&pBootSystem), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1543)]LOG]!><time="14:30:53.019-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="installimage.cpp:1543">
    <![LOG[Configure(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1721)]LOG]!><time="14:30:53.019-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="installimage.cpp:1721">
    <![LOG[Installation of image 2 in package BAC0004C failed to complete..
    Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="14:30:53.019-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="3" thread="1160" file="installimage.cpp:1732">
    <![LOG[installer.install(), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\installimage.cpp,1787)]LOG]!><time="14:30:53.019-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="installimage.cpp:1787">
    <![LOG[Closing image file D:\_SMSTaskSequence\Packages\BAC0004C\Win7 (x64) - Build and Capture v1.0.wim]LOG]!><time="14:30:53.019-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="wimfile.cpp:452">
    <![LOG[Entering ReleaseSource() for D:\_SMSTaskSequence\Packages\BAC0004C]LOG]!><time="14:30:53.034-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="resolvesource.cpp:3616">
    <![LOG[reference count 1 for the source D:\_SMSTaskSequence\Packages\BAC0004C before releasing]LOG]!><time="14:30:53.034-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="resolvesource.cpp:3623">
    <![LOG[Released the resolved source D:\_SMSTaskSequence\Packages\BAC0004C]LOG]!><time="14:30:53.034-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="1" thread="1160" file="resolvesource.cpp:3656">
    <![LOG[InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, g_ConfigPackageID, g_ConfigFileName, bOEMMedia, g_RunFromNet ), HRESULT=80004005 (e:\nts_sccm_release\sms\client\osdeployment\applyos\applyos.cpp,509)]LOG]!><time="14:30:53.034-600" date="02-21-2013" component="ApplyOperatingSystem" context="" type="0" thread="1160" file="applyos.cpp:509">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="14:30:53.034-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="commandline.cpp:1123">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="14:30:53.050-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="instruction.cxx:3012">
    <![LOG[Failed to run the action: Apply Operating System.
    Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="14:30:53.050-600" date="02-21-2013" component="TSManager" context="" type="3" thread="1084" file="instruction.cxx:3103">
    <![LOG[MP server http://sccm2012svr.domain.local. Ports 80,443. CRL=false.]LOG]!><time="14:30:53.050-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="utils.cpp:5300">
    <![LOG[Setting authenticator]LOG]!><time="14:30:53.066-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="utils.cpp:5322">
    <![LOG[Set authenticator in transport]LOG]!><time="14:30:53.066-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="libsmsmessaging.cpp:7751">
    <![LOG[Sending StatusMessage]LOG]!><time="14:30:53.151-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="libsmsmessaging.cpp:4025">
    <![LOG[Setting message signatures.]LOG]!><time="14:30:53.151-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="libsmsmessaging.cpp:1297">
    <![LOG[Setting the authenticator.]LOG]!><time="14:30:53.151-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="libsmsmessaging.cpp:1327">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: sccm2012svr.domain.local:80 CCM_POST /ccm_system/request]LOG]!><time="14:30:53.151-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="libsmsmessaging.cpp:8621">
    <![LOG[Request was succesful.]LOG]!><time="14:30:53.214-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="libsmsmessaging.cpp:8956">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=-2147467259]LOG]!><time="14:30:53.214-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="14:30:53.214-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="executionenv.cxx:668">
    <![LOG[Clear local default environment]LOG]!><time="14:30:53.214-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="executionenv.cxx:807">
    <![LOG[Let the parent group (Install Operating System) decides whether to continue execution]LOG]!><time="14:30:53.214-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="instruction.cxx:3212">
    <![LOG[The execution of the group (Install Operating System) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="14:30:53.230-600" date="02-21-2013" component="TSManager" context="" type="3" thread="1084" file="instruction.cxx:2425">
    <![LOG[Failed to run the last action: Apply Operating System. Execution of task sequence failed.
    Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="14:30:53.230-600" date="02-21-2013" component="TSManager" context="" type="3" thread="1084" file="engine.cxx:214">
    <![LOG[MP server http://sccm2012svr.domain.local. Ports 80,443. CRL=false.]LOG]!><time="14:30:53.230-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="utils.cpp:5300">
    <![LOG[Setting authenticator]LOG]!><time="14:30:53.252-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="utils.cpp:5322">
    <![LOG[Set authenticator in transport]LOG]!><time="14:30:53.252-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="libsmsmessaging.cpp:7751">
    <![LOG[Sending StatusMessage]LOG]!><time="14:30:53.252-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="libsmsmessaging.cpp:4025">
    <![LOG[Setting message signatures.]LOG]!><time="14:30:53.268-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="libsmsmessaging.cpp:1297">
    <![LOG[Setting the authenticator.]LOG]!><time="14:30:53.268-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="libsmsmessaging.cpp:1327">
    <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: sccm2012svr.domain.local:80 CCM_POST /ccm_system/request]LOG]!><time="14:30:53.268-600" date="02-21-2013" component="TSManager" context="" type="1" thread="1084" file="libsmsmessaging.cpp:8621">
    <![LOG[Request was succesful.]LOG]!><time="14:30:53.315-600" date="02-21-2013" component="TSManager" context="" type="0" thread="1084" file="libsmsmessaging.cpp:8956">
    <![LOG[Executing command line: X:\windows\system32\cmd.exe /k]LOG]!><time="14:31:12.004-600" date="02-21-2013" component="TSBootShell" context="" type="1" thread="784" file="bootshell.cpp:857">
    <![LOG[The command completed successfully.]LOG]!><time="14:31:12.004-600" date="02-21-2013" component="TSBootShell" context="" type="1" thread="784" file="bootshell.cpp:939">
    <![LOG[Successfully launched command shell.]LOG]!><time="14:31:12.004-600" date="02-21-2013" component="TSBootShell" context="" type="1" thread="784" file="bootshell.cpp:430">
    http://www.dreamension.net

    I am getting the exact same issue as the original post, however strangely only with one model of computer (HP Compaq 6300 Pro tower desktops).
    We are using SCCM 2012 SP1 but are not using PXE, USB media only.
    Same symptoms, running a deployment task sequence for x64 Windows 7 Enterprise makes it all the way through the Apply OS step which installs a .wim I've captured previously and fails when attempting to copy down the WinPE environment to continue the task
    sequence.
    All boot images have been updated to WinPE 4.0 and have the according driver packs added. My format and partition step creates 1 partition to use the whole drive. We do not use a separate partition for system reserved because our FDE product does not play
    well with encrypting that partition because it is not an active partition.
    Running the initial attempt from an x64 boot key results in failure, but running on an x86 boot key that requires the x64 boot image for deployment will complete. After the initial failure from the x64 key, the machine can't even be deployed from an x86
    boot key because it still fails to write to the partition. No combination of diskpart and format from the command prompt has been able to get it deployed yet.
    Any other ideas or steps to troubleshoot? I'm open to anything because this is hindering our ability to fully migrate to our 2012 environment.

  • ORA-06502:PL/SQL:numeric or value error. Dynamic SQL the only answer??

    ORA-06502: PL/SQL: numeric or value error: character string buffer too small.
    I have an HTMLDB report that errors with the above message. The query is over 7000 characters long so I'm guessing this is the cause. If I retrieve the query from a query table, replace the variables in the LONG query using PL/SQL and execute using dynamic SQL, are the HTMLDB reporting features the same as if I was using a simple SQL query? Is there a better way? I will need to 'drill-down' from this report so how do I create the links? The only HTMLDB PL/SQL package I can find mentioned in the User's Guide is HTMLDB_PLSQL_JOB.
    Cheers, Paul

    Hello All,
    I have the same problem.
    For me it started when i got about 500 rows in the table
    on which the LOV is based.
    With a lot of trying with substr I managed to find the size of the string which it still accepted, which was 51 characters.
    So I thought it was some glitch in the APEX insides, and since I had no time to resolve it further, I went on working.
    But I have to resolve it now, because the following mysterious behaviour is occurring:
    Every few records added to the base table, the problem occurs again, and I can resolve it by cutting down the string
    with one character.
    I have now reached 39 characters !?
    I am afraid that I will end up with 1 character or even null.
    If I switch to Popup list based on LOV there's no problem, and the complete strings are shown.
    The maximum length of the string in my basetable is 252, but the data in it now reaches 55 at most.
    Any idea welcome!
    I did already recreate the master-detail form from scratch, but there the same behaviour.
    greetings,
    Richard Kloostra

  • Value not set to model for f:selectItem itemValue=" "/

    I have a selectOneChoice which value is bound to a String property in backing bean. I select among several one-character values, single space is one of them. The original value is null. When I select the single space option, it is not set to the backing bean. When I select some other option, it works. When I subsequently set the space option, it works.
    Is this bug or feature? I work it around by setting a dummy property with special value, that will be mapped to the original one as a space.
    Viliam

    I've found the culprit, it is method isEmpty in oracle.adf.view.faces.component.UIXEditableValue, here is the decompiled code:
        protected boolean isEmpty(Object value) {
            if(value == null) return true;
            else return (value instanceof String) && ((String)value).trim().length() == 0;
        }The logic to treat space-only strings as empty is good for some (maybe many) applications, but surely it is not the general case.
    There is another workaround to use <h:selectOneMenu> tag instead, if you can.
    Viliam

  • Using item values in a pl/sql block or sql query in a process

    Hi,
    I am new to apex. Developing my first application.
    I have created a form with 2 items. Based on the values in these items, when I click a button, want to execute a
    query.
    eg: emp_name(item1), deptno(item2). When I clock on find button, I want to fetch the record and disply the resultant
    columns in other created items like sal,comm etc.
    How can I do this?
    I tried the following pl/sql block in a process
    begin
    select sal,comm into p1_sal,p1_comm from emp where name=p1_name and deptno=deptno;
    end;
    But it is not accepting the page items in the block.
    How to achieve this?
    Thanks,
    Kavitha

    We have many OBEs, tutorials, etc. Please visit the <a hef="http://www.oracle.com/technetwork/developer-tools/apex/learnmore/index.html" target="_window">Learn More</a> tab of our otn site.
    This is the section of the User's Guide that discusses session state -
    -- Sharon

  • Filter items are not set via Redirect to a javascript function

    Hi,
    i have a page with a few filter items and a button which redirects to a javascript function. The problem is that the filter items are NULL in the called javascript function. If i do a submit via another button before then it works.
    Here the details:
    URL Target of the button: javascript:callReport('f?p=&APP_ID.:1:&SESSION.','bir.bir_api.printReportBi?pSessionId=&SESSION.&pBu=&P250_FILTER_BU.&pSupplyTeam=&P250_FILTER_SUPPLY_TEAM.&pMaxBiEff=&P250_FILTER_BI_EFF_MAX.&pGroup=&P250_FILTER_GROUP.');
    Called javascript function:
    function callReport(p_href,p_url)
      var url;
      url = document.getElementById(p_url).value;
      w = open(url,"winRep","Scrollbars=1,resizable=1,width=1100,height=800");
      if (w.opener == null)
        w.opener = self;
        w.focus();
      // wait 5 seconds before reloading
      setTimeout("waitSome()",100);
    Many thanks in advance.
    Regards,
    Martin

    Hi Martin,
    In my example I do a refresh of the report region using  adynamic action. In the report source I've set my filter item as "Page item to submit".
    To open the link for the pdf report I use a dynamic action that fires after refresh of the report region.
    That's it.
    If you want to use your callReport function and need to submit your filter items first, you could try using a ajax post to send the filter values to the database. There's a nice explanation on ajax post in this blog:
    http://apextips.blogspot.nl/2012/09/apex-ajax-basics.html
    Good luck,
    Vincent

  • How to replace a table name with an item value in report region SQL query?

    I've got a SQL query in a report region that goes like this:
    SELECT :P30_HIDDEN FROM v_dms_dataset
    GROUP BY :P30_HIDDEN
    P30_HIDDEN is populated from a textfield input. Why doesn't this work, and is there a way to achieve what I'm trying to do here? I really need the ability to dynamically generate SQL queries in this way.

    Ben - you could either:
    1. case when :P30_HIDDEN = 'COL1' then col1 else ... end
    in order to determine which column to select (only really useful if you have a small number of predetermined columns to select from), or
    2. generate the SQL dynamically.
    Set the report region to SQL Query (PL/SQL function body returning SQL query), then have something like:
    declare
    l_sql VARCHAR2(4000);
    begin
    l_sql := 'SELECT ' || :P30_HIDDEN || ' FROM v_dms_dataset
    GROUP BY ' || :P30_HIDDEN;
    return l_sql;
    exception
    etc.
    end;
    John.

  • Automatic Product Selection item value not updated in S067

    Hello,
    We have a requirement for Automatic product selection based on ATP with pricing at item level. This is working fine.
    But the value of the subitem is not updated in open delivery value S067 after saving the delivery.
    The item category is marked as credit active. update group is 15.
    If i do main item pricing then the value is getting updated successfully.
    I check several notes but nothing helped.
    Pls. help.
    Regards,
    Praveen

    assigned it in sales order at item level in Billing tab
    Assign the same at header level billing tab in sale order.
    thanks
    G. Lakshmipathi

  • Variable value not showing in sql developer  tool

    HI,
    I am using sql developer tool. when i take mouse in variable name at debugging its not showing variable value and instead showing variable name data type and owner. but in past i have used sql developer tool where when i take mouse on variable at debugging mode it shows the varable value.  please tell me is there any issue in sql develper tool currently i am using.
    sql developer version 2.1.0.63

    Sorry - but I doubt if you will get much help for that ANCIENT version of Sql Developer.
    My best suggestion is to download the current version and see if you still have the problem. There have been HUNDREDS of bug fixes since that version you are using.
    Oracle SQL Developer Downloads
    Take note that the current version REQUIRES a much higher JDK version than what you may be using. And do NOT try to install the new version on top of the old one.
    Install the new version into a totally new folder. You will be ask if you want to import your settings from your current version.

  • UDF Value not showing in SQL

    Dear Experts...
    Here is a strange situation in my DB. I have some UDF on A/P Invoice for TAX details print preview.
    UDF Values are properly showing in SAP but not in SQL in same table, Same document they are blank in SQL.
    I can't understand why SQL does not showing me Value of UDF.
    Regards,
    Ravi

    Hi Ravi,
    Run below query in query generator for specific document number and check if udf values are shown or not?
    SELECT T0.DocNum, T0.CardCode As 'Vendor Code',T0.CardName As 'Vendor Name', T0.NumAtCard As 'Vendor Ref. No.', T0.DocDate, T0.TaxDate, T0.DocTotal - T0.VatSum As 'Basic Value of Goods', T0.U_CENVAT As 'CENVAT', T0.U_ECess, T0.U_HSCess, T0.U_VAT_4, T0.U_Add_VAT1, T0.U_VAT_12,
    T0.U_Add_VAT2, T0.U_CST2, T0.U_CST4, T0.U_CST5, T0.U_Service_Tax, T0.U_ST_ECess, T0.U_ST_HSCess,T0.TotalExpns As 'Others',T0.DocTotal - T0.VATSUM As 'Total' FROM OPCH T0 WHERE T0.docType = 'I' and T0.DocNum=[%0]
    Thanks,
    Neetu

  • Item value NOT useful out of the page where it's been declared.

    Hi all...
    I'm using Apex 2.1 (version embedded on 10gXE)
    I'm developing an application where, on page 1 i define a hidden item named
    P1_CLIENTCODE. The source value for that item comes out from a query like: "select clientcode from clients where username=:P101_USERNAME". On the same page (page1) i have a report region that
    displays the client daba based on P1_CLIENTCODE "select...where clientcode = :P1_CLIENTCODE" and works ok.
    But, when in a report region on page 2, i want to use a similar query "select...where clientcode = P1_CLIENTCODE", it doesn't work. There is no value stored on :P1_CLIENTCODE.
    So, what i noticed is that :P1_CLIENTCODE value can be used only on page 1, BUT another thing i've noticed is that :P101_USERNAME is useful on everypage.
    Why is it that P101_USERNAME value is useful on every page of the application and P1_CLIENTCODE only for page one? All attributes are the same for both items.....
    Thnx all of you for your help.
    fernando

    Fernando,
    But, when in a report region on page 2, i want to use a similar query "select...where clientcode = P1_CLIENTCODE", it doesn't work.
    I assume you typed that wrong in this post and that your query references :P1_CLIENTCODE with the colon prefix on the item name. Even so, the query does not return the results you want.
    1. The login page (101) generated by the create application wizard contains an after submit process named "clear" that clears session state for all items on page 101. So referencing P101_USERNAME on other pages will not work if this clear process is in place. But maybe you don't have that process. In that case, P101_USERNAME could be referenced throughout the application.
    2. You may be having trouble referencing P1_CLIENTCODE on page 2 because page 1 was never submitted. Page 1 would have to be submitted (or you would have to take other measures) in order for P1_CLIENTCODE to be saved into session state for reference on pages other than during the rendering phase of page 1 (where it can be referenced).
    Scott

Maybe you are looking for

  • Error message "The specified user or domain group was not found" when trying to access certain sites

    Hello. My setup is as such (this is a testing environment), spread over two virtual machines: -Windows Server 2012 with AD DS and MS SQL Server 2012 -SharePoint Server 2013 When trying to access a lot of site collections in different web applications

  • I damage the ATI Installation an Configuration - How do i fix this ?

    Hi everybody. Well, making experiments, tests, and more... i damage my catalyst installation. The thing is, that for some reason, some day, the GLXGEARS and FGL_GLXINFO stop working, and COMPIZ start to behave really bad. So i start to reading forums

  • TOSLink output to Analog Issue

    Hi All, My ATV hooks up fine to my projector for video, (ATV GaffTaped to Projector, HDMI jumper, Point at BigAss Screen, Apply Power, Done). The Audio is becoming a challenge. I'd like, ideally, to take the Optical Output from the ATV via a TOSlink

  • Excise duty for manufactur plant.

    Hi, we have only one plant. so deliveries are takes that plant only. In Excise configuration i treated it as a manufacturing plant ( not depo). But in the pricing procedure we have BED. I maintained it as 16%. So the value is coming in the sales orde

  • Naming scanned photos

    I am preserving old pics by scanning and saving in iphoto. When I try to transfer to digital picture frame via memory stick I can't transfer two pics with exact same name so I have had to individually change the duplicate pic by adding a space or num