Append String if do not exists!!
How can we append a string in an array only in case if it do not exists in that array?
Thanks in advance!!
You would probably get a better response posting in the Developers Forum.
Perhaps the hosts will move your post there.
Similar Messages
-
Field T_STCD1 does not exist in form this erroe msg coming in smartform
hi,
in my smartform, if i give one set of input like, 1st qtr of 2008, vendor and compcode, its displaying the value.
but if i give the input like 1st qtr of 2007, vendor and some other compcode its giving some error like
field T_STCD1 does not exist in form .
this error coming after printpreview and not displaying.
how can i debug it.
can any one help me...........plz
its very urgent.
thanks.report zmm_vat_ex_cert message-id zz .
TABLE DECLARATION *
tables: bseg , tvko.
*Intenal Tables Declarations *
types: begin of it_address_type .
include structure zvat_vendor.
types :end of it_address_type.
types : begin of it_address_info_type.
include structure zadrc_table.
types: end of it_address_info_type.
types : begin of it_desig_type.
include structure zmm_vat_sign.
types: end of it_desig_type.
types: begin of it_bkpf_type,
bukrs type bkpf-bukrs,
belnr type bkpf-belnr,
gjahr type bkpf-gjahr,
blart type bkpf-blart,
bldat type bkpf-bldat,
xblnr type bkpf-xblnr,
awkey type bkpf-awkey ,
end of it_bkpf_type.
types : begin of it_bseg_type,
bukrs like bseg-bukrs,
belnr like bseg-belnr,
gjahr like bseg-gjahr,
bschl like bseg-bschl,
mwskz like bseg-mwskz,
shkzg like bseg-shkzg,
wrbtr like bseg-wrbtr,
sgtxt type bseg-sgtxt,
end of it_bseg_type.
types: begin of it_rseg_type,
ebeln like ekpo-ebeln,
ebelp like ekpo-ebelp,
bukrs like bkpf-bukrs,
txz01 type ekpo-txz01,
wrbtr type rseg-wrbtr,
end of it_rseg_type.
data:begda type d, endda type d.
types: begin of it_item_type.
include structure zitem_vat.
types:end of it_item_type.
data: it_rseg type table of it_rseg_type,
wa_it_rseg like line of it_rseg.
data: gt_addr type table of it_address_type.
data gt_addr_info type table of it_address_info_type.
data gt_bkpf type table of it_bkpf_type.
data gt_bseg type table of it_bseg_type.
data:
gt_tvko type standard table of tvko,
gt_item type table of it_item_type,
h_itab type table of it_bseg_type,
it_desig type table of it_desig_type,
temp_item type table of it_item_type .
data:wa_addr like line of gt_addr,
wa_addr_info like line of gt_addr_info,
wa_bkpf like line of gt_bkpf,
wa_bseg like line of gt_bseg,
wa_item like line of gt_item,
wa_h_itab like line of h_itab,
wa_it_desig like line of it_desig,
wa_temp_item like line of temp_item,
wa_tvko LIKE LINE OF gt_tvko.
wa_tvko type tvko.
Data Declaration *
data: sumtotal type bseg-wrbtr, "rbkp-waers ,
sl_no type zmm_vatex_sno-serial_no,
fiscal_year type string,
fm_name type rs38l_fnam ,
w_q_flag(5),
w_quarter type string ,
close_date type sy-datum ,
fiscal type sy-datum, fiscal_nxt type sy-datum,
gv_belnr type bkpf-belnr,
gv_gjahr type bkpf-gjahr.
data: ca_quarter type i.
data: l_adrnr type t001-adrnr.
data wa_vatex_sno type zmm_vatex_sno.
data: q(1).
data: stdtext(25).
S E L E C T I O N S C R E E N *
selection-screen begin of block b1 with frame title text-s01.
select-options: s_date for sy-datum obligatory no-extension.
parameters : vendor type lfa1-lifnr obligatory ,
compcode type bkpf-bukrs obligatory.
select-options taxcode for bseg-mwskz obligatory default 'VI'.
selection-screen end of block b1.
at selection screen
at selection-screen on s_date.
if s_date-low0(4) <> s_date-high0(4).
message e023 with text-e01.
endif.
*get calendar quarter using the month entered in From date.
*calculate the fiscal year and quarter
if s_date-low4(2) > '0' and s_date-low4(2) <= '3' .
ca_quarter = 1.
fiscal0(4) = s_date-high0(4) .
fiscal_nxt0(4) = s_date-high0(4) - 1.
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate 'last quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '4'.
elseif ( s_date-low4(2) > '3' and s_date-low4(2) <= '6' ).
ca_quarter = 2.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '1st quarter of year ' fiscal_nxt0(4) '-' fiscal0(4)
into w_quarter separated by space .
q = '1'.
elseif ( s_date-low4(2) > '6' and s_date-low4(2) <= '9' ).
ca_quarter = 3.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '2nd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '2'.
elseif ( s_date-low4(2) > '9' and s_date-low4(2) <= '12' ).
ca_quarter = 4.
w_quarter = '3rd quarter of year'.
fiscal0(4) = s_date-high0(4) + 1.
fiscal_nxt0(4) = s_date-high0(4).
concatenate fiscal_nxt2(2) '-' fiscal2(2) into fiscal_year .
concatenate '3rd quarter of year ' fiscal_nxt0(4) '-' fiscal0(4) INTO
w_quarter separated by space .
q = '3'.
endif.
*get first and last day of quarter by fetching calendar quarter and year in FM
call function 'HR_99S_GET_DATES_QUARTER'
exporting
im_quarter = ca_quarter
im_year = s_date-low+0(4)
importing
ex_begda = begda
ex_endda = endda.
*validate the input dates is start and end of quarter
if s_date-low <> begda or s_date-high <> endda.
message e023 with 'Enter quarter begin and end dates only'.
endif.
*get last day of next month. for close date
endda = endda + 1.
call function 'RP_LAST_DAY_OF_MONTHS'
exporting
day_in = endda
importing
last_day_of_month = close_date
exceptions
day_in_no_date = 1
others = 2.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Start of Selection
start-of-selection.
*CNO is specific to a Quarter/ Company code/ Vendor.
unpack vendor to vendor.
clear:sl_no, wa_vatex_sno.
select single * from zmm_vatex_sno into wa_vatex_sno where from_date
eq s_date-low and to_date eq s_date-high and vendor eq vendor
and compcode eq compcode.
if sy-subrc eq 0.
sl_no = wa_vatex_sno-serial_no.
else.
select max( serial_no ) from zmm_vatex_sno into wa_vatex_sno-serial_no WHERE
from_date eq s_date-low and to_date eq s_date-high and compcode eQ compcode.
if sy-subrc = 0.
sl_no = wa_vatex_sno-serial_no + 1.
else.
sl_no = 1.
endif.
wa_vatex_sno-from_date = s_date-low.
wa_vatex_sno-to_date = s_date-high.
wa_vatex_sno-vendor = vendor.
wa_vatex_sno-compcode = compcode.
wa_vatex_sno-serial_no = sl_no.
insert zmm_vatex_sno from wa_vatex_sno.
endif.
*data selection from bkpf by date,fiscal and compcode
refresh gt_bkpf.
select bukrs
belnr
gjahr
blart
bldat
xblnr
awkey
into table gt_bkpf from bkpf
where bukrs eq compcode and
budat in s_date and gjahr eq fiscal+0(4).
check not gt_bkpf[] is initial.
refresh gt_bseg.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr
sgtxt from bseg into table gt_bseg
for all entries in gt_bkpf where
bukrs eq compcode and
mwskz in taxcode and
lifnr eq vendor and
belnr = gt_bkpf-belnr and
gjahr = gt_bkpf-gjahr and shkzg = 'H'.
selection without vendor and posting key 40 *
refresh h_itab.
select bukrs
belnr
gjahr
bschl
mwskz
shkzg
wrbtr from bseg into table h_itab
for all entries in gt_bseg
where bukrs = gt_bseg-bukrs and
belnr = gt_bseg-belnr and
mwskz = gt_bseg-mwskz and
gjahr = gt_bseg-gjahr and
( bschl = '40' or bschl = '21' ).
if sy-subrc = 0.
deduct the amount if posting key is 40 for PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '40'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart <> 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr
and bschl = wa_bseg-bschl .
endif.
clear wa_h_itab.
endloop.
deduct the amount if posting key is 21 for non-PO based docs
clear wa_h_itab.
loop at h_itab into wa_h_itab where bschl = '21'.
clear wa_bseg.
read table gt_bseg into wa_bseg with key belnr = wa_h_itab-belnr.
if sy-subrc = 0.
read table gt_bkpf into wa_bkpf with key belnr = wa_h_itab-belnr.
if wa_bkpf-blart = 'KR'.
wa_bseg-wrbtr = wa_bseg-wrbtr - wa_h_itab-wrbtr.
endif.
modify gt_bseg from wa_bseg
transporting wrbtr where belnr = wa_bseg-belnr.
endif.
clear wa_h_itab.
endloop.
endif.
final internal table
clear wa_item. refresh gt_item. clear wa_bseg.
loop at gt_bseg into wa_bseg.
read table gt_bkpf into wa_bkpf with key belnr = wa_bseg-belnr .
if sy-subrc = 0.
move :
wa_bkpf-xblnr to wa_item-xblnr,
wa_bkpf-belnr to wa_item-belnr,
wa_bkpf-bldat to wa_item-bldat,
wa_bseg-wrbtr to wa_item-wrbtr.
endif.
*selections for item description
refresh it_rseg.
select ekpoebeln ekpoebelp ekpobukrs txz01 rsegwrbtr
into table it_rseg
from rseg join ekpo
on rsegebeln = ekpoebeln
and rsegebelp = ekpoebelp
and rsegbukrs = ekpobukrs
where rsegbelnr = wa_bkpf-awkey(10) and rseggjahr = wa_bkpf-gjahr AND
ekpo~bukrs = wa_bkpf-bukrs.
if sy-subrc = 0.
loop at it_rseg into wa_it_rseg.
wa_item-txz01 = wa_it_rseg-txz01 .
if sy-tabix <> 1.
wa_item-wrbtr = wa_it_rseg-wrbtr .
wa_item-wrbtr = space .
endif.
append wa_item to gt_item.
endloop.
else.
wa_item-txz01 = wa_bseg-sgtxt.
append wa_item to gt_item.
endif.
clear: wa_bseg, wa_item.
endloop.
*if records not found give message.
if gt_item[] is initial.
message e000(vz) with text-x01.
endif.
calculate the sumtotal
loop at gt_item into wa_item.
sumtotal = sumtotal + wa_item-wrbtr .
endloop.
Selecting supplier address *
select single * from tvko into wa_tvko where vkorg = compcode.
append wa_tvko to gt_tvko.
if wa_tvko-vkorg = '2014'.
stdtext = 'Z_2014_SOFTEX'.
elseif wa_tvko-vkorg = '2006'.
stdtext = 'Z_2006_SOFTEX'.
else.
stdtext = wa_tvko-txnam_adr.
endif.
select lifnr
name1
name2
ort01
ort02
pfach
stras
regio from lfa1 into table gt_addr
where lifnr eq vendor .
Selecting sez address *
SELECT SINGLE adrnr FROM t001 INTO l_adrnr WHERE bukrs EQ compcode.
SELECT name1
name2
city1
city2
post_code1
post_code2
street
house_num1
FROM adrc INTO TABLE gt_addr_info
WHERE addrnumber = l_adrnr.
Information for designation *
select * from zmm_vat_sign into table it_desig where company = compcode
Call Function module SSF_FUNCTION_MODULE_NAME *
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZMM_VAT_EX_CERT'
VARIANT = ' '
DIRECT_CALL = ' '
importing
fm_name = fm_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Call Function module fm_name *
call function fm_name
exporting
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
doc_num = sl_no
quarter = w_quarter
date = s_date-high
sumtotal = sumtotal
close_date = close_date
fiscal_year = fiscal_year
ca_quarter = q
text_name = stdtext
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
tables
itab = gt_item
it_address = gt_addr
it_infoaddress = gt_addr_info
it_designation = it_desig
it_tvko = gt_tvko
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif. -
GUI_DOWNLOAD - fieldnames does not exist
Hi All,
I have managed to sort out the format of my question, so I have closed the other post and started a fresh
I am wondering if you can help in anyway, I am trying to create a datafile and dump it to a PC, so far I use the cl_gui_frontend_services=>file_save_dialog to allow the user to specify the file location and this does indeed create the file, what I really need are column heading added to the file.
I have search around and it seems that I have to pass FIELDNAMES to cl_gui_frontend_services=>gui_download.
I have created the headers and insterted the field FIELDNAMES but get an error saying :
Formal Parameter FIELDNAMES does not exist.
Also I really need the fieldnames to be created by myself as a couple of the column types are the same and that would confuse the users.
Here is the code I use.
TYPES: BEGIN OF t_fieldnames_structure, " Structure for table of internal fieldnames
col_text(10) TYPE c,
END OF t_fieldnames_structure.
DATA: lw_filename TYPE string, " For file_save_dialog to store the filename
lw_path TYPE string, " For file_save_dialog to store the filepath
lw_fullpath TYPE string, " For file_save_dialog to store the full path
lw_save_result TYPE i, " For file_save_dialog to store the user input, cancel, save.....
li_fieldnames TYPE TABLE OF t_fieldnames_structure, " Internal table for the fieldnames
lwa_fieldnames LIKE LINE OF li_fieldnames. " Work area for the fieldnames internal table
lwa_fieldnames-col_text = 'MATNR'.
APPEND lwa_fieldnames TO li_fieldnames.
" Display the file save dialog
cl_gui_frontend_services=>file_save_dialog(
EXPORTING
window_title = 'Data unload'
default_extension = 'TXT'
default_file_name = 'GLD-datadump'
initial_directory = 'c:\temp\'
CHANGING
filename = lw_filename
path = lw_path
fullpath = lw_fullpath
user_action = lw_save_result
IF sy-subrc <> 0.
ENDIF.
IF lw_save_result = 0.
" User wants the data to be saved
" Write the file to the desired destination
cl_gui_frontend_services=>gui_download(
EXPORTING
filename = lw_filename
filetype = 'DAT'
write_field_separator = 'X'
CHANGING
data_tab = i_simulation_structure
fieldnames = li_fieldnames
EXCEPTIONS
file_write_error = 1
others = 24
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF. " User wants the data to be saved
If you have any ideas how I can achieve this it would be great.
Thanking you in advance
IanHi,
i would first download the header then the data with append.
here a short example:
TYPES: BEGIN OF TY_HEAD,
MATNR(18),
MTART(04),
END OF TY_HEAD.
TYPES: BEGIN OF TY_MARA,
MATNR LIKE MARA-MATNR,
MTART LIKE MARA-MTART,
END OF TY_MARA.
DATA: IT_MARA TYPE TABLE OF TY_MARA.
DATA: IT_HEAD TYPE TABLE OF TY_HEAD.
DATA: WA_HEAD TYPE TY_HEAD.
WA_HEAD-MATNR = 'Material'.
WA_HEAD-MTART = 'Mart'.
APPEND WA_HEAD TO IT_HEAD.
SELECT * FROM MARA INTO CORRESPONDING FIELDS OF TABLE IT_MARA UP TO 10 ROWS.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
FILENAME = 'C:MATNR.TXT
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = 'X'
CHANGING
DATA_TAB = IT_HEAD[].
CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
FILENAME = 'C:MATNR.TXT
FILETYPE = 'ASC'
APPEND = 'X'
WRITE_FIELD_SEPARATOR = 'X'
CHANGING
DATA_TAB = IT_MARA[].
regards, Dieter
Sorry Rajvansh,
i have just see, that you post the idea before.
Regards, Dieter
Edited by: Dieter Gröhn on Jun 7, 2011 11:39 AM -
Subnode: does not exist error in web dynpro abap
Hi Experts,
I am facing this error "Subnode FIRST_VIEW.RadioGroup does not exist ".
The Selection method and wdDoInit method code as below
method ONACTIONSELECT_ITEM .
DATA:
ItemNode TYPE REF TO IF_WD_Context_Node,
Item_Element TYPE REF TO IF_wd_Context_Element,
Item_Index type i,
Item type String,
ItemList type STANDARD TABLE OF IF_First_View=>Element_RadioGroup,
wList LIKE LINE OF ItemList.
ItemNode = Wd_Context->get_Child_Node( NAME = 'RadioGroup' ).
ItemNode->get_Static_Attributes_Table( importing table = ItemList ).
Item_Index = ItemNode->get_Lead_Selection_Index( ).
clear wList.
read table ItemList into wList Index Item_Index.
Item = wList-ebeln.
wd_Context->set_Attribute( exporting value = Item
NAME = 'Text_View' ).
endmethod.
method WDDOINIT .
DATA:
Item_Node type ref to IF_WD_Context_Node ,
Item_Element type REF TO IF_WD_Context_Element,
Item_Index TYPE i,
Item type String,
itemList type STANDARD TABLE OF IF_FIRST_VIEW=>Element_Radiogroup,
wlist like line of itemList.
appending the element list into the itemlist
wlist-ebeln = '0007' .
append wlist to itemList.
wlist-ebeln = '0008' .
append wlist to itemList.
wlist-ebeln = '0009'.
append wlist to itemList.
Item_Node = wd_Context->get_Child_Node( NAME = 'RadioGroup' ).
Item_Node->bind_table( itemList ).
Item_Node->set_Lead_Selection_Index( 3 ).
Item_Index = Item_Node->get_Lead_Selection_Index( ).
clear wlist.
READ TABLE itemList into wlist INDEX Item_Index .
Item = wlist-ebeln.
wd_Context->set_Attribute( exporting value = item
NAME = 'text_view' ).
endmethod.Hi Neel,
Please check the context node FIRST_VIEW and subnode RadioGroup create manually under cotext node tab.
Best Regards
Arun Jaiswal -
Java.sql.SQLException: ORA-01006: bind variable does not exist
The java code is given below...
/*UPDATE D9T652_DISBRSMNT_PRMTR
SET
Stmnt_Page_Wgt_Ozs = wtStatementStockSheet,
Chk_Page_Wgt_Ozs = wtCheckStockSheet,
Flat_Envelope_Wgt_Ozs = wtFlatEnv,
Half_Fold_Envelope_Wgt_Ozs = wtHalfFoldEnv,
Last_Chngd_By = TRIM(userId),
Last_Chngd_Dt = sysdate
WHERE
Ins_Sys_Id = Ins_Sys_Id_Constant_For_Compass AND
Last_Chngd_Dt = SELECT MAX(Last_Chngd_Dt)
FROM D9T652_DISBRSMNT_PRMTR
WHERE Ins_Sys_Id = Ins_Sys_Id_Constant_For_Compass
updateDbPmtr= new StringBuffer(" UPDATE ")
.append(SqlConst.PARAM)
.append(" SET ")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_DSBRSMNT_PRMTR_ID).append(" = 100, ")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_MIN_DSBRSMNT_AMT).append(" = ? ").append(",")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_OVRRD_MIN_DSBRSMNT_DT).append(" = ").append(currentTimeStamp).append(",")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_SPCL_HNDLG_AMT).append(" = ? ").append(", ")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_STMNT_DT).append(" = ").append(currentTimeStamp).append(" , ")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_LAST_CHNGD_BY).append(" ='?' ").append(" , ")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_LAST_CHNGD_DT).append(" = ").append(currentTimeStamp)
.append(" WHERE ")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_INS_SYS_ID).append(" = ? ")
.append(" AND ")
.append(SqlConst.PARAM).append(".").append(SqlConst.PARAM_LAST_CHNGD_DT)
.append(" = ")
.append(" ( SELECT ")
.append(" MAX( ").append(SqlConst.PARAM_LAST_CHNGD_DT).append(" ) ")
.append(" FROM ").append(SqlConst.PARAM)
.append(" WHERE ")
.append(SqlConst.PARAM_INS_SYS_ID).append(" = ? )").toString();
conn = SqlUtil.getConnection();
conn.setAutoCommit(false);
prepStmtDsbrsmntPmtr = conn.prepareStatement(updateDbPmtr);
prepStmtStckWght = conn.prepareStatement(updateStkWght);
String minDsbrsmntAmount = parametersListForm.getParametersForm().getMinDisbursementAmt();
String specialHndlAmount = parametersListForm.getParametersForm().getSpecialHandlingAmt();
String statementDt = parametersListForm.getParametersForm().getStatementDate();
String overrideCycleDt = parametersListForm.getParametersForm().getOverrideCycleDate();
String lastMdfdBy = parametersListForm.getParametersForm().getLastModifiedBy();
String lastMdfdDt = parametersListForm.getParametersForm().getLastModifiedDate();
String wtStmtStkSheet = parametersListForm.getParametersForm().getWtStatementStockSheet();
String wtHlfFoldEnvelope = parametersListForm.getParametersForm().getWtHalfFoldEnv();
String wtFltEnvelope = parametersListForm.getParametersForm().getWtFlatEnv();
String wtChkStkSheet = parametersListForm.getParametersForm().getWtCheckStockSheet();
prepStmtDsbrsmntPmtr.setLong(1,Integer.parseInt(minDsbrsmntAmount));
prepStmtDsbrsmntPmtr.setLong(2, Long.parseLong(specialHndlAmount));
prepStmtDsbrsmntPmtr.setString(3,lastMdfdBy);
prepStmtDsbrsmntPmtr.setLong(4,1);
prepStmtDsbrsmntPmtr.setLong(5,1);
int rUpdtInParam = prepStmtDsbrsmntPmtr.executeUpdate();
========================================================================
I am getting following errors...
[8/6/04 19:17:14:286 GMT+05:30] 19192340 SystemErr R java.sql.SQLException: ORA-01006: bind variable does not exist
[8/6/04 19:17:14:302 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:314)
[8/6/04 19:17:14:317 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:117)
[8/6/04 19:17:14:349 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:306)
[8/6/04 19:17:14:364 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:43)
[8/6/04 19:17:14:380 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:41)
[8/6/04 19:17:14:411 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:941)
[8/6/04 19:17:14:427 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:662)
[8/6/04 19:17:14:442 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:214)
[8/6/04 19:17:14:474 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:135)
[8/6/04 19:17:14:489 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:227)
[8/6/04 19:17:14:505 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:72)
[8/6/04 19:17:14:536 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:190)
[8/6/04 19:17:14:552 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:406)
[8/6/04 19:17:14:567 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:57)
[8/6/04 19:17:14:583 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:461)
[8/6/04 19:17:14:614 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
[8/6/04 19:17:14:630 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
[8/6/04 19:17:14:661 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:57)
[8/6/04 19:17:14:677 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:461)
[8/6/04 19:17:14:692 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
[8/6/04 19:17:14:708 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
[8/6/04 19:17:14:739 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
[8/6/04 19:17:14:755 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
[8/6/04 19:17:14:770 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
[8/6/04 19:17:14:802 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
[8/6/04 19:17:14:817 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:414)
[8/6/04 19:17:14:833 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
[8/6/04 19:17:14:864 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:190)
[8/6/04 19:17:14:880 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:406)
[8/6/04 19:17:14:896 GMT+05:30] 19192340 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:614)
========================================================================
Database Table:-
Desc D9T651_DSBRSMNT_PRMTR:
Name Null? Type
DSBRSMNT_PRMTR_ID NOT NULL NUMBER(38)
INS_SYS_ID NUMBER(38)
MIN_DSBRSMNT_AMT NUMBER(15,2)
OVRRD_MIN_DSBRSMNT_DT DATE
SPCL_HNDLG_AMT NUMBER(15,2)
STMNT_DT DATE
CRTD_BY VARCHAR2(30)
CRTD_DT DATE
LAST_CHNGD_BY VARCHAR2(30)
LAST_CHNGD_DT DATEWhat exactly are you trying to do? If you're trying to run an update statement, it's simpler if you do this:
PreparedStatement pstmt = null;
Connection conn = ?????;
String updateStr = "UPDATE D9T652_DISBRSMNT_PRMTR " +
"SET " +
"Stmnt_Page_Wgt_Ozs = ?, " +
"Chk_Page_Wgt_Ozs = ?, " +
"Flat_Envelope_Wgt_Ozs = ?, " +
"Half_Fold_Envelope_Wgt_Ozs = ?, " +
"Last_Chngd_By = TRIM(?), " +
"Last_Chngd_Dt = ? " +
"WHERE " +
"Ins_Sys_Id = Ins_Sys_Id_Constant_For_Compass AND " +
"Last_Chngd_Dt = (SELECT MAX(Last_Chngd_Dt) " +
"FROM D9T652_DISBRSMNT_PRMTR " +
"WHERE Ins_Sys_Id = Ins_Sys_Id_Constant_For_Compass) "
From the String constructed above, the first ? mark will be bind to 1, second to 2..... etc and you can set the appropriate types.
pstmt = conn.prepareStatement(updateStr);
pstmt.setString(1, request.getParameter("formValue1")); // this is assuming you want to store string value in DB field
pstmt.setInt(2, Integer.parseInt(request.getParameter("formValue2"))); // this is assuming you want to store int value in DB field
pstmt.setTimestamp(3, new java.sql.Timestamp(new java.util.Date().getTime())); // this is assuming you want to store current time in DB Date field
..... etc
..... etc
...... etc
int rows = pstmt.executeUpdate();
Hope this helps!! -
If image file not exist in image path crystal report not open and give me exception error problem
Hi guys my code below show pictures for all employees
code is working but i have proplem
if image not exist in path
crystal report not open and give me exception error image file not exist in path
although the employee no found in database but if image not exist in path when loop crystal report will not open
how to ignore image files not exist in path and open report this is actually what i need
my code below as following
DataTable dt = new DataTable();
string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
using (SqlConnection con = new SqlConnection(connString))
con.Open();
SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
cmd.CommandType = CommandType.StoredProcedure;
SqlDataAdapter da = new SqlDataAdapter();
da.SelectCommand = cmd;
da.Fill(dt);
foreach (DataRow dr in dt.Rows)
FileStream fs = null;
fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
BinaryReader br = new BinaryReader(fs);
byte[] imgbyte = new byte[fs.Length + 1];
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dr["Image"] = imgbyte;
fs.Dispose();
ReportDocument objRpt = new Reports.CrystalReportData2();
objRpt.SetDataSource(dt);
crystalReportViewer1.ReportSource = objRpt;
crystalReportViewer1.Refresh();
and exception error as belowFirst: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
Second : Drag And drop this image Filed Where I want.
private void LoadReport()
frmCheckWeigher rpt = new frmCheckWeigher();
CryRe_DailyBatch report = new CryRe_DailyBatch();
DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
DataTable dt = GetImageRow(table, "Footer.Jpg");
report.SetDataSource(dt);
crv1.ReportSource = report;
crv1.Refresh();
By this Function I merge My Image data into dataTable
private DataTable GetImageRow(DataTable dt, string ImageName)
try
FileStream fs;
BinaryReader br;
if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
else
// if photo does not exist show the nophoto.jpg file
fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
// initialise the binary reader from file streamobject
br = new BinaryReader(fs);
// define the byte array of filelength
byte[] imgbyte = new byte[fs.Length + 1];
// read the bytes from the binary reader
imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
dt.Rows[0]["Image"] = imgbyte;
br.Close();
// close the binary reader
fs.Close();
// close the file stream
catch (Exception ex)
// error handling
MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
return dt;
// Return Datatable After Image Row Insertion
Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP] -
The name "Folder" does not exist in the namespace
I am trying to learn Wpf and doing some of the examples on the Microsoft site. https://msdn.microsoft.com/en-us/library/vstudio/bb546972(v=vs.110).aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
I am using Visual studio 2013. As I work through the example I am getting the following error.
Error 1
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
11 17
FolderExplorer
Error 2
The name "Folder" does not exist in the namespace "clr-namespace:FolderExplorer".
c:\users\hbrown\documents\visual studio 2013\Projects\FolderExplorer\FolderExplorer\MainWindow.xaml
16 7
FolderExplorer
Here is the code:
<Window x:Class="MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:FolderExplorer"
Title="Folder Explorer" Height="350" Width="525">
<Window.Resources>
<ObjectDataProvider x:Key="RootFolderDataProvider" >
<ObjectDataProvider.ObjectInstance>
<my:Folder FullPath="C:\"/>
</ObjectDataProvider.ObjectInstance>
</ObjectDataProvider>
<HierarchicalDataTemplate
DataType = "{x:Type my:Folder}"
ItemsSource = "{Binding Path=SubFolders}">
<TextBlock Text="{Binding Path=Name}" />
</HierarchicalDataTemplate>
</Window.Resources>
I have a class file named Folder.vb with this code.
Public Class Folder
Private _folder As DirectoryInfo
Private _subFolders As ObservableCollection(Of Folder)
Private _files As ObservableCollection(Of FileInfo)
Public Sub New()
Me.FullPath = "c:\"
End Sub 'New
Public ReadOnly Property Name() As String
Get
Return Me._folder.Name
End Get
End Property
Public Property FullPath() As String
Get
Return Me._folder.FullName
End Get
Set(value As String)
If Directory.Exists(value) Then
Me._folder = New DirectoryInfo(value)
Else
Throw New ArgumentException("must exist", "fullPath")
End If
End Set
End Property
ReadOnly Property Files() As ObservableCollection(Of FileInfo)
Get
If Me._files Is Nothing Then
Me._files = New ObservableCollection(Of FileInfo)
Dim fi As FileInfo() = Me._folder.GetFiles()
Dim i As Integer
For i = 0 To fi.Length - 1
Me._files.Add(fi(i))
Next i
End If
Return Me._files
End Get
End Property
ReadOnly Property SubFolders() As ObservableCollection(Of Folder)
Get
If Me._subFolders Is Nothing Then
Try
Me._subFolders = New ObservableCollection(Of Folder)
Dim di As DirectoryInfo() = Me._folder.GetDirectories()
Dim i As Integer
For i = 0 To di.Length - 1
Dim newFolder As New Folder()
newFolder.FullPath = di(i).FullName
Me._subFolders.Add(newFolder)
Next i
Catch ex As Exception
System.Diagnostics.Trace.WriteLine(ex.Message)
End Try
End If
Return Me._subFolders
End Get
End Property
End Class
Can someone explain what is happening.
Thanks HalDid you try to build the application (Project->Build in Visual Studio) ? If the error doesn't go away then and you have no other compilation errors (if you do you need to fix these first), you should replace "FolderExplorer" with the namespace
in which the Folder class resides. If you haven't explicitly declared a namespace, you will find the name of the default namespace under Project->Properties->Root namespace. Copy the value from this text box to your XAML:
xmlns:my="clr-namespace:FolderExplorer"
The default namespace is usually the same as the name of the application by default so if your application is called "FolderExplorer" you should be able to build it.
If you cannot make it work then please upload a reproducable sample of your issue to OneDrive and post the link to it here for further help.
Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question. -
Bursting Problem - A file or directory in the path name does not exist
I'm trying to burst some data via email using the standard DocumentProcessor java code but receiving an error relating, I assume, to an invalid temporary directory. I've checked that the directory exists, as do the data file and control file. By the way I am not running in Apps, just stand alone mode. Any ideas would be much appreciated.
[042308_104249440][oracle.apps.xdo.batch.bursting.FileHandler][EXCEPTION] java.io.FileNotFoundException: /u02/DIAS/bursting/BIPublisher/tmp/042308_104249338/xdo2.tmp (A file or directory in the path name does not exist.)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:205)
at java.io.FileOutputStream.<init>(FileOutputStream.java:96)
at oracle.apps.xdo.template.RTFProcessor.setOutput(Unknown Source)
at oracle.apps.xdo.batch.bursting.FileHandler.rtf2xsl(Unknown Source)
at oracle.apps.xdo.batch.bursting.ProcessDocument.getXSLFile(Unknown Source)
at oracle.apps.xdo.batch.bursting.ProcessDocument.processTemplate(Unknown Source)
at oracle.apps.xdo.batch.bursting.ProcessCoreDocument.processLayout(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.addDocument2Queue(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.createBurstingDocument(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstDocument(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.globalDataEndElement(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(Unknown Source)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingRequest(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingEndElement(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.endElement(Unknown Source)
at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.apps.xdo.batch.BurstingProcessorEngine.burstingConfigParser(Unknown Source)
at oracle.apps.xdo.batch.BurstingProcessorEngine.process(Unknown Source)
at oracle.apps.xdo.batch.DocumentProcessor.process(Unknown Source)
at PIreportburst.bEngine(PIreportburst.java:24)
at PIreportburst.main(PIreportburst.java:51)
-Below is the java code I'm using
public void bEngine(String ctrlFile, String dataFile, String tmpDir) {
try {
DocumentProcessor dp = new DocumentProcessor(ctrlFile,dataFile,tmpDir);
dp.process();
catch (Exception e) {
System.out.println(e);
}Thanks Ike
Where do you suggest setting the temp directory:
DocumentProcessor("control.xml","data.xml","/u02/DIAS/bursting/BIPublisher/tmp/042308_104249338/xdo2.tmp")
or in the xdo.cfg:
<property name="system-temp-dir">/u02/DIAS/bursting/BIPublisher/tmp/042308_104249338/xdo2.tmp</property>
..and thanks for the link to the BIPublisherIDE
Cheers, Mike -
Error: While Opening a Custom view- Action &OBJECT_ID& does not exist
Hi Experts,
On the click of button, I am creating a window and opening as follows:
wd_comp_controller->go_window = lo_window_manager->create_window(
window_name = 'ZW_CERTIFICATION_POP'
title = lv_pop_title
close_in_any_case = abap_false
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none
I have written following code in INIT method of View to Subscribe events but it is dumping with the Error "Action &OBJECT_ID& does not exist ".
DATA lv_ok type string.
DATA lv_cancel type string.
DATA lo_popup TYPE REF TO if_wd_window.
DATA lo_view TYPE REF TO if_wd_view_controller.
DATA lo_window_ctlr type ref to if_wd_window_controller.
register button events
lo_view = wd_this->wd_get_api( ).
lo_window_ctlr = lo_view->get_embedding_window_ctlr( ).
wd_comp_controller->go_window = lo_window_ctlr->get_window( ).
lv_ok = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/OK' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = lv_ok
action_name = 'OK'
action_view = lo_view
is_default_button = abap_true
lv_cancel = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/CANCEL' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_cancel
button_text = lv_cancel
action_name = 'CANCEL'
action_view = lo_view
is_default_button = abap_true
How to solve this exception causing application to dump.
Thanks
DepeshHi Depeshn,
I have written following code in INIT method of View
I think you have writen code containg subscribe_to_button_event method in the INIT method of the pop up view. But actually you should write that code where you are generating the pop up window. i.e in the ONACTION method of the button (which when clicked generates the pop up window.)
It should be something like this:
" This whole code should come in the event handler of the button.
wd_comp_controller->go_window = lo_window_manager->create_window(
window_name = 'ZW_CERTIFICATION_POP'
title = lv_pop_title
close_in_any_case = abap_false
message_display_mode = if_wd_window=>co_msg_display_mode_selected
close_button = abap_true
button_kind = if_wd_window=>co_buttons_okcancel
message_type = if_wd_window=>co_msg_type_none
DATA lv_ok type string.
DATA lv_cancel type string.
DATA lo_popup TYPE REF TO if_wd_window.
DATA lo_view TYPE REF TO if_wd_view_controller.
DATA lo_window_ctlr type ref to if_wd_window_controller.
* register button events
lo_view = wd_this->wd_get_api( ).
lo_window_ctlr = lo_view->get_embedding_window_ctlr( ).
wd_comp_controller->go_window = lo_window_ctlr->get_window( ).
lv_ok = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/OK' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_ok
button_text = lv_ok
action_name = 'OK'
action_view = lo_view
is_default_button = abap_true
lv_cancel = cl_wd_utilities=>get_otr_text_by_alias( alias = 'PAOC_RCF_UI/CANCEL' ).
wd_comp_controller->go_window->subscribe_to_button_event(
button = if_wd_window=>co_button_cancel
button_text = lv_cancel
action_name = 'CANCEL'
action_view = lo_view
is_default_button = abap_true
I hope it helps.
Regards
Arjun -
JDODataStoreException: The instance null does not exist in the data store
I'm unable to figure out how this exception occurs.
I have a class IDCounter which has a number of fields such as
'm_Name' (String)
'm_AccountName' (String)
'm_UserName' (String)
'm_Description' (String)
'm_CreationDate' (Date)
'm_LastModifiedDate' (Date)
'm_DeletedDate' (Date)
'm_Count' (long)
The filter I'm using is "m_AccountName == \"test\" && m_UserName
==\"test\" && m_DeletedDate == null"
The generated SQL statement is "SELECT t0.M_IDX, t0.JDOCLASSX,
t0.JDOLOCKX, t0.M_ACCOUNTNAMEX, t0.M_CREATIONDATEX, t0.M_DELETEDDATEX,
t0.M_DESCRIPTIONX, t0.M_LASTMODIFIEDDATEX, t0.M_NAMEX, t0.M_USERNAMEX,
t0.M_COUNTX FROM ABSTRACTENTITYX t0 WHERE ((t0.M_DELETEDDATEX IS NULL) AND
t0.JDOCLASSX = 'com.ewarna.pdm.entities.IDCounter')"
Exception Trace:
javax.jdo.JDODataStoreException: The instance null does not exist in the
data store.
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.instantiateRow(LazyResultList.java:165)
at
com.solarmetric.kodo.impl.jdbc.runtime.LazyResultList.get(LazyResultList.java:96)
at java.util.AbstractList$Itr.next(AbstractList.java:416)
at
com.solarmetric.kodo.runtime.ResultListIterator.next(ResultListIterator.java:49)
at
com.solarmetric.kodo.impl.jdbc.runtime.ResultListFactory.createResultList(ResultListFactory.java:85)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.executeQuery(JDBCStoreManager.java:646)
at
com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.executeQuery(JDBCQuery.java:150)
at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:580)
at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:428)
at
com.solarmetric.kodo.query.QueryImpl$SynchronizedQuery.execute(QueryImpl.java:1331)
at
com.ewarna.pdm.sessions.persistence.BasicQuery.getByAdvancedFormula(BasicQuery.java:78)
at
com.ewarna.pdm.sessions.persistence.BasicQuery.getByFormula(BasicQuery.java:119)
at
com.ewarna.pdm.sessions.persistence.BasicQuery.getByFormula(BasicQuery.java:95)
at
com.ewarna.pdm.sessions.persistence.BasicQuery.getAll(BasicQuery.java:131)
at
com.ewarna.pdm.sessions.persistence.GenericEntityManager$7.execute(GenericEntityManager.java:305)
at
com.ewarna.pdm.sessions.persistence.GenericEntityManager.execute(GenericEntityManager.java:251)
... 18 moreYoucan no longer display a workbook. You receive an error message when opening: <Internal error>: 1201 document storage
Cause and prerequisites
In very rare cases, when you store a workbook, you might not be able to open it again.
Solution
Function module BDS_PHIOS_GET_RIGHT has to be changed so that the last available version of the Workbooks can be displayed. -
VMM 2012R2 UR4 - Version 3.2.7768.0
Not sure when this started happening since I haven't had to update or create a new RunAs account in VMM in some time, but every time I do, either through the console or through PowerShell it throws an error about The specified directory service attribute
or value does not exist. The VMM Service account is the same as it always has been, and other than this issue everything with VMM is working fine. The full text of the error message is below.
I am hoping someone has some ideas because I don't have any more at this point.
------------------- Error Report -------------------
Error report created 12/22/2014 9:43:33 AM
CLR is not terminating
--------------- Bucketing Parameters ---------------
EventType=VMM20
P1(appName)=vmmservice.exe
P2(appVersion)=3.2.7768.0
P3(assemblyName)=Microsoft.Cryptography.DKM.dll
P4(assemblyVer)=3.2.7510.0
P5(methodName)=Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys
P6(exceptionType)=System.Runtime.InteropServices.COMException
P7(callstackHash)=d0d2
SCVMM Version=3.2.7768.0
SCVMM flavor=C-buddy-RTL-AMD64
Default Assembly Version=3.2.7768.0
Executable Name=vmmservice.exe
Executable Version=3.2.7768.0
Base Exception Target Site=140712994535888
Base Exception Assembly name=System.DirectoryServices.dll
Base Exception Method Name=System.DirectoryServices.DirectoryEntry.Bind
Exception Message=The specified directory service attribute or value does not exist.
EIP=0x00007ffa67d15bf8
Build bit-size=64
------------ exceptionObject.ToString() ------------
System.Runtime.InteropServices.COMException (0x8007200A): The specified directory service attribute or value does not exist.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
at Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys()
at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.FindNewestKey()
at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy)
at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext)
at Microsoft.VirtualManager.Engine.DKMUtil.Protect(Byte[] data)
at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(Char[] data)
at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(SecureString data)
at Microsoft.VirtualManager.DB.RunAs.RunAsDBAccess.UpsertRunAsAccount(RunAsAccountData data, SqlContext context, Boolean isAdd, Boolean setCredential)
at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.AddOrUpdateObjectInDB(SqlContext context, Boolean setCredential)
at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.UpdateDB(SqlContext ctx, Boolean setCredential)
at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.Update(SqlContext ctx, Boolean setCredential)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetRunAsAccountTask.RunSubtask()
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
--------------- exception.StackTrace ---------------
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_IsContainer()
at System.DirectoryServices.DirectoryEntries.ChildEnumerator..ctor(DirectoryEntry container)
at Microsoft.Incubation.Crypto.GroupKeys.ADRepository.EnumerateKeys()
at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.FindNewestKey()
at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.GetCurrentKeyAndUpdate(KeyPolicy& keyPolicy)
at Microsoft.Incubation.Crypto.GroupKeys.DKMBase.Protect(MemoryStream plaintext)
at Microsoft.VirtualManager.Engine.DKMUtil.Protect(Byte[] data)
at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(Char[] data)
at Microsoft.VirtualManager.Engine.CryptoHelper.Protect(SecureString data)
at Microsoft.VirtualManager.DB.RunAs.RunAsDBAccess.UpsertRunAsAccount(RunAsAccountData data, SqlContext context, Boolean isAdd, Boolean setCredential)
at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.AddOrUpdateObjectInDB(SqlContext context, Boolean setCredential)
at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.UpdateDB(SqlContext ctx, Boolean setCredential)
at Microsoft.VirtualManager.Engine.RunAs.RunAsAccount.Update(SqlContext ctx, Boolean setCredential)
at Microsoft.VirtualManager.Engine.AuthorizationManager.SetRunAsAccountTask.RunSubtask()
at Microsoft.VirtualManager.Engine.TaskRepository.SubtaskBase.Run()
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
------------- StackTrace from handler --------------
This is the call stack from where the exception was caught, not where it was thrown.
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.WriteReportTextFile(TextWriter reportFile)
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonReport.Send()
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonExceptionReport.Send()
at Microsoft.VirtualManager.Utils.Diagnostics.WatsonCenter.ReportException(Exception e, WERReportOptions options, String& localReportPath)
at Microsoft.VirtualManager.Engine.TaskRepository.Task`1.SubtaskRun(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
-------------------- Assemblies --------------------
mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
Module=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll
Version=4.0.30319.34014
BuildType=retail
Product=Microsoft® .NET Framework
VMMService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\vmmservice.exe
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.ServiceProcess, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll
Version=4.0.30319.34003
BuildType=retail
Product=Microsoft® .NET Framework
TraceWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\TraceWrapper.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Utils.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
NativeMethods, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NativeMethods.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Common, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Common.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.IndigoAccessLayer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.IndigoAccessLayer.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
Skuhelper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Skuhelper.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Errors, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Errors.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Remoting, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Remoting.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Runtime.Serialization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll
Version=4.0.30319.34230
BuildType=retail
Product=Microsoft® .NET Framework
System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll
Version=4.0.30319.33440
Product=Microsoft® .NET Framework
System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.AccountManagement\v4.0_4.0.0.0__b77a5c561934e089\System.DirectoryServices.AccountManagement.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll
Version=4.0.30319.34230
BuildType=retail
Product=Microsoft® .NET Framework
Engine.Adhc.Operations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Adhc.Operations.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.TaskRepository, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.TaskRepository.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
ImgLibEngine, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ImgLibEngine.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
VmmHelperHost, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VmmHelperHost.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
VirtualizationInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VirtualizationInterfaces.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
NetworkServiceInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\NetworkServiceInterfaces.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
ClusterUtil, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\ClusterUtil.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
VMWareImplementation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\VMWareImplementation.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.AuthorizationManager, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManager.dll
Version=3.2.7672.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.AuthorizationManagerTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.AuthorizationManagerTasks.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Backup, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Backup.dll
Version=3.2.7672.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.BitBos, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.BitBos.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll
Version=6.3.9600.17090
BuildType=retail
Product=Microsoft (R) Windows (R) Operating System
WsManWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WsManWrappers.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
SqmWrapper, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\SqmWrapper.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Deployment, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Deployment.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Placement.ResourceModel, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.ResourceModel.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.ImgLibOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ImgLibOperation.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll
Version=4.0.30319.34230
BuildType=retail
Product=Microsoft® .NET Framework
Engine.CustomProperties, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomProperties.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.VmOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.VmOperations.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.MomDal, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.MomDal.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Web.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
Engine.PxeServer, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.PxeServer.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Placement, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Placement.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.P2VCommon, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.P2VCommon.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
PatchExtractor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\PatchExtractor.dll
Engine.ConfigurationProviders, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ConfigurationProviders.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
GatewayInterfaces, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GatewayInterfaces.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Microsoft.Management.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Management.Infrastructure\v4.0_1.0.0.0__31bf3856ad364e35\Microsoft.Management.Infrastructure.dll
Version=6.3.9600.16384
BuildType=retail
Product=Microsoft (R) Windows (R) Operating System
Microsoft.CapacityManager.Modeling.Store.ModelLibrary, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Microsoft.CapacityManager.Modeling.Store.ModelLibrary.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.CustomPropertyTasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CustomPropertyTasks.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.UMOperation, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.UMOperation.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Scheduler, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Scheduler.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.Tasks, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.Tasks.dll
Version=3.2.7672.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.ServiceOperations, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.ServiceOperations.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
GoalState, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\GoalState.dll
Version=3.2.7768.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
Engine.CloudService, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\Engine.CloudService.dll
Version=3.2.7672.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
WSManAutomation, Version=3.2.7768.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WSManAutomation.dll
wmiWrappers, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
Location=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
Module=D:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\Bin\WMIWrappers.dll
Version=3.2.7510.0
BuildType=retail
Product=System Center Virtual Machine Manager 2012 R2
System.Transactions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll
Version=4.0.30319.33440
Product=Microsoft® .NET Framework
System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.Wrapper.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
Location=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
Module=C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll
Version=4.0.30319.33440
BuildType=retail
Product=Microsoft® .NET Framework
--------- Extra Data for Watson Report -------------
Error Reporting Enabled=True
*** Extra Data ***
Process ID = 4356 (0x1104)
Managed Thread ID = 18
Native Thread ID = 5520 (0x1590)
MCITP | VCP4 | VCP5Hi,
You want userPrincipalName, not userPrincipleName.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680857%28v=vs.85%29.aspx
Don't retire TechNet! -
(Don't give up yet - 12,575+ strong and growing) -
Appended Key figure is not working in Delta reverse record
Dear All,
I have enhanced 2LIS_11_VASCL datasource, to pull value from condition record, called Surchage.
I have set reversal indicator for this field in my datasource. I have written code in CMOD to get this value from KONV table of that sales order.
Now when value is changed, delta record for this, automatically creates reversal record, but it shows new value of surcharge as negative, because that code is pulling value which currently exists in table.
For example for order 350089 , if surchage is $ 100 . User changes it to $200
Then I get following record.
Reversal Record - $200 (This should be instead -$100 , i.e. previous value)
New Record - $100.
Because of this my new value is not getting updated in table.
I can't use overwrite mode in ODS because some other technical reason.
How can I solve this problem?
appended Key figure is not working in Delta reverse recordLIS have before-after delta. So ODS should be in Overwrite mode. If that is not possible.. try sorting the records in Start Routine such way that the - 100 $ is above the - 200 $ records in Data Package.
but this is risky as it will affect other key figures for which things maybe fine. I guess you need take Data Package records in an internal table. And then sort this internal table. then you can read the internal table in update routine of this key figure.
OR (If you are on BI 7.0) you introduce an InfoSource in between DS and DSO with Overwrite mode for this Key Figure. -
Compile Error: "schema 'name' does not exist
Im trying to build a program that quereys a table in a database but i keep getting this error. Am i missing a link between the files or am i missing a line of code in my program??
Apologies. I receive a compiler error which reads as follows;
java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
java.sql.SQLSyntaxErrorException: Schema 'DEMO' does not exist
Heres the main body of code i am trying to execute.
public class Main {
* @param args the command line arguments
public static void main(String[] args) {
// TODO code application logic here
try{
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
}catch(ClassNotFoundException e){
System.out.println(e);
try{
Connection con = DriverManager.getConnection("jdbc:derby://localhost:1527/SimpleDBDemo", "demo", "demo");
Statement stmt = con.createStatement();
ResultSet rs = stmt.executeQuery("SELECT * FROM DEMO.Table1");
while (rs.next()) {
String s = rs.getString("Name");
float n = rs.getFloat("Age");
System.out.println(s + " " + n);
}catch(SQLException e){
System.err.println(e);
I am using NetBeans IDE and have created a database under: Services->Databases-> Java DB->SimpleDBDemo.
I have a database connection in which theres a simple table (called "TABLE1") created which contains the names and ages of two people.
Hope this makes the problem a bit clearer.
Any help would be greatly appreciated. -
[Symptom]
======================
In Exchange 2007, when you want to export mailbox to a .pst file, you should run the
Export-Mailbox cmdlet from a 32-bit computer that has the following installed:
The 32-bit version of the Exchange management tools
Microsoft Office Outlook 2003 SP2 or later versions
If not, you may encounter the following error message:
You check that you have these required installed, but you get the error below when you run Export-Mailbox in EMS.
“The specified mailbox database [Mailbox Database Name] does not exist.”
[Cause Analysis]
=======================================
This is because that the account you use to run Export-Mailbox cmdlet don’t have the Exchange Server Administrator role assigned.
You can check if this account has been delegated the Exchange Server Administrator role through the following path.
EMC -> Organization Configuration-> Check permissions in the result pane.
To delegate this Exchange Server Administrator role, right click on the
Organization Configuration node and choose Add Exchange Administrator,
you will see the Add Exchange Administrator window.
[More Information]
==============================
Export-Mailbox
http://technet.microsoft.com/en-gb/library/aa998579(v=exchg.80).aspx
How to Export and Import mailboxes to PST files in Exchange 2007 SP1
http://blogs.technet.com/b/exchange/archive/2007/04/13/3401913.aspx
Exchange 2007 cannot export pst files via its powershell
http://social.technet.microsoft.com/Forums/forefront/en-US/b3bc0dce-35f3-4a69-9a33-4f2a855b9f94/exchange-2007-cannot-export-pst-files-via-its-powershell?forum=exchangesvrgenerallegacy
Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.Hi,
Based on my test, if you make the user the owner of the database (rather than a user with the db_owner role), when you create a query, it creates it under the dbo schema rather than DOMAIN\username.
Steps to do so (in Management Studio):
Right click database, select Properties
Click File
Change Owner in the textbox
OK to confirm
Downside - other users under db_owner role will still have their username appended. So schemas have to be created for these users.
Jaynet Zhang
TechNet Community Support -
The view 'cpdpopupeditactionsview' does not exist.
I just installed UCM without any issues as far as I could see, but when I log in as sysadmin at http://localhost/idc/ I always get a popup box saying:
"The view 'cpdpopupeditactionsview' does not exist."
Looking for the cpdpopupeditactionsview string in the UCM installation directory gives me this:
grep -i cpdpopupeditactionsview -R $UCM
$UCM/server/custom/ContentFolios/templates/idc_folio_display.js: "CpdPopupEditActionsView", idc.folio.display._popupEditActions);
$UCM/server/custom/ContentFolios/templates/idc_folio_display.js: idc.folio.util.loadFolioView("CpdPopupEditActionsView", null, null, callback);
$UCM/server/weblayout/help/admin/folios_admin/wwhdata/js/search/search0.js:if(x.t("cpdpopupeditactionsview"))y.f("7,1");
$UCM/server/weblayout/help/admin/folios_admin/wwhdata/java/search.xml:<i t="cpdpopupeditactionsview" l="7#1"/>
$UCM/server/weblayout/help/admin/folios_admin/page_1_08.htm:<a name="wp1090240"> </a><div class="pSmartList1"><li>CpdPopupEditActionsView</li></div>
$UCM/server/weblayout/resources/folios/util.js: "CpdPopupEditActionsView", idc.folio.display._popupEditActions);
$UCM/server/weblayout/resources/folios/util.js: idc.folio.util.loadFolioView("CpdPopupEditActionsView", null, null, callback);Anyone know why this is happening?
ThanksHi
This issue is resolved by manually uninstalling the ContentFolios component via editing the database directly. This only works if the client does not have any ContentFolio data - created or migrated; if they do have existing Content Folio data this will cause great harm to the integrity of their collection.
1. Uninstall the ContentFolios component.
2. Delete the following tables from the database;
CpdArchivedLinks, CpdBasketLinks, CpdChangeHistory, CpdLinks
3. Delete the entry for ContentFolios from the Config table.
4. Restart the Content Server.
5. Install the ContentFolios component.
Hope this helps
Thanks
Srinath
Maybe you are looking for
-
Issue in Bursting with XML Publisher in Applications
Hi , After I submitted the conc.request for XML Output PDF, the request is getting Completed with Normal Status. I'm getting the below NULL Pointer Exception. Please find the below EXCEPTION from logfile. =============================================
-
Currently for our RMA process we, have an equipment number, Serial number, material number. We convert the RMA to a repair sales order. I would like this data from the RMA to populate the vbap table. I see that vbap has field equnr but this field nev
-
Not able to open XMind files from IE in read only mode
I have configured my SharePoint Farm to support .xmind file types Below are the steps I have done 1. Added an entry in DOCICON.XML <Mapping Key="xmind" Value="xmind_file1.png" EditText="XMind Mapping Software" OpenControl="SharePoint.OpenDocum
-
Dear All Can i get a report Purchase item wise like Item no,item name,Batch no,Purchase quantity,price,po date,vendor name,sale qty, sale price, customer name ,so date means if i purchase 30 qty of A item and if it sales in 5 ,10,15 slots
-
Hi All, I have a table containing data like this Person_name Time_spent Date/time ABC 5.5 16-sep-10 12:00 ABC 3 16-sep-10 05:30 ABC 2.5 17-sep-10 12:00 ABC .5 16-sep-10 09:00 What I want is to get data like this Person_name Time_spent Date/time ABC 9