Stack dump with DBCC RESULTS
Current time is 11:15:26 08/25/14.
=====================================================================
BugCheck Dump
=====================================================================
This file is generated by Microsoft SQL Server
version 11.0.3000.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) Xeon(R) CPU E5-2640 v2 @ 2.00GHz.
Bios Version is INTEL - 6040000
PhoenixBIOS 4.0 Release 6.0
12 X64 level 8664, 14 Mhz processor (s).
Windows NT 6.2 Build 9200 CSD .
Memory
MemoryLoad = 54%
Total Physical = 129023 MB
Available Physical = 58720 MB
Total Page File = 147455 MB
Available Page File = 76622 MB
Total Virtual = 134217727 MB
Available Virtual = 134032858 MB
DBCC RESULTS
<Dbcc ID="265"
<Dbcc ID="479" Error="2593" Severity="10" State="1">There are 445 rows in 111 pages for object "Temp_CalcFields_P
laysDFD5C6F819E84D1EBA43D30C37AABB47".</Dbcc>
<Dbcc ID="480" Error="2593" Severity="10" State="1">There are 154 rows in 4 pages for object "ReplicationInfo_tra
cking".</Dbcc>
<Dbcc ID="481" Error="2593" Severity="10" State="1">There are 7022 rows in 177 pages for object "UserSettings_tra
</DbccResults>
**Dump thread - spid = 0, EC = 0x00000010A909E730
***Stack Dump being sent to C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\LOG\SQLDump0003.txt
* BEGIN STACK DUMP:
* 08/25/14 11:15:26 spid 158
* DBCC database corruption
* Input Buffer 90 bytes -
* use [TC_Baylor_FB] dbcc checkdb
* Short Stack Dump
CSession @0x0000001177F2C450
m_sessionId = 158 m_cRef = 14 m_rgcRefType[0] = 1
m_rgcRefType[1] = 1 m_rgcRefType[2] = 11 m_rgcRefType[3] = 1
m_rgcRefType[4] = 0 m_rgcRefType[5] = 0 m_pmo = 0x0000001177F2C040
m_pstackBhfPool = 0x0000000000000000 m_dwLoginFlags = 0x83e0 m_fBackground = 0
m_eConnResetOption = 0 m_fUserProc = 1 m_fConnReset = 0
m_fIsConnReset = 0 m_fInLogin = 0 m_fAuditLoginSent = 1
m_fAuditLoginFailedSent = 0 m_fReplRelease = 0 m_fKill = 0
m_ulLoginStamp = 6700445 m_eclClient = 7 m_protType = 5
m_hHttpToken = FFFFFFFFFFFFFFFF
m_pV7LoginRec
0000000000000000: 5c010000 04000074 00100000 00000006 400d0000 \......t........@...
0000000000000014: 00000000 e0830000 00000000 00000000 5e000e00 ....à?..........^...
0000000000000028: 00000000 00000000 7a002e00 d6000e00 f2000400 ........z...Ö...ò...
000000000000003C: f6001c00 2e010000 2e010000 e3418e99 00e02e01 ö...........ãA?..à..
0000000000000050: 28005601 00005601 00000000 0000 (.V...V.......
CPhysicalConnection @0x0000001177F2C230
m_pPhyConn->m_pmo = 0x0000001177F2C040
m_pPhyConn->m_pNetConn = 0x0000001177F2CBF0
m_pPhyConn->m_pConnList = 0x0000001177F2C420
m_pPhyConn->m_pSess = 0x0000001177F2C4A8 m_pPhyConn->m_fTracked = -1
m_pPhyConn->m_cbPacketsize = 4096 m_pPhyConn->m_fMars = 0 m_pPhyConn->m_fKill = 0
CBatch @0x0000001177F2D140
m_pSess = 0x0000001177F2C450 m_pConn = 0x0000001177F2D020 m_cRef = 3
m_rgcRefType[0] = 1 m_rgcRefType[1] = 1 m_rgcRefType[2] = 1
m_rgcRefType[3] = 0 m_rgcRefType[4] = 0 m_pTask = 0x00000018199A2928
EXCEPT (null) @0x0000000064754EF0
exc_number = 0 exc_severity = 0 exc_func = 0x00007FFF4730EE50
Task @0x00000018199A2928
CPU Ticks used (ms) = 88442 Task State = 2
WAITINFO_INTERNAL: WaitResource = 0x0000000000000000 WAITINFO_INTERNAL: WaitType = 0x0
WAITINFO_INTERNAL: WaitSpinlock = 0x0000000000000000 SchedulerId = 0x3
ThreadId = 0x205c m_state = 0 m_eAbortSev = 0
EC @0x00000010A909E730
spid = 0 ecid = 0 ec_stat = 0x0
ec_stat2 = 0x0 ec_atomic = 0x0 ecType = 0
__pSETLS = 0x0000001177F2D090 __pSEParams = 0x0000001177F2D520
SEInternalTLS @0x0000001177F2D090
m_flags = 0
m_TLSstatus = 3
m_owningTask = 0x00000018199A2928
m_activeHeapDatasetList = 0x0000001177F2D090
m_activeIndexDatasetList = 0x0000001177F2D0A0
m_pDbccContext = 0x00000011DA40CED0
m_pAllocFileLimit = 0x0000000000000000
m_dekInstanceIndex = 0x-1
m_pImbiContext = 0x0000000000000000
SEParams @0x0000001177F2D520
m_lockTimeout = -1
m_isoLevel = 4096
m_logDontReplicate = 0
m_neverReplicate = 0
m_XactWorkspace = 0x00000012508E3050
m_execStats = 0x00000015636D5CC8
Based on the dump contents, your SQL Server MDF database file is corrupt, the possible solutions are based on the situation:
1. If the corruption is not severe, then you can use the SQL Server build-in command DBCC CheckDB to correct the errors. See
http://technet.microsoft.com/en-us/library/ms176064.aspx
2. If the corruption is severe, then you may try some third party tools. The one I have tried successfully in the past is DataNumen SQL Recovery at
http://www.datanumen.com/sql-recovery/ . You can use it to scan and recover the data from your corrupted MDF and NDF database files.
Good luck!
And what about restoring from backup ? That tool is of no use seriously have tried it.
Restoring from valid backup is best option here dont go for tool its useless.
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Articles
Similar Messages
-
Resolve line numbers from a stack dump
I have an application with a mutex dead lock. This program is compiled with CC and the flag �g.
With pstack(pid) I get a proper stack dump with symbol names and hex addresses.
Is there any way to resolve those hex addresses to line numbers from the source file?
GNU got a tool named addr2line which solve this problem, is there any corresponding tools for Solaris 10?Don't know about addr2line analogue (maybe you can build it on Solaris, too), but there's always an option to use dbx:
- attach to the process with 'dbx - pid'
- issue 'where' in dbx console -
CAUFVD gets initialized result in dump with error Production ord not found
Hi All,
We want to make change of start date and end date of a production order via CO02 (Production order change). Based on these changes we want to update an existing a Purchasing Planned Order Start Dt and Finsih Dt (MD12)
We are using Enhancement component (PPCO0007) : Exit when saving production order
Within this exit we are using BAPI_PALNNEDORDER_CHANGE to update some other purchasing planned order dates.
The BAPI_PALNNEDORDER_CHANGE is executing succesfully however the production order structure (CAUFVD) gets initialized resulting in dump with error Production order not found
How can we update and save a purchased planned order and also the production order
Barada
Edited by: barada satapathy on Dec 8, 2010 9:14 AMHi Max,
Thanks for the reply...
The error details are as below:
Dump gets generated via program : (SAPLCOBT).
Exception condition ORDER_NOT_FOUND raised.
include = LCOBPU16.
Row No: = 21.
Module Type = (Function)
Module Name = CO_BT_ORDER_DET_TEMP
We also give brief details on what is happening:
My exit calls from Standard (LCOZVU01) :
CALL CUSTOMER-FUNCTION '001'
EXPORTING
header_imp = caufvd
IMPORTING
header_exp = caufvd_tmp
no_update = answer.
* Check if update of header necessary and allowed
IF caufvd-aufnr EQ caufvd_tmp-aufnr AND
caufvd NE caufvd_tmp.
PERFORM caufv_upd(saplcobh) USING caufvd_tmp.
ENDIF
When BAPI for planned order is executed within the exit, the structure (caufvd) values are found refreshed. This structure is further updating the production order. -
Log Reader Agent error "could not execute sp_replcmds' and causes stack dump
Publisher/Subscriber db: SQL 2008 R2, 2000 compatability mode
Distributor database is on separate server.
(note: There is another database on this instance that is running replication without error, it is not in compatibility mode)
After snapshot agent finishes, the log reader agent starts and fails immediately with this error in the Agent Job.
Then I get a SEV20 error and stack dump in the error logs.
Date 6/12/2014 3:12:26 PM
Log Job History (SERVER\INSTANCE-DBNAME-43)
Step ID 2
Server ######RT02
Job Name SERVER\INSTANCE-DBNAME-43
Step Name Run agent.
Duration 00:00:01
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0
Message
2014-06-12 20:12:26.302 Copyright (c) 2008 Microsoft Corporation
2014-06-12 20:12:26.302 Microsoft SQL Server Replication Agent: logread
2014-06-12 20:12:26.302
2014-06-12 20:12:26.302 The timestamps prepended to the output lines are expressed in terms of UTC time.
2014-06-12 20:12:26.302 User-specified agent parameter values:
-Publisher SERVER\INSTANCE
-PublisherDB DBNAME
-Distributor ######RT02
-DistributorSecurityMode 1
-Continuous
-XJOBID 0x8958DF32810C6849B28A037A8FF8DD92
-XJOBNAME SERVER\INSTANCE-DBNAME-43
-XSTEPID 2
-XSUBSYSTEM LogReader
-XSERVER SERVER\INSTANCE
-XCMDLINE 0
-XCancelEventHandle 0000000000000F98
-XParentProcessHandle 0000000000000F34
2014-06-12 20:12:26.459 Parameter values obtained from agent profile:
-pollinginterval 5000
-historyverboselevel 1
-logintimeout 15
-querytimeout 1800
-readbatchsize 500
-readbatchsize 500000
2014-06-12 20:12:26.493 Status: 4096, code: 20024, text: 'Initializing'.
2014-06-12 20:12:26.493 The agent is running. Use Replication Monitor to view the details of this agent session.
2014-06-12 20:12:27.885 Status: 0, code: 20011, text: 'The process could not execute 'sp_replcmds' on 'SERVER\INSTANCE'.'.
2014-06-12 20:12:27.886 The process could not execute 'sp_replcmds' on 'SERVER\INSTANCE'.
2014-06-12 20:12:27.886 Status: 0, code: 21, text: 'Warning: Fatal error 3624 occurred at Jun 12 2014 3:12PM. Note the error and time, and contact your system administrator.'.
2014-06-12 20:12:27.886 Status: 0, code: 22037, text: 'The process could not execute 'sp_replcmds' on 'SERVER\INSTANCE'.'.
I've tried removing replication and setting it back up again, restarting SQL, and restarting the server itself.
Let me know if you need any more information to help troubleshoot. Thanks.
Please help, thanks.Hi,
Enable Verbose logging and check the results.
Execute following commands: -Output C:\Temp\OUTPUTFILE.txt –Outputverboselevel 2.
Please refer following KB article for your reference -
http://support.microsoft.com/kb/q312292/
Thanks.
Tracy Cai
TechNet Community Support -
Stack dump: SQL Server keeps crushing
My SQL Server keeps crushing with a stack dump error saying:
(in the management studio error log):
spid197 External dump process return code 0x20000001. External Dump process returned no errors.
spid197 Stack signature for dump is 0x000000014A5D4200
How can I investigate this further and what do these errors mean... also what does this return code mean and what does this signature dump code mean and where can I read more about them?
Thanks in advance,
DrorSupport article on this and related errors:
FIX: SQL Server 2012, SQL Server 2008 R2 or SQL Server 2008 stops responding and a "Non-yielding Scheduler" error is logged
http://support.microsoft.com/kb/2699013
Another support article:
FIX: SQL Server 2005 or SQL Server 2008 may stop responding when you are performing a backup
http://support.microsoft.com/kb/960543
Also run DBCC CHECKDB to check for database corruption:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/ea0099e9-3ad2-4713-8e4e-ca429041bf2d/sql-server-2008-r2-sp1-creates-dump-files-twice-a-minute-please-help?forum=sqldatabaseengine
Kalman Toth Database & OLAP Architect
SELECT Video Tutorials 4 Hours
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Hi
I have one Zreport which gives the result in ALV form.
After getting the result(1 row with 33 columns) when I tried to export the ALV results to spread sheet using the option : List-> Export-> Spread Sheet OR by click on Excel icon in the display screen,I'm getting the short dump with the description "No more storage space available for extending an internal table" .
After analysis ,find that dump is raising in the FM : F4_GET_RESULT of Include Program : LSDH3U03.
Can anyone provide us some clue .
Thanks & Regards,
SreeramHi,
If the display is in ALV grid format, then you can try another approach to save the data in a spreadsheet.
- Right-click on any output cell.
- Select 'Spreadsheet' from the drop down list
- radio-button 'All available formats'
- Excel (In existing XXL format)
Thanks!
VS. -
Getting dump with message CALL_FUNCTION_GET_NAME_FAILED
Hi,
My requirement is to write a report which will be run in background every Monday and the result will be sent to a user as email with excel as attachment.
I tried it by giving the email in 'Spool list recipient' in SM36. ut since the length of the output is more than 255 chars, so i thought of writing the email code as shown below.
DATA: l_message_content LIKE soli OCCURS 10 WITH HEADER LINE,
l_receiver_list LIKE soos1 OCCURS 5 WITH HEADER LINE,
l_packing_list LIKE soxpl OCCURS 2 WITH HEADER LINE,
l_listobject LIKE abaplist OCCURS 10,
l_compressed_attachment LIKE soli OCCURS 100 WITH HEADER LINE,
lw_object_hd_change LIKE sood1,
l_compressed_size LIKE sy-index.
l_receiver_list-recnam = sy-uname .
l_receiver_list-esc_des = 'B'.
APPEND l_receiver_list.
lw_object_hd_change-objla = sy-langu.
lw_object_hd_change-objnam = 'Selection'.
lw_object_hd_change-objsns = 'P'.
Mail subject
lw_object_hd_change-objdes = 'KRB SAP Inconsistency Report'.
Mail body
APPEND 'Consisteny report between KRB and SAP' TO l_message_content.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
compressed_size = l_compressed_size
TABLES
in = <fs_table>
out = l_compressed_attachment.
DESCRIBE TABLE l_compressed_attachment.
CLEAR l_packing_list.
l_packing_list-transf_bin = 'X'.
l_packing_list-head_start = 0.
l_packing_list-head_num = 0.
l_packing_list-body_start = 1.
l_packing_list-body_num = sy-tfill.
l_packing_list-objtp = 'ALI'.
l_packing_list-objnam = 'Selection'.
l_packing_list-objdes = 'SAP KRB Consistency Report'.
l_packing_list-objlen = l_compressed_size.
APPEND l_packing_list.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = lw_object_hd_change
object_type = 'RAW'
owner = sy-uname
TABLES
objcont = l_message_content
receivers = l_receiver_list
packing_list = l_packing_list
att_cont = l_compressed_attachment.
I am getting the mail which i checked in SBWP but when i clicked on the attachment i am getting dump with message CALL_FUNCTION_GET_NAME_FAILED.
Short text
Error when starting a Remote Function Call.
What happened?
"CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=223#CPIC program connection ended (read
error) "
An error occurred when executing a Remote Function Call.
Error analysis
An error occurred when executing a Remote Function Call.
"CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=223#CPIC program connection ended (read
error) "
Status of connection.... "RFC DRV=??? ???"
Internal error code.... "RFC_IO4"
Internal error: Invalid RFC handle.
Trigger Location of Runtime Error
Program SAPMSSY1
Include SAPMSSY1
Row 266
Module type (FORM)
Module Name XAB_RUN_DRIVER
Please help in this.
<removed by moderator>
Edited by: Thomas Zloch on Sep 14, 2011 11:57 AMHi,
Check your RFC Connection Configuration. Also, check the used username & password.
Reward points if the asnwer is helpful.
Regards, -
Stack Dump while creating Write Optimized DSO on BW 7.3, MS SQL - any SAP Notes?
While attempting to create a Write Optimized DSO on BW 7.3, MS SQL, we had a stack dump - ABAP Program CL_RSD_ODSO_VERS==============CP with short text " Access using NULL object reference is not possible. "
Has anyone seen any SAP Notes on this subject?Hi John,
Was any field deleted from the DSO, if yes, probably the system is not able to relate the pointer from the DSO table. Error like these come up very often when fields are deleted from DSO. Solution is to remove the field manually from the table also. However, the system is supposed to do but sometimes such ambiguity causes such issues. -
How to Populate the JTable Object programatically with SQL Results
I'm wondering if someone could help me on how to populate the JTable Object with SQL Results wherein the Row of tjhe JTable object is automatically adjusted depending on how many records you have queried.
Thanks in advance and God bless! (",)
* frmMain.java
* Created on October 4, 2006, 6:15 AM
package tds;
import java.io.*;
import java.awt.Toolkit;
import javax.swing.JFrame;
import javax.imageio.*;
import javax.swing.JFrame;
import java.sql.*;
import javax.swing.table.DefaultTableModel;
* @author Dexter.Carlit
public class frmMain extends javax.swing.JFrame {
private Connection connection = null;
private DefaultTableModel model;
/** Creates new form frmMain */
public frmMain() {
initComponents();
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
private void initComponents() {
jSplitPane = new javax.swing.JSplitPane();
jScrollPane1 = new javax.swing.JScrollPane();
jPanel3 = new javax.swing.JPanel();
jScrollPane2 = new javax.swing.JScrollPane();
jTree1 = new javax.swing.JTree();
jTabbedPane1 = new javax.swing.JTabbedPane();
jPanel1 = new javax.swing.JPanel();
jPanel4 = new javax.swing.JPanel();
jLabel1 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField();
jTextField2 = new javax.swing.JTextField();
jLabel3 = new javax.swing.JLabel();
jTextField3 = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
jTextField4 = new javax.swing.JTextField();
jPanel5 = new javax.swing.JPanel();
jScrollPane3 = new javax.swing.JScrollPane();
jGrid = new javax.swing.JTable();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jProgressBar1 = new javax.swing.JProgressBar();
jPanel2 = new javax.swing.JPanel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowOpened(java.awt.event.WindowEvent evt) {
formWindowOpened(evt);
getAccessibleContext().setAccessibleName("frmMain");
jSplitPane.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED));
jSplitPane.setDividerLocation(200);
jSplitPane.setDividerSize(10);
jScrollPane2.setViewportView(jTree1);
org.jdesktop.layout.GroupLayout jPanel3Layout = new org.jdesktop.layout.GroupLayout(jPanel3);
jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel3Layout.createSequentialGroup()
.add(jScrollPane2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 916, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jScrollPane2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 410, Short.MAX_VALUE)
jScrollPane1.setViewportView(jPanel3);
jSplitPane.setLeftComponent(jScrollPane1);
jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(""));
jLabel1.setText("First Name:");
jLabel2.setText("Last Name:");
jLabel3.setText("Position :");
jLabel4.setText("Department:");
jPanel5.setBorder(javax.swing.BorderFactory.createTitledBorder("Search Results"));
jGrid.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
new String [] {
"LName", "FName", "Position", "Department", "Office No", "Local No", "Office Mobile No", "Home No", "MobileNo", "Email Address"
jGrid.setAutoResizeMode(javax.swing.JTable.AUTO_RESIZE_OFF);
jGrid.setColumnSelectionAllowed(true);
jGrid.setName("");
jGrid.setTableHeader(jGrid.getTableHeader());
jScrollPane3.setViewportView(jGrid);
jScrollPane3.getAccessibleContext().setAccessibleName("rset");
org.jdesktop.layout.GroupLayout jPanel5Layout = new org.jdesktop.layout.GroupLayout(jPanel5);
jPanel5.setLayout(jPanel5Layout);
jPanel5Layout.setHorizontalGroup(
jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 386, Short.MAX_VALUE)
jPanel5Layout.setVerticalGroup(
jPanel5Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jScrollPane3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 175, Short.MAX_VALUE)
jButton1.setText("Find");
jButton1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
jButton1ActionPerformed(evt);
jButton1.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton1MouseClicked(evt);
jButton2.setText("Clear");
jButton2.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
jButton2MouseClicked(evt);
org.jdesktop.layout.GroupLayout jPanel4Layout = new org.jdesktop.layout.GroupLayout(jPanel4);
jPanel4.setLayout(jPanel4Layout);
jPanel4Layout.setHorizontalGroup(
jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel4Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
.add(jLabel1)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 343, Short.MAX_VALUE))
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
.add(jLabel2)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 343, Short.MAX_VALUE)
.add(1, 1, 1))
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4Layout.createSequentialGroup()
.add(jLabel3)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField3, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jLabel4)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jTextField4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 138, Short.MAX_VALUE))
.add(jPanel4Layout.createSequentialGroup()
.add(jButton1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 66, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jButton2, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, 66, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)))
.addContainerGap())
jPanel4Layout.linkSize(new java.awt.Component[] {jButton1, jButton2}, org.jdesktop.layout.GroupLayout.HORIZONTAL);
jPanel4Layout.setVerticalGroup(
jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jPanel4Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel1)
.add(jTextField1))
.add(18, 18, 18)
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel2)
.add(jTextField2))
.add(16, 16, 16)
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jLabel3)
.add(jTextField3)
.add(jLabel4)
.add(jTextField4))
.add(14, 14, 14)
.add(jPanel4Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
.add(jButton2, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(jButton1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jPanel5, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING)
.add(org.jdesktop.layout.GroupLayout.LEADING, jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.add(org.jdesktop.layout.GroupLayout.LEADING, jProgressBar1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 438, Short.MAX_VALUE))
.addContainerGap())
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(org.jdesktop.layout.GroupLayout.TRAILING, jPanel1Layout.createSequentialGroup()
.addContainerGap()
.add(jPanel4, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
.add(jProgressBar1, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
jTabbedPane1.addTab("Search", jPanel1);
org.jdesktop.layout.GroupLayout jPanel2Layout = new org.jdesktop.layout.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 458, Short.MAX_VALUE)
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(0, 401, Short.MAX_VALUE)
jTabbedPane1.addTab("Directory", jPanel2);
jSplitPane.setRightComponent(jTabbedPane1);
org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jSplitPane, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 675, Short.MAX_VALUE)
layout.setVerticalGroup(
layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
.add(jSplitPane)
pack();
}// </editor-fold>//GEN-END:initComponents
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
}//GEN-LAST:event_jButton1ActionPerformed
private void jButton2MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton2MouseClicked
jGrid.setModel(new javax.swing.table.DefaultTableModel(
new Object [][] {
{null, null, null, null, null, null, null, null, null, null},
{null, null, null, null, null, null, null, null, null, null},
{null, null, null, null, null, null, null, null, null, null},
{null, null, null, null, null, null, null, null, null, null}
new String [] {
"LName", "FName", "Position", "Department", "Office No", "Local No", "Office Mobile No", "Home No", "MobileNo", "Email Address"
jGrid.updateUI();
}//GEN-LAST:event_jButton2MouseClicked
private void jButton1MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton1MouseClicked
try {
//Load and register SQL Server driver
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
//Establish a connection
Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://X.X.X.X:1433","MyAccount","MyPassword");
//Create a Statement object
Statement sql_stmt = connection.createStatement();
//Create a ResultSet object, execute the query and return a
// resultset
ResultSet rset = sql_stmt.executeQuery("SELECT * FROM EpxDirectory..Directory Order By LName");
// Populates a JTABLE Object
int i=0;
while (rset.next()){
String LName = rset.getString(1);
String FName = rset.getString(2);
String Position = rset.getString(3);
String Dept_Code = rset.getString(4);
String OffPhoneNo = rset.getString(5);
String LocalNo = rset.getString(6);
String OffMobileNo = rset.getString(7);
String HomePhoneNo = rset.getString(8);
String MobileNo = rset.getString(9);
String Email = rset.getString(10);
jGrid.updateUI();
jGrid.setValueAt(rset.getString(1).trim(),i,0);
jGrid.setValueAt(rset.getString(2).trim(),i,1);
jGrid.setValueAt(rset.getString(3).trim(),i,2);
jGrid.setValueAt(rset.getString(4).trim(),i,3);
jGrid.setValueAt(rset.getString(5).trim(),i,4);
jGrid.setValueAt(rset.getString(6).trim(),i,5);
jGrid.setValueAt(rset.getString(7).trim(),i,6);
jGrid.setValueAt(rset.getString(8).trim(),i,7);
jGrid.setValueAt(rset.getString(9).trim(),i,8);
jGrid.setValueAt(rset.getString(10).trim(),i,9);
i++;
//Close the ResultSet and Statement
rset.close();
sql_stmt.close();
//Close the database connection
connection.close();
System.out.println(Integer.toString(i) + " rows found");
} catch(Exception e) {
System.out.println("Failed to connect; Please view Stack Trace");
e.printStackTrace();
}//GEN-LAST:event_jButton1MouseClicked
private void formWindowOpened(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_formWindowOpened
}//GEN-LAST:event_formWindowOpened
public static void run(){
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
frmMain frmMain = new frmMain();
frmMain.setLocationRelativeTo(null); // Center the JFrame on the
frmMain.setVisible(true);
private void exitApplication() {
// try {
// //gui.putStatus("Closing the connection....please wait.....");
// if(connection != null) {
// // connection.close(); //Closing the connection object.
// } catch(SQLException ex) { //Trap SQLException
// //gui.putStatus(ex.toString());
System.exit(0); //Exit the aplication
* @param args the command line arguments
public static void main(String args[]) {
run();
// Variables declaration - do not modify//GEN-BEGIN:variables
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JTable jGrid;
private javax.swing.JLabel jLabel1;
private javax.swing.JLabel jLabel2;
private javax.swing.JLabel jLabel3;
private javax.swing.JLabel jLabel4;
private javax.swing.JPanel jPanel1;
private javax.swing.JPanel jPanel2;
private javax.swing.JPanel jPanel3;
private javax.swing.JPanel jPanel4;
private javax.swing.JPanel jPanel5;
private javax.swing.JProgressBar jProgressBar1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JScrollPane jScrollPane2;
private javax.swing.JScrollPane jScrollPane3;
private javax.swing.JSplitPane jSplitPane;
private javax.swing.JTabbedPane jTabbedPane1;
private javax.swing.JTextField jTextField1;
private javax.swing.JTextField jTextField2;
private javax.swing.JTextField jTextField3;
private javax.swing.JTextField jTextField4;
private javax.swing.JTree jTree1;
// End of variables declaration//GEN-END:variables
}Use code tags.
Don't mix GUI and JDBC together. Split them out into separate classes.
You have a good start, but you will need to loop through your resultset and also pull the ResultSet metaData for you column headings -
Hi All,
Please help me in resolving this issue.
====================================================================
BugCheck Dump
=====================================================================
This file is generated by Microsoft SQL Server
version 9.00.5057.00
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 AT/AT COMPATIBLE.
Bios Version is INTEL - 6040000
PhoenixBIOS 4.0 Release 6.0
Current time is 06:04:58 09/21/14.
2 Intel x86 level 6, 2600 Mhz processor (s).
Windows NT 5.2 Build 3790 CSD Service Pack 2.
Memory
MemoryLoad = 95%
Total Physical = 4095 MB
Available Physical = 165 MB
Total Page File = 9029 MB
Available Page File = 4848 MB
Total Virtual = 2047 MB
Available Virtual = 256 MB
**Dump thread - spid = 0, PSS = 0x00000000, EC = 0x00000000
***Stack Dump being sent to D:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\LOG\SQLDump0010.txt
* BEGIN STACK DUMP:
* 09/21/14 06:04:58 spid 0
* Non-yielding Resource Monitor
* Short Stack Dump
select @@ version:
Microsoft SQL Server 2005 - 9.00.5057.00 (Intel X86) Mar 25 2011 13:50:04 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)
Thanks in advance.Hello,
These types of errors are related to memory pressure or working set trimming on the SQL Server instance. Please try to set the max server
memory option and leave 2 or 4 GB of RAM to the operating system.
sp_configure
'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure
'max server memory', 4096;
GO
RECONFIGURE;
GO
The above code limits SQL Server Memory Manager to 4 GB.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
=====================================================================
BugCheck Dump
=====================================================================
This file is generated by Microsoft SQL Server
version 9.00.5000.00
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 AT/AT COMPATIBLE.
Bios Version is DELL - 1
Phoenix ROM BIOS PLUS Version 1.10 2.2.6
Current time is 06:28:49 08/28/14.
8 Intel x86 level 6, 2660 Mhz processor (s).
Windows NT 5.2 Build 3790 CSD Service Pack 2.
Memory
MemoryLoad = 82%
Total Physical = 32762 MB
Available Physical = 5805 MB
Total Page File = 82821 MB
Available Page File = 56349 MB
Total Virtual = 2047 MB
Available Virtual = 282 MB
**Dump thread - spid = 18, PSS = 0x7657A7D8, EC = 0x7657A7E0
***Stack Dump being sent to xxxxxx
* BEGIN STACK DUMP:
* 08/28/14 06:28:49 spid 18
* Latch timeout
* Short Stack DumpHello,
A fix was issued on CU 6 for SQL Server 2005 (Oct 2009) and your SQL Server instance has SP4 applied which was released November 2009.
Please apply CU1 for SP4 to make sure the hot fix has been applied to the SQL Server instance.
http://support.microsoft.com/kb/2464079
The following article may help you troubleshoot this issue:
http://mssqlwiki.com/tag/latch-timeout-stack-dump/
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Auto-Stack by Capture Time: results don't match selected interval
I selected a collection of 2075 images in Grid mode, and invoked Auto-Stack by Capture Time, with "Time Between Stacks" set to 0:10:00. This resulted in all images being grouped into 7 stacks -- but the difference in capture time between one stack and the next stack was only a couple of seconds.
I then changed the interval to 0:20:00, and repeated the Auto-Stack command. This resulted in all images being grouped into 4 stacks -- and again, the difference in capture time between one stack and the next stack was only a couple of seconds.Thanks Bob for that very fast reply!
But neither "Modifying hal configuration" nor "Using the Desktop Environment settings" (xfce) worked. So I tried the "I don't want this crap, how do I turn it off?" solution and well it works
Maybe I turn it back on in a month or so.. but for now i'm fine with no hot plugging but a working keyboard...
Thanks and Bye!
smax
Last edited by smaxer (2008-12-09 17:42:43) -
Forms Runtime stack dump - MSVCRT.dll
I'm having trouble with a Forms 5.0 app that I'm bringing up to Forms 6i. Whenever I try to run the form, I get a stack dump. I searched METALINK and found lots of people complaining of the same or similar problem, all in forum threads that have since been closed without anyone posting a solution. Has anyone experienced this? I'm desperate for a solution!
I'm running Windows/NT Build 1381, SP6, but the problem also occurs on a Win2k workstation. I've tried uninstalling/reinstalling all the Oracle products on my workstation, and I've also tried loading various different versions of MSVCRT.dll into the WINNT/system32 folder. (This is a pain because Windows opens & locks the DLL.)
Thanks in advance.
-- Rob
Here's the stack dump:
===========================================
[05/28/02 15:42:47 Pacific Daylight Time]::Client Status [ConnId=0, PID=258]
>> ERROR: Abnormal termination, Error Code: C0000005 ACCESS_VIOLATION
======================= STACK DUMP =======================
Fault address: 78001C89 01:00000C89
Module: C:\WINNT\system32\MSVCRT.dll
System Information:
Operating System: Windows NT Version 4.0 Build 1381 Service Pack 6
Command line: "C:\Oracle\Developer6i\BIN\ifrun60.EXE" pcar1000.fmx
FORM/BLOCK/FIELD: :.
Last Trigger: - (No error number)
Last Builtin: - (No error number)
Registers:
EAX:00357365
EBX:0012EC4C
ECX:00357365
EDX:00000000
ESI:00732C70
EDI:FFFFFFFF
CS:EIP:001B:78001C89
SS:ESP:0023:0012EB18 EBP:0012EB30
DS:0023 ES:0023 FS:0038 GS:0000
Flags:00010202
Call stack:
Address Frame
78001C89 0012EB30 strlen
67241539 0012EBE0 uiwnzAdjustApiSize
6723D1F8 0012ED6C uiwnc
5DF5E2CE 038838E4 exiterrWe are experiencing the same problem.
O.S - Windows NT Ver 5.0 service pack 2
Designer 6.5.88.4.0
Repository 6.5.88.12.0
Headstart 6.5
Oracle 8.1.7.1.1
The generated forms are running fine in web mode but crashes out when you run it in
client-server mode. We have peformed all the recommendations in Headstart installation manual.
Help us please.. -
I am trying to create a print ready PDF from a word file with unacceptable results.
I am trying to create a print ready PDF from a word file with unacceptable results.
The word file has a trim size of 6” x 9”. It has been set to mirror margins with the inner, top and bottom margins set to 0.75”, the outer margin is set to 0.5” and the gutter to 0.14”.
It doesn’t matter if I create the PDF from inside Word, or open Acrobat Pro 11.0.9 and click Create From File, while the resulting document size is correct and the odd numbered pages reflect the correct margins, the even numbered pages do not. This results in some text near the outer margin, as well as the page numbers being omitted.
Does anyone know how to correct this?
I just noticed that some of the odd numbered pages' text is also cropped. Apparently Acrobat is refusing to set side margins to smaller than 1" (@ 3cm).I'm away from my printer, so I'll try it later. Even so, the proposed test is irrelevant. I operate a small publishing house and am trying to upload certain novels to Ingram, the largest book distributor in the world. The specifications I've set are the specifications they've asked for. Since they've said that the results I'm obtaining are unacceptable, and since they demand submission in PDF form, this renders Acrobat Pro for Mac completely unacceptable for anyone in the publication industry. As far as I can tell, Adobe has a serious bug here that it needs to fix—and at once.
-
Set "hot corner" to put iMac to sleep. Doesn't work. Selecting the corner will momentarily put to sleep, but immediately rewakes. Have tried all four corners with same result. Have tried with wireless mouse and with corded mouse with same result. Any ideas as to how to fix?
You've been so great, I want to thank you for all the help over a very frustrating day. Last evening, I redownloaded and installed the fresh copy of Mountain Lion. The problem remained. After installing the new OS 10.8, any clicks on a web page (Firefox browser) didn't open the page, but instead made a copy of the page on the desktop. Felt it must be hardware degrading, so I set up a case with Apple support for today. Early in the diagnostics, I had swapped out for a corded mouse and the problem remained. As a last try, I changed out my wireless mouse for a different wireless mouse. That seems to have done the trick. My Logitech mouse is incompatible with OS 10.8.
Thank you again, so much!
.../awards rkaufmann87 500 points!
Maybe you are looking for
-
A
-
How and where can i get an os installer file to copy to a flash drive
I replaced a bad hard drive for a friend and need an os to copy to a flash drive cause her cd/dvd is not working
-
My brand new HP 15-F111DX laptop has stopped working
I bought this laptop last week. http://www.bestbuy.com/site/hp-15-6-touch-screen-laptop-amd-a8-series-8gb-memory-750gb-hard-drive-bl... From the start it ran extremely slowly. I uninstalled a couple of programs (the Cyberlink stuff) and downloaded a
-
I am trying to turn on iCloud on iPod touch 5, and when I choose icloud, it just shows the iPod "working". it never asks for an appleID. It is like it is locked up or something. Help!!
-
Dear friends, We are maintaining the Material cost, Maintenance cost everything in INR. So, when the Internal Material cost for any PM order is taken the INR is displayed. But now if I need the report of all the Internal Costs or any costs in general