The current ABAP command is obsolete
Hi Experts,
please let me know how this error can be removed.
The current ABAP command is obsolete
The variant " WITH KEY k" is no longer supported in the OO context. Use an
explicit key specification instead . . . .
Internal Message Code: READ 022
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
Thanks and Regards,
Johny
Hi Experts,
Iam having no key to compare with.
The scenario is as follows:
*If it is PaymentLot,retrieve Payment method,Gpart,Banknumber,Bank accountnumber,paymentcard number and amount
from DFKKZP and DFKKOP for the cleared document
CALL FUNCTION 'FKK_PAYMENT_BATCH_FIND_PAYMENT'
EXPORTING
i_opbel = wa_cleareditem-augbl
IMPORTING
e_dfkkzp = et_dfkkzp
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0. "#EC NEEDED
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
IF et_dfkkzp-bankl IS NOT INITIAL. "Check for Bank key and Card number
lv_bankl = et_dfkkzp-bankl.
ENDIF.
IF et_dfkkzp-ccnum IS NOT INITIAL.
lv_ccnum = et_dfkkzp-ccnum.
ENDIF.
IF et_dfkkzp-bankl IS INITIAL AND et_dfkkzp-ccnum IS INITIAL. "If both bank key and Card number are initial
e_pymet = c_pymet. "Populate payment method as 'K'
ENDIF.
*For the obtained Business partner,fetch Bankdetails id and Payment card id from
*exporting parameters of F.M 'FKK_BUPA_READ_SINGLE'
CALL FUNCTION 'FKK_BUPA_READ_SINGLE'
EXPORTING
i_partner = lv_partner
i_xbank = 'X'
i_xccard = 'X'
TABLES
t_bank = it_bank
t_ccard = it_ccard
EXCEPTIONS
partner_not_found = 1
partner_in_role_not_found = 2
internal_error = 3
OTHERS = 4.
IF sy-subrc <> 0. "#EC NEEDED
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
READ TABLE it_bank INTO wa_bank WITH KEY bankl = lv_bankl BINARY SEARCH. "Pick the entry which has bankl value as from et_dfkkzp
IF sy-subrc = 0.
e_pymet = c_pymetb.
e_bkvid = wa_bank-bkvid.
ENDIF.
READ TABLE it_ccard INTO wa_ccard WITH KEY ccnum = lv_ccnum BINARY SEARCH. "Pick the entry which has ccnum value as from et_dfkkzp
IF sy-subrc = 0.
e_pymet = c_pymetd.
e_ccard_id = wa_ccard-ccard_id.
ENDIF.
ENDIF.
ENDFORM. " ORIGINKEY_V1
Similar Messages
-
In ECC 6.0 I am getting Slin Error -ABAP command is obsolete
Hi All,
In Hr ABAP we will start basic coding with
TABLES pernr .
infotypes:0002.
By using this I am getting the following SLIN Error :
Program: ZHCP0026 Row: 32
he current ABAP command is obsolete
Within classes and interfaces, you can only use "TYPE" to refer to ABAP Dictionary
types, not "LIKE" or "STRUCTURE".
nternal Message Code: MESSAGE G/B
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
INFOTYPES : 0380,
The current ABAP command is obsolete
Tables with headers are no longer supported in the OO context.
Internal Message Code: MESSAGE G1D
(The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET
EXTENDED CHECK OFF/ON)
Can some one help me , how to rectify this slin error ?
Thanks,
Suresh.
Edited by: suresh kumar on Feb 25, 2009 2:22 PMHi Suresh,
Am too facing the same problem. if you could find a solution, pls let me know. -
What is the Current ABAP Kernel version for SAP ERP 6 (ECC6)..?
What is the Current ABAP Kernel version for SAP ERP 6 (ECC6)..?
Hi,
Login to http://service.sap.com/swdc using your S user-id
Serach for kernel
Check for your relevent kernel patch (unicode/non-unicode , NW release etc.)
Regards,
Rajneesh -
Cannot provide the current ABAP master system because the responsible ..
Hello,
I am facing the problem that my UWL is not working. In the trace log I can see the following message:
Cannot provide the current ABAP master system because the responsible system landscape could not provide the system object.
Could someone tell me how to set up the system for th SAP_LocalSystem? It could be that I deleted a system to much
Thanks,
VanessaHi,
check in the Portal System landscape your system with the alias name SAPReferenceSystem especially the Logonmethod that is maintained there in. Is it saplogonticket or UIDPWD?
In case of UID/PWD change the logonmethod to Saplogonticket. Then you will see the system to choose as referenece system as only systems are shown in the reference system drop down box which have the logonmethod saplogonticket maintained.
Select the system as reference system afterwards and check if the mappings are working fine after a restart of the J2EE engine. You will need to restart the j2ee engine in order to make the reference
system change active.
Cheers,
Anja -
ABAP commands are obsolete.
Hi all,
Currently my firm is doing the 4.6C to ECC6 upgrade, there's a few programs having obsolete errors and I'm tasked to correcting the coding of this certain program. Here is the coding and the errors i encounter:
report YPU0014 line-size 360
line-count 65
no standard page heading.
selection-screen begin of block b1 with frame title text-010.
select-options: s_banfn for eban-banfn, "PR No
s_badat for eban-badat, "PR Create Date
s_ekgrp for eban-ekgrp, "PR Purch Group
s_frgkz for eban-frgkz, "PR Rel Ind
s_werks for eban-werks, "PR Plant
s_matnr for eban-matnr, "PR Material
s_lgort for eban-lgort. "PR Stor Loc
selection-screen end of block b1.
selection-screen begin of block b2 with frame title text-020.
parameters: prs01 radiobutton group prst default 'X',
prs02 radiobutton group prst,
prs03 radiobutton group prst.
selection-screen end of block b2.
selection-screen begin of block b3 with frame title text-030.
parameters: pos01 radiobutton group post default 'X',
pos02 radiobutton group post,
pos03 radiobutton group post.
selection-screen end of block b3.
* INTERNAL TABLES
data: begin of ITAB occurs 0, *(error: Tables with headers are no longer supported in the OO context.)*
BANFN LIKE EBAN-BANFN, "PR No
BADAT LIKE EBAN-BADAT, "PR Date
MATNR LIKE EBAN-MATNR, "Material No
TXZ01 LIKE EBAN-TXZ01, "Short Text
LFDAT LIKE EBAN-LFDAT, "Delv Date
MENGE LIKE EBAN-MENGE, "Requested Qty
MEINS LIKE EBAN-MEINS, "Unit of Measure
PREIS LIKE EBAN-PREIS, "Price Unit
WAERS LIKE EBAN-WAERS, "Currency
AFNAM LIKE EBAN-AFNAM, "Requistioner
BNFPO LIKE EBAN-BNFPO, "Item No
BEDAT LIKE EBAN-BEDAT, "PO Date
BSART LIKE EBAN-BSART, "Doc Type
BSMNG LIKE EBAN-BSMNG, "Ordered Qty
MEIN2 LIKE EBAN-MEINS, "PR UOM
EBELN LIKE EBAN-EBELN, "PO No
EBELP LIKE EBAN-EBELP, "PO Item No
EKGRP LIKE EBAN-EKGRP, "Purch Group
EKORG LIKE EBAN-EKORG, "Purch Org
EMLIF LIKE EBAN-EMLIF, "Vendor
FRGDT LIKE EBAN-FRGDT, "Release Date
FRGGR LIKE EBAN-FRGGR, "Release Grp
FRGKZ LIKE EBAN-FRGKZ, "Release Ind
FRGZU LIKE EBAN-FRGZU, "Release Stat
INFNR LIKE EBAN-INFNR, "Info Rec
KNTTP LIKE EBAN-KNTTP, "Acct Assgn Cat
LGORT LIKE EBAN-LGORT, "Storage Loc
LOEKZ LIKE EBAN-LOEKZ, "Deld Indicator
GSFRG LIKE EBAN-GSFRG, "Overall PR Rel
STATU LIKE EBAN-STATU, "Processing Stat
WAER2 LIKE EBAN-WAERS, "Currency
WEBAZ LIKE EBAN-WEBAZ, "GR Process Time in Days
WERKS LIKE EBAN-WERKS, "Plant
end of ITAB.
data: prfnd(1) type c,
pofnd(1) type c.
*top-of-page
top-of-page.
format color col_heading.
write: /1 sy-repid, 150 'Allied Technologies (S) Pte Ltd',
314 'Date:',
320 sy-datum.
write: /1 sy-uname,
160 'PR Listing',
314 'Time:',
320 sy-uzeit.
write: 330 'Page:', sy-pagno.
uline.
write : /1 'PR No', 11 'PR Date', 22 'Material', 42 'Short Text',
65 'Deld Date', 84 'Qty Reqd', 95 'UOM', 103 'Price Unit',
115 'Curr', 120 'Requisitioner', 134 'Itm No',
141 'PO Date', 152 'DocType', 161 'Ord Qty', 175 'UOM',
180 'PO No', 192 'Itm No', 200 'PurGrp',
208 'PurOrg', 216 'Vendor', 228 'Rel Date',
239 'RelGrp', 246 'RelInd', 254 'RelStat',
263 'Info Record', 278 'AA Cat', 285 'Str Loc',
295 'Deleted', 304 'Overall Rel', 316 'Procd Stat',
328 'Curr', 334 'GR Time', 344 'Plant'.
uline.
skip.
end-of-selection.
perform get_data.
perform output_data.
* Form get_data
form get_data.
clear itab.
select * from eban where banfn in s_banfn and *(error: SELECT without an INTO clause is not supported in the OO context. Use "SELECT... INTO wa".)*
badat in s_badat and
frgkz in s_frgkz and
werks in s_werks and
matnr in s_matnr and
lgort in s_lgort and
ekgrp in s_ekgrp.
move 'N' to prfnd.
if prs01 = 'X' and eban-loekz = 'X'.
move 'Y' to prfnd.
perform get_porecord.
endif.
if prs02 = 'X' and eban-loekz ne 'X'.
move 'Y' to prfnd.
perform get_porecord.
endif.
if prs03 = 'X'.
move 'Y' to prfnd.
perform get_porecord.
endif.
if prfnd = 'Y' and pofnd = 'Y'.
move-corresponding eban to itab.
select single * from ekko where ebeln = eban-ebeln. *(error: SELECT without an INTO clause is not supported in the OO context. Use "SELECT... INTO wa".)*
if sy-subrc = 0.
move ekko-lifnr to itab-emlif.
endif.
append itab. *(error: An explicit work area is necessary in the OO context. Use " APPEND wa TO ITAB [SORTED BY])*
clear itab.
endif.
endselect.
endform.
form get_porecord.
move 'N' to pofnd.
if pos01 = 'X' and eban-statu ne 'B'.
move 'Y' to pofnd.
endif.
if pos02 = 'X' and eban-statu = 'B'.
move 'Y' to pofnd.
endif.
if pos03 = 'X'.
move 'Y' to pofnd.
endif.
endform.
* Output selected records to screen
form output_data.
sort itab by banfn badat matnr.
loop at itab. *(error: At "LOOP AT ITAB", one of the additions "INTO", "ASSIGNING", or "TRANSPORTING NO FIELDS" is required. )*
write: /1(10) itab-banfn, 11(10) itab-badat, 22(18) itab-matnr,
42(20) itab-txz01, 65(10) itab-lfdat,
78(15) itab-menge decimals 2,
95(3) itab-meins, 100(14) itab-preis, 115(3) itab-waers,
120(12) itab-afnam, 134(5) itab-bnfpo, 141(10) itab-bedat,
152(4) itab-bsart, 158(15) itab-bsmng decimals 2,
175(3) itab-mein2, 180(10) itab-ebeln, 192(5) itab-ebelp,
200(3) itab-ekgrp, 208(4) itab-ekorg, 216(10) itab-emlif,
228(10) itab-frgdt,
240(2) itab-frggr, 248(1) itab-frgkz, 256(8) itab-frgzu,
266(10) itab-infnr, 280(1) itab-knttp, 287(4) itab-lgort,
298(1) itab-loekz, 308(1) itab-gsfrg, 320(1) itab-statu,
329(5) itab-waers, 335(3) itab-webaz, 345(4) itab-werks.
endloop.
skip 1.
write: /25.
May i know how do i recode the areas with the errors?
Thank you for all the help i could get.From this message ("error: Tables with headers are no longer supported in the OO context."), I'm thinking you are pasting this code inside a Class method. Do not.
But if you intend to make this as an individual report, it should work. Should it still show the same errors as "error: At "LOOP AT ITAB", one of the additions "INTO", "ASSIGNING", or "TRANSPORTING NO FIELDS" is required.", please add the TABLES statement at the top of your code.
(to show:)
report YPU0014 line-size 360 line-count 65 no standard page heading.
TABLES:
itab
selection-screen begin of block b1 with frame title text-010.
Or better yet, see these changes
OLD
data: begin of ITAB occurs 0, *(error: Tables with headers are no longer supported in the OO context.)*
BANFN LIKE EBAN-BANFN, "PR No
BADAT LIKE EBAN-BADAT, "PR Date
MATNR LIKE EBAN-MATNR, "Material No
end of ITAB.
NEW
TYPES:
begin of STAB,
BANFN LIKE EBAN-BANFN, "PR No
BADAT LIKE EBAN-BADAT, "PR Date
MATNR LIKE EBAN-MATNR, "Material No
end of ITAB
DATA:
itab TYPE TABLE OF stab
As for the SELECT statements
OLD
select * from eban where banfn in s_banfn and...
" *(error: SELECT without an INTO clause is not supported in the OO context. Use "SELECT... INTO wa".)*
NEW
DATA: wa_eban TYPE eban.
select * from eban INTO wa_eban where banfn in s_banfn and...
" and replace all uses of "eban" inside the select loop with wa_eban
if prs01 = 'X' and wa_eban-loekz = 'X'.
" DO THE SIMILAR THING WITH THE OTHER SELECT STATEMENTS
As for itab
OLD
loop at itab.
*(error: At "LOOP AT ITAB", one of the additions "INTO", "ASSIGNING", or "TRANSPORTING NO FIELDS" is required. )*
NEW
DATA: wa_tab LIKE LINE OF itab.
LOOP AT itab INTO wa_tab.
" replace all occurences of tab with wa_tab inside the loop
write: /1(10) wa_tab-banfn, 11(10) wa_tab-badat,...
ENDLOOP.
would really make me smile today
Edited by: Thomas Zloch on Jul 13, 2010 11:45 AM -
hi friends,
Is it poosible to find out what are the Obsolete ABAP commands and Statements by comparing two different versions? an old version and an advanced version??
Is it stored in any table?
Pls Help
Regards
DineshHi,
Just check this link
http://www.nikat.org/www.geocities.com/victorav15/sapr3/abapobs.html
http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb33cc358411d1829f0000e829fbfe/content.htm
You may have an overview wirth Solution Browser tool (at the solution point of view) in order to compare functionality between your current system and the ERP 2005.
at:
http://solutionbrowser.erp.sap.fmpmedia.com/
You can get the detailed release information from the following link.
http://service.sap.com/releasenotes.
A release note is a brief explanation of new features or changes to the system since the last software release. A release note typically describes a new function or an existing function that has been enhanced or changed.
Regards,
Padmam. -
MS SQL server is going down frequently(10 days of gap) with exception message: "A severe error occurred
on the current command. The results, if any, should be discarded". We are facing this issue for past two month.But funny thing is server will be up automatically with out any service restart manually. Also if we try to restart the SQL
server service manually then SQL server will be in a dead lock situation and it will not come up even if we wait for long time. Then we should do a windows server machine restart to
make the SQL sever up. As a suggestion from Microsoft to fix this kind of similar issue,
we have installed service pack 3 for SQL Server. But even after we are facing same issue.
Server Details:
Server OS: Windows Server 2008 R2
Two type of database servers are installed on server:
1. MS SQL Server 2008 R2
2. My SQL
Also Reporting server is configured for the purpose of generating SSRS report from a dot net website.
NOTE:Immediately after the data retrieval/save, we are closing the connection explicitly by the
application.
we have checked the windows event log and below are the details:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Application information:
Application domain: /LM/W3SVC/5/ROOT-1-130718142067856406
Trust level: Full
Application Virtual Path: /
Application Path: E:\WebSpaceFolder\ACSQuiK\Production\
Machine name: DBSERVER
Process information:
Process ID: 148
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: SqlException
Exception message: A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
Log Name: Application
Source: Report Server Windows Service (MSSQLSERVER)
Description:
Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Report Server Windows Service (MSSQLSERVER)" />
<EventID Qualifiers="0">107</EventID>
Could anybody can suggest any kind of fix for this issue? Thanks in advance.Hi YesYemPee,
I have tried but still not clear about your issue, I would like you provide more details information about your issue based on below points to better analysis about the issue:
What action did you do and caused the error "A severe error occurred on the current command. The results, if any, should be discarded", did you run report on the web application or something else then the error happen?
If you rendering the report and got the error, please try to provide us more error information in the log files which path like:
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
If it is not the case in step1, Please try to provide SQL Server Error log(SQL Server Logs) and more details information.
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Severe Error Ocurred on the Current Command REPORT BUILDER SSRS 2008
Hi,
I have a report with 6 tabs, I am using totally 8 Stored Procedures for it.I am using SQL SERVER 2008 R2 and the same in production also.
Everything works fine when I run the report in my local machine's BIDS, however, when I deploy it into the Production, it occasionally gives an error which reads "An error has occurred during local report processing. (rsProcessingAborted). Query execution
failed for dataset 'DS_xxxx'. (rsErrorExecutingCommand)
A Severe error occurred on the current command. The results, if any, should be discarded. Operation cancelled by user.
When I ran the SPs individually in the SSMS they are executing fine and the report itself works fine always in my local BIDS.
Also, This issue happend several weeks after the report was deployed to the production, i.e. it was working fine but suddenly it started giving this error, so I changed the global temp table I was using to a permanent table and then it worked fine for a
few more weeks, now, again, I am getting the same error occasionally, is there any way to avoid this error completely and can you list all the possible causes for this error, because it happens 2 times out of 5 runs so it is difficult to debug it also.
As for the Report it self, It is a simple report with a few spark line Charts and a mostly data charts. I am not using any CTEs or Global Temp Tables anywhere in the report.
Thanks You.Hi,
I would suggest you increase the time out on the reports to 3600 and how it works.
You can set a default value for all reports in the Site Settings page.
The default timeout in SSRS for reports is 1800 seconds.
If still no progress, please check the RS log.
For more information, see
Set Report Processing Properties.
Thanks.
Tracy Cai
TechNet Community Support -
A severe error occurred on the current command - select into
Hi
I am making a backup of a table before working on the original, but when I try a simple select into statement I receive 'Msg 0, Level 11, State 0, Line 0 - A Severe error occurred on the current command. The results, if any, should be discarded.'
I am able to run a select query on the original table with the same where clause I am using in the select into statement and it runs without error.
Does anyone know why this is happening?
Server 2008 64bit, SQL Server 2008r2
Thank you for any helpThis is a generic message that informs you that something went very wrong, either in SQL Server itself or in the client API.
If open a command promptt and try the same command running from SQLCMD or OSQL, what happens? If things seems to work well, run a simple second command like "SELECT 1" to make sure that this works. (The use a different API from SSMS, why it is
worth testing.)
Also look in the SQL Server error log. If you see a stack dump which appeared at the same time as you ran the SELECT INTO statement, then it's clear that the accident was in SQL Server.
I would recommend that you run DBCC CHECKDB on the database, as the root cause could be corruption.
Erland Sommarskog, SQL Server MVP, [email protected] -
Hi,
I am using SQL server 2008 R2 and also MultipleActiveResultSet = true and Pooling = true (default value) in connection string.
While executing query 'IF ORIGINAL_LOGIN() = SUSER_SNAME() EXECUTE AS USER = 'MyUser'', I received error stating 'A server error occurred on the current command. the results if any should be discarded'. At the same time I could check that SqlConnection
state is also closed.
I have also fired 'REVERT' query If I find such exception and again try to execute same query again. but no luck. I received the same exception while executing query (Execute As) again.
What can be the solution to avoid such exception and make my code working?
Thanks,
AshishLogin failed for user 'sa'. The user is not associated with a trusted SQL Server connection.
Above issue occurs genrally when authentication mode is set to Windows Authentication insted Mixed Mode.
You can change the authentication mode of the SQL server from “Windows Authentication Mode (Windows Authentication)” to “Mixed Mode (Windows Authentication and SQL Server Authentication)”.
Run following script in SQL Analyzer to change the authentication
LOGIN sa ENABLE
GO
ALTER LOGIN sa WITH PASSWORD = '<password>'
GO
http://blog.sqlauthority.com/2007/04/14/sql-server-fix-error-18452-login-failed-for-user-null-the-user-is-not-associated-with-a-trusted-sql-server-connection/
But as per the first post it seems issue is different have you observerd Error log?
Check out at C:\Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG
Location might differ as per the Server configration
Please click the Mark as answer button and vote as helpful if this reply solves your problem -
We have a DotNet website which is deployed on a physical server(windows server 2008 r2). The application is started to using for live. Most of the time application is working fine. But some times we have noticed the application is failed to communicate
with MS SQL 2008 R2 database and as result the below error is displaying:
"A severe error occurred on the current command. The results, if any, should be discarded. at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&
dataReady) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean
enlistOK) "
If we tried to connect the database server the same issue is showing:"A severe error occurred on the current command. The results, if any, should be discarded"
The issue will be resolved automatically after 30-45 minutes . Please let us know if any fixes can be done to resolve this issue.
NOTE: We have installed SQL Server 2008 service pack 3 as per the suggestion from experts .But still the issue pwersist.Hello,
When this issue occurs have you check the existing connections? If an app was unclean developed it can happen that the app opens connection by connection, but never closed them correctly and when all available connections are in use, such an error can occur.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Hello.
I have a problem with SQL Server 2008 R2 SP1:
I have a table with the full-text index-activated on 3 fields of type nvarchar.
When I try to open a transaction (ex: BEGIN TRAN {inserts} COMMIT) to insert multiple rows, I get the following error: "A severe error occurred on the current command ...".
I checked the Sql Server Logs and the Event Viewer on the machine, but nothing was logged.
I found a workaround: disable full-text-index => Do stuff => enable full-text-index, but this is very annoying (especially when i use the Data Compare to update that table on the Development Environment).
Help!!!I concur with Tom. Upgrade to SP3. This may resolve the issue.
Since you say that there is nothing in the SQL Server errorlog, this may be an API issue. Try running the same commands through the command-line tools SQLCMD or OSQL to see how this turns out.
Erland Sommarskog, SQL Server MVP, [email protected] -
I have a strange situation on a database, which are on SQL Server 2008 R2 Express SP2. The database size is something around 90 MB.
When a user try to insert a record inside one table, he receive an error message, and the program is disconnected from the database. I tried to investigate this issue, and I discovered that when user try to insert one row the trigger for
insert invoke also the trigger for update and sql server crushes with "A severe error occurred on the current command. The results, if any, should be discarded."
I have checked from SQL Server Management Studio to run a direct Update on the specific table. The same error occurred.
I have run DBCC CheckTable and no errors have been found. I also have run DBCC CHECKDB and no errors.
Because I also have 3 other different databases, with the same functionality, on the same server which are going well with more than 100 000 records in that specific table, and the triggers are going well for more than 5 years, I have assumed that some
problems occurs inside the database. That is why I have copied all the records from the "damage" database to a new one. This means that inside the new databases the indexes are regenerated and a new space will be allocated.
The same strange things are happening. The same table can not be updated with a very basic Update statement.
I am looking for a patch or KB to solve this issues.
Any ideas are will be appreciated.
Thank youthere is a file as response to one of my tests to investigate which command is responsible for this error.
Current time is 21:18:39 08/18/13.
=====================================================================
BugCheck Dump
=====================================================================
This file is generated by Microsoft SQL Server
version 10.50.4000.0
upon detection of fatal unexpected error. Please return this file,
the query or program that produced the bugcheck, the database and
the error log, and any other pertinent information with a Service Request.
Computer type is Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz.
Bios Version is INTEL - 1072009
BIOS Date: 09/23/09 11:58:43 Ver: 08.00.10
8 X64 level 8664, 2 Mhz processor (s).
Windows NT 6.1 Build 7601 CSD Service Pack 1.
Memory
MemoryLoad = 16%
Total Physical = 8125 MB
Available Physical = 6755 MB
Total Page File = 16248 MB
Available Page File = 14719 MB
Total Virtual = 8388607 MB
Available Virtual = 8380163 MB
***Stack Dump being sent to d:\MSSQL10_50.MSSQLSERVER\MSSQL\LOG\SQLDump0084.txt
SqlDumpExceptionHandler: Process 52 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is
terminating this process.
* BEGIN STACK DUMP:
* 08/18/13 21:18:39 spid 52
* Exception Address = 0000000000886B00 Module(sqlservr+00000000001F6B00)
* Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION
* Access Violation occurred writing address 0000000000000000
* Input Buffer 214 bytes -
* begin transaction insert into DocContabile select * f
* rom gunoiDocContabile rollback
* MODULE BASE END SIZE
* sqlservr 0000000000690000 00000000042A1FFF 03c12000
* ntdll 0000000077730000 00000000778D8FFF 001a9000
* kernel32 0000000077510000 000000007762EFFF 0011f000
* KERNELBASE 000007FEFD6E0000 000007FEFD74AFFF 0006b000
* ADVAPI32 000007FEFE090000 000007FEFE16AFFF 000db000
* msvcrt 000007FEFE300000 000007FEFE39EFFF 0009f000
* sechost 000007FEFF590000 000007FEFF5AEFFF 0001f000
* RPCRT4 000007FEFF5B0000 000007FEFF6DCFFF 0012d000
* MSVCR80 0000000071710000 00000000717D8FFF 000c9000
* MSVCP80 0000000071600000 0000000071708FFF 00109000
* sqlos 00000000715F0000 00000000715F6FFF 00007000
* Secur32 000007FEFD1E0000 000007FEFD1EAFFF 0000b000
* SSPICLI 000007FEFD3B0000 000007FEFD3D4FFF 00025000
* pdh 000007FEF90C0000 000007FEF910DFFF 0004e000
* SHLWAPI 000007FEFDE50000 000007FEFDEC0FFF 00071000
* GDI32 000007FEFE3A0000 000007FEFE406FFF 00067000
* USER32 0000000077630000 0000000077729FFF 000fa000
* LPK 000007FEFDE40000 000007FEFDE4DFFF 0000e000
* USP10 000007FEFF970000 000007FEFFA38FFF 000c9000
* USERENV 000007FEFC850000 000007FEFC86DFFF 0001e000
* profapi 000007FEFD510000 000007FEFD51EFFF 0000f000
* WINMM 000007FEFB320000 000007FEFB35AFFF 0003b000
* IPHLPAPI 000007FEFAD70000 000007FEFAD96FFF 00027000
* NSI 000007FEFDFB0000 000007FEFDFB7FFF 00008000
* WINNSI 000007FEFAD60000 000007FEFAD6AFFF 0000b000
* opends60 0000000071590000 0000000071597FFF 00008000
* NETAPI32 000007FEFAEB0000 000007FEFAEC5FFF 00016000
* netutils 000007FEFAEA0000 000007FEFAEABFFF 0000c000
* srvcli 000007FEFD060000 000007FEFD082FFF 00023000
* wkscli 000007FEFAE80000 000007FEFAE94FFF 00015000
* LOGONCLI 000007FEFCB90000 000007FEFCBBFFFF 00030000
* SAMCLI 000007FEFAE60000 000007FEFAE73FFF 00014000
* BatchParser 0000000071560000 000000007158CFFF 0002d000
* IMM32 000007FEFE060000 000007FEFE08DFFF 0002e000
* MSCTF 000007FEFE1F0000 000007FEFE2F8FFF 00109000
* psapi 00000000778F0000 00000000778F6FFF 00007000
* instapi10 0000000071320000 000000007132CFFF 0000d000
* cscapi 000007FEF7FA0000 000007FEF7FAEFFF 0000f000
* sqlevn70 0000000071100000 0000000071303FFF 00204000
* CRYPTSP 000007FEFCE50000 000007FEFCE66FFF 00017000
* rsaenh 000007FEFCA70000 000007FEFCAB6FFF 00047000
* CRYPTBASE 000007FEFD440000 000007FEFD44EFFF 0000f000
* BROWCLI 000007FEF8B80000 000007FEF8B91FFF 00012000
* AUTHZ 000007FEFCF70000 000007FEFCF9EFFF 0002f000
* MSCOREE 000007FEF8980000 000007FEF89EEFFF 0006f000
* ole32 000007FEFDC30000 000007FEFDE32FFF 00203000
* credssp 000007FEFC960000 000007FEFC969FFF 0000a000
* msv1_0 000007FEFCD90000 000007FEFCDE0FFF 00051000
* cryptdll 000007FEFD090000 000007FEFD0A3FFF 00014000
* kerberos 000007FEFCCD0000 000007FEFCD83FFF 000b4000
* MSASN1 000007FEFD5B0000 000007FEFD5BEFFF 0000f000
* schannel 000007FEFCB00000 000007FEFCB55FFF 00056000
* CRYPT32 000007FEFD7D0000 000007FEFD939FFF 0016a000
* security 0000000071390000 0000000071392FFF 00003000
* WS2_32 000007FEFF360000 000007FEFF3ACFFF 0004d000
* SHELL32 000007FEFE5D0000 000007FEFF357FFF 00d88000
* OLEAUT32 000007FEFDED0000 000007FEFDFA6FFF 000d7000
* ncrypt 000007FEFCF20000 000007FEFCF6CFFF 0004d000
* bcrypt 000007FEFCEF0000 000007FEFCF11FFF 00022000
* mswsock 000007FEFCDF0000 000007FEFCE44FFF 00055000
* wship6 000007FEFCFB0000 000007FEFCFB6FFF 00007000
* wshtcpip 000007FEFC720000 000007FEFC726FFF 00007000
* ntmarta 000007FEFC620000 000007FEFC64CFFF 0002d000
* WLDAP32 000007FEFE410000 000007FEFE461FFF 00052000
* ntdsapi 000007FEF7AF0000 000007FEF7B16FFF 00027000
* bcryptprimitives 000007FEFC9D0000 000007FEFCA1BFFF 0004c000
* SAMLIB 000007FEFBE10000 000007FEFBE2CFFF 0001d000
* CLBCatQ 000007FEFD960000 000007FEFD9F8FFF 00099000
* sqlncli10 0000000063720000 00000000639DCFFF 002bd000
* VERSION 000007FEFC650000 000007FEFC65BFFF 0000c000
* COMCTL32 000007FEFA110000 000007FEFA1AFFFF 000a0000
* COMDLG32 000007FEFDFC0000 000007FEFE056FFF 00097000
* SQLNCLIR10 00000000636E0000 0000000063716FFF 00037000
* netbios 000007FEF4340000 000007FEF4349FFF 0000a000
* xpstar 0000000063650000 00000000636D7FFF 00088000
* SQLSCM 0000000063640000 000000006364DFFF 0000e000
* ODBC32 000007FEF0AC0000 000007FEF0B70FFF 000b1000
* ATL80 0000000063620000 000000006363FFFF 00020000
* odbcint 00000000635E0000 0000000063617FFF 00038000
* clusapi 000007FEF91B0000 000007FEF91FFFFF 00050000
* resutils 000007FEF9190000 000007FEF91A8FFF 00019000
* xpstar 00000000635B0000 00000000635D4FFF 00025000
* dbghelp 0000000063330000 000000006348DFFF 0015e000
* P1Home: 000000000BB6A950: 00000000C0000005 0000000000000000 0000000000886B00 0000000000000002 00000000
What else should I have to do?
Thank you,
Horia -
Is there any command to find the running cloud services in the current PC in windows?
Is there way to find the list of running cloud service providers in the current PC through C++ programming ?
Or is there any other tool which gives the list of service providers running in the PC?
I know this question is not related to Azure but Azure comes under this part..
Please let me know the answer if any one is aware of it....Hello DeekshaBharathi,
There are only 3 ways of communicating with the Azure cloud services:
a. Management Portal
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-manage/
b. REST APIs
http://msdn.microsoft.com/en-us/library/azure/ee460799.aspx
c. Powershell
http://msdn.microsoft.com/en-us/library/azure/jj156055.aspx
Since that you want to use commands to manage Cloud Services. You can do it using PowerShell. You can refer to the article above for more information on this.
Thanks,
Syed Irfan Hussain. -
Is there a command to know the current throughput fo an IPS
Hi guys
I need to get some information from my CISCO IPS. I need to get the current throughput from the IPS but I cannot find any command that could bring such information.
If somebody know how to get this information it will be great.
Regards!I had a script that would log in, run a "show stat analysis" twice, 60 seconds apart. Then it would pull the byte count from the interfaces, subtract the smaller number from the larder, device by 60 (seconds) and multiply by 8 (bytes to bits).
Results in b/s for each interface.
- Bob
Maybe you are looking for
-
What is the roadmap to a new comer in java technology?
Can some one define and explain the roadmap for a new comer who has just formal experience of using computer and keeps only basic knowledge about computers and computer programming? A new comer's mind is boggled with so many unkown terms. Can someone
-
How many types of ports are there which we use for data transfe in ale/idoc
friends let me know how many types of ports are there which we use for transfering data in ale/idocs?
-
HELP - how do I arm two tracks
using GB2 and the help file says that I just arm both tracks and push record. I'm using a Presonus firewire audio interface, and hear both tracks, but only one records at a time. what's up? how can I select both tracks thanks
-
Yet again I have another fault. This time it's my phone. I can't make or receive calls so I ring to report it on my mobile and I'm charged premium rates for a dreadful automated service which needlessly takes me round in circles by repeating the same
-
KP26_intergration with excel Plan Activity can only change some period
Dear Expert, We use kp26 intergrate with excel, when uploading Plan Activity can only change some period. (Uploading is successful) So, we've used same Layout and change data in KP26 directly for testing. (Only period 1,2,11 in 2010 can be changed, o