Error in event driven publishing
Dear Gurus...I created the following procedure to implement Event Driven Reporting:
CREATE OR REPLACE procedure ABC.eve_drv_rep as
myPlist system.SRW_PARAMLIST;
myIdent system.SRW.Job_Ident;
BEGIN
myPlist := system.SRW_PARAMLIST(system.SRW_PARAMETER('',''));
system.srw.add_parameter(myPlist,'GATEWAY','http://192.168.1.133/reports/rwservlet);
system.srw.add_parameter(myPlist,'SERVER','rep_appsrv_frhome1');
system.srw.add_parameter(myPlist,'REPORT','y:\02\02\Gry_02_01.rep');
system.srw.add_parameter(myPlist,'USERID','def/xyz@nml');
system.srw.add_parameter(myPlist,'DESTYPE','email');
system.srw.add_parameter(myPlist,'DESFORMAT','PDF');
system.srw.add_parameter(myPlist,'DESNAME','[email protected]');
myIdent := system.srw.run_report(myPlist);
EXCEPTION
when others then
raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
--Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);
END;
Procedure is created successfully but when I execute this procedure, I get the following error:
ORA-20001'Error sending email.Error: ORA-20999
ORA-06512: at "Nml.Eve_Drv_Rep", line 17
ORA-06512: at line 1
Can u guess where is the problem?
2ndly I want to know that whether I should give IP address or Application Server Machine Name in GATEWAY parameter?
And in SERVER parameter either I should give the Application Server Machine Name or Report Server name installed on Application Server Machine?
Lastly from where I can get the complete list of Parameters to be added in SRW.Add_Parameter like SERVER, GATEWAY etc.
Please note that we r using Database 10g Rel.2 and Forms and Reports server on Application Services and the report being called was developed in Reports 10g.
Hi,
Remove this (And never put it in again)
EXCEPTION
when others then
raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
--Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);This will tell you more about what is going on, such as giving you the location of the error.
But 20999, is a user defined exception, are you putting objects into system schema?
Regards
Peter
Similar Messages
-
Error in event driven reporting
Dear Gurus...I created the following procedure to implement Event Driven Reporting:
CREATE OR REPLACE procedure ABC.eve_drv_rep as
myPlist system.SRW_PARAMLIST;
myIdent system.SRW.Job_Ident;
BEGIN
myPlist := system.SRW_PARAMLIST(system.SRW_PARAMETER('',''));
system.srw.add_parameter(myPlist,'GATEWAY','http://192.168.1.133/reports/rwservlet);
system.srw.add_parameter(myPlist,'SERVER','rep_appsrv_frhome1');
system.srw.add_parameter(myPlist,'REPORT','y:\02\02\Gry_02_01.rep');
system.srw.add_parameter(myPlist,'USERID','def/xyz@nml');
system.srw.add_parameter(myPlist,'DESTYPE','email');
system.srw.add_parameter(myPlist,'DESFORMAT','PDF');
system.srw.add_parameter(myPlist,'DESNAME','[email protected]');
myIdent := system.srw.run_report(myPlist);
EXCEPTION
when others then
raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
--Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);
END;
Procedure is created successfully but when I execute this procedure, I get the following error:
ORA-20001'Error sending email.Error: ORA-20999
ORA-06512: at "Nml.Eve_Drv_Rep", line 17
ORA-06512: at line 1
Can u guess where is the problem?
2ndly I want to know that whether I should give IP address or Application Server Machine Name in GATEWAY parameter?
And in SERVER parameter either I should give the Application Server Machine Name or Report Server name installed on Application Server Machine?
Lastly from where I can get the complete list of Parameters to be added in SRW.Add_Parameter like SERVER, GATEWAY etc.
Please note that we r using Database 10g Rel.2 and Forms and Reports services on Application Server on Widows Server-2003 platform and the report being called was developed in Reports 10g.A few remarks:
Remove the exception handler, since it masks the exact error.
Turn on debugging, because it will give you better information about the error.
srw.start_debugging;
srw.stop_debugging;Did you configure an smtp server in server_name.conf?
Are you able to run the report directly from your browser with the same URL?
where I can get the complete list of Parameters to be added in SRW.Add_Parameter like SERVER, GATEWAY etc.Oracle has manuals for everything.
http://download.oracle.com/docs/cd/E12839_01/bi.1111/b32121/pbr_evnt001.htm#i1007523 -
Error in event driven procedure
Dear Gurus...I created the following procedure to implement Event Driven Reporting:
CREATE OR REPLACE procedure ABC.eve_drv_rep as
myPlist system.SRW_PARAMLIST;
myIdent system.SRW.Job_Ident;
BEGIN
myPlist := system.SRW_PARAMLIST(system.SRW_PARAMETER('',''));
system.srw.add_parameter(myPlist,'GATEWAY','http://192.168.1.133/reports/rwservlet);
system.srw.add_parameter(myPlist,'SERVER','rep_appsrv_frhome1');
system.srw.add_parameter(myPlist,'REPORT','y:\02\02\Gry_02_01.rep');
system.srw.add_parameter(myPlist,'USERID','def/xyz@nml');
system.srw.add_parameter(myPlist,'DESTYPE','email');
system.srw.add_parameter(myPlist,'DESFORMAT','PDF');
system.srw.add_parameter(myPlist,'DESNAME','[email protected]');
myIdent := system.srw.run_report(myPlist);
EXCEPTION
when others then
raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
--Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);
END;
Procedure is created successfully but when I execute this procedure, I get the following error:
ORA-20001'Error sending email.Error: ORA-20999
ORA-06512: at "Nml.Eve_Drv_Rep", line 17
ORA-06512: at line 1
Can u guess where is the problem?
2ndly I want to know that whether I should give IP address or Application Server Machine Name in GATEWAY parameter?
And in SERVER parameter either I should give the Application Server Machine Name or Report Server name installed on Application Server Machine?
Lastly from where I can get the complete list of Parameters to be added in SRW.Add_Parameter like SERVER, GATEWAY etc.
Please note that we r using Database 10g Rel.2 and Forms and Reports services on Application Server on Widows Server-2003 platform and the report being called was developed in Reports 10g.Hi,
Remove this (And never put it in again)
EXCEPTION
when others then
raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
--Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);This will tell you more about what is going on, such as giving you the location of the error.
But 20999, is a user defined exception, are you putting objects into system schema?
Regards
Peter -
I am following the examples given for this on technet, but on compiling I get these errors:
ORA-20999:
ORA-06512: at "PORTAL.SRW", line 284
ORA-06512: at "PORTAL.SRW", line 815
ORA-06512: at line 11
This is the code I'm using. What can I be doing wrong?
DECLARE
myPlist portal.SRW_PARAMLIST;
myIdent portal.SRW.Job_Ident;
BEGIN
myPlist := portal.SRW_PARAMLIST(portal.SRW_PARAMETER('',''));
portal.srw.add_parameter(myPlist,'GATEWAY', 'http://ioappdm2.sfwmd.gov:7777/reports/rwservlet');
portal.srw.add_parameter(myPlist,'SERVER','ioappdm2');
portal.srw.add_parameter(myPlist,'REPORT','C:\GBreports\cjss_report77.rdf');
portal.srw.add_parameter(myPlist,'USERID','pub/pub@wmdp');
portal.srw.add_parameter(myPlist,':doc_no','OT050654');
myIdent := portal.SRW.run_report(myPlist);
END;Have you installed all of the srwAPI's on the database? They can be found at ORACLE_HOME\reports\sql\admin\sql.
I had a similar problem and ended up putting the procedure on apps and then calling it from the db thru another procedure. You can try adding the following and see if this gives you a little clearer error msg.:
(goes after the begin)
srw.Start_Debugging;
dbms_output.put_line('begin');
(put before end)
srw.Stop_Debugging;
Good Luck. -
Problem in Event driven report
Dear Gurus...I created the following procedure to implement Event Driven Reporting:
CREATE OR REPLACE procedure ABC.eve_drv_rep as
myPlist system.SRW_PARAMLIST;
myIdent system.SRW.Job_Ident;
BEGIN
myPlist := system.SRW_PARAMLIST(system.SRW_PARAMETER('',''));
system.srw.add_parameter(myPlist,'GATEWAY','http://192.168.1.133/reports/rwservlet);
system.srw.add_parameter(myPlist,'SERVER','rep_appsrv_frhome1');
system.srw.add_parameter(myPlist,'REPORT','y:\02\02\Gry_02_01.rep');
system.srw.add_parameter(myPlist,'USERID','def/xyz@nml');
system.srw.add_parameter(myPlist,'DESTYPE','email');
system.srw.add_parameter(myPlist,'DESFORMAT','PDF');
system.srw.add_parameter(myPlist,'DESNAME','[email protected]');
myIdent := system.srw.run_report(myPlist);
EXCEPTION
when others then
raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
--Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);
END;
Procedure is created successfully but when I execute this procedure, I get the following error:
ORA-20001'Error sending email.Error: ORA-20999
ORA-06512: at "Nml.Eve_Drv_Rep", line 17
ORA-06512: at line 1
Can u guess where is the problem?
2ndly I want to know that whether I should give IP address or Application Server Machine Name in GATEWAY parameter?
And in SERVER parameter either I should give the Application Server Machine Name or Report Server name installed on Application Server Machine?
Lastly from where I can get the complete list of Parameters to be added in SRW.Add_Parameter like SERVER, GATEWAY etc.
Please note that we r using Database 10g Rel.2 and Forms and Reports services on Application Services and the report being called was developed in Reports 10g.Hi,
Consider this corrected code.
REPORT zztest
NO STANDARD PAGE HEADING
LINE-COUNT 36(3)
LINE-SIZE 250.
DATA: BEGIN OF itab OCCURS 0,
carrid TYPE sbook-carrid,
connid TYPE sbook-connid,
fldate TYPE sbook-fldate,
custtype TYPE sbook-custtype,
class TYPE sbook-class,
bookid TYPE sbook-bookid,
END OF itab.
DATA a TYPE i.
SELECT carrid connid fldate custtype class bookid
FROM sbook INTO CORRESPONDING FIELDS OF TABLE itab.
SORT itab.
ULINE.
WRITE :1 'CARRID', 20'BOOK ID', 37'CLASS'.
ULINE.
LOOP AT itab .
<b> AT NEW carrid.
WRITE: 1 itab-carrid.
ENDAT.
WRITE : 20 itab-bookid.
WRITE : 40 itab-class.</b>
AT END OF carrid.
ULINE.
ENDAT.
ENDLOOP.
<b>Your problem was.</b>
AT NEW carrid.
WRITE: 1 itab-carrid.
ENDAT.
WRITE : <b>/</b>20 itab-bookid. "New Line <b>/</b>
WRITE : 40 itab-class.
Regards,
Arun Sambargi. -
Help with Javascript error in event handler slowing animation down.
Hi all--
I did an animated book cover for my publisher, Baen Books, but an error keeps coming up in my animation. The actual animating can be viewed here:
http://baen.com/310x204/A_CallToDuty.html
As you can see, when the error pops up, the animation grinds to a halt, an it has to recover. I am not well enough versed in javascript to know what is going on. The error code below repeats over and over again as it plays.
6Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:171
3
<error> VM26:184
Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:1714Javascript error in event handler! Event Type = timeline edge.3.0.0.min.js:1713
<error>
If anyone has an idea what is causing this, I would be extremely grateful for any help.
David MattinglyHi Hemanth--
I put it in a dropbox folder for you here:
Dropbox - EdgeAnimation
This contains 2 versions--a small one for the preview, and then a larger one when people click on the cover preview. Thanks in advance for your help.\
David Mattingly -
Prioritized Messages in combination with Event-Driven Message Processing
Hi,
our Scenario (EO): Sender A sends large IDocs to Receivers X and Y (> Split)
1.
What we did first:
Prioritized Message Processing
Sender A sends large Messages, therefore we prioritzied Messages in the IE with EO_MSG_SIZE_LIMIT > 4000.
This works fine: Messages are queued in XBTL and XBTM and afterwards they are send to Receiver X and Y.
2.
What we did next:
Event-Driven Message Processing
Now we want to send the Message from Sender A to Receiver X directly and to Receiver Y at night time.
We add Event-Driven Message Processing, Sender- and ReceiverID for A and Y,Job and so on...
On it's own (without Prioritized Message Processing), this works fine: The messages are send at night time.
But in combination (Event-Driven + Prioritized Message Processing) the messages only passes the Prioritized Message Processing and the Event-Driven is ignored.
Our "Hop-List" for Split A to Y was:
1. XBTL
2. XBTJ2008...
3. XBTM
But actually all Messages passes:
1.XBTL
2.XBTM
Why are the messages not filtered for the Event-Driven Message Processing (in combination with the Prioritized Message Processing)?It was an error in the SourceCode and is now corrected by SAP:
Hinweis 1295746 - XI Runtime: Fehler in Ereignisgesteuerte Messageverarbeitung
Olaf -
Hi everyone,
I'm getting a runtime fault while publishing an event (inside a BPEL).
Following you have a short overview about how we have reached this error :
Few weeks ago we decided to create a new environment for Development. In order to do that, we cloned the Quality environment (schemas prefix - QAS01) machines to have a fully stable version of all services and database schemas to start new developments. We have changed the machines host names as well as refreshed all the references from data sources to a new [cloned] database, we didn't forget to rename the SOA schemas, e.g. QAS01_SOAINFRA renamed with the new prefix DEV01.
So, after that, we were ready to start deploying and testing new composites to this new environment. Everything was going well until we have a composite with a BPEL publishing an event.
You can take look to the error message below that we got from the runtime fault.
oracle.fabric.common.FabricException: Error enqueing event:
ORA-24010: QUEUE QAS01_SOAINFRA.EDN_EVENT_QUEUE does not exist
ORA-06512: at "SYS.DBMS_AQ", line169
ORA-06512: at "DEV01_SOAINFRA.EDN_ENQUEUE_BUSINESS_EVENT", line 42
ORA-06512: at "DEV01_SOAINFRA.EDN_INTERNAL_PUBLISH_EVENT", line 4
I think that we have missed some configuration change after cloning the environment, since QAS01_SOAINFRA is not supposed to be referenced anywhere in this new environment but DEV01_SOAINFRA.
Is it possible to change (EM, Console, somewhere else ...) the schema reference where EDN_EVENT_QUEUE is defined?
Maybe this is an uncommon situation but I would appreciate your help.
Thank you in advance.just go through the link:
http://codeconfuse.blogspot.com/2013/11/large-event-payload-causes-ora-19011.html -
CTAS causes ORA-31061: XDB error: XML event error
The query works, the CTAS fails:
CREATE TABLE Moocows AS
ERROR at line 1:
ORA-31061: XDB error: XML event error
ORA-19202: Error occurred in XML processing
In line 1 of orastream:
LPX-00245: extra data after end of document
CREATE TABLE Moocows AS
WITH
XML(Document)
AS
SELECT
--Amazon_PAPI.Get_Response(Amazon_PAPI.ItemLookup('032244047145', 'UPC', 'Toys', '5011363525517', 'EAN', 'Toys'))
--Amazon_PAPI.Get_Response(Amazon_PAPI.ItemLookup('032244047145', 'UPC', 'All', '5011363525517', 'EAN', 'All'))
Amazon_PAPI.Get_Response(Amazon_PAPI.ItemSearch('Hungry Hungry Hippos', 'All', '', '', '', 'Mastermind', 'All', '', '', ''))
FROM
Dual
SELECT
Items.Id,
Items.Code,
Items.Message,
Items.Isvalid,
Item.Id Item_Id,
Item.ASIN,
Item.DetailPageURL,
XMLAGG(Item.ItemLink) ItemLink,
Item.SmallImage_URL,
Item.SmallImage_Height,
Item.SmallImage_Height_Units,
Item.SmallImage_Width,
Item.SmallImage_Width_Units,
Item.MediumImage_URL,
Item.MediumImage_Height,
Item.MediumImage_Height_Units,
Item.MediumImage_Width,
Item.MediumImage_Width_Units,
Item.LargeImage_URL,
Item.LargeImage_Height,
Item.LargeImage_Height_Units,
Item.LargeImage_Width,
Item.LargeImage_Width_Units,
XMLAGG(Item.ImageSet) ImageSet,
XMLAGG(Item.Actor) Actor,
XMLAGG(Item.Artist) Artist,
Item.AspectRatio,
Item.AudienceRating,
XMLAGG(Item.AudioFormat) AudioFormat,
XMLAGG(Item.Author) Author,
Item.Binding,
Item.Brand,
XMLAGG(Item.CatalogNumberListElement) CatalogNumberListElement,
XMLAGG(Item.Category) Category,
Item.CEROAgeRating,
Item.ClothingSize,
Item.Color,
XMLAGG(Item.Creator) Creator,
XMLAGG(Item.Director) Director,
Item.EAN,
XMLAGG(Item.EANListElement) EANListElement,
Item.Edition,
XMLAGG(Item.EISBN) EISBN,
Item.EpisodeSequence,
Item.ESRBAgeRating,
XMLAGG(Item.Feature) Feature,
XMLAGG(Item.Format) Format,
Item.Genre,
Item.HardwarePlatform,
Item.HazardousMaterialType,
Item.IsAdultProduct,
Item.IsAutographed,
Item.ISBN,
Item.IsEligibileForTrade,
Item.IsMemorabilia,
Item.IssuesPerYear,
XMLAGG(Item.ItemDimensions) ItemDimensions,
Item.ItemPartNumber,
Item.Label,
XMLAGG(Item.Langauge) Langauge,
Item.LegalDisclaimer,
Item.ListPrice,
Item.MagazineType,
Item.Manufacturer,
Item.ManufacturerMaximumAge,
Item.ManufacturerMinimumAge,
Item.ManufacturerPartsWarrantyDesc,
Item.MediaType,
Item.Model,
Item.ModelYear,
Item.MPN,
Item.NumberOfDiscs,
Item.NumberOfIssues,
Item.NumberOfItems,
Item.NumberOfPages,
Item.NumberOfTracks,
Item.OperatingSystem,
Item.PackageDimensions_Height,
Item.PackageDimensions_Height_Units,
Item.PackageDimensions_Length,
Item.PackageDimensions_Length_Units,
Item.PackageDimensions_Weight,
Item.PackageDimensions_Weight_Units,
Item.PackageDimensions_Width,
Item.PackageDimensions_Width_Units,
Item.PackageQuantity,
Item.PartNumber,
XMLAGG(Item.PictureFormat) PictureFormat,
XMLAGG(Item.Platform) Platform,
Item.ProductGroup,
Item.ProductTypeName,
Item.ProductTypeSubcategory,
Item.PublicationDate,
Item.Publisher,
Item.RegionCode,
Item.ReleaseDate,
Item.RunningTime,
Item.SeikodoProductCode,
Item.Item_Size,
Item.SKU,
Item.Studio,
Item.SubscriptionLength,
Item.Title,
Item.TrackSequence,
Item.TradeInValue,
Item.UPC,
XMLAGG(Item.UPCListElement) UPCListElement,
Item.Warranty,
Item.WEEETaxValue
FROM
XMLTABLE
XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
'//OperationRequest/Errors/Error
| //Items'
PASSING
(SELECT Document FROM XML)
COLUMNS
Id FOR ORDINALITY,
Code VARCHAR2(0050) PATH 'Code',
Message VARCHAR2(4000) PATH 'Message',
IsValid VARCHAR2(005) PATH 'Request/IsValid',
Item XMLTYPE PATH 'Item'
) Items
LEFT JOIN
XMLTABLE
XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
'/Item'
PASSING
Items.Item
COLUMNS
Id FOR ORDINALITY,
ASIN VARCHAR2(0010) PATH 'ASIN',
DetailPageURL VARCHAR2(0256) PATH 'DetailPageURL',
ItemLink XMLTYPE PATH 'ItemLinks/ItemLink',
SmallImage_URL VARCHAR2(0256) PATH 'SmallImage/URL',
SmallImage_Height NUMBER(4) PATH 'SmallImage/Height',
SmallImage_Height_Units VARCHAR2(0006) PATH 'SmallImage/Height/@Units',
SmallImage_Width NUMBER(4) PATH 'SmallImage/Width',
SmallImage_Width_Units VARCHAR2(0006) PATH 'SmallImage/Width/@Units',
MediumImage_URL VARCHAR2(0256) PATH 'MediumImage/URL',
MediumImage_Height NUMBER(4) PATH 'MediumImage/Height',
MediumImage_Height_Units VARCHAR2(0006) PATH 'MediumImage/Height/@Units',
MediumImage_Width NUMBER(4) PATH 'MediumImage/Width',
MediumImage_Width_Units VARCHAR2(0006) PATH 'MediumImage/Width/@Units',
LargeImage_URL VARCHAR2(0256) PATH 'LargeImage/URL',
LargeImage_Height NUMBER(4) PATH 'LargeImage/Height',
LargeImage_Height_Units VARCHAR2(0006) PATH 'LargeImage/Height/@Units',
LargeImage_Width NUMBER(4) PATH 'LargeImage/Width',
LargeImage_Width_Units VARCHAR2(0006) PATH 'LargeImage/Width/@Units',
ImageSet XMLTYPE PATH 'ImageSets/ImageSet',
Actor XMLTYPE PATH 'ItemAttributes/Actor',
Artist XMLTYPE PATH 'ItemAttributes/Artist',
AspectRatio VARCHAR2(0020) PATH 'ItemAttributes/AspectRatio',
AudienceRating VARCHAR2(0020) PATH 'ItemAttributes/AudienceRating',
AudioFormat XMLTYPE PATH 'ItemAttributes/AudioFormat',
Author XMLTYPE PATH 'ItemAttributes/Author',
Binding VARCHAR2(0050) PATH 'ItemAttributes/Binding',
Brand VARCHAR2(4000) PATH 'ItemAttributes/Brand',
CatalogNumberListElement XMLTYPE PATH 'ItemAttributes/CatalogNumberList/CatalogNumberListElement',
Category XMLTYPE PATH 'ItemAttributes/Category',
CEROAgeRating VARCHAR2(0020) PATH 'ItemAttributes/CEROAgeRating',
ClothingSize VARCHAR2(0050) PATH 'ItemAttributes/ClothingSize',
Color VARCHAR2(0100) PATH 'ItemAttributes/Color',
Creator XMLTYPE PATH 'ItemAttributes/Creator',
Department VARCHAR2(0050) PATH 'ItemAttributes/Department',
Director XMLTYPE PATH 'ItemAttributes/Director',
EAN NUMBER(15) PATH 'ItemAttributes/EAN',
EANListElement XMLTYPE PATH 'ItemAttributes/EANList/EANListElement',
Edition VARCHAR2(0020) PATH 'ItemAttributes/Edition',
EISBN XMLTYPE PATH 'ItemAttributes/EISBN',
EpisodeSequence VARCHAR2(0020) PATH 'ItemAttributes/EpisodeSequence',
ESRBAgeRating VARCHAR2(0020) PATH 'ItemAttributes/ESRBAgeRating',
Feature XMLTYPE PATH 'ItemAttributes/Feature',
Format XMLTYPE PATH 'ItemAttributes/Format',
Genre VARCHAR2(0050) PATH 'ItemAttributes/Genre',
HardwarePlatform VARCHAR2(0020) PATH 'ItemAttributes/HardwarePlatform',
HazardousMaterialType VARCHAR2(0050) PATH 'ItemAttributes/HazardousMaterialType',
IsAdultProduct VARCHAR2(0005) PATH 'ItemAttributes/IsAdultProduct',
IsAutographed VARCHAR2(0005) PATH 'ItemAttributes/IsAutographed',
ISBN VARCHAR2(0013) PATH 'ItemAttributes/ISBN',
IsEligibileForTrade VARCHAR2(0005) PATH 'ItemAttributes/IsEligibileForTrade',
IsMemorabilia VARCHAR2(0005) PATH 'ItemAttributes/IsMemorabilia',
IssuesPerYear VARCHAR2(0050) PATH 'ItemAttributes/IssuesPerYear',
ItemDimensions XMLTYPE PATH 'ItemAttributes/ItemDimensions',
ItemPartNumber VARCHAR2(0255) PATH 'ItemAttributes/ItemPartNumber',
Label VARCHAR2(4000) PATH 'ItemAttributes/Label',
Langauge XMLTYPE PATH 'ItemAttributes/Languages/Langauge',
LegalDisclaimer VARCHAR2(4000) PATH 'ItemAttributes/LegalDisclaimer',
ListPrice VARCHAR2(0020) PATH 'ItemAttributes/ListPrice',
MagazineType VARCHAR2(0020) PATH 'ItemAttributes/MagazineType',
Manufacturer VARCHAR2(4000) PATH 'ItemAttributes/Manufacturer',
ManufacturerMaximumAge VARCHAR2(0050) PATH 'ItemAttributes/ManufacturerMaximumAge',
ManufacturerMinimumAge VARCHAR2(0050) PATH 'ItemAttributes/ManufacturerMinimumAge',
ManufacturerPartsWarrantyDesc VARCHAR2(4000) PATH 'ItemAttributes/ManufacturerPartsWarrantyDesc',
MediaType VARCHAR2(0020) PATH 'ItemAttributes/MediaType',
Model VARCHAR2(0100) PATH 'ItemAttributes/Model',
ModelYear NUMBER(4) PATH 'ItemAttributes/ModelYear',
MPN VARCHAR2(0255) PATH 'ItemAttributes/MPN',
NumberOfDiscs NUMBER(3) PATH 'ItemAttributes/NumberOfDiscs',
NumberOfIssues NUMBER(3) PATH 'ItemAttributes/NumberOfIssues',
NumberOfItems NUMBER(7) PATH 'ItemAttributes/NumberOfItems',
NumberOfPages NUMBER(4) PATH 'ItemAttributes/NumberOfPages',
NumberOfTracks NUMBER(3) PATH 'ItemAttributes/NumberOfTracks',
OperatingSystem VARCHAR2(20) PATH 'ItemAttributes/OperatingSystem',
PackageDimensions_Height NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Height',
PackageDimensions_Height_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Height/@Units',
PackageDimensions_Length NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Length',
PackageDimensions_Length_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Length/@Units',
PackageDimensions_Weight NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Weight',
PackageDimensions_Weight_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Weight/@Units',
PackageDimensions_Width NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Width',
PackageDimensions_Width_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Width/@Units',
PackageQuantity NUMBER(5) PATH 'ItemAttributes/PackageQuantity',
PartNumber VARCHAR2(0100) PATH 'ItemAttributes/PartNumber',
PictureFormat XMLTYPE PATH 'ItemAttributes/PictureFormat',
Platform XMLTYPE PATH 'ItemAttributes/Platform',
ProductGroup VARCHAR2(0050) PATH 'ItemAttributes/ProductGroup',
ProductTypeName VARCHAR2(4000) PATH 'ItemAttributes/ProductTypeName',
ProductTypeSubcategory VARCHAR2(50) PATH 'ItemAttributes/ProductTypeSubcategory',
PublicationDate VARCHAR2(20) PATH 'ItemAttributes/PubliucationDate',
Publisher VARCHAR2(0255) PATH 'ItemAttributes/Publisher',
RegionCode VARCHAR2(20) PATH 'ItemAttributes/RegionCode',
ReleaseDate VARCHAR2(20) PATH 'ItemAttributes/ReleaseDate',
RunningTime VARCHAR2(20) PATH 'ItemAttributes/RunningTime',
SeikodoProductCode VARCHAR2(50) PATH 'ItemAttributes/SeikodoProductCode',
Item_Size VARCHAR2(50) PATH 'ItemAttributes/Size',
SKU VARCHAR2(0255) PATH 'ItemAttributes/SKU',
Studio VARCHAR2(0255) PATH 'ItemAttributes/Studio',
SubscriptionLength VARCHAR2(20) PATH 'ItemAttributes/SubscriptionLength',
Title VARCHAR2(4000) PATH 'ItemAttributes/Title',
TrackSequence VARCHAR2(0100) PATH 'ItemAttributes/TrackSequence',
TradeInValue VARCHAR2(4000) PATH 'ItemAttributes/TradeInValue',
UPC NUMBER(12) PATH 'ItemAttributes/UPC',
UPCListElement XMLTYPE PATH 'ItemAttributes/UPCList/UPCListElement',
Warranty VARCHAR2(4000) PATH 'ItemAttributes/Warranty',
WEEETaxValue VARCHAR2(0100) PATH 'ItemAttributes/WEEETaxValue'
) Item
ON
1 = 1
GROUP BY
Items.Id,
Items.Code,
Items.Message,
Items.Isvalid,
Item.Id,
Item.ASIN,
Item.DetailPageURL,
Item.SmallImage_URL,
Item.SmallImage_Height,
Item.SmallImage_Height_Units,
Item.SmallImage_Width,
Item.SmallImage_Width_Units,
Item.MediumImage_URL,
Item.MediumImage_Height,
Item.MediumImage_Height_Units,
Item.MediumImage_Width,
Item.MediumImage_Width_Units,
Item.LargeImage_URL,
Item.LargeImage_Height,
Item.LargeImage_Height_Units,
Item.LargeImage_Width,
Item.LargeImage_Width_Units,
Item.AspectRatio,
Item.AudienceRating,
Item.Binding,
Item.Brand,
Item.CEROAgeRating,
Item.ClothingSize,
Item.Color,
Item.EAN,
Item.Edition,
Item.EpisodeSequence,
Item.ESRBAgeRating,
Item.Genre,
Item.HardwarePlatform,
Item.HazardousMaterialType,
Item.IsAdultProduct,
Item.IsAutographed,
Item.ISBN,
Item.IsEligibileForTrade,
Item.IsMemorabilia,
Item.IssuesPerYear,
Item.ItemPartNumber,
Item.Label,
Item.LegalDisclaimer,
Item.ListPrice,
Item.MagazineType,
Item.Manufacturer,
Item.ManufacturerMaximumAge,
Item.ManufacturerMinimumAge,
Item.ManufacturerPartsWarrantyDesc,
Item.MediaType,
Item.Model,
Item.ModelYear,
Item.MPN,
Item.NumberOfDiscs,
Item.NumberOfIssues,
Item.NumberOfItems,
Item.NumberOfPages,
Item.NumberOfTracks,
Item.OperatingSystem,
Item.PackageDimensions_Height,
Item.PackageDimensions_Height_Units,
Item.PackageDimensions_Length,
Item.PackageDimensions_Length_Units,
Item.PackageDimensions_Weight,
Item.PackageDimensions_Weight_Units,
Item.PackageDimensions_Width,
Item.PackageDimensions_Width_Units,
Item.PackageQuantity,
Item.PartNumber,
Item.ProductGroup,
Item.ProductTypeName,
Item.ProductTypeSubcategory,
Item.PublicationDate,
Item.Publisher,
Item.RegionCode,
Item.ReleaseDate,
Item.RunningTime,
Item.SeikodoProductCode,
Item.Item_Size,
Item.SKU,
Item.Studio,
Item.SubscriptionLength,
Item.Title,
Item.TrackSequence,
Item.TradeInValue,
Item.UPC,
Item.Warranty,
Item.WEEETaxValue
ORDER BY
Items.Id,
Item.Id;By using //, i am able to use the same query for both. Is there a better way?If using a single query is a must, then I guess it's OK.
Ideally, however, i would like the text of each (without tags), separated by commas.The fn:string-join() function can do that, e.g. :
ItemLinkDesc VARCHAR2(4000) PATH 'fn:string-join(ItemLinks/ItemLink/Description, ";")'But I'm not sure it's a good idea because you'll be losing the structured nature of the data.
Maybe it would be better to collect repeating elements into a collection of SQL object types, but again it all depends on how you want to use the data later.
So, following your advice, i removed the XMLAGGs and GROUP BY clause, but, again the query works, the CTAS does not:Strange...
Works for me :
SQL> select * from v$version;
BANNER
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL>
SQL> CREATE TABLE Moocows AS
2 SELECT
3 Items.Id,
4 Items.Code,
5 Items.Message,
6 Items.Isvalid,
7 Item.Id Item_Id,
8 Item.ASIN,
9 Item.DetailPageURL,
10 Item.ItemLink,
11 Item.SmallImage_URL,
12 Item.SmallImage_Height,
13 Item.SmallImage_Height_Units,
14 Item.SmallImage_Width,
15 Item.SmallImage_Width_Units,
16 Item.MediumImage_URL,
17 Item.MediumImage_Height,
18 Item.MediumImage_Height_Units,
19 Item.MediumImage_Width,
20 Item.MediumImage_Width_Units,
21 Item.LargeImage_URL,
22 Item.LargeImage_Height,
23 Item.LargeImage_Height_Units,
24 Item.LargeImage_Width,
25 Item.LargeImage_Width_Units,
26 Item.ImageSet,
27 Item.Actor,
28 Item.Artist,
29 Item.AspectRatio,
30 Item.AudienceRating,
31 Item.AudioFormat,
32 Item.Author,
33 Item.Binding,
34 Item.Brand,
35 Item.CatalogNumberListElement,
36 Item.Category,
37 Item.CEROAgeRating,
38 Item.ClothingSize,
39 Item.Color,
40 Item.Creator,
41 Item.Director,
42 Item.EAN,
43 Item.EANListElement,
44 Item.Edition,
45 Item.EISBN,
46 Item.EpisodeSequence,
47 Item.ESRBAgeRating,
48 Item.Feature,
49 Item.Format,
50 Item.Genre,
51 Item.HardwarePlatform,
52 Item.HazardousMaterialType,
53 Item.IsAdultProduct,
54 Item.IsAutographed,
55 Item.ISBN,
56 Item.IsEligibileForTrade,
57 Item.IsMemorabilia,
58 Item.IssuesPerYear,
59 Item.ItemDimensions,
60 Item.ItemPartNumber,
61 Item.Label,
62 Item.Langauge,
63 Item.LegalDisclaimer,
64 Item.ListPrice,
65 Item.MagazineType,
66 Item.Manufacturer,
67 Item.ManufacturerMaximumAge,
68 Item.ManufacturerMinimumAge,
69 Item.ManufacturerPartsWarrantyDesc,
70 Item.MediaType,
71 Item.Model,
72 Item.ModelYear,
73 Item.MPN,
74 Item.NumberOfDiscs,
75 Item.NumberOfIssues,
76 Item.NumberOfItems,
77 Item.NumberOfPages,
78 Item.NumberOfTracks,
79 Item.OperatingSystem,
80 Item.PackageDimensions_Height,
81 Item.PackageDimensions_Height_Units,
82 Item.PackageDimensions_Length,
83 Item.PackageDimensions_Length_Units,
84 Item.PackageDimensions_Weight,
85 Item.PackageDimensions_Weight_Units,
86 Item.PackageDimensions_Width,
87 Item.PackageDimensions_Width_Units,
88 Item.PackageQuantity,
89 Item.PartNumber,
90 Item.PictureFormat,
91 Item.Platform,
92 Item.ProductGroup,
93 Item.ProductTypeName,
94 Item.ProductTypeSubcategory,
95 Item.PublicationDate,
96 Item.Publisher,
97 Item.RegionCode,
98 Item.ReleaseDate,
99 Item.RunningTime,
100 Item.SeikodoProductCode,
101 Item.Item_Size,
102 Item.SKU,
103 Item.Studio,
104 Item.SubscriptionLength,
105 Item.Title,
106 Item.TrackSequence,
107 Item.TradeInValue,
108 Item.UPC,
109 Item.UPCListElement,
110 Item.Warranty,
111 Item.WEEETaxValue
112 FROM
113 XMLTABLE
114 (
115 XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
116 '//OperationRequest/Errors/Error
117 | //Items'
118 PASSING get_document()
119 COLUMNS
120 Id FOR ORDINALITY,
121 Code VARCHAR2(0050) PATH 'Code',
122 Message VARCHAR2(4000) PATH 'Message',
123 IsValid VARCHAR2(005) PATH 'Request/IsValid',
124 Item XMLTYPE PATH 'Item'
125 ) Items
126 LEFT JOIN
127 XMLTABLE
128 (
129 XMLNAMESPACES(DEFAULT 'http://webservices.amazon.com/AWSECommerceService/2011-08-01'),
130 '/Item'
131 PASSING
132 Items.Item
133 COLUMNS
134 Id FOR ORDINALITY,
135 ASIN VARCHAR2(0010) PATH 'ASIN',
136 DetailPageURL VARCHAR2(0256) PATH 'DetailPageURL',
137 ItemLink XMLTYPE PATH 'ItemLinks/ItemLink',
138 SmallImage_URL VARCHAR2(0256) PATH 'SmallImage/URL',
139 SmallImage_Height NUMBER(4) PATH 'SmallImage/Height',
140 SmallImage_Height_Units VARCHAR2(0006) PATH 'SmallImage/Height/@Units',
141 SmallImage_Width NUMBER(4) PATH 'SmallImage/Width',
142 SmallImage_Width_Units VARCHAR2(0006) PATH 'SmallImage/Width/@Units',
143 MediumImage_URL VARCHAR2(0256) PATH 'MediumImage/URL',
144 MediumImage_Height NUMBER(4) PATH 'MediumImage/Height',
145 MediumImage_Height_Units VARCHAR2(0006) PATH 'MediumImage/Height/@Units',
146 MediumImage_Width NUMBER(4) PATH 'MediumImage/Width',
147 MediumImage_Width_Units VARCHAR2(0006) PATH 'MediumImage/Width/@Units',
148 LargeImage_URL VARCHAR2(0256) PATH 'LargeImage/URL',
149 LargeImage_Height NUMBER(4) PATH 'LargeImage/Height',
150 LargeImage_Height_Units VARCHAR2(0006) PATH 'LargeImage/Height/@Units',
151 LargeImage_Width NUMBER(4) PATH 'LargeImage/Width',
152 LargeImage_Width_Units VARCHAR2(0006) PATH 'LargeImage/Width/@Units',
153 ImageSet XMLTYPE PATH 'ImageSets/ImageSet',
154 Actor XMLTYPE PATH 'ItemAttributes/Actor',
155 Artist XMLTYPE PATH 'ItemAttributes/Artist',
156 AspectRatio VARCHAR2(0020) PATH 'ItemAttributes/AspectRatio',
157 AudienceRating VARCHAR2(0020) PATH 'ItemAttributes/AudienceRating',
158 AudioFormat XMLTYPE PATH 'ItemAttributes/AudioFormat',
159 Author XMLTYPE PATH 'ItemAttributes/Author',
160 Binding VARCHAR2(0050) PATH 'ItemAttributes/Binding',
161 Brand VARCHAR2(4000) PATH 'ItemAttributes/Brand',
162 CatalogNumberListElement XMLTYPE PATH 'ItemAttributes/CatalogNumberList/CatalogNumberListElement',
163 Category XMLTYPE PATH 'ItemAttributes/Category',
164 CEROAgeRating VARCHAR2(0020) PATH 'ItemAttributes/CEROAgeRating',
165 ClothingSize VARCHAR2(0050) PATH 'ItemAttributes/ClothingSize',
166 Color VARCHAR2(0100) PATH 'ItemAttributes/Color',
167 Creator XMLTYPE PATH 'ItemAttributes/Creator',
168 Department VARCHAR2(0050) PATH 'ItemAttributes/Department',
169 Director XMLTYPE PATH 'ItemAttributes/Director',
170 EAN NUMBER(15) PATH 'ItemAttributes/EAN',
171 EANListElement XMLTYPE PATH 'ItemAttributes/EANList/EANListElement',
172 Edition VARCHAR2(0020) PATH 'ItemAttributes/Edition',
173 EISBN XMLTYPE PATH 'ItemAttributes/EISBN',
174 EpisodeSequence VARCHAR2(0020) PATH 'ItemAttributes/EpisodeSequence',
175 ESRBAgeRating VARCHAR2(0020) PATH 'ItemAttributes/ESRBAgeRating',
176 Feature XMLTYPE PATH 'ItemAttributes/Feature',
177 Format XMLTYPE PATH 'ItemAttributes/Format',
178 Genre VARCHAR2(0050) PATH 'ItemAttributes/Genre',
179 HardwarePlatform VARCHAR2(0020) PATH 'ItemAttributes/HardwarePlatform',
180 HazardousMaterialType VARCHAR2(0050) PATH 'ItemAttributes/HazardousMaterialType',
181 IsAdultProduct VARCHAR2(0005) PATH 'ItemAttributes/IsAdultProduct',
182 IsAutographed VARCHAR2(0005) PATH 'ItemAttributes/IsAutographed',
183 ISBN VARCHAR2(0013) PATH 'ItemAttributes/ISBN',
184 IsEligibileForTrade VARCHAR2(0005) PATH 'ItemAttributes/IsEligibileForTrade',
185 IsMemorabilia VARCHAR2(0005) PATH 'ItemAttributes/IsMemorabilia',
186 IssuesPerYear VARCHAR2(0050) PATH 'ItemAttributes/IssuesPerYear',
187 ItemDimensions XMLTYPE PATH 'ItemAttributes/ItemDimensions',
188 ItemPartNumber VARCHAR2(0255) PATH 'ItemAttributes/ItemPartNumber',
189 Label VARCHAR2(4000) PATH 'ItemAttributes/Label',
190 Langauge XMLTYPE PATH 'ItemAttributes/Languages/Langauge',
191 LegalDisclaimer VARCHAR2(4000) PATH 'ItemAttributes/LegalDisclaimer',
192 ListPrice VARCHAR2(0020) PATH 'ItemAttributes/ListPrice',
193 MagazineType VARCHAR2(0020) PATH 'ItemAttributes/MagazineType',
194 Manufacturer VARCHAR2(4000) PATH 'ItemAttributes/Manufacturer',
195 ManufacturerMaximumAge VARCHAR2(0050) PATH 'ItemAttributes/ManufacturerMaximumAge',
196 ManufacturerMinimumAge VARCHAR2(0050) PATH 'ItemAttributes/ManufacturerMinimumAge',
197 ManufacturerPartsWarrantyDesc VARCHAR2(4000) PATH 'ItemAttributes/ManufacturerPartsWarrantyDesc',
198 MediaType VARCHAR2(0020) PATH 'ItemAttributes/MediaType',
199 Model VARCHAR2(0100) PATH 'ItemAttributes/Model',
200 ModelYear NUMBER(4) PATH 'ItemAttributes/ModelYear',
201 MPN VARCHAR2(0255) PATH 'ItemAttributes/MPN',
202 NumberOfDiscs NUMBER(3) PATH 'ItemAttributes/NumberOfDiscs',
203 NumberOfIssues NUMBER(3) PATH 'ItemAttributes/NumberOfIssues',
204 NumberOfItems NUMBER(7) PATH 'ItemAttributes/NumberOfItems',
205 NumberOfPages NUMBER(4) PATH 'ItemAttributes/NumberOfPages',
206 NumberOfTracks NUMBER(3) PATH 'ItemAttributes/NumberOfTracks',
207 OperatingSystem VARCHAR2(20) PATH 'ItemAttributes/OperatingSystem',
208 PackageDimensions_Height NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Height',
209 PackageDimensions_Height_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Height/@Units',
210 PackageDimensions_Length NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Length',
211 PackageDimensions_Length_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Length/@Units',
212 PackageDimensions_Weight NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Weight',
213 PackageDimensions_Weight_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Weight/@Units',
214 PackageDimensions_Width NUMBER(6) PATH 'ItemAttributes/PackageDimensions/Width',
215 PackageDimensions_Width_Units VARCHAR2(0018) PATH 'ItemAttributes/PackageDimensions/Width/@Units',
216 PackageQuantity NUMBER(5) PATH 'ItemAttributes/PackageQuantity',
217 PartNumber VARCHAR2(0100) PATH 'ItemAttributes/PartNumber',
218 PictureFormat XMLTYPE PATH 'ItemAttributes/PictureFormat',
219 Platform XMLTYPE PATH 'ItemAttributes/Platform',
220 ProductGroup VARCHAR2(0050) PATH 'ItemAttributes/ProductGroup',
221 ProductTypeName VARCHAR2(4000) PATH 'ItemAttributes/ProductTypeName',
222 ProductTypeSubcategory VARCHAR2(50) PATH 'ItemAttributes/ProductTypeSubcategory',
223 PublicationDate VARCHAR2(20) PATH 'ItemAttributes/PubliucationDate',
224 Publisher VARCHAR2(0255) PATH 'ItemAttributes/Publisher',
225 RegionCode VARCHAR2(20) PATH 'ItemAttributes/RegionCode',
226 ReleaseDate VARCHAR2(20) PATH 'ItemAttributes/ReleaseDate',
227 RunningTime VARCHAR2(20) PATH 'ItemAttributes/RunningTime',
228 SeikodoProductCode VARCHAR2(50) PATH 'ItemAttributes/SeikodoProductCode',
229 Item_Size VARCHAR2(50) PATH 'ItemAttributes/Size',
230 SKU VARCHAR2(0255) PATH 'ItemAttributes/SKU',
231 Studio VARCHAR2(0255) PATH 'ItemAttributes/Studio',
232 SubscriptionLength VARCHAR2(20) PATH 'ItemAttributes/SubscriptionLength',
233 Title VARCHAR2(4000) PATH 'ItemAttributes/Title',
234 TrackSequence VARCHAR2(0100) PATH 'ItemAttributes/TrackSequence',
235 TradeInValue VARCHAR2(4000) PATH 'ItemAttributes/TradeInValue',
236 UPC NUMBER(12) PATH 'ItemAttributes/UPC',
237 UPCListElement XMLTYPE PATH 'ItemAttributes/UPCList/UPCListElement',
238 Warranty VARCHAR2(4000) PATH 'ItemAttributes/Warranty',
239 WEEETaxValue VARCHAR2(0100) PATH 'ItemAttributes/WEEETaxValue'
240 ) Item
241 ON
242 1 = 1
243 ORDER BY
244 Items.Id,
245 Item.Id;
Table created -
I do:
var mi = new MessageItem("complexObjectNode", myUserMsg);
mi.associatedUserID = _cSession.userManager.myUserID;
mi.recipientID = budyUserID;
collectionNode.publishItem(mi);
and get:
Error: MessageManager.publishItem : cannot publish private messages on a node unless it is configured to allowPrivateMessages
at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::publishItem()
at com.adobe.rtc.sharedModel::CollectionNode/publishItem()
at SimpleChat/sendMsg()
at SimpleChat/onItemReceive()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at com.adobe.rtc.sharedModel::CollectionNode/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItem()
at com.adobe.rtc.messaging.manager::MessageManager/http://www.adobe.com/2006/connect/cocomo/messaging/internal::receiveItem()
at com.adobe.rtc.session.managers::SessionManagerBase/receiveItem()
So i did this:
var nodeConfiguration:NodeConfiguration = new NodeConfiguration();
nodeConfiguration.allowPrivateMessages = true;
collectionNode.createNode("complexObjectNode", nodeConfiguration);
but I still get the error.I figured this actually worked. I used the wrong nodeName.
-
Error on load: System.IO.IOException: The process cannot access the file
'\\server1\SCANSHARED\.pdf' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at abc.Scan.Layouts.ICC.Scan.View.Page_Load(Object sender, EventArgs e)
I faced this error in event viewer when users want to view documents from this third party deployed scan solution
here I have two WFS servers and they configured with load balancing in F5 .
when I enable both servers in F5 I receive this error messages in 2nd server,
when users want to view documents
adilDo you have antiVirus installed on the sharepoint servers?
These folders may have to be excluded from antivirus scanning when you use file-level antivirus software in SharePoint. If these folders are not excluded, you may see unexpected behavior. For example, you may receive "access denied" error messages when files
are uploaded.
Please follow this KB and exclude the folders from Scanning.
http://support.microsoft.com/kb/952167
Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog -
Hi Forum members,
We have a client that has intermittent issues with RDS on a 2012 R2 server.
As an overview of the environment, the client has a single VMWare host support 2 x Windows 2012 R2 VMs one is the File/Print/Email server and the 2nd is the RDS server used to allow the client to run MYOB Enterprise. Both servers have the AD DS role and
DNS roles amongst others.
The 1st issue is that the RD Connection Broker shows the error: "The server pool does not match the RD Connection Brokers that are in it. and then "1. Cannot connect to any of the specified RD Connection Broker servers".
The above issue seems to be caused by the RDMS service not starting. When you attempt to start it, the service stops and the error in the title is logged in the "System" event log. Full transcript below:
Log Name: System
Source: Service Control Manager
Date: 21/01/2015 4:50:32 PM
Event ID: 7024
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: intentionally removed.local
Description:
The Remote Desktop Management service terminated with the following service-specific error: %%2284126209
Event Xml:
<Event xmlns="
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7024</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2015-01-21T05:50:32.129949400Z" />
<EventRecordID>53721</EventRecordID>
<Correlation />
<Execution ProcessID="568" ThreadID="12436" />
<Channel>System</Channel>
<Computer> intentionally removed.local</Computer>
<Security />
</System>
<EventData>
<Data Name="param1">Remote Desktop Management</Data>
<Data Name="param2">%%2284126209</Data>
<Binary>520044004D0053000000</Binary>
</EventData>
</Event>
In addition in the "Application" event log, the following error is logged:
Log Name: Application
Source: MSSQL$MICROSOFT##WID
Date: 21/01/2015 5:24:47 PM
Event ID: 18456
Task Category: Logon
Level: Information
Keywords: Classic,Audit Failure
User: NETWORK SERVICE
Computer: intentionally removed.local
Description:
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. Reason: Could not find a login matching the name provided. [CLIENT: <named pipe>]
Event Xml:
<Event xmlns="
<System>
<Provider Name="MSSQL$MICROSOFT##WID" />
<EventID Qualifiers="49152">18456</EventID>
<Level>0</Level>
<Task>4</Task>
<Keywords>0x90000000000000</Keywords>
<TimeCreated SystemTime="2015-01-21T06:24:47.000000000Z" />
<EventRecordID>4228336</EventRecordID>
<Channel>Application</Channel>
<Computer>intentionally removed.local</Computer>
<Security UserID="S-1-5-20" />
</System>
<EventData>
<Data>NT AUTHORITY\NETWORK SERVICE</Data>
<Data> Reason: Could not find a login matching the name provided.</Data>
<Data> [CLIENT: <named pipe>]</Data>
<Binary>184800000E0000001F00000055004E0047004500520045005200410055005300530056005200300033005C004D004900430052004F0053004F0046005400230023005700490044000000070000006D00610073007400650072000000</Binary>
</EventData>
</Event>
I have been attempting to resolve these errors for some time, without success. I have read the many KBs and forum entries related to the above and applied a number of the suggested fixes, including the one which suggests to add the NT SERVICE\ALL SERVICES
to the "Logon as a Service" in the "User Rights Assignment" of the "Default Domain Policy" which is linked to the domain level, that both servers are objects of.
My question to the forum is, can anyone come up with a solution to resolve the above issues and all the RDMS service to start which will then hopefully resolve the broker error?
Regards,
David West.Hi David,
If virtual machines on the server are Windows Server 2012, then it is not supported to install Remote Desktop Connection Broker on a Domain Controller.
More information for you:
Remote Desktop Services role cannot co-exist with AD DS role on Windows Server 2012
http://support.microsoft.com/kb/2799605/de
Guidelines for installing the Remote Desktop Session Host role service on a computer running Windows Server 2012 without the Remote Desktop Connection Broker role service
http://support.microsoft.com/kb/2833839
If the VMs are Windows Server 2012 R2, I suggest you install RDS on a separate machine to see if the issue persists.
Best Regards,
Amy
Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
"not all variables bound" error in a BI publisher report
Hi, I'm getting a "ORA-01008: not all variables bound" error in my BI publisher report. The SQL query looks like this:
select
...--a bunch of rows
from
tbl1,tbl2,...,tblk
where
...--and conditions performing inner joins
and
(('*') in &p_SomeParameter or tbl3.SomeValueOfSameType in &p_SomeParameter)
Yet, when I comment out this last and condition, it works. Also, the default value for this parameter is ('*'). I get this error even when just trying to look the xml data itself. Has anyone seen "ORA-01008: not all variables bound" caused by a BI-Publisher report before?
Why haven't I gotten a reply to this? Did I make myself clear enough? The query runs fine in Toad. Therefore this means that BI Publisher is mangling the query before it has a chance to be processed by the Oracle RDBMS. Therefore I want to know why BI Publisher is mangling my select query and causing the RDBMS to return a "not all variables bound" error.
Message was edited by:
user586835Try, (use ':' instead of '&')
(('*') in :p_SomeParameter or tbl3.SomeValueOfSameType in :p_SomeParameter)
) -
Error while trying to publish a web service in UDDI client
hi
i m getting this error when trying to publish my web service in UDDI client.I have
configured my uddi client using Visual Administrator.I created a local test registry.The name of my registry is QuickCarRentalRegistry_Local.I created this at admin level.I also tried at level 1 Tier.But it was giving the same error.
The error is "<b> Internet Explorer Script Error</b>".my ie version is 7.0
In my alert window it displays error: 'ur_txt' is undefined.
Regards
mythri.Hi mythri.
Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
Thanks in advance.
Renan -
Windows is Scanning and repairing drive... (- Errors in Event Viewer)
Long post, please be patient... :)
I have a fairly new (purchased 8/2013) Lenovo ThinkPad T431s with Windows 8.1 Pro 64-bit (updated from 8.0 -> 8.1). It has a very tricky error coming basically 8 / 10 boots:
Windows is Scanning and repairing drive...
Error details from Windows Event Viewer (a new similar error appears on every boot to event viewer):
A corruption was discovered in the file system structure on volume \?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984}.
A file on the volume is no longer reachable from its parent directory. The parent file reference number is 0x2000000000002. The name of the parent directory is "". The parent index attribute is ":$I30:$INDEX_ALLOCATION". The file reference
number of the file that needs to be reconnected is 0x400000003db80. There may be additional files on the volume that also need to be reconnected to this parent directory.
What has been done 1st trying to fix that:
SSD disk has been changed (image from previous SSD copied back) ->
no solution, error remains
chkdsk /F /R -> no solution, error remains
SFC /scannow -> no solution, error remains
dism /online /cleanup-image /restorehealth -> no solution, error remains after a few boots
TRIED using Windows 8.1 "Update & Recovery -> Refresh Your PC without affecting your files" -> Inserted the Lenovo "Operating System Recovery Disk Windows 8 Pro (OEM Activation 3.0 Required)" BUT Windows did not accept
that DVD claiming "The media inserted is not valid"... ???
Ended up calling Lenovo Support and they instructed me to order the Recovery DVD from
Lenovorecovery.com -> Unfortunatelly Windows does not recognice the DVD(s)...
mountvol returns:
\\?\Volume{4d337687-0033-42f7-8a8e-b6968b533cb3}\
(This is my C:\ drive where Windows installation resides)
\\?\Volume{e010cf9d-c04d-4c82-b517-3cda1b647fe7}\
*** NO MOUNT POINTS ***
\\?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984}\
*** NO MOUNT POINTS ***
\\?\Volume{33f0062f-0aff-4fd2-8402-1c7911d86897}\
*** NO MOUNT POINTS ***
Then running fsutil dirty query on each returns:
Volume - \\?\Volume{4d337687-0033-42f7-8a8e-b6968b533cb3} is NOT Dirty
Volume - \\?\Volume{e010cf9d-c04d-4c82-b517-3cda1b647fe7} is NOT Dirty
Volume - \\?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984} is Dirty
Volume - \\?\Volume{33f0062f-0aff-4fd2-8402-1c7911d86897} is NOT Dirty
The chkdsk on the dirty volume
\\?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984}\ returned:
The type of the file system is NTFS.
Insufficient storage available to create either the shadow copy storage file or
other shadow copy data.
A snapshot error occured while scanning this drive. Run an offline scan and fix.
Diskpart output on the same volume:
DISKPART> lis par
Partition ### Type Size Offset
Partition 1 Reserved 128 MB 17 KB
Partition 2 Recovery 1000 MB 129 MB
Partition 3 System 260 MB 1129 MB
Partition 4 Primary 146 GB 1389 MB
Partition 5 Recovery 350 MB 147 GB
Partition 6 Recovery 19 GB 148 GB
Questions:
1) Are my Partitions OK, haven't "touched" anything?
2) Excluded the dirty volume from boot checking with chkntfs /x
-> still the Error appears in Event viewer log (but Scanning is skipped/not shown anymore during the boot).
What is causing the error?
3) Why do I have three (3) recovery partitions?What has happened in the past days:
A) Lenovo on-site-Support changed the motherboard -> had no impact on the error (which I expected).
B) I found
instructions how to manually create USB Flash stick with a booting Custom (OEM) Recovery Image.
C) Booted with USB and performed "Refresh your PC without affecting your files."
D) Windows was refreshed but...
-->>
Still the error remains (Windows scanning and repairing drive \?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984} on each and every boot.
1) Related Error in Event viewer (NTFS):
A corruption was discovered in the file system structure on volume \?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984}.
A file on the volume is no longer reachable from its parent directory. The parent file reference number is 0x2000000000002. The name of the parent directory is "". The parent index attribute is ":$I30:$INDEX_ALLOCATION". The file reference number of the
file that needs to be reconnected is 0x400000003db80. There may be additional files on the volume that also need to be reconnected to this parent directory.
2) Related Error in Event viewer (NTFS - Microsoft Windows NTFS):
Volume \\?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984} (\Device\HarddiskVolume5) needs to be taken offline to perform a Full Chkdsk. Please run "CHKDSK /F" locally via the command line, or run "REPAIR-VOLUME <drive:>" locally or remotely via
PowerShell.
-->>
Now Lenovo support is proposing a full re-install (to be performed by myself) of Windows as this is SW issue.
Summary:
- Refreshing my T431s with OEM Image does not help
- The error remains on \?\Volume{f62db2cf-efe4-4b55-a3f7-0e7db991a984} (\Device\HarddiskVolume5; Lenovo Recovery partition) OR at least Windows thinks so...
Maybe you are looking for
-
External Drives, CDs & Disk Images Won't Mount
I am having some weird issues with my G5. I recently did a fresh install of Leopard on a brand new hard drive and everything was running smoothly. I copied a bunch of settings from another drive to keep my information intact on the new install and I
-
I have an iMac 1.83 GHZ Intel Core Duo. The sound is suddenly intermittent, the magic mouse erratic. I'm running OS X 10.6.8. How do I correct this? Will Lion run on this machine?
-
Can't open files in microsoft office
I can create documents using Pages but then when I email them to other people they cannot open the files on their computers. Im assuming that they microsoft word proccessor. Very frusterating
-
Read/write file located on server
Hi, I want to read a TXT file located on server and depending on the response I want to write an XML file also located on server how could be it possible in JAVA please help me alpesh
-
User Registration Forbidden Error
I followed*Automating User Registration* section in John Edward Scott and Scott Spendolini's book Pro Oracle Application Express and receive a Forbidden error: > FORBIDDEN You don't have permission to access pls/apexcfp8/confirm.oca_sec.verify_user o