Dump error with GUI 7.1
Hello,
I have GUI 7.1 with patch 6 on my PC. I receive a dump error 'EXCEPTION_ERROR' when I double click on a BI transfer link and can not run the program. On another PC with a lower patch level everything runs fine. I don't think it is caused by a program error but rather something with the GUI. What do you suggest?
Thx in advance,
Ali
upgrade to SP11 available for downloading and working fine.
Similar Messages
-
Short dump error with InfoSource
Hi All,
When i try to open Accounts Payable Infosource in BW production, It is returning with the short dump error ' Assertion was violated'.
R_AWBOBJ ->. may I know what is this error.
I created generic datasource in ECC DEV and replicated into BW DEV system, After that I created necessary infoobjects, infosource, transformations, ODS, DTP, InfoPackage and loaded data into it under Accounte Payable in BW DEV. Everything was fine, So I released every object into production successfully.
I asked our network guy to move them into production, When he try to move them they are returning with the errors. Which doesn't happen before. Is this anything effected with the existed AP infosource in production as i explained above error? But still these are not moved into production.I released generic datasource from ECC DEV to ECC PRD.
Data loading was stopped for Line Items DSO under Accounts Payable, Because of these process chains were failed.
Please let me know where i did wrong or what steps i have to follow further. We are on BI7.0 systems.
We recently installed our BI systems.
Please help me anyone ASAP, I appreciated any help.
Thanks,
Aparna.HI,
If I can understand properly the infosource is the generated object from DSO begnining with 8*? updating AP DSO?
Or it is the self created infsource updating the AP DSO??
What I can understand is you already had a flow in production which was working fine.
Then you did some development inculding a new DSO...this new DSO contained some infoobject fields common with the already live AP DSO in production.
new DSO transport failed in production and becasue of which the data loads to the old AP DSO in production has stopped.
The issue could be that since the transport failed... these infoobjects are into incosistent state.
check these common infoobjects in prodution first.
All I can suggest is transport the DSO again production for AP DSO so that its in consistent state along with the infoobjects.
The infoobjects must be consistent for the DSO, generated data source and infosource to work properly.
Eeen if the infosource is generated one( 8*XXXXXX) transport the respective DSO again in production along with required infoobjects.
Transport the cutomized infosource as well if created.
Thanks
Ajeet -
Hello, I've been working on some Java as part of an engineering project, however my skills with Java aren't great, and my skills with GUI and Networking (which this involves) were only as a user before starting this. A problem that I haven't been able to get around is an exception error when using the actionPerformed method from java.awt.* .
My goal is to be able to, when a button is pushed, send a UDP packet with the command of the button to another PC. My understanding from tutorials is that actionPerformed is the method to use for when buttons are pushed, however creating or using a DatagramSocket inside this method causes an exception error (java.net.SocketException). Normally I would just tell it to throw exceptions, but when trying it says it cannot overwrite the method. I thought I got around this by placing the socket within another method and calling that instead, but that just simply caused a different exception (java.lang.Exception).
Any suggestions on how to make this work, or am I using the wrong method for this sort of thing?
Some code snippets:
Version 1
//when the buttons are pushed, this does the actions required.
public void actionPerformed(ActionEvent evt){
DatagramSocket socket = new DatagramSocket(11111); //Error here
Object source = evt.getSource();
Version 2
//when the buttons are pushed, this does the actions required.
public void actionPerformed(ActionEvent evt){
Object source = evt.getSource();
byte[] comm;
if (source == Identify) {
command = "identify";
comm = command.getBytes();
this.sendIt(command); //Errors here
version = this.getIt(); //and here
Version 3
//when the buttons are pushed, this does the actions required.
public void actionPerformed(ActionEvent evt)throws Exception { //Error Here
Object source = evt.getSource();
Thanks for any help.you can use the try-catch clause ...
like this:
public void actionPerformed(ActionEvent e){
try{
if(e.getSource() == myButton)
// your code here...
catch(Exception err){
err.printStackTrace(); // will print the error... read the first line error msg
} -
Console error with GUI , return code -17
Hi All,
I have just finished the Installation of SAP IDES 4.7. Installation was sucessful, after that I Installed GUI 640. But when we are starting the Console it is starting without any error which also shows WP table details in run mode. When we logon to gui, console becomes "Yellow" and dispatch process stop with a return code -17.
Please help.
Thanks
Jagat.Hi Kaushal,
Thanks for ur reply. Actually when we started the installation process, and GUI, we have not provide the loopback adapter in the Primary DNS, but Loopback Adapter was properly configured with IP.
Later on we realised and added the 127.0.0.1 in the Primary DNS. But its still not working.
The Log which u have asked for is attached.
trc file: "dev_w0", trc level: 1, release: "620"
ACTIVE TRACE LEVEL 1
ACTIVE TRACE COMPONENTS all, M
B
B Sat Mar 04 10:18:27 2000
B create_con (con_name=R/3)
B Loading DB library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' ...
B Library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' loaded
B Version of 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' is "620.02", patchlevel (0.112)
B New connection 0 created
M systemid 560 (PC with Windows NT)
M relno 6200
M patchlevel 0
M patchno 251
M intno 20020600
M pid 2792
M
M ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2792) [dpxxdisp.c 1016]
I MtxInit: -2 0 0
X
X Sat Mar 04 10:18:29 2000
X EmInit: MmSetImplementation( 2 ).
X <ES> client 0 initializing ....
X Using implementation std
M <EsNT> Memory Reset enabled as NT default
X ES initialized.
M calling db_connect ...
C Got ORACLE_HOME=D:\oracle\ora81 from environment
C
C Sat Mar 04 10:18:30 2000
C Client NLS settings: AMERICAN_AMERICA.WE8DEC
C Logon as OPS$-user to get SAPTEK's password
C Connecting as /@TEK on connection 0 ...
C Attaching to DB Server TEK (con_hdl=0,svchp=06A497E8,svrhp=06A495F4)
C
C Sat Mar 04 10:19:07 2000
C Starting user session (con_hdl=0,svchp=06A497E8,srvhp=06A495F4,usrhp=06A913AC)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
[dboci.c 3718]
C *** ERROR => CONNECT failed with sql error '1017'
[dboci.c 9536]
C Try to connect with default password
C Connecting as SAPTEK/<pwd>@TEK on connection 0 ...
C Starting user session (con_hdl=0,svchp=06A497E8,srvhp=06A495F4,usrhp=06A913AC)
C *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
[dboci.c 3718]
C *** ERROR => CONNECT failed with sql error '1017'
[dboci.c 9536]
B ***LOG BY2=> sql error 1017 performing CON [dbsh#2 @ 962] [dbsh 0962 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#2 @ 962] [dbsh 0962 ]
B ***LOG BY2=> sql error 1017 performing CON [dblink#1 @ 419] [dblink 0419 ]
B ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#1 @ 419] [dblink 0419 ]
M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c 1098]
M in_ThErrHandle: 1
M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c 8277]
M
M Info for wp 0
M
M stat = 4
M reqtype = 1
M act_reqtype = -1
M tid = -1
M mode = 255
M len = -1
M rq_id = -1
M rq_source = 255
M last_tid = 0
M last_mode = 0
M rfc_req = 0
M report = > <
M action = 0
M tab_name = > <
M
M *****************************************************************************
M *
M * LOCATION SAP-Server sapsrv_TEK_00 on host sapsrv (wp 0)
M * ERROR tskh_init: db_connect
M *
M * TIME Sat Mar 04 10:19:07 2000
M * RELEASE 620
M * COMPONENT Taskhandler
M * VERSION 1
M * RC 13
M * MODULE thxxhead.c
M * LINE 8408
M * COUNTER 1
M *
M *****************************************************************************
M
M Entering TH_CALLHOOKS
M ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
M ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
M *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c 672]
M *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c 235]
M Entering ThSetStatError
M Entering ThReadDetachMode
M call ThrShutDown (1)...
M ***LOG Q02=> wp_halt, WPStop (Workproc 0 2792) [dpnttool.c 345] -
Hi,
whenever I use GUI_DOWNLOD (cl_gui_frontend_services=>gui_download)
I get a popup (title "SapGuI file save options") with the message "The file ... might be overwritten by a download. Do you want to allow this?".
I have to confirm and then the download starts. Note: it happens also when the target file does not exist. Only my home office connected over VPN acts like this. SAp Gui is 640 Final Release Build 760892 Patch level 11.
WS_DOWNLOAD does not show this phenomenon.
Anybody experienced this?Hi,
I solved the problem by accessing the SapGui options.
Under the local data settings -> Front end security, there is an option I didn't find in the help file.
I unchecked the marker and it solved my problem.
I hoe it helps. -
hi..
have a problem regarding loging into sap.... the problem is..
i have istalled sap on my laptop and
as i click on logon tab on the gui screen i get a error message like
<b>ABAP/4 runtime error</b> and on the status bar i get the error
<b>DBIF_RSQL_TABLE_UNKNOWN occured. P1=[RSQL/FT</b>
SO KINDLY HELP ME OUT...
TANX IN ADVANCE...what have you installed on your laptop? SAPGUI or the SAP IDES. or any thing else?
-
DoScript Execution Error with GUI
Dear all,
I am facing a problem, I made a dialog box and several Checkbox options in that, and for every checkbox i just wan to run an script.
but it shows an error after clicking ok button, The error is
"Can not handle the request because a modal dialog or alert is active"
here is my code
function ps()
var res =
"dialog{\
orientation:'column',\
alignChildren:'left',\
img:Image{\
size:[130,90]\
xmlot:Panel\
xml:Group{\
orientation:'row',\
s:StaticText {text:'Select For XML Export'}\
b: Checkbox{text:'Word Out From Index', alignment:'left'}, \
c: Checkbox{text:'Index Out With Page Number', alignment:'left'}, \
d: Checkbox{text:'XML Out', alignment:'left'}, \
buttons: Group { orientation: 'row', alignment: 'right', \
okBtn: Button { text:'OK', properties:{name:'ok'} }, \
cancelBtn: Button { text:'Cancel', properties:{name:'cancel'} } \
var win = new Window(res,"Utility");
win.center();
win.img.icon = File("/InDesign/logo.jpg");
win.buttons.okBtn.onClick = function ()
if(app.documents.count()>0)
{if(win.xmlot.xml.b.value==true)
{app.doScript (new File("/InDesign/wo.jsx"), ScriptLanguage.JAVASCRIPT);}
if(win.xmlot.xml.c.value==true)
{app.doScript (new File("/InDesign/Generation.jsx"), ScriptLanguage.JAVASCRIPT);}
if(win.xmlot.xml.d.value==true)
{app.doScript (new File("/InDesign/Export.jsx"), ScriptLanguage.JAVASCRIPT);}
win.buttons.cancelBtn.onClick = function (){
win.close (true);
win.show();Yup.
To rephrase Marijan's answer:
The modal dialog that is open is your own!
You need to close it before you execute any code which touches the InDesign-specific part of the DOM...
Harbs -
RSA1 going to shortdump, ERROR: Invalid GUI input data: Message no. 00123
dear experts,
while executing RSA1 going to short dump, ERROR: Invalid GUI input data: Message no. 00123 in sap-bi 7.0
plz need help,
regards.John,
Those are the specs of the Software Components, the backend... As we mentioned before, download the latest SAPGUI version and install it in your PC...
The latest SAPGUI can be downloaded from https://websmp204.sap-ag.de/support, go to Downloads, then "Browse the Navigation Area", on the left click "A-Z Index", then click on "G" and you'll see the "SAP GUI FOR WINDOWS" option, click on it...
You can download it from here... Please notice your OSS user needs authorization to do so... Probably need to check with your Basis guys for this...
Hope this helps.
Luis -
App-V 5 SP1: Error with SAP GUI 7.3
Hallo!
We work on a project to use SAP GUI 7.3 with latest fixes with App-V 5. This works fine so far with the exception of only one transaction in SAP - SWDD. This windows shows no icons on top. After waiting for a while this transaction stops working and SAP
GUI crashes. SAP support says it's an error with App-V. So we tried to find some error with process monitor. We are able to see many of these errors:
Date & Time: 19.11.2013 11:02:26
Event Class: Registry
Operation: RegOpenKey
Result: NAME NOT FOUND
Path: HKU\S-1-5-21-1393060369-1102717077-1881041405-25977_CLASSES\AppV\Client\Packages\4782139E-FD11-4C4D-84FB-57E849A8B823\Registry\Machine\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
TID: 10504
Duration: 0.0000049
Desired Access: Maximum Allowed
Date & Time: 19.11.2013 11:02:31
Event Class: Registry
Operation: RegEnumKey
Result: BUFFER TOO SMALL
Path: HKCR\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
TID: 10504
Duration: 0.0000021
Index: 0
Length: 0
Date & Time: 19.11.2013 11:02:31
Event Class: Registry
Operation: RegOpenKey
Result: NAME NOT FOUND
Path: HKLM\SOFTWARE\Microsoft\AppV\Client\Packages\4782139E-FD11-4C4D-84FB-57E849A8B823\Versions\E7BFC8A3-BB43-4739-A7A8-604AA3A68E84\Registry\Machine\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
TID: 10504
Duration: 0.0000123
Desired Access: Maximum Allowed
There are hundreds of these entries. What are these NAME NOT FOUND errors? Did anyone of you successful sequence SAP Gui 7.3 with App-V 5?
Thanks for help.
DietmarHello,
See this topic which explains BUFFER TO SMALL.
http://blogs.technet.com/b/markrussinovich/archive/2005/05/17/buffer-overflows.aspx
The Name not found indicates that it is looking for a registry key (location is the path) and not finding it. That may not be a problem, as it usually traverses multiple locations (HKCU and / or HKLM, native and virtual..).
First question is;
On a machine with SAP installed natively - is there an entry named;
HKLM\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
or
HKCU\Software\Classes\CLSID\{3BE786A0-0366-4F5C-9434-25CF162E475E}\ExtendedErrors
If yes, does it exist in the package?
Nicke Källén | The Knack| Twitter:
@Znackattack -
ABAP dump Error while creating service order in PCUI.
Hi Experts,
We are getting following ABAP dump error while creating service order in PCUI which is working fine in GUI.
Runtime Errors RAISE_EXCEPTION
Date and Time 02.01.2008 14:55:38
Short text
Exception condition "TYPE_NOT_FOUND" raised.
What happened?
The current ABAP/4 program encountered an unexpected
situation.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A RAISE statement in the program "CL_CRM_ELEMDESCR==============CP" raised the
exception
condition "TYPE_NOT_FOUND".
Since the exception was not intercepted by a superior
program, processing was terminated.
Short description of exception condition:
For detailed documentation of the exception condition, use
Transaction SE37 (Function Library). You can take the called
| function module from the display of active calls.
We have added custom fields in the service application. these custom fields with Z-structure & data elements are included in BSP structure CRMT_BSP_SRV_OIC_SRCHRES in development system.But the same Z structure & custom fields are exist in the production system but not included in BSP Structue CRMT_BSP_SRV_OIC_SRCHRES.
This may be the reason resulting this ABAP dump error in PCUI while creating Service order.
How these Z structures can be included in the BSP Structure CRMT_BSP_SRV_OIC_SRCHRES in production system?
Helpful answers would be rewrded max points as it is high priority issue.
Regards,
Basavaraj PatilHi Thirumala,
Thnaks for the reply.
I have enhanced service application using transaction EEWB to add new custom fields. these fields are there in Z structure created by the system in production system. All the transports are moved to target system. Problem is that Z structure( contains custom fields) created while doing EEWB is not included in BSP structure.
I f transports are missed to move to target system, Is there any other alternative to solve this problem?
Regards,
Basavaraj Patil -
Dump Msg
With ABAP/4 Open SQL array select, the output table is too small.
What happened?
Error in ABAP application program.
The current ABAP program "ZFLEXI" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
My logic is :
*& Report : ZDLYDSPHNEW *
*& Purpose : Daily Godown dispatches with condition valu details *
REPORT ZDLYDSPH NO STANDARD PAGE HEADING LINE-SIZE 255 LINE-COUNT 30(10)
MESSAGE-ID SK .
TYPE-POOLS: SLIS,ABAP.
CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
TABLES : VBRK, "Billing document header detail
VBRP, "Billing document item details
MAKT, "Material Description
BHDGD,
MARA, "Material Master
KNA1, "Customer Master Table
TSPA,
J_1IEXCHDR.
FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
<DYN_WA>,
<DYN_FIELD>.
DATA: DY_TABLE TYPE REF TO DATA,
DY_LINE TYPE REF TO DATA,
XFC TYPE LVC_S_FCAT,
IFC TYPE LVC_T_FCAT,
DYN_TABLE TYPE STANDARD TABLE OF KOMG WITH HEADER LINE.
DATA: P_TABLE(30) TYPE C VALUE 'VBRK'.
Selection Screen Started
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK B_1 WITH FRAME TITLE TEXT-010.
SELECT-OPTIONS : S_FKDAT FOR VBRK-FKDAT OBLIGATORY,
S_SPART FOR VBRK-SPART OBLIGATORY,
S_VBELN FOR VBRK-VBELN,
S_KUNAG FOR VBRK-KUNAG,
S_FKART FOR VBRK-FKART,
S_WERKS FOR VBRP-WERKS," obligatory,
S_VKBUR FOR VBRP-VKBUR,
S_VKORG FOR VBRK-VKORG OBLIGATORY,
S_VKGRP FOR VBRP-VKGRP, " sales group
S_RFBSK FOR VBRK-RFBSK OBLIGATORY DEFAULT 'C'.
SELECTION-SCREEN END OF BLOCK B_1.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK B_2 WITH FRAME TITLE TEXT-011.
PARAMETERS : P_VARI LIKE DISVARIANT-VARIANT.
SELECTION-SCREEN END OF BLOCK B_2.
START-OF-SELECTION.
PERFORM GET_FIELDS.
PERFORM GET_STRUCTURE.
PERFORM NEW_DYNAMIC_TABLE.
PERFORM GET_OUTPUT_DATA.
PERFORM OUTPUT_WRITE.
PERFORM GENERATE_OUTPUT.
*& Form NEW_DYNAMIC_TABLE
text
--> p1 text
<-- p2 text
FORM NEW_DYNAMIC_TABLE .
Create dynamic internal table and assign to FS
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = IFC
IMPORTING
EP_TABLE = DY_TABLE.
ASSIGN DY_TABLE->* TO <DYN_TABLE>.
Create dynamic work area and assign to FS
CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
ASSIGN DY_LINE->* TO <DYN_WA>.
PERFORM ASSIGN_VALUES-SELECTED.
ENDFORM. " NEW_DYNAMIC_TABLE
*& Form GENERATE_OUTPUT
text
--> p1 text
<-- p2 text
FORM GENERATE_OUTPUT .
ENDFORM. " GENERATE_OUTPUT
*& Form GET_BILLING_HEADER
text
--> p1 text
<-- p2 text
FORM GET_BILLING_HEADER .
SELECT * INTO CORRESPONDING FIELDS OF TABLE I_VBRK
FROM VBRK
WHERE VBELN IN S_VBELN
AND FKART IN S_FKART
AND VKORG IN S_VKORG
AND FKDAT IN S_FKDAT
AND RFBSK IN S_RFBSK
AND KUNAG IN S_KUNAG
AND SPART IN S_SPART ORDER BY FKDAT.
LOOP AT I_VBRK.
ASSIGN I_VBRK TO <HEADER>.
ASSIGN I_VBRK TO <DATA_TAB>.
ASSIGN I_VBRK TO <F>.
CASE TITEL-FELDNAME.
WHEN OTHERS.
READ TABLE G_T_TEXTS_ALL
WITH KEY TABNAME = TITEL-TABNAME
FIELDNAME = TITEL-FIELD
INTO G_S_TEXT.
DATEN-DATEN = <HEADER>.
DATEN-DATEN = <DATAIN>.
MOVE-CORRESPONDING <HEADER> TO DATEN.
CLEAR DATEN-DATEN.
if titel-tabname+0(5) = 'VBRK'.
ASSIGN (TITEL-FELDNAME) TO <HEADER>.
DATEN-DATEN = <HEADER>.
ENDIF.
ENDCASE.
DATEN-ZEILE = ZEILE.
APPEND DATEN.
ENDLOOP.
ENDFORM. " GET_BILLING_HEADER
*& Form GET_STRUCTURE
text
--> p1 text
<-- p2 text
FORM GET_STRUCTURE .
DATA : IDETAILS TYPE ABAP_COMPDESCR_TAB,
XDETAILS TYPE ABAP_COMPDESCR.
DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR.
Get the structure of the table.
REF_TABLE_DES ?=
CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( P_TABLE ).
IDETAILS[] = REF_TABLE_DES->COMPONENTS.
LOOP AT IDETAILS INTO XDETAILS.
CLEAR XFC.
XFC-FIELDNAME = XDETAILS-NAME .
XFC-DATATYPE = XDETAILS-TYPE_KIND.
XFC-INTTYPE = XDETAILS-TYPE_KIND.
XFC-INTLEN = XDETAILS-LENGTH.
XFC-DECIMALS = XDETAILS-DECIMALS.
APPEND XFC TO IFC.
ENDLOOP.
ENDFORM. " GET_STRUCTURE
*& Form GET_OUTPUT_DATA
text
--> p1 text
<-- p2 text
FORM GET_OUTPUT_DATA .
Select Data from table.
SELECT * INTO TABLE <DYN_TABLE>
FROM ( VBRK )
WHERE VBELN IN S_VBELN
AND FKART IN S_FKART
AND VKORG IN S_VKORG
AND FKDAT IN S_FKDAT
AND RFBSK IN S_RFBSK
AND KUNAG IN S_KUNAG
AND SPART IN S_SPART ORDER BY FKDAT.
ENDFORM. " GET_OUTPUT_DATA
*& Form OUTPUT_WRITE
text
--> p1 text
<-- p2 text
FORM OUTPUT_WRITE .
LOOP AT <DYN_TABLE> INTO <DYN_WA>.
DO.
ASSIGN COMPONENT SY-INDEX
OF STRUCTURE <DYN_WA> TO <DYN_FIELD>.
IF SY-SUBRC EQ 0.
EXIT.
ENDIF.
IF SY-INDEX = 1.
WRITE:/ <DYN_FIELD>.
ELSE.
WRITE: <DYN_FIELD>.
ENDIF.
ENDDO.
ENDLOOP.
ENDFORM. " OUTPUT_WRITE
Edited by: ABHUT on May 27, 2008 11:34 AMDump Msg
With ABAP/4 Open SQL array select, the output table is too small.
What happened?
Error in ABAP application program.
The current ABAP program "ZFLEXI" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
My logic is :
*& Report : ZDLYDSPHNEW *
*& Purpose : Daily Godown dispatches with condition valu details *
REPORT ZDLYDSPH NO STANDARD PAGE HEADING LINE-SIZE 255 LINE-COUNT 30(10)
MESSAGE-ID SK .
TYPE-POOLS: SLIS,ABAP.
CONSTANTS: FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE 'TOP_OF_PAGE'.
TABLES : VBRK, "Billing document header detail
VBRP, "Billing document item details
MAKT, "Material Description
BHDGD,
MARA, "Material Master
KNA1, "Customer Master Table
TSPA,
J_1IEXCHDR.
FIELD-SYMBOLS: <DYN_TABLE> TYPE STANDARD TABLE,
<DYN_WA>,
<DYN_FIELD>.
DATA: DY_TABLE TYPE REF TO DATA,
DY_LINE TYPE REF TO DATA,
XFC TYPE LVC_S_FCAT,
IFC TYPE LVC_T_FCAT,
DYN_TABLE TYPE STANDARD TABLE OF KOMG WITH HEADER LINE.
DATA: P_TABLE(30) TYPE C VALUE 'VBRK'.
Selection Screen Started
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK B_1 WITH FRAME TITLE TEXT-010.
SELECT-OPTIONS : S_FKDAT FOR VBRK-FKDAT OBLIGATORY,
S_SPART FOR VBRK-SPART OBLIGATORY,
S_VBELN FOR VBRK-VBELN,
S_KUNAG FOR VBRK-KUNAG,
S_FKART FOR VBRK-FKART,
S_WERKS FOR VBRP-WERKS," obligatory,
S_VKBUR FOR VBRP-VKBUR,
S_VKORG FOR VBRK-VKORG OBLIGATORY,
S_VKGRP FOR VBRP-VKGRP, " sales group
S_RFBSK FOR VBRK-RFBSK OBLIGATORY DEFAULT 'C'.
SELECTION-SCREEN END OF BLOCK B_1.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK B_2 WITH FRAME TITLE TEXT-011.
PARAMETERS : P_VARI LIKE DISVARIANT-VARIANT.
SELECTION-SCREEN END OF BLOCK B_2.
START-OF-SELECTION.
PERFORM GET_FIELDS.
PERFORM GET_STRUCTURE.
PERFORM NEW_DYNAMIC_TABLE.
PERFORM GET_OUTPUT_DATA.
PERFORM OUTPUT_WRITE.
PERFORM GENERATE_OUTPUT.
*& Form NEW_DYNAMIC_TABLE
text
--> p1 text
<-- p2 text
FORM NEW_DYNAMIC_TABLE .
Create dynamic internal table and assign to FS
CALL METHOD CL_ALV_TABLE_CREATE=>CREATE_DYNAMIC_TABLE
EXPORTING
IT_FIELDCATALOG = IFC
IMPORTING
EP_TABLE = DY_TABLE.
ASSIGN DY_TABLE->* TO <DYN_TABLE>.
Create dynamic work area and assign to FS
CREATE DATA DY_LINE LIKE LINE OF <DYN_TABLE>.
ASSIGN DY_LINE->* TO <DYN_WA>.
PERFORM ASSIGN_VALUES-SELECTED.
ENDFORM. " NEW_DYNAMIC_TABLE
*& Form GENERATE_OUTPUT
text
--> p1 text
<-- p2 text
FORM GENERATE_OUTPUT .
ENDFORM. " GENERATE_OUTPUT
*& Form GET_STRUCTURE
text
--> p1 text
<-- p2 text
FORM GET_STRUCTURE .
DATA : IDETAILS TYPE ABAP_COMPDESCR_TAB,
XDETAILS TYPE ABAP_COMPDESCR.
DATA : REF_TABLE_DES TYPE REF TO CL_ABAP_STRUCTDESCR.
Get the structure of the table.
REF_TABLE_DES ?=
CL_ABAP_TYPEDESCR=>DESCRIBE_BY_NAME( P_TABLE ).
IDETAILS[] = REF_TABLE_DES->COMPONENTS.
LOOP AT IDETAILS INTO XDETAILS.
CLEAR XFC.
XFC-FIELDNAME = XDETAILS-NAME .
XFC-DATATYPE = XDETAILS-TYPE_KIND.
XFC-INTTYPE = XDETAILS-TYPE_KIND.
XFC-INTLEN = XDETAILS-LENGTH.
XFC-DECIMALS = XDETAILS-DECIMALS.
APPEND XFC TO IFC.
ENDLOOP.
ENDFORM. " GET_STRUCTURE
*& Form GET_OUTPUT_DATA
text
--> p1 text
<-- p2 text
FORM GET_OUTPUT_DATA .
Select Data from table.
SELECT * INTO TABLE <DYN_TABLE>
FROM ( VBRK )
WHERE VBELN IN S_VBELN
AND FKART IN S_FKART
AND VKORG IN S_VKORG
AND FKDAT IN S_FKDAT
AND RFBSK IN S_RFBSK
AND KUNAG IN S_KUNAG
AND SPART IN S_SPART ORDER BY FKDAT.
ENDFORM. " GET_OUTPUT_DATA
*& Form OUTPUT_WRITE
text
--> p1 text
<-- p2 text
FORM OUTPUT_WRITE .
LOOP AT <DYN_TABLE> INTO <DYN_WA>.
DO.
ASSIGN COMPONENT SY-INDEX
OF STRUCTURE <DYN_WA> TO <DYN_FIELD>.
IF SY-SUBRC EQ 0.
EXIT.
ENDIF.
IF SY-INDEX = 1.
WRITE:/ <DYN_FIELD>.
ELSE.
WRITE: <DYN_FIELD>.
ENDIF.
ENDDO.
ENDLOOP.
ENDFORM. " OUTPUT_WRITE
Edited by: ABHUT on May 27, 2008 11:34 AM -
What is the purpose of short dump error report generated by the system? What r the major parts/section of this report?
hi please look through this:
Whenever any transaction or any process is executed it hits an ABAP code.
If there is any issue in executing the code the situation is called "ABAP DUMP" or 'Short Dump'
Transaction ST22 is used to check any ABAP Dump within a given duration.
U can also fix the issue with the help of ABAP editor (Transaction Code SE38) if u r good with ABAP.
you can select back to the last 14 days if you are
running the SAP_REORG_ABAPDUMPS job (program RSSNAPDL) which deletes te
old ABAP dumps every day, possibly further if you run it weekly or
monthly.
sap-basis sap-basisAll Groups Ignore this text box. It is used to detect spammers.If you enter anything into this text box, no search results will be displayed.
SAP Groups > Technical-functional > sap-basis > Message
About This Group | Invite peers to join this group
<< Prev thread < Prev msg Next msg > Next thread >>
short dump----urgent
Reply from Keith Lewis on 5/2/2003 3:22:00 AM
Good explanation Joy, but it is not only limited to the current day and
yesterday. If you click on the Selection button you can select previous
days as well. In fact you can select back to the last 14 days if you are
running the SAP_REORG_ABAPDUMPS job (program RSSNAPDL) which deletes te
old ABAP dumps every day, possibly further if you run it weekly or
monthly.
Cheers
Keith
SAP R/3 Support Specialist
Information Services International
Tel +44 1664 41 6178 Mobile +44 7887 627818
E-mail email@removed
Archive Page - http://www.ittoolbox.com//I/sap-r3-basis.asp
Dear sreenivas
If you receive an error message in the R/3 System log (SM21), or if you
see
a terminated update in the update service analysis transaction (SM13), or
DB
realated error ,check for dumps using the dump analysis transaction
(transaction ST22), or choose Tools -> Administration -> Monitoring ->
Dump
analysis.
Transaction ST22 enables you to analyze short dumps from the current and
previous day.
The dump analysis function shows you:
What happened
What you can do
How to correct the error
The dump analysis function also provides an error ID and keywords that you
can use to search in SAPNet, as well as information about:
The system environment
Users and transactions
Transaction ST22 enables you to analyze the following data:
Date, time, user, client
Contents of system and data fields
Contents of internal tables and application tables
ST22 is a very nice feature in SAP. This is where all the system errors
and users mistakes showed up. If there is a problem that you cannot
solve and you contact SAP support, they look at this area to analyze it.
This gives us lead where to handle the problems.
Error analysis
How to correct the error
System environment
User, transaction...
Information on where termination occurred
Contents of system fields
Chosen variables
Active calls / events
Internal notes
Active calls in SAP kernel
List of ABAP programs affected
List of internal tables
Directory of application tables (contents)
Directory of data areas (administration information)
Directory of data areas (contents)
ABAP control blocks CONT
End of runtime analysis
i think this would be helpful
regards
sravani -
Getting a program Dump Error in Herarchial ALV
Hello All,
I am getting a dump error when I am executing the below program. Kindly help as I am not getting the output. However all the subroutines are getting properly populated with data. Getting a dump error while calling the function : REUSE_ALV_HIERSEQ_LIST_DISPLAY
Pasted below are both the question and solution. Copy the solution in SE38 and execute it to check out the dump error.
Kindly help.
Thanks,
Vinod.
QUESTION :-
Objective
Hierarchical ALV for displaying Sales documents per customer
Design
Create a program that will allow the user to display all customers that have placed Sales Orders in the given date range. The user will have an ability to drill-down to see the sales order items per customer.
Selection screen fields
Sales order creation date (range)
Customer number (range)
Output
Header
Customer Number
Customer Name
Total Order value (sum of order values from items below)
Details
Sales order number
Material number
Order quantity
Order value
Reference
Tables: KNA1, VBAK, VBAP
Transaction VA03 (Sales order)
SOLUTION :-
*& Report Z_HALV_32722 *
REPORT Z_HALV_32722 .
TYPE-POOLS: slis.
TABLES : kna1,
vbak.
SELECT-OPTIONS: s_cst_no FOR kna1-kunnr.
SELECT-OPTIONS: s_cr_dt FOR vbak-erdat.
DATA : BEGIN of ty_hdr,
kunnr TYPE vbak-kunnr,
name1 TYPE kna1-name1,
netwr TYPE vbak-netwr,
END of ty_hdr,
gt_hdr LIKE TABLE OF ty_hdr,
gs_hdr LIKE LINE OF gt_hdr.
DATA : BEGIN of ty_ln,
kunnr TYPE vbak-kunnr,
vbeln TYPE vbap-vbeln,
matnr TYPE vbap-matnr,
kwmeng TYPE vbap-kwmeng,
netwr TYPE vbap-netwr,
END of ty_ln,
gt_ln LIKE TABLE OF ty_ln,
gs_ln LIKE LINE OF gt_ln.
DATA : BEGIN of ty_hdr1,
kunnr TYPE vbak-kunnr,
END of ty_hdr1,
gt_hdr1 LIKE TABLE OF ty_hdr1,
gs_hdr1 LIKE LINE OF gt_hdr1.
DATA : gt_fc TYPE slis_t_fieldcat_alv,
gs_fc LIKE LINE OF gt_fc,
gs_k_fld TYPE slis_keyinfo_alv,
gt_layout TYPE slis_layout_alv,
gv_repid TYPE sy-repid.
START-OF-SELECTION.
gv_repid = sy-repid.
perform fetch_data.
perform prepare_fc.
perform prepare_layout.
perform show_output.
*& Form fetch_data
text
--> p1 text
<-- p2 text
form fetch_data .
SELECT kunnr
INTO CORRESPONDING FIELDS OF TABLE gt_hdr1
FROM vbak
WHERE vbak~kunnr IN s_cst_no
AND vbak~erdat IN s_cr_dt.
DELETE ADJACENT DUPLICATES FROM gt_hdr1 COMPARING kunnr.
LOOP AT gt_hdr1 INTO gs_hdr1.
SELECT SINGLE vbakkunnr kna1name1 SUM( vbak~netwr )
INTO (gs_hdr-kunnr, gs_hdr-name1, gs_hdr-netwr)
FROM vbak INNER JOIN kna1
ON vbakkunnr = kna1kunnr
WHERE vbak~kunnr = gs_hdr1-kunnr
GROUP BY vbakkunnr kna1name1.
APPEND gs_hdr TO gt_hdr.
SELECT vbakkunnr vbapvbeln vbapmatnr vbapkwmeng vbap~netwr
INTO CORRESPONDING FIELDS OF TABLE gt_ln
FROM vbap INNER JOIN vbak
ON vbapvbeln = vbakvbeln
WHERE vbak~kunnr = gs_hdr1-kunnr.
ENDLOOP.
endform. " fetch_data
*& Form prepare_fc
text
--> p1 text
<-- p2 text
form prepare_fc .
CLEAR gs_k_fld.
gs_k_fld-header01 = 'KUNNR'.
gs_k_fld-item01 = 'KUNNR'.
CLEAR gs_fc.
gs_fc-fieldname = 'KUNNR'.
gs_fc-tabname = 'GT_HDR'.
gs_fc-seltext_l = text-001.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'NAME1'.
gs_fc-tabname = 'GT_HDR'.
gs_fc-seltext_l = text-002.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'NETWR'.
gs_fc-tabname = 'GT_HDR'.
gs_fc-seltext_l = text-003.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'VBELN'.
gs_fc-tabname = 'GT_LN'.
gs_fc-seltext_l = text-004.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'MATNR'.
gs_fc-tabname = 'GT_LN'.
gs_fc-seltext_l = text-005.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'KWMENG'.
gs_fc-tabname = 'GT_LN'.
gs_fc-seltext_l = text-006.
APPEND gs_fc TO gt_fc.
CLEAR gs_fc.
gs_fc-fieldname = 'NETWR'.
gs_fc-tabname = 'GT_LN'.
gs_fc-seltext_l = text-007.
APPEND gs_fc TO gt_fc.
endform. " prepare_fc
*& Form prepare_layout
text
--> p1 text
<-- p2 text
form prepare_layout .
gt_layout-colwidth_optimize = 'X'.
gt_layout-expand_fieldname = 'TST'.
endform. " prepare_layout
*& Form show_output
text
--> p1 text
<-- p2 text
form show_output .
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_CALLBACK_PROGRAM = gv_repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = ' '
IS_LAYOUT = gt_layout
IT_FIELDCAT = gt_fc
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
i_tabname_header = 'GT_HDR'
i_tabname_item = 'GT_LN'
I_STRUCTURE_NAME_HEADER =
I_STRUCTURE_NAME_ITEM =
is_keyinfo = gs_k_fld
IS_PRINT =
IS_REPREP_ID =
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
tables
t_outtab_header = GT_HDR[]
t_outtab_item = GT_LN[]
EXCEPTIONS
PROGRAM_ERROR = 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.
endform. " show_outputEverything looks fine with the gt_layout, it is not an internal table, so no need to append to it, it is simply a structure, but you do tell it that TST is the expand field, but there is no field of this name in your internal for the header, so add it like this.
DATA : BEGIN of ty_hdr,
kunnr TYPE vbak-kunnr,
name1 TYPE kna1-name1,
netwr TYPE vbak-netwr,
<b>TST type c,</b>
END of ty_hdr,
Doing so should make you program work correctly.
Regards,
Rich Heilman
Message was edited by:
Rich Heilman -
Dump error when clicked on text elements in SAP Script window
Hi All,
There is an inclusion in SAP Script. I have written the code in driver program. I need to pass the value to SAP Script in the requested position. But when I go to SE71 > Form Name > Change or Display > MAIN Window > Text Elements > I get a dump error.
Category ABAP Programming Error
Runtime Errors DATA_LENGTH_TOO_LARGE
Except. CX_SY_RANGE_OUT_OF_BOUNDS
ABAP Program SAPLSTXK
Application Component BC-SRV-SCR
Date and Time 30.04.2014 20:00:08
Short text
Invalid partial field access: Length is too large
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLSTXK" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
caught in
procedure "TOKEN_COMMENT" "(FORM)", nor was it propagated by a RAISING clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
In the executed program "SAPLSTXK", the system attempted to access the field
"ITF_TOKEN" of the type "C" and with the length 255 using the length 272.
However, a partial field access with a length specification that is
larger than the field length is not allowed.
How to correct the error
Reduce the length used to access the field.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"DATA_LENGTH_TOO_LARGE" "CX_SY_RANGE_OUT_OF_BOUNDS"
"SAPLSTXK" or "LSTXKFRN"
"TOKEN_COMMENT"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
2937 * todo empty comment ???
2938 if g_tm_open eq true or " Section
2939 g_tm_b_close eq true.
2940 l_token = '\chcbpat0'.
2941 l_len = strlen( l_token ).
2942 token_control = true.
2943 assign l_token to <itf1>.
2944 perform put_itf1_new using l_len.
2945 perform token_line_begin changing l_next_token.
2946 else. " without section
2947 concatenate '\chcbpat0\line' g_cf_string l_cbpat_token into l_token.
2948 l_len = strlen( l_token ).
2949 token_control = true.
2950 assign l_token to <itf1>.
2951 perform put_itf1_new using l_len.
2952 endif.
2953 elseif l_next_token-code eq ')L'. " \par
2954 l_token = '\par'.
2955 l_len = strlen( l_token ).
2956 token_control = true.
2957 assign l_token to <itf1>.
2958 perform put_itf1_new using l_len.
2959 elseif l_next_token-code eq '(C' or " \par + format
2960 l_next_token-code eq ')C' or
2961 l_next_token-code eq '(&' or
2962 l_next_token-code eq 'TA' or
2963 l_next_token-code eq 'SC' or
2964 l_next_token-code eq 'ST'.
2965 concatenate '\chcbpat0\par' g_pf_string g_cf_string l_cbpat_token into l_token.
2966 l_len = strlen( l_token ).
>>>>> itf_token(l_len) = l_token.
2968 token_control = true.
2969 assign l_token to <itf1>.
2970 perform put_itf1_new using l_len.
2971 endif.
2972
2973 * Step 7: (L to disarm
2974 if g_compose eq true and
2975 l_next_token-code eq '(L'.
2976 perform read_next_itf_token(rstxscan) using p_token.
2977 endif.
2978
2979 ENDFORM. " token_comment
2980 *&---------------------------------------------------------------------*
2981 *& Form create_lang_info
2982 *&---------------------------------------------------------------------*
2983 * add default language to rtf
2984 *----------------------------------------------------------------------*
2985 * -->P_HEADER text
2986 * <--P_RESULT text
How do I open the text elements? I need to pass the variable inside SAP Script.
Please Help. The requirement is pending from very long. Not able to rectify this issue.
Regards,
RekhaHi,
There is a SAP Note about this problem
566794 - Runtime error: STRING_OFFSET_TOO_LARGE during conversion
Correction Instructions
Correction Instructions
Software Component
Valid from
Valid to
Number
SAP_BASIS
46B
46D
473267
SAP_BASIS
610
620
473185
Support Packages & Patches
Support Packages
Software Component
Release
Support Package
SAP_BASIS
46B
SAPKB46B48
46C
SAPKB46C39
46D
SAPKB46D28
610
SAPKB61027
620
SAPKB62014
Regards
Miguel -
When I pull up the Term store in CA or any MySite collection, it works.
When I do so in any other site collection (HNSCs, incidentally), It doesn't return any term stores.
My ULS log immediately before and after the "/_vti_bin/taxonomyinternalservice.json/CheckPermission" POST on termstore .aspx triggers the WCF call:
Claims Authentication af30y Verbose Claims Windows Sign-In: Successfully signed-in the the user 'contoso\domainUser' for request url 'https://sp13-root-prd.contoso.com/_vti_bin/taxonomyinternalservice.json/CheckPermission'.
Claims Authentication af30q Verbose Updating header 'LOGON_USER' with value '0#.w|contoso\domainUser' for the request url 'https://sp13-root-prd.contoso.com/_vti_bin/taxonomyinternalservice.json/CheckPermission'.
Authentication Authorization agb9s Medium Non-OAuth request. IsAuthenticated=True, UserIdentityName=0#.w|contoso\domainUser, ClaimsCount=77
Logging Correlation Data xmnv Medium Site=/
Topology e5mc Medium WcfSendRequest: RemoteAddress: 'http://CONTOSOFE3:32843/00e6d55691824965ac223f1d1cfae6d2/MetadataWebService.svc' Channel: 'Microsoft.SharePoint.Taxonomy.IMetadataWebServiceApplication' Action: 'http://schemas.microsoft.com/sharepoint/taxonomy/soap/IDataAccessReadOnly/GetChanges2' MessageId: 'urn:uuid:590e916c-c89a-4f89-9819-a82c97fabcaa'
Claims Authentication bz7l Medium SPSecurityContext: Could not retrieve a valid windows identity for username 'contoso\domainUser' with UPN '[email protected]'. UPN is required when Kerberos constrained delegation is used. Exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: WTS0003: The caller is not authorized to access the service. (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is: System.UnauthorizedAccessException: WTS0003: The caller is not authorized to access the service. at Microsoft.IdentityModel.WindowsTokenService.CallerSecurity.CheckCaller(WindowsIdentity callerIdentity) at Microsoft.IdentityModel.WindowsTokenService.S4UServiceContract.PerformLogon(Func`1 logonOperation, Int32 pid) at SyncInvokeUpnLogon(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet))..
Claims Authentication g220 Unexpected No windows identity for contoso\domainUser.
The "The caller is not authorized to access the service." message seems pertinent.
Both web apps are using only NTLM auth.
The url for both web apps ends in the same contoso.com domain.
I get the same errors no matter what account I use, including the install account.
Things I've tried:
Deleting and building a new HNSC root web app and site. Error happens in all sites in all web apps except the PBSC hosting MySites.
Giving the root site app pool identity full control of the metadata service app (even though the MySite identitiy doesn't have it)
Giving the root site app pool identity full permissions on the metadata service app.
Comparing database and web app config permissions between dev (where everything works perfectly) and prod (where it does not).
Made sure IIS auth settings on both sites are identical
Both sites are using the same SSL certificate (though the call to the web service appears to be http)
Reprovisioned the metadata service app with a new database and new app pool identity.
Made sure C2WT is running. Tried it with the service stopped as well.
Web.configs are identical between working and non-working apps.
I'm stumped but still Googling. I'm hoping to avoid having to call Micrososft. Any help would be appreciated!
UPDATE:
Interestingly, when I restored the web application from backup (via CA), I ended up with 3 identical "Windows Authentication" authentication providers assigned to the problem web app. Since there was more than one, I was directed to the provider-chooser
page when visiting the site. Upon choosing 1 of the 3, I was authenticated, and *poof*, no more authentication errors and the term store loaded term sets as expected.
Of course, 3 providers was not an ideal state, so I grabbed the one that worked (#1) via get-spauthenticationprovider, and assigned it to the web app via set-spwebapplication, and my problem returned.
I am currently updating the farm to SP1 from June 2013 CU. Fingers crossed.
Update:
The update to SP1 went smoothly, but did not resolve the issue. Also related (I believe) are the random authentication errors when trying to upload images to some libraries, and 401-errors on the accessdenied.aspx page itself.
Update:
The problem is resolved, seemingly after making 4 changes. I'm trying to narrow down which change was the cure, if any:
I installed SP1 on all 6 servers, rebooted and upgraded. This appeared to have no effect.
Removed an old login from SQL that no longer existed in AD because of this ULS error:
System.Runtime.InteropServices.COMException: The user or group contoso\svc_xxxxxxxxx' is unknown., StackTrace: at Microsoft.SharePoint.Utilities.SPUtility.GetFullNameFromLoginEx(String loginName, Boolean&
bIsDL)
This login was the identity of the application pool that used to run the web app in question.
This login was the schema owner of a schema named after itself on every SharePoint database so I changed the schema owner to dbo but left the schema attached.
The problem may have surfaced initially when the app pool identity was changed in CA, but went unnoticed?
Note that the web app had been deleted and recreated many times with a new identity and pool to no avail, but the URL remained the same throughout each attempted fix. Relevant?
Grasping at straws, I changed the app pool identity for this web app to the same one that runs the MySite web app pool as per this only slightly related problem: http://www.planetsharepoint.org/m/preview.php?id=372&rid=34764&author=Vlad+Catrinescu
I changed the authentication method from NTLM to Negotiate.
I am rolling back #3 and #4 to see if the issue resurfaces.
Update:
It doesn't appear to have been the NTLM/Negotiate setting. Web app is currently set to NTLM and all is well. No strange accessdenies, and term Store is still manageable from all sites.
Update: Sorry for the delay. I am administering 6 farms these days. Will update as soon as the final phase of rollbacks happens.
I think I can. I think I can.maybe that web app was accidentally created with classic auth?
here's an example of how to create claims based, with classic, and then "doing 2013" claims
#Create the example web application, as mentioned above, either with gui, and pick later, or
New-SPWebApplication-ApplicationPool$applicationPool-ApplicationPoolAccount$serviceAcct-Name$WebApp-Port
5050
-databaseName$contentDB-securesocketslayer
#If doing for 2013
New-SPWebApplication-ApplicationPool$applicationPool-ApplicationPoolAccount$serviceAcct-Name$WebApp-Port
5050
-AuthenticationProvider(new-spauthenticationprovider)
-databaseName$contentDB-secureSocketsLayer
Maybe you are looking for
-
Inking for Windows Phone 8.1 (Not Silverlight)
Is there any way to use Inking for Windows phone 8.1 application. I am able to use it in Silverlight application for freehand drawing. But is there anything available to use for this purpose in WinRT?
-
the title explains it all. I upgraded to the newest quicktime. But when i went online to look at movies and other video files, it just shows white. Everything else is fine besides that. Weird. Help?
-
Distribute moving average or standard price via ALE/IDoc
Dear experts, do you see any way to distribute the moving average price via ALE? It is inside the material master IDoc but it won't update in the receiving system. We need it for a decentral WM so that people can see the valuation of the material whe
-
am doing VB programming on msacess in iPAQ device , there is some limitation in sql and one told me those are not exists in orale lite so i tred it , intallation ok , running msql ok , creating odb ok , when it comes to programming with ADOCE it is t
-
When will cases be available for 15" macbook pro with retina display
when will cases be available for 15" macbook pro with retina display