Unhandeled exception occurred while clicking on new query button in Manaement studio in SQL server 2008 R2 SP2.

I am getting below exception while clicking on new query button in SSMS of SQL server 2008 R2 SP2. 
I am thinking to reinstall Complete Management Tools. is it worth to give a try on production server?  What can be the fix?
Exception Details-
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.SqlServer.Management.UI.VSIntegration.ShellCodeWindowControl.CreateCWWindow()
   at Microsoft.SqlServer.Management.UI.VSIntegration.ShellCodeWindowControl.OnHandleCreated(EventArgs a)
   at System.Windows.Forms.Control.WmCreate(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at Microsoft.SqlServer.Management.UI.VSIntegration.ShellTextEditorControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
AppIDPackage
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/AppIDPackage.DLL
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
Microsoft.SqlServer.SqlTools.VSIntegration
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.SqlTools.VSIntegration.DLL
Microsoft.VisualStudio.Shell.Interop
    Assembly Version: 7.1.40304.0
    Win32 Version: 7.10.6071
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.Shell.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.dll
Microsoft.VisualStudio.OLE.Interop
    Assembly Version: 7.1.40304.0
    Win32 Version: 7.10.6070
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.OLE.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.OLE.Interop.dll
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
SqlWorkbench.Interfaces
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SqlWorkbench.Interfaces.DLL
Microsoft.SqlServer.SqlTDiagM
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.SqlTDiagM/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlTDiagM.dll
Microsoft.SqlServer.Instapi
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Instapi/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Instapi.dll
EnvDTE
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.1826 (QFE.050727-1800)
    CodeBase: file:///C:/Windows/assembly/GAC/EnvDTE/8.0.0.0__b03f5f7f11d50a3a/EnvDTE.dll
Microsoft.VisualStudio.Shell
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1826 (QFE.050727-1800)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Shell/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.dll
Microsoft.VisualStudio.Shell.Interop.8.0
    Assembly Version: 8.0.0.0
    Win32 Version: 8.0.50727.1826 (QFE.050727-1800)
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.Shell.Interop.8.0/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Shell.Interop.8.0.dll
Microsoft.SqlServer.Management.SDK.SqlStudio
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SDK.SqlStudio.DLL
Microsoft.DataWarehouse.SQM
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.DataWarehouse.SQM.DLL
Microsoft.SqlServer.Management.SqlStudio.Explorer
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SqlStudio.Explorer.DLL
Microsoft.SqlServer.Management.Controls
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.Controls.DLL
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
ObjectExplorer
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/ObjectExplorer.DLL
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
Microsoft.SqlServer.Management.UserSettings
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.UserSettings.DLL
SqlMgmt
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SqlMgmt.DLL
Microsoft.SqlServer.Management.Sdk.Sfc
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.Sdk.Sfc/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.Sdk.Sfc.dll
ConnectionDlg
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/ConnectionDlg.DLL
Microsoft.VisualStudio
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1826 built by: QFE
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.dll
System.Drawing.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing.Design/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
Microsoft.VisualStudio.Designer.Interfaces
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.Designer.Interfaces/1.0.5000.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Designer.Interfaces.dll
Microsoft.SqlServer.RegSvrEnum
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.RegSvrEnum/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.RegSvrEnum.dll
Microsoft.SqlServer.Management.Reports
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.Reports.DLL
Microsoft.SqlServer.Management.SqlStudio.Migration
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SqlStudio.Migration.DLL
Microsoft.SqlServer.Smo
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Smo/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Smo.dll
Microsoft.NetEnterpriseServers.ExceptionMessageBox
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.NetEnterpriseServers.ExceptionMessageBox/10.0.0.0__89845dcd8080cc91/Microsoft.NetEnterpriseServers.ExceptionMessageBox.dll
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
Microsoft.SqlServer.Management.SqlStudio
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Management.SqlStudio.DLL
Accessibility
    Assembly Version: 2.0.0.0
   Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
Microsoft.SqlServer.ConnectionInfo
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.ConnectionInfo/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.ConnectionInfo.dll
Microsoft.SqlServer.Management.RegisteredServers
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.RegisteredServers/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.RegisteredServers.dll
Microsoft.SqlServer.SqlClrProvider
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.SqlClrProvider/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlClrProvider.dll
8h2zzgtz
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
Microsoft.SqlServer.SString
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.SString/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SString.dll
0seaoek4
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
Microsoft.SqlServer.Diagnostics.STrace
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Diagnostics.STrace/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Diagnostics.STrace.dll
System.Transactions
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4927 (NetFXspW7.050727-4900)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
System.EnterpriseServices
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
Microsoft.SqlServer.SqlEnum
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.SqlEnum/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.SqlEnum.dll
Microsoft.SqlServer.BatchParserClient
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.BatchParserClient/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.BatchParserClient.dll
Microsoft.SqlServer.BatchParser
    Assembly Version: 10.0.0.0
    Win32 Version: 2009.0100.1600.01 ((KJ_RTM).100402-1540 )
    CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.SqlServer.BatchParser/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.BatchParser.dll
msvcm80
    Assembly Version: 8.0.50727.4940
    Win32 Version: 8.00.50727.4940
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_d08cc06a442b34fc/msvcm80.dll
Microsoft.SqlServer.Dmf
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Dmf/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Dmf.dll
Microsoft.SqlServer.PolicyEnum
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.PolicyEnum/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.PolicyEnum.dll
ObjectExplorerReplication
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/ObjectExplorerReplication.DLL
Microsoft.SqlServer.Sqm
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/Microsoft.SqlServer.Sqm.DLL
ihzu3zbs
    Assembly Version: 10.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
System.Management
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Management/2.0.0.0__b03f5f7f11d50a3a/System.Management.dll
SQLEditors
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/SQLEditors.DLL
Microsoft.VisualStudio.TextManager.Interop
    Assembly Version: 7.1.40304.0
    Win32 Version: 7.10.6070
    CodeBase: file:///C:/Windows/assembly/GAC/Microsoft.VisualStudio.TextManager.Interop/7.1.40304.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.TextManager.Interop.dll
Microsoft.SqlServer.Management.MultiServerConnection
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1539 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.MultiServerConnection/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.MultiServerConnection.dll
RadLangSvc
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///E:/Program%20Files%20(x86)/Microsoft%20SQL%20Server/100/Tools/Binn/VSShell/Common7/IDE/RadLangSvc.DLL
Microsoft.VisualStudio.Package.LanguageService
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.1826 (QFE.050727-1800)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Package.LanguageService/2.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Package.LanguageService.dll
Microsoft.SqlServer.Management.SqlParser
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.4000.0 ((KJ_PCU_Main).120628-0827 )
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.SqlServer.Management.SqlParser/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.Management.SqlParser.dll
Microsoft.SqlServer.GridControl
    Assembly Version: 10.0.0.0
    Win32 Version: 10.50.1600.1 ((KJ_RTM).100402-1540 )
    CodeBase: file:///C:/Windows/assembly/GAC_32/Microsoft.SqlServer.GridControl/10.0.0.0__89845dcd8080cc91/Microsoft.SqlServer.GridControl.dll
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Hi,
How many SQL Server instances were installed on the server?
Have you tried to connect this instance from another machine using SQL Server Management Studio?
1. Try the solution by Zack1223 in the link below. Delete the shell folder in C:\Users\<username>\AppData\Roaming\Microsoft\Microsoft SQL Server\100\Tools\ and check the result.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/dc67c38e-6749-4908-a9a8-d181c12b7e91/sql-server-management-studio-express-2005-keeps-crashing
2. Try to download and install shared management objects to fix this issue. Download here:
http://www.microsoft.com/en-us/download/details.aspx?id=30440
Refer to this thread:
http://social.msdn.microsoft.com/Forums/en-US/sqlsetupandupgrade/thread/9125eaae-13f5-42b1-861f-e81e2b46c1de
Hope it helps.
Tracy Cai
TechNet Community Support

Similar Messages

  • Creating New db(with new name) with the old db backup sql server 2008

    Friends..
    version: Sql Server 2008
    I have a database in a name college1 (more than 200 tables and view etc...)
    i want to create a new db with all the structures including the data of the above db college1 with a new name college2
    so...i finished the step 1 successfully.. what are the other steps i have to do...like validating the invalid objects. etc....
    Step 1:
    RESTORE DATABASE college2 FROM DISK = 'D:\DailyDBbackup\college1.bak'
      WITH replace,
      move 'college2 ' TO 'D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\college2 .mdf',
      move  'college2 _log' TO 'D:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\DATA\college2 _log.ldf';
    step 2: ?
    Step 3: ?
    thanks...

    but...when i type
    use college1
    select * from (it will display all tables under the above db)
    but when i do..
    use college2
    select * from (only system tables are displaying..)
    Did restore completed successfully ? If yes Expand database , can you see tables in the new database you restored ?. Sometimes when you type incorrect word which does not matches anything you wont get help from intellicense you should not be worried about this
    if tables are there in new database college 2
    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 Wiki Article
    MVP

  • SQL Server 2008 R2 Sp2 crashed on query

    On some my query I got:
    Msg 0, Level 11, State 0, Line 0
    A severe error occurred on the current command.  The results, if any, should be discarded.
    Msg 0, Level 20, State 0, Line 0
    A severe error occurred on the current command.  The results, if any, should be discarded.
    In ERRORLOG:
    2014-07-09 17:01:30.50 spid71 Using 'dbghelp.dll' version '4.0.5'
    2014-07-09 17:01:30.59 spid71 ***Stack Dump being sent to C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\LOG\SQLDump0010.txt
    2014-07-09 17:01:30.59 spid71 SqlDumpExceptionHandler: Process 71 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is terminating this process.
    2014-07-09 17:01:30.59 spid71 * *******************************************************************************
    2014-07-09 17:01:30.59 spid71 *
    2014-07-09 17:01:30.59 spid71 * BEGIN STACK DUMP:
    2014-07-09 17:01:30.59 spid71 * 07/09/14 17:01:30 spid 71
    2014-07-09 17:01:30.59 spid71 *
    2014-07-09 17:01:30.59 spid71 *
    2014-07-09 17:01:30.59 spid71 * Exception Address = 00000000008AEEF0 Module(sqlservr+000000000031EEF0)
    2014-07-09 17:01:30.59 spid71 * Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION
    2014-07-09 17:01:30.59 spid71 * Access Violation occurred reading address 0000000000000000
    2014-07-09 17:01:30.59 spid71 * Input Buffer 510 bytes -
    2014-07-09 17:01:30.59 spid71 * update dbo.CONTRACT_CONNECTION set DATE_TO=coalesce(( SELECT
    2014-07-09 17:01:30.59 spid71 * MAX(F) FROM ( VALUES ((select max(ccdailypla1_.DATE_FOR) from dbo.CC_DAI
    2014-07-09 17:01:30.59 spid71 * LY_PLAN ccdailypla1_ where dbo.CONTRACT_CONNECTION.CC_ID=ccdailypla1_.CC
    2014-07-09 17:01:30.59 spid71 * _ID)),((select max(contrarcex2_.CORR_TIME) from dbo.CONTR_ARC_EXPS_D con
    2014-07-09 17:01:30.59 spid71 * trarcex2_ where dbo.CONTRACT_CONNECTION.CC_ID=contrarcex2_.CC_ID)),((sel
    2014-07-09 17:01:30.59 spid71 * ect max(contrarcex3_.CORR_TIME) from dbo.CONTR_ARC_EXPS_H contrarcex3_ w
    2014-07-09 17:01:30.59 spid71 * here dbo.CONTRACT_CONNECTION.CC_ID=contrarcex3_.CC_ID and contrarcex3_.C
    2014-07-09 17:01:30.59 spid71 * C_ID=CC_ID)) ) T(F) ), DATE_TO), DVIS=case when ( SELECT MAX(F) FROM ( V
    2014-07-09 17:01:30.59 spid71 * ALUES ((select max(ccdailypla4_.DATE_FOR) from dbo.CC_DAILY_PLAN ccdaily
    2014-07-09 17:01:30.59 spid71 * pla4_ where dbo.CONTRACT_CONNECTION.CC_ID=ccdailypla4_.CC_ID)),((select
    2014-07-09 17:01:30.59 spid71 * max(contrarcex5_.CORR_TIME) from dbo.CONTR_ARC_EXPS_D contrarcex5_ where
    2014-07-09 17:01:30.59 spid71 * dbo.CONTRACT_CONNECTION.CC_ID=contrarcex5_.CC_ID)),((select max(contrar
    2014-07-09 17:01:30.59 spid71 * cex6_.CORR_TIME) from dbo.CONTR_ARC_EXPS_H contrarcex6_ where dbo.CONTRA
    2014-07-09 17:01:30.59 spid71 * CT_CONNECTION.CC_ID=contrarcex6_.CC_ID and contrarcex6_.CC_ID=CC_ID)) )
    2014-07-09 17:01:30.59 spid71 * T(F) ) is null then 1 else 0 end, MODIFICATION_DATE=getdate() where (DAT
    2014-07-09 17:01:30.59 spid71 * E_TO is null or DATE_TO<>( SELECT MAX(F) FROM ( VALUES ((select max(ccda
    2014-07-09 17:01:30.59 spid71 * ilypla7_.DATE_FOR) from dbo.CC_DAILY_PLAN ccdailypla7_ where dbo.CONTRAC
    2014-07-09 17:01:30.59 spid71 * T_CONNECTION.CC_ID=ccdailypla7_.CC_ID)),((select max(contrarcex8_.CORR_T
    2014-07-09 17:01:30.59 spid71 * IME) from dbo.CONTR_ARC_EXPS_D contrarcex8_ where dbo.CONTRACT_CONNECTIO
    2014-07-09 17:01:30.59 spid71 * N.CC_ID=contrarcex8_.CC_ID)),((select max(contrarcex9_.CORR_TIME) from d
    2014-07-09 17:01:30.59 spid71 * bo.CONTR_ARC_EXPS_H contrarcex9_ where dbo.CONTRACT_CONNECTION.CC_ID=con
    2014-07-09 17:01:30.59 spid71 * trarcex9_.CC_ID and contrarcex9_.CC_ID=CC_ID)) ) T(F) )) and (( SELECT M
    2014-07-09 17:01:30.59 spid71 * AX(F) FROM ( VALUES ((select max(ccdailypla10_.DATE_FOR) from dbo.CC_DAI
    2014-07-09 17:01:30.59 spid71 * LY_PLAN ccdailypla10_ where dbo.CONTRACT_CONNECTION.CC_ID=ccdailypla10_.
    2014-07-09 17:01:30.59 spid71 * CC_ID)),((select max(contrarcex11_.CORR_TIME) from dbo.CONTR_ARC_EXPS_D
    2014-07-09 17:01:30.59 spid71 * contrarcex11_ where dbo.CONTRACT_CONNECTION.CC_ID=contrarcex11_.CC_ID)),
    2014-07-09 17:01:30.59 spid71 * ((select max(contrarcex12_.CORR_TIME) from dbo.CONTR_ARC_EXPS_H contrarc
    2014-07-09 17:01:30.59 spid71 * ex12_ where dbo.CONTRACT_CONNECTION.CC_ID=contrarcex12_.CC_ID and contra
    2014-07-09 17:01:30.59 spid71 * rcex12_.CC_ID=CC_ID)) ) T(F)
    2014-07-09 17:01:30.59 spid71 *
    2014-07-09 17:01:30.59 spid71 *
    2014-07-09 17:01:30.59 spid71 * MODULE BASE END SIZE
    2014-07-09 17:01:30.59 spid71 * sqlservr 0000000000590000 00000000041A1FFF 03c12000
    2014-07-09 17:01:30.59 spid71 * ntdll 0000000076F90000 0000000077138FFF 001a9000
    2014-07-09 17:01:30.59 spid71 * kernel32 0000000076E70000 0000000076F8EFFF 0011f000
    2014-07-09 17:01:30.59 spid71 * KERNELBASE 000007FEFD240000 000007FEFD2AAFFF 0006b000
    2014-07-09 17:01:30.59 spid71 * ADVAPI32 000007FEFD490000 000007FEFD56AFFF 000db000
    2014-07-09 17:01:30.59 spid71 * msvcrt 000007FEFDE10000 000007FEFDEAEFFF 0009f000
    2014-07-09 17:01:30.59 spid71 * sechost 000007FEFEC40000 000007FEFEC5EFFF 0001f000
    2014-07-09 17:01:30.59 spid71 * RPCRT4 000007FEFDB20000 000007FEFDC4CFFF 0012d000
    2014-07-09 17:01:30.59 spid71 * MSVCR80 00000000739C0000 0000000073A88FFF 000c9000
    2014-07-09 17:01:30.59 spid71 * MSVCP80 00000000738A0000 00000000739A8FFF 00109000
    2014-07-09 17:01:30.59 spid71 * sqlos 0000000073860000 0000000073866FFF 00007000
    2014-07-09 17:01:30.59 spid71 * Secur32 000007FEFCA20000 000007FEFCA2AFFF 0000b000
    2014-07-09 17:01:30.59 spid71 * SSPICLI 000007FEFCD40000 000007FEFCD64FFF 00025000
    2014-07-09 17:01:30.59 spid71 * pdh 000007FEF9BD0000 000007FEF9C1DFFF 0004e000
    2014-07-09 17:01:30.59 spid71 * SHLWAPI 000007FEFDCA0000 000007FEFDD10FFF 00071000
    2014-07-09 17:01:30.59 spid71 * GDI32 000007FEFF0E0000 000007FEFF146FFF 00067000
    2014-07-09 17:01:30.59 spid71 * USER32 0000000076D70000 0000000076E69FFF 000fa000
    2014-07-09 17:01:30.59 spid71 * LPK 000007FEFF1B0000 000007FEFF1BDFFF 0000e000
    2014-07-09 17:01:30.59 spid71 * USP10 000007FEFDD40000 000007FEFDE08FFF 000c9000
    2014-07-09 17:01:30.59 spid71 * USERENV 000007FEFC220000 000007FEFC23DFFF 0001e000
    2014-07-09 17:01:30.59 spid71 * profapi 000007FEFCEA0000 000007FEFCEAEFFF 0000f000
    2014-07-09 17:01:30.59 spid71 * WINMM 000007FEF9DD0000 000007FEF9E0AFFF 0003b000
    2014-07-09 17:01:30.59 spid71 * IPHLPAPI 000007FEFA650000 000007FEFA676FFF 00027000
    2014-07-09 17:01:30.59 spid71 * NSI 000007FEFDA70000 000007FEFDA77FFF 00008000
    2014-07-09 17:01:30.59 spid71 * WINNSI 000007FEFA520000 000007FEFA52AFFF 0000b000
    2014-07-09 17:01:30.59 spid71 * opends60 0000000073830000 0000000073837FFF 00008000
    2014-07-09 17:01:30.59 spid71 * NETAPI32 000007FEFA2F0000 000007FEFA305FFF 00016000
    2014-07-09 17:01:30.59 spid71 * netutils 000007FEFA610000 000007FEFA61BFFF 0000c000
    2014-07-09 17:01:30.59 spid71 * srvcli 000007FEFC980000 000007FEFC9A2FFF 00023000
    2014-07-09 17:01:30.59 spid71 * wkscli 000007FEFA2D0000 000007FEFA2E4FFF 00015000
    2014-07-09 17:01:30.59 spid71 * LOGONCLI 000007FEFC7D0000 000007FEFC7FFFFF 00030000
    2014-07-09 17:01:30.59 spid71 * SAMCLI 000007FEF9E30000 000007FEF9E43FFF 00014000
    2014-07-09 17:01:30.59 spid71 * BatchParser 00000000737E0000 000000007380CFFF 0002d000
    2014-07-09 17:01:30.59 spid71 * IMM32 000007FEFED90000 000007FEFEDBDFFF 0002e000
    2014-07-09 17:01:30.59 spid71 * MSCTF 000007FEFEFD0000 000007FEFF0D8FFF 00109000
    2014-07-09 17:01:30.59 spid71 * psapi 0000000077150000 0000000077156FFF 00007000
    2014-07-09 17:01:30.59 spid71 * instapi10 00000000737A0000 00000000737ACFFF 0000d000
    2014-07-09 17:01:30.59 spid71 * cscapi 000007FEF9C50000 000007FEF9C5EFFF 0000f000
    2014-07-09 17:01:30.59 spid71 * sqlevn70 0000000073590000 0000000073793FFF 00204000
    2014-07-09 17:01:30.59 spid71 * CRYPTSP 000007FEFC950000 000007FEFC966FFF 00017000
    2014-07-09 17:01:30.59 spid71 * rsaenh 000007FEFC4A0000 000007FEFC4E6FFF 00047000
    2014-07-09 17:01:30.59 spid71 * CRYPTBASE 000007FEFCDD0000 000007FEFCDDEFFF 0000f000
    2014-07-09 17:01:30.59 spid71 * BROWCLI 000007FEF9AA0000 000007FEF9AB1FFF 00012000
    2014-07-09 17:01:30.59 spid71 * AUTHZ 000007FEFC920000 000007FEFC94EFFF 0002f000
    2014-07-09 17:01:30.59 spid71 * MSCOREE 000007FEF9A30000 000007FEF9A9EFFF 0006f000
    2014-07-09 17:01:30.59 spid71 * ole32 000007FEFEDC0000 000007FEFEFC2FFF 00203000
    2014-07-09 17:01:30.59 spid71 * credssp 000007FEFC350000 000007FEFC359FFF 0000a000
    2014-07-09 17:01:30.59 spid71 * msv1_0 000007FEFC600000 000007FEFC650FFF 00051000
    2014-07-09 17:01:30.59 spid71 * cryptdll 000007FEFCAA0000 000007FEFCAB3FFF 00014000
    2014-07-09 17:01:30.59 spid71 * kerberos 000007FEFC6C0000 000007FEFC773FFF 000b4000
    2014-07-09 17:01:30.59 spid71 * MSASN1 000007FEFCF80000 000007FEFCF8EFFF 0000f000
    2014-07-09 17:01:30.59 spid71 * schannel 000007FEFC660000 000007FEFC6B6FFF 00057000
    2014-07-09 17:01:30.59 spid71 * CRYPT32 000007FEFD030000 000007FEFD196FFF 00167000
    2014-07-09 17:01:30.59 spid71 * security 0000000073470000 0000000073472FFF 00003000
    2014-07-09 17:01:30.59 spid71 * WS2_32 000007FEFDC50000 000007FEFDC9CFFF 0004d000
    2014-07-09 17:01:30.59 spid71 * SHELL32 000007FEFDEB0000 000007FEFEC37FFF 00d88000
    2014-07-09 17:01:30.59 spid71 * OLEAUT32 000007FEFF1C0000 000007FEFF296FFF 000d7000
    2014-07-09 17:01:30.59 spid71 * ftimport 0000000060000000 0000000060024FFF 00025000
    2014-07-09 17:01:30.59 spid71 * MSFTE 0000000049980000 0000000049D2DFFF 003ae000
    2014-07-09 17:01:30.59 spid71 * VERSION 000007FEFC030000 000007FEFC03BFFF 0000c000
    2014-07-09 17:01:30.59 spid71 * dbghelp 0000000073270000 00000000733CDFFF 0015e000
    2014-07-09 17:01:30.59 spid71 * WINTRUST 000007FEFCFD0000 000007FEFD009FFF 0003a000
    2014-07-09 17:01:30.59 spid71 * ncrypt 000007FEFC8D0000 000007FEFC91DFFF 0004e000
    2014-07-09 17:01:30.59 spid71 * bcrypt 000007FEFC8A0000 000007FEFC8C1FFF 00022000
    2014-07-09 17:01:30.59 spid71 * ntmarta 000007FEFC000000 000007FEFC02CFFF 0002d000
    2014-07-09 17:01:30.59 spid71 * WLDAP32 000007FEFF150000 000007FEFF1A1FFF 00052000
    2014-07-09 17:01:30.59 spid71 * mswsock 000007FEFC810000 000007FEFC864FFF 00055000
    2014-07-09 17:01:30.59 spid71 * wship6 000007FEFC800000 000007FEFC806FFF 00007000
    2014-07-09 17:01:30.59 spid71 * wshtcpip 000007FEFC100000 000007FEFC106FFF 00007000
    2014-07-09 17:01:30.59 spid71 * ntdsapi 000007FEF9890000 000007FEF98B6FFF 00027000
    2014-07-09 17:01:30.59 spid71 * bcryptprimitives 000007FEFC3E0000 000007FEFC42BFFF 0004c000
    2014-07-09 17:01:30.59 spid71 * CLBCatQ 000007FEFD850000 000007FEFD8E8FFF 00099000
    2014-07-09 17:01:30.59 spid71 * sqlncli10 0000000064780000 0000000064A3CFFF 002bd000
    2014-07-09 17:01:30.59 spid71 * COMCTL32 000007FEF42C0000 000007FEF435FFFF 000a0000
    2014-07-09 17:01:30.59 spid71 * COMDLG32 000007FEFDA80000 000007FEFDB16FFF 00097000
    2014-07-09 17:01:30.59 spid71 * SQLNCLIR10 0000000064740000 0000000064776FFF 00037000
    2014-07-09 17:01:30.59 spid71 * netbios 000007FEF7C10000 000007FEF7C19FFF 0000a000
    2014-07-09 17:01:30.59 spid71 * xpstar 00000000646B0000 0000000064737FFF 00088000
    2014-07-09 17:01:30.59 spid71 * SQLSCM 00000000646A0000 00000000646ADFFF 0000e000
    2014-07-09 17:01:30.59 spid71 * ODBC32 000007FEF9210000 000007FEF92C0FFF 000b1000
    2014-07-09 17:01:30.59 spid71 * ATL80 0000000074900000 000000007491FFFF 00020000
    2014-07-09 17:01:30.59 spid71 * odbcint 00000000749E0000 0000000074A17FFF 00038000
    2014-07-09 17:01:30.59 spid71 * clusapi 000007FEF8F70000 000007FEF8FBFFFF 00050000
    2014-07-09 17:01:30.59 spid71 * resutils 000007FEF8F50000 000007FEF8F68FFF 00019000
    2014-07-09 17:01:30.59 spid71 * xpstar 0000000064670000 0000000064694FFF 00025000
    2014-07-09 17:01:30.59 spid71 * dbghelp 0000000064510000 000000006466DFFF 0015e000
    2014-07-09 17:01:30.59 spid71 *
    2014-07-09 17:01:30.59 spid71 * P1Home: 0000000016EB3E50: 00000000C0000005 0000000000000000 00000000008AEEF0 0000000000000002 0000000000000000 0000000000000000
    2014-07-09 17:01:30.59 spid71 * P2Home: 0000000016EB3960: 0000000016EB3E50 0000000016EB3960 FFFFFFFF00000000 0000000000000000 0000000094AB1AD0 0000000000000000
    2014-07-09 17:01:30.59 spid71 * P3Home: FFFFFFFF00000000:
    2014-07-09 17:01:30.59 spid71 * P4Home: 0000000000000000:
    2014-07-09 17:01:30.59 spid71 * P5Home: 0000000094AB1AD0: 000000000069ED90 0000000000000001 0000000094AB1B80 0000000000000001 0000000094AB1AF8 0000000000000000
    2014-07-09 17:01:30.59 spid71 * P6Home: 0000000000000000:
    2014-07-09 17:01:30.59 spid71 * ContextFlags: 000000000010001F:
    2014-07-09 17:01:30.59 spid71 * MxCsr: 0000000000001FA0:
    2014-07-09 17:01:30.59 spid71 * SegCs: 0000000000000033:
    2014-07-09 17:01:30.59 spid71 * SegDs: 000000000000002B:
    2014-07-09 17:01:30.59 spid71 * SegEs: 000000000000002B:
    2014-07-09 17:01:30.59 spid71 * SegFs: 0000000000000053:
    2014-07-09 17:01:30.59 spid71 * SegGs: 000000000000002B:
    2014-07-09 17:01:30.59 spid71 * SegSs: 000000000000002B:
    2014-07-09 17:01:30.59 spid71 * EFlags: 0000000000010246: 0000000000000000 0000000101580000 0000000102680000 0000000102780000 0000000000000000 0000001000000000
    2014-07-09 17:01:30.59 spid71 * Rax: 0000000000000000:
    2014-07-09 17:01:30.59 spid71 * Rcx: 0000000094AB47B0: 00000000006687C0 0000000000000001 0000000094A7E060 0000000000000001 0000000000000000 0000000094B0A560
    2014-07-09 17:01:30.59 spid71 * Rdx: 0000000094A7E060: 0000000000596C60 0000000000002000 0000000000000082 0000000094A00080 0000000100000008 0000000080080B08
    2014-07-09 17:01:30.59 spid71 * Rbx: 0000000094AB4700: 000000000069ED90 0000003800000001 0000000094AB47B0 0000000000000002 0000000094AB4728 0000000094AB4530
    2014-07-09 17:01:30.59 spid71 * Rsp: 0000000016EB3F20: 0000000094AB4700 0000000094A7E060 0000000094AAA300 0000000000000001 0000000000000000 0000000000000000
    2014-07-09 17:01:30.59 spid71 * Rbp: 0000000000000000:
    2014-07-09 17:01:30.59 spid71 * Rsi: 0000000094AAA1C0: 000000000069ED90 0000000000000001 0000000000000000 0000000000000002 0000000094AAA1E8 0000000094AAA270
    2014-07-09 17:01:30.59 spid71 * Rdi: 0000000000000000:
    2014-07-09 17:01:30.59 spid71 * R8: 0000000000000000:
    2014-07-09 17:01:30.59 spid71 * R9: 00000000000002F3:
    2014-07-09 17:01:30.59 spid71 * R10: 0000000000596C60: 0000000002ADC674 000000000059EA18 000000000059E9B8 0000000002A89A04 0000000002A88BD8 0000000002A899F8
    2014-07-09 17:01:30.59 spid71 * R11: 0000000094A7E060: 0000000000596C60 0000000000002000 0000000000000082 0000000094A00080 0000000100000008 0000000080080B08
    2014-07-09 17:01:30.59 spid71 * R12: 0000000094AB1BC0: 000000000069ED90 0000000000000001 0000000094AB1C70 0000000000000002 0000000094AB1BE8 0000000000000000
    2014-07-09 17:01:30.59 spid71 * R13: 0000000000000001:
    2014-07-09 17:01:30.59 spid71 * R14: 0000000094AB1AB0: 0000000094AB1AC0 0000000094AB1970 0000000000000000 0000000094A7F7F0 000000000069ED90 0000000000000001
    2014-07-09 17:01:30.59 spid71 * R15: 0000000094AB1AD0: 000000000069ED90 0000000000000001 0000000094AB1B80 0000000000000001 0000000094AB1AF8 0000000000000000
    2014-07-09 17:01:30.59 spid71 * Rip: 00000000008AEEF0: 8B48D68B48008B4C 000002B890FF41C8 4B8B481574FF8548 3D5852FF118B4810 EB56840F000000C2 9C8B48C68B48FFF1
    2014-07-09 17:01:30.59 spid71 * *******************************************************************************
    2014-07-09 17:01:30.59 spid71 * -------------------------------------------------------------------------------
    2014-07-09 17:01:30.59 spid71 * Short Stack Dump
    2014-07-09 17:01:30.66 spid71 00000000008AEEF0 Module(sqlservr+000000000031EEF0)
    2014-07-09 17:01:30.66 spid71 00000000008BEAFE Module(sqlservr+000000000032EAFE)
    2014-07-09 17:01:30.66 spid71 00000000008BEAFE Module(sqlservr+000000000032EAFE)
    2014-07-09 17:01:30.66 spid71 00000000008BEAFE Module(sqlservr+000000000032EAFE)
    2014-07-09 17:01:30.66 spid71 00000000008BEAFE Module(sqlservr+000000000032EAFE)
    2014-07-09 17:01:30.66 spid71 00000000008BEAFE Module(sqlservr+000000000032EAFE)
    2014-07-09 17:01:30.67 spid71 00000000018D2533 Module(sqlservr+0000000001342533)
    2014-07-09 17:01:30.67 spid71 00000000006CBB8D Module(sqlservr+000000000013BB8D)
    2014-07-09 17:01:30.67 spid71 00000000007375D7 Module(sqlservr+00000000001A75D7)
    2014-07-09 17:01:30.67 spid71 000000000077203D Module(sqlservr+00000000001E203D)
    2014-07-09 17:01:30.67 spid71 0000000000771E3F Module(sqlservr+00000000001E1E3F)
    2014-07-09 17:01:30.67 spid71 0000000000771D58 Module(sqlservr+00000000001E1D58)
    2014-07-09 17:01:30.67 spid71 0000000000B1AB83 Module(sqlservr+000000000058AB83)
    2014-07-09 17:01:30.67 spid71 0000000000B1C800 Module(sqlservr+000000000058C800)
    2014-07-09 17:01:30.67 spid71 0000000000AC3DC6 Module(sqlservr+0000000000533DC6)
    2014-07-09 17:01:30.67 spid71 000000000059AB94 Module(sqlservr+000000000000AB94)
    2014-07-09 17:01:30.68 spid71 000000000059B05E Module(sqlservr+000000000000B05E)
    2014-07-09 17:01:30.68 spid71 000000000059AD57 Module(sqlservr+000000000000AD57)
    2014-07-09 17:01:30.68 spid71 0000000000A751DE Module(sqlservr+00000000004E51DE)
    2014-07-09 17:01:30.68 spid71 0000000000A75395 Module(sqlservr+00000000004E5395)
    2014-07-09 17:01:30.68 spid71 0000000000A78925 Module(sqlservr+00000000004E8925)
    2014-07-09 17:01:30.69 spid71 0000000000A759D6 Module(sqlservr+00000000004E59D6)
    2014-07-09 17:01:30.69 spid71 00000000739C37D7 Module(MSVCR80+00000000000037D7)
    2014-07-09 17:01:30.70 spid71 00000000739C3894 Module(MSVCR80+0000000000003894)
    2014-07-09 17:01:30.71 spid71 0000000076E8652D Module(kernel32+000000000001652D)
    2014-07-09 17:01:30.71 spid71 0000000076FBC521 Module(ntdll+000000000002C521)
    2014-07-09 17:01:30.71 spid71 Stack Signature for the dump is 0x000000015B49D68C
    2014-07-09 17:01:34.02 spid71 External dump process return code 0x20000001.
    External dump process returned no errors.
    I have tried on another server (not sure about SP) and also have crash.
    How and where I should report it?

    Your best bet is to open a support case with Microsoft. They will analyze the dump files and will provide you with resolution.
    http://support.microsoft.com/contactus/?ln=en-nz
    YOu can also check for known issues search for "c0000005 EXCEPTION_ACCESS_VIOLATION" adn your sql server version.
    To know more about access violations and how to troubleshoot this check these links
    http://mssqlwiki.com/2012/10/16/sql-server-exception_access_violation-and-sql-server-assertion/
    http://troubleshootingsql.com/2011/03/09/wiki-demystifying-sql-server-exception-dumps/
    Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

  • Sqlite query want to convert in MS Sql server 2008

    Hi 
    Please let me know how to write MS SQL server query for the below:
    Sqlite query :
    SELECT strftime('%s',event_time_gmt,'unixepoch','330 minutes') as time;
    Regards,
    Vijjivinayaka

    Declare @dt0 datetime, @dt datetime, @LocalTimeOffset int=5.5*60*60, @epochdt bigint=1389595157, @AdjustedLocaldt bigint;
    SET @AdjustedLocaldt = @epochdt + @LocalTimeOffset
    SELECT @dt0=DATEADD(second,@epochdt, CAST('1970-01-01 00:00:00' AS datetime))
    ,@dt=DATEADD(second,@AdjustedLocaldt, CAST('1970-01-01 00:00:00' AS datetime))
    ; with mycte as (SELECT @epochdt as epochdt, @dt0 as gmtdt , @dt as localdt
    , DATEADD(minute, DATEDIFF(minute,0,@dt),0) as StartOftheMinute
    ,DATEADD(hour, DATEDIFF(hour,0,@dt),0) as StartOftheHour
    , DATEADD(day, DATEDIFF(day,0,@dt),0) as StartOftheday
    , DATEADD(mm, DATEDIFF(mm,0,@dt),0) as StartOfThisMonth
    , DATEADD(year, DATEDIFF(year,0,@dt),0) as StartOftheYear
    , DATEADD(wk, DATEDIFF(wk,0,@dt),0) as StartOftheWeek)
    select epochdt,
    Left(datename(weekday,localdt),3) +' '+ CONVERT(varchar(26),localdt,109) as localdt
    ,Left(datename(weekday,gmtdt),3) +' '+ CONVERT(varchar(26),gmtdt,109) as gmtdt
    ,Left(datename(weekday,StartOftheMinute),3) +' '+ CONVERT(varchar(26),StartOftheMinute,109) as StartOftheMinute
    ,Left(datename(weekday,StartOftheHour),3) +' '+ CONVERT(varchar(26),StartOftheHour,109) as StartOftheHour
    ,Left(datename(weekday,StartOftheday),3) +' '+ CONVERT(varchar(26),StartOftheday,109) as StartOftheday
    ,Left(datename(weekday,StartOfThisMonth),3) +' '+ CONVERT(varchar(26),StartOfThisMonth,109) as StartOfThisMonth
    ,Left(datename(weekday,StartOftheYear),3) +' '+ CONVERT(varchar(26),StartOftheYear,109) as StartOftheYear
    ,Left(datename(weekday,StartOftheWeek),3) +' '+ CONVERT(varchar(26),StartOftheWeek,109) as StartOftheWeek
    from mycte
    --http://msdn.microsoft.com/en-us/library/ms187928.aspx

  • Exception occurs while creating a new data source using BIRT RCP desighner!

    Guys,
    Please help me on this !
    I have created a pluin project( BIRT ODA API) using elipse and i have placed it in plug-in folder of BIRT RCP Desighner.
    When i try create a new data source i am getting the below exception and the jars are available in plugin folders :
    org.eclipse.datatools.connectivity.oda.consumer.helper.OdaHelperException: Unable to create the ODA driver's connection factory. (openmrsdb.impl.Driver) ;
    java.lang.ClassNotFoundException: openmrsdb.impl.Driver
         at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriver.loadDriverInstance(OdaDriver.java:230)
         at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriver.init(OdaDriver.java:177)
         at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriver.<init>(OdaDriver.java:76)
         at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.getOdaDriverHelper(OdaConnectionWrapper.java:236)
         at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.getOdaConnectionHelper(OdaConnectionWrapper.java:225)
         at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionWrapper.<init>(OdaConnectionWrapper.java:57)
         at org.eclipse.datatools.connectivity.oda.profile.OdaConnectionFactory.createConnection(OdaConnectionFactory.java:26)
         at org.eclipse.datatools.connectivity.internal.ConnectionFactoryProvider.createConnection(ConnectionFactoryProvider.java:77)
         at org.eclipse.datatools.connectivity.internal.ConnectionProfile.createConnection(ConnectionProfile.java:354)
         at org.eclipse.datatools.connectivity.ui.PingJob.run(PingJob.java:57)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Caused by: java.lang.ClassNotFoundException: openmrsdb.impl.Driver
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:434)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
         at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(BundleLoader.java:289)
         at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:227)
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1269)
         at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaDriver.loadDriverInstance(OdaDriver.java:208)
         ... 10 more
    Could you please any one help on this.!
    Thanks in advance

    when defining a data source through the admin web page, don't add '!' in front of the password.
    ! is needed only when configuring a data source in the mapViewerConfig.xml file.

  • How many query possible in 1 second at Sql Server ?

    Hello
    I have 30,000 records. Table have 10 columns. Columns have indexes if column at where condition. And select question will give 20-30 records as result. (select column1, column2,...... column10 from table where columnSecondID=2I. I will use hosting standart
    plane. 
    How many query possible in 1 second at Sql Server 2008 ?
    How many query possible in 1 second at Sql Server 2012 ?
    How many user can visit my web site ?

    Hello
    I have 30,000 records. Table have 10 columns. Columns have indexes if column at where condition. And select question will give 20-30 records as result. I will use hosting standart plane. 
    How many query possible in 1 second at Sql Server 2008 ?
    How many query possible in 1 second at Sql Server 2012 ?
    How many user can visit my web site ?
    That's hard to say. One second for CPU is quite high time and CPU can do lot of work in that time. again, this is relative and depends on what the query is.
    The biggest bottleneck in performance is - Disk IO system. In general, if  the required data is in memory, it can help significantly in improving the performance.
    Remember, CPU will be doing other processing work while it is fetching the data from disk.
    What you need to is  - load test or stress your server. There are some tools available for you to do it. 
    RML : https://support.microsoft.com/en-us/kb/944837?wa=wsignin1.0
    distributed replay : https://msdn.microsoft.com/en-us/library/ff878183.aspx
    to test IO : http://www.brentozar.com/archive/2008/11/storage-performance-testing-with-sqlio/
    read this : http://www.brentozar.com/archive/2012/06/load-test-sqlserver/
    You also need to look at Max worker thread limitations. this depends on the server configuration(64 bit/32 bit) and other factors...
    https://technet.microsoft.com/en-us/library/ms187024%28v=sql.105%29.aspx
    one problem that can happend is thread pool starvation where there are too many connections
    happening if your server cannot keep up with the workload.. like if your cpu is working in processing the queries and cannot accept new connections..
    watch this good youtube video on thread pool starvatioin :
     https://www.youtube.com/watch?v=XJ67oHBM2Hw
    Hope it Helps!!

  • DeadLocks on Query Notifications with SQL Server 2008 SP3

    Hello,
    according to this article https://support.microsoft.com/kb/975090 the issue with deadlocks on query notifications should be fixed with SQL Server 2008 SP3 (10.0.5500.0). But we still get deadlocks in the following manner:
    <resource-list>
    <keylock hobtid="72057598393909248" dbid="5" objectname="MyDB.sys.query_notification_1411013420" indexname="cidx" id="lock1731c1f00" mode="RangeX-X" associatedObjectId="72057598393909248">
    <owner-list>
    <owner id="process573dc8" mode="RangeX-X"/>
    </owner-list>
    <waiter-list>
    <waiter id="process58ddc8" mode="RangeS-U" requestType="wait"/>
    </waiter-list>
    </keylock>
    <keylock hobtid="72057598372872192" dbid="5" objectname="MyDB.sys.query_notification_253437289" indexname="cidx" id="lock800c8780" mode="RangeS-U" associatedObjectId="72057598372872192">
    <owner-list>
    <owner id="process58ddc8" mode="RangeS-U"/>
    </owner-list>
    <waiter-list>
    <waiter id="process573dc8" mode="RangeS-U" requestType="wait"/>
    </waiter-list>
    </keylock>
    </resource-list>
    Is there any need to install another fix?
    Thanks in Advance!

    Hello,
    SQL Server 2008 SP4 and all cumulative updates of SP3 do not have fixes related to deadlocks.
    Maybe the following workarounds and solutions can help in your scenario.
    http://stackoverflow.com/questions/3707137/understanding-deadlocks-with-sql-server-query-notifications
    Deadlock Prevention. In case you need to lock multiple conversation groups in a transaction, you need to take the same order to lock the different conversation groups in all transactions, otherwise you will have a deadlock issues.
    Source:
    http://blogs.msdn.com/b/kangmo/archive/2008/12/17/a-brief-guide-on-sql-server-service-broker.aspx
    Try to may transactions more simple and shorter.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • An exception occured while creating a query in EntityManager

    I was directed to create a new topic rather than resurrect a long dead thread. I appreciate the correction in this.
    Persistence, Entity Manager, NetBeans 6.7.1, GlassFish v2.1, Database
    I am getting the following Stack Trace:
    [#|2009-12-08T16:22:06.171-0500|SEVERE|sun-appserver2.1|javax.faces|_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;_RequestID=390db479-49c0-47e5-bcdc-e5e07f871644;|javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
         at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
         at sun.reflect.GeneratedMethodAccessor290.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
         at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
         at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
         at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.executeServlet(CometEngine.java:609)
         at com.sun.enterprise.web.connector.grizzly.comet.CometEngine.handle(CometEngine.java:356)
         at com.sun.enterprise.web.connector.grizzly.comet.CometAsyncFilter.doFilter(CometAsyncFilter.java:84)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.invokeFilters(DefaultAsyncExecutor.java:175)
         at com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncExecutor.interrupt(DefaultAsyncExecutor.java:153)
         at com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask.doTask(AsyncProcessorTask.java:92)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
         at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)
    Caused by: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
         at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerImpl.createQuery(EntityManagerImpl.java:209)
         at com.davisco.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:165)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEntities(EmpdataJpaJpaController.java:155)
         at com.davisco.web.jpa.controllers.EmpdataJpaJpaController.findEmpdataJpaEmpnoEntities(EmpdataJpaJpaController.java:214)
         at com.davisco.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
         at com.davisco.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         ... 48 more
    Caused by: Exception [TOPLINK-8034] (Oracle TopLink Essentials - 2.1 (Build b60e-fcs (12/23/2008))): oracle.toplink.essentials.exceptions.EJBQLException
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
         at oracle.toplink.essentials.exceptions.EJBQLException.unknownAbstractSchemaType(EJBQLException.java:494)
         at oracle.toplink.essentials.internal.parsing.ParseTreeContext.classForSchemaName(ParseTreeContext.java:163)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getClassOfFirstVariable(SelectNode.java:366)
         at oracle.toplink.essentials.internal.parsing.SelectNode.getReferenceClass(SelectNode.java:354)
         ... 65 more
    It appears that problem
    |javax.faces.event.AbortProcessingException: java.lang.IllegalArgumentException: An exception occured while creating a query in EntityManager
    is actually caused by
    Exception Description: Error compiling the query [select object(o) from Empdata as o]. Unknown abstract schema type [Empdata].
    The Query is a very basic query.
         private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("PersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
         private List<Empdata> findEmpdataEntities(boolean all, int maxResults, int firstResult) {
              EntityManager em = getEntityManager();
              try {
                   Query q = em.createQuery("select object(o) from Empdata as o"); // Problem line
                   if (!all) {
                        q.setMaxResults(maxResults);
                        q.setFirstResult(firstResult);
                   return q.getResultList();
              } finally {
                   em.close();
    I have reviewed my Configuration Files and Source Packages without solution.
    Where do I need to look or what do I need to do to determine the error?

    After reading similar discussion in the OTN Discussion page ( [Thread: Unknown abstract schema type |http://forums.oracle.com/forums/thread.jspa?threadID=602826] ) I reviewed how I was creating my EntityManagerFactory. I realize also more information is required for a more complete understanding of the circumstances.
    I originally created a project in Netbeans using the wizard to create a JSF Project from Entity Classes. Through trial and error I produced from the resulting JSF Web pages a maintenance project for a given table in the database. I was then given the task to split the table and build a new project utilizing the existing entity classes in a production project.
    After the table was split and the new entity classes created I then entered the task of starting a new project using the entity classes in the production project. To do this I used the Netbeans wizard to create the JpaControllers in the production project. I copied as much code as I could from the working table maintenance project I had just completed. I have now started to connect the two projects. I have included the production project with the entities as a library project. I created the persistence.xml file in the new project with the same persistence unit name as the production project. I have included the Toplink Extensions as a library in the new project (even though the production project has the entity classes). From what I have been able to glean I am thinking my EntityManagerFactory declaration may be misdirecting the finding of the Empdata schema in my new project. Here is how I declared my EntityManager in the example given:
    private EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("DvPersistPU");
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Here is the wizard generated method which fails with a NullPointerException in the return statement:
         @PersistenceUnit(unitName = "PersistPU")
         private EntityManagerFactory emf = null;
         public EntityManager getEntityManager() {
              return emf.createEntityManager();
    Hopefully this will better help someone to direct me to determining the cause of my error or the error of my ways.
    NullPointerException stacktrace just mentioned:
    EmpdataController: getEmployeesByEmpno [0]
    AbortProcessingException thrown when processing event of type 'javax.faces.event.ValueChangeEvent' during phase 'PROCESS_VALIDATIONS 3' for component with ID or Client ID of 'srchEmp'
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    javax.faces.event.AbortProcessingException: java.lang.NullPointerException
    at javax.faces.event.MethodExpressionValueChangeListener.processValueChange(MethodExpressionValueChangeListener.java:82)
    at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:123)
    at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
    at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:416)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.broadcastEvents(PartialTraversalViewRootHelper.java:500)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootHelper.processValidators(PartialTraversalViewRootHelper.java:267)
    at com.sun.faces.extensions.avatar.components.PartialTraversalViewRootImpl.processValidators(PartialTraversalViewRootImpl.java:152)
    at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
    at com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:94)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
    Caused by: java.lang.NullPointerException
    at com.company.web.jpa.controllers.EmpdataJpaController.getEntityManager(EmpdataJpaController.java:71)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:163)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEntities(EmpdataJpaController.java:155)
    at com.company.web.jpa.controllers.EmpdataJpaController.findEmpdataEmpnoEntities(EmpdataJpaController.java:214)
    at com.company.web.jsf.EmpdataController.getEmployeesByEmpno(EmpdataController.java:471)
    at com.company.web.jsf.EmpdataController.addEmployeeEmpnos(EmpdataController.java:439)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    ... 49 more
    Would someone please help me know where to look next or point me in the direction to find the cause of the error(s)?
    Thank you.

  • An error occured while generating a new report template

    I have installed the Crystal Reports 2008 V2 and also the support pack. Installed the SAP Integration Kit XI 3.1 and the latest service pack 2.7. When I try to use the SAP Tool bar from Crystal Report , I can connect/see the queries but when I select any query to create a report I am getting an error message
    "An error occured while generating a new report template". Any advise ? How do I turn on the trace in the client ?
    Thanks,

    Hi,
    Did you update your Fix Pack...
    Here is solution for Client...
    To turn tracing on for client applications, you can use the following steps:
    1. Click Start > Settings > Control Panel > System > Advanced > Environment Variables button.
    2. Under the User Variables, add the following variable and value:
    For Enterprise XI:
    Variable Name: BOE_LOGGER_ENVIRONMENT
    Variable Value: -trace -loggingPath c:\logs
    For Crystal Analysis, Crystal Enterprise, and Crystal Reports version 10 and earlier:
    Variable Name: CRYSTAL_LOGGER_ENVIRONMENT
    Variable Value: -trace -loggingPath c:\logging
    Regards,
    Bashir Awan

  • Error: 28005, Severity: 16, State: 2...An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impe

    I've seen some similar questions, but want to make sure I can get an answer quickly and how to fix.
    Thanks,
    Paul
    spid24s     Error: 28005, Severity: 16, State: 2
    spid24s     An exception occurred while enqueueing a message in the target queue. Error: 15517, State: 1. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated,
    or you do not have permission.

    Hi Paul,
    I also had the same error on one of my servers, and it was because the user that created the database no longer worked for the company.
    So when his AD account got deleted, the database had NULL as owner
    Using the following query I asked for the owners of the databases:
    select name, suser_sname(sid) from master.dbo.sysdatabases
    So changing the owner of the databases that had a NULL owner solved the issue for me.
    use <databasesname>
    go
    exec sp_changedbowner 'sa'
    Thanks for triggering the solution.
    Peter

  • ERROR: Exception occured while encrypting the configuration and database

    I'm facing below issue/error during the OIM 11g R2 configuration (fresh install).  Resolutions from other blog with same error (DOMAIN_HOME misconfigured) isn't helping in my case.
    Thanks for your help
    updateMLSLocale:ORACLE_HOME :/fmw/Oracle_IDM1
    updateMLSLocale:LOCALE_PROPERTIES_FILE :/fmw/Oracle_IDM1/inventory/Scripts/ext/jlib/oim/OIMLocales.properties
    java.lang.Exception: Exception occured while encrypting the configuration and database
      at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:239)
      at oracle.as.install.oim.config.OIMConfigManager.encryptDB(OIMConfigManager.java:1035)
      at oracle.as.install.oim.config.OIMConfigManager.configureOIM(OIMConfigManager.java:891)
      at oracle.as.install.oim.config.OIMConfigManager.doExecute(OIMConfigManager.java:583)
      at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:371)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:88)
      at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:105)
      at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
      at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:64)
      at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:160)
      at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
      at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:86)
      at java.lang.Thread.run(Thread.java:662)
    Caused by: java.lang.Exception: Exception occured while encrypting the database
      at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:159)
      at oracle.as.install.oim.config.util.EncryptConfigurationAndDB.encryptConfigurationAndDatbase(EncryptConfigurationAndDB.java:230)
      ... 12 more
    Caused by: java.lang.Exception: Exception occured in updateMLSLocale method while updating Locale to OIM DB
      at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:318)
      at oracle.as.install.oim.config.util.EncryptDataBase.encryptDBContent(EncryptDataBase.java:125)
      ... 13 more
    Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (DEV_OIM.UK_MLS_LOCALE_MLS_LOCALE_CODE) violated
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
      at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
      at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
      at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
      at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
      at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
      at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
      at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
      at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
      at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
      at oracle.as.install.oim.config.util.EncryptDataBase.updateMLSLocale(EncryptDataBase.java:310)
      ... 14 more

    Hi
    I faced this issue before ,Reinstall is the option you have .Verify the version of RCU before you start creating schema .Set all Pre DB setting ,hostname and IP Address ,If DB and OIM  are in ifferent machines check pinging from both the sides .
    Please Drop all OLD schema ,Create a New "Prefix" for fresh installation , don't use old schema .
    Let me know .
    Thanks,
    Ari

  • Deploying simple SharePoint 2013 feature causing error: "Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process."

    When trying to deploy a sandboxed solution containing only a feature with a simple associated event receiver from VS 2013, I'm getting the following error:
    Error occurred in deployment step 'Add Solution': An unknown exception occurred while executing a sandboxed code solution request in the worker process.\r\n|0
    I'm working in Visual Studio 2013, deploying to SharePoint 2013.
    The SharePoint project is very basic. I've only added a feature and an associated event receiver. It works without the event receiver. Then after I simply add the event receiver I get the error.
    I've tried deploying directly from VS 2013 as well as publishing to a .WSP and uploading via web interface. Same error reported using both methods. I'm doing this using an Administrator account that I've confirmed is a site collection administrator.
    Additionally, I've found that if I change Sandboxed Solution to False, deploy it, retract it, then change Sandboxed Solution back to True, then I can successfully deploy it. But this doesn't seem to be a permanent solution as the error will resurface a day
    or two later...

    Hi Steve,
    Are you running your SharePoint 2013 on domain controller? 
    http://www.learningsharepoint.com/2013/08/09/sharepoint-2013-error-an-unknown-exception-occurred-while-executing-a-sandboxed-code-solution-request-in-the-worker-process-rn0/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/b7408608-c21b-45d9-bc16-e6afff510cd2/installed-sharepoint-2013-foundation-on-window-2010-server-issues-activating-sandbox-solutions?forum=sharepointadmin
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • After deploy I get An exception occurred while registering the MBean null

    Hi,
    I use Jdeveloper 11.1.1.0.0 and WebLogicServer 10gR3.
    When I run the ADF-Application from JDev via internal WLS, the application runs properly (even the database connection with oracle thin driver).
    I have successfully generated the data source (test with select 1 from dual also ok) on an external WLS.
    But when I deploy from JDev directly to the external WLS the following message is generated on the Server:
    <16.10.2008 10:30 Uhr CEST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=AdminServer,Name=tls-bob,Type=ApplicationRuntime new:weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl@1ab7497 existing weblogic.j2ee.J2EEApplicationRuntimeMBeanImpl@1fdff07
    at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
    at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
    at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
    at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
    at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
    Truncated. see log file for complete stacktrace
    with two further similar messages.
    When I run the application the login-mask for database appears correctly in the browser, but when I start the login the following messages are generated on the server:
    16.10.2008 10:11:02 oracle.adfinternal.controller.faces.lifecycle.JSFLifecycleImpl setLifecycleContextBuilder
    WARNUNG: ADFc: Implementierung der ADF-Seitengnltigkeitsdauer wird durch "oracle.adfinternal.controller.application.model.JSFDataBindingLifecycleContextBuilder" ersetzt.
    16.10.2008 10:11:03 oracle.adfinternal.controller.util.model.AdfmInterface initialize
    INFO: ADFc: BindingContext ist vorhanden, ADFm-APIs werden fnr DataControlFrames verwendet.
    16.10.2008 10:11:03 oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider <init>
    INFO: ADFc: Caching von MDS-Metadatenressourcen durch Controller AKTIVIERT.
    16.10.2008 10:11:03 oracle.adf.controller.internal.metadata.MetadataService$Bootstrap add
    INFO: ADFc: Bootstrap-Metadaten werden aus '/WEB-INF/adfc-config.xml' geladen.
    16.10.2008 10:11:19 oracle.adf.share.security.providers.jps.CSFCredentialStore fetchCredential
    WARNUNG: Unable to locate the credential for key tls-bob in D:\oracle\bea\user_projects\domains\TEST\config\oracle.
    16.10.2008 10:11:19 oracle.adf.share.jndi.ReferenceStoreHelper throwPartialResultException
    WARNUNG: Incomplete connection information
    16.10.2008 10:11:24 com.sun.faces.application.ActionListenerImpl processAction
    SCHWERWIEGEND: java.lang.NullPointerException
    javax.faces.el.EvaluationException: java.lang.NullPointerException
    at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
    at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:274)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:74)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:70)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:274)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:74)
    Same problem happends, when deploying the ear-file manually from jdev.
    Thanks in advance!
    Oliver
    Edited by: user470087 on Oct 16, 2008 11:24 AM

    Hi,
    I never had this exact exception but to my knowledge your find more info in the full stack trace. The full stack trace has the bundled exceptions too which are the cause of the trouble in all cases I saw.
    Sometimes it helps to turn jbo.debugoutput on.
    Timo

  • JMX BEA-149500 An exception occurred while registering the MBean null.

    Hi
    I am getting the Error below, has anyone ever figured out a resolution to this error?
    Thanks
    <27-Feb-2013 16:54:10 o'clock GMT> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null.
    java.lang.IllegalArgumentException: Registered more than one instance with the same objectName : com.bea:ServerRuntime=AdminServer,Name=FileServlet,ApplicationRuntime=_appsdir_wlossvc_war,Type=ServletRuntime,WebAppComponentRuntime=AdminServer_/wlossvc new:weblogic.servlet.internal.ServletRuntimeMBeanImpl@3b7f4e existing weblogic.servlet.internal.ServletRuntimeMBeanImpl@510bb7
         at weblogic.management.jmx.ObjectNameManagerBase.registerObject(ObjectNameManagerBase.java:168)
         at weblogic.management.mbeanservers.internal.WLSObjectNameManager.lookupObjectName(WLSObjectNameManager.java:131)
         at weblogic.management.jmx.modelmbean.WLSModelMBeanFactory.registerWLSModelMBean(WLSModelMBeanFactory.java:87)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.registered(RuntimeMBeanAgent.java:104)
         at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:180)
         Truncated. see log file for complete stacktrace

    I should have given you more information. This application has been deployed with no issues on Web Logic 11g, but now I am trying to deploy it to 12c and have encountered the error. I am using jdk 160_29 and Web Logic 12c. Please see the complete stack trace below. Has anyone any suggestions on how to resolve this?
    Thanks
    ####<28-Feb-2013 10:43:59 o'clock GMT> <Warning> <Deployer> <SPR-U403824D002> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1362048239487> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Failed to properly unregister weblogic.servlet.internal.ServletRuntimeMBeanImpl@d9edbe for ObjectName com.bea:ServerRuntime=AdminServer,Name=FileServlet,ApplicationRuntime=_appsdir_WLOSService_war,Type=ServletRuntime,WebAppComponentRuntime=AdminServer_/wlossvc
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:732)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
         at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
         at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
         at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.flow.ModuleStateDriver.prepare(ModuleStateDriver.java:38)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:139)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    Caused By: java.lang.IllegalArgumentException: Failed to properly unregister weblogic.servlet.internal.ServletRuntimeMBeanImpl@d9edbe for ObjectName com.bea:ServerRuntime=AdminServer,Name=FileServlet,ApplicationRuntime=_appsdir_WLOSService_war,Type=ServletRuntime,WebAppComponentRuntime=AdminServer_/wlossvc
         at weblogic.management.jmx.ObjectNameManagerBase.unregisterObject(ObjectNameManagerBase.java:219)
         at weblogic.management.jmx.ObjectNameManagerBase.unregisterObjectInstance(ObjectNameManagerBase.java:192)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregisteredInternal(RuntimeMBeanAgent.java:124)
         at weblogic.management.mbeanservers.internal.RuntimeMBeanAgent$1.unregistered(RuntimeMBeanAgent.java:108)
         at weblogic.management.provider.core.RegistrationManagerBase.invokeRegistrationHandlers(RegistrationManagerBase.java:187)
         at weblogic.management.provider.core.RegistrationManagerBase.unregister(RegistrationManagerBase.java:126)
         at weblogic.management.runtime.RuntimeMBeanDelegate.unregister(RuntimeMBeanDelegate.java:287)
         at weblogic.servlet.internal.ServletRuntimeMBeanImpl$2.run(ServletRuntimeMBeanImpl.java:70)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
         at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:64)
         at weblogic.servlet.internal.ServletRuntimeMBeanImpl.destroy(ServletRuntimeMBeanImpl.java:67)
         at weblogic.servlet.internal.ServletStubImpl.destroy(ServletStubImpl.java:492)
         at weblogic.servlet.internal.WebAppServletContext.registerServletStub(WebAppServletContext.java:1977)
         at weblogic.servlet.internal.ServletStubFactory.registerToContext(ServletStubFactory.java:163)
         at weblogic.servlet.internal.ServletStubFactory.getInstance(ServletStubFactory.java:77)
         at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1386)
         at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1360)
         at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1060)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1005)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:392)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:367)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:1239)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:723)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:188)
         at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:83)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
         at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
         at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.flow.ModuleStateDriver.prepare(ModuleStateDriver.java:38)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:139)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:55)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:706)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:35)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:237)
         at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:48)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:158)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:207)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:96)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:229)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:46)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    >

  • An exception occurred while reading or writing from/to the IIS server

    Hi All,
    I am trying to install and configure calendar connectivity in EP6 sp9.
    As mentioned in
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/3d59fdaa5ebb45967ea107d3fa117a/frameset.htm, i have installed MSX-A component and On testing MSX-A Component i am not getting any error.
    Also log file looks like this.
    BEGIN 3/8/2005 10:09:00 AM----
    URL: HTTP://10.10.18.213:8080/Calendar.asp
    URL Parameters: Server=10.10.18.205&Alias=[email protected]&Action=READ&StartDate=200503081007&EndDate=200503091007&Email=[email protected]&Debug=true
    Reponse: <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
    <!DOCTYPE OUTPUT [<!ELEMENT OUTPUT (FAILURE|APPOINTMENTS)>
    <!ELEMENT FAILURE (ERRORNUMBER?, ERRORMESSAGE?, CLASSNAME?, METHODNAME?, LINENUMBER?, PARAMETERS?)>
    <!ELEMENT ERRORNUMBER (#PCDATA)>
    <!ELEMENT ERRORMESSAGE (#PCDATA)>
    <!ELEMENT CLASSNAME (#PCDATA)>
    <!ELEMENT METHODNAME (#PCDATA)>
    <!ELEMENT LINENUMBER (#PCDATA)>
    <!ELEMENT PARAMETERS (#PCDATA)>
    <!ELEMENT APPOINTMENTS (APPOINTMENT*)>
    <!ELEMENT APPOINTMENT (ID, SUBJECT?, LOCATION?, STARTDATE, ENDDATE, MEETINGTYPE, ALLDAY, RECURRING, BUSYSTATUS?)>
    <!ELEMENT ID (#PCDATA)>
    <!ELEMENT SUBJECT (#PCDATA)>
    <!ELEMENT LOCATION (#PCDATA)>
    <!ELEMENT STARTDATE (#PCDATA)>
    <!ELEMENT ENDDATE (#PCDATA)>
    <!ELEMENT MEETINGTYPE (#PCDATA)>
    <!ELEMENT ALLDAY (#PCDATA)>
    <!ELEMENT RECURRING (#PCDATA)>
    <!ELEMENT BUSYSTATUS (#PCDATA)>]><OUTPUT><APPOINTMENTS></APPOINTMENTS></OUTPUT>
    END 3/8/2005 10:09:00 AM----
    i have created calendar repository and exchange system on the portal and now i am getting this error in MyAppointment iView in <i>Content Provided by SAP</i>.
    <i><b>An exception occurred while reading or writing from/to the IIS server.</b></i>
    i would appreciate if you please help me urgently
    thanx and regards
    Santosh Choudhary

    Hi Akhilesh,
    I am able to browse HelloWorld.asp in same website. Also i am not getting any error while testing data retrieval through SAPPXchTest.exe, log file looks like this.
    <b>IIS Log File</b>
    IIS Log File
    #Software: Microsoft Internet Information Services 5.0
    #Version: 1.0
    #Date: 2005-03-18 04:44:58
    #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query sc-status cs(User-Agent)
    2005-03-18 04:44:58 10.10.18.213 - 10.10.18.213 8080 GET / - 401 Mozilla/4.0(compatible;MSIE6.0;WindowsNT5.0)
    2005-03-18 04:45:05 10.10.18.213 santoshc 10.10.18.213 8080 GET / - 200 Mozilla/4.0(compatible;MSIE6.0;WindowsNT5.0)
    <b>Application Log File</b>
    BEGIN 3/18/2005 10:18:31 AM----
    URL: HTTP://10.10.18.213:8080/Calendar.asp
    URL Parameters: Server=10.10.18.205&[email protected]&Action=READ&StartDate=200503161151&EndDate=200503171151&[email protected]&Debug=true
    Reponse: <?xml version='1.0' encoding='UTF-8' standalone='yes'?>
    <!DOCTYPE OUTPUT [<!ELEMENT OUTPUT (FAILURE|APPOINTMENTS)>
    <!ELEMENT FAILURE (ERRORNUMBER?, ERRORMESSAGE?, CLASSNAME?, METHODNAME?, LINENUMBER?, PARAMETERS?)>
    <!ELEMENT ERRORNUMBER (#PCDATA)>
    <!ELEMENT ERRORMESSAGE (#PCDATA)>
    <!ELEMENT CLASSNAME (#PCDATA)>
    <!ELEMENT METHODNAME (#PCDATA)>
    <!ELEMENT LINENUMBER (#PCDATA)>
    <!ELEMENT PARAMETERS (#PCDATA)>
    <!ELEMENT APPOINTMENTS (APPOINTMENT*)>
    <!ELEMENT APPOINTMENT (ID, SUBJECT?, LOCATION?, STARTDATE, ENDDATE, MEETINGTYPE, ALLDAY, RECURRING, BUSYSTATUS?)>
    <!ELEMENT ID (#PCDATA)>
    <!ELEMENT SUBJECT (#PCDATA)>
    <!ELEMENT LOCATION (#PCDATA)>
    <!ELEMENT STARTDATE (#PCDATA)>
    <!ELEMENT ENDDATE (#PCDATA)>
    <!ELEMENT MEETINGTYPE (#PCDATA)>
    <!ELEMENT ALLDAY (#PCDATA)>
    <!ELEMENT RECURRING (#PCDATA)>
    <!ELEMENT BUSYSTATUS (#PCDATA)>]><OUTPUT><APPOINTMENTS></APPOINTMENTS></OUTPUT>
    END 3/18/2005 10:18:31 AM----
    But when i am Testing it from the Portal i am getting this error.
    I have created Exchange Transport that whose configuration looks like this:
    System Alias : myExchange
    Domain : mydomain
    exchange server : 10.10.18.205
    IIS server : 10.10.18.213
    Port : 8080
    Protocol : Http
    Exchange is the Name of System and Alias name is myExchange.
    Hope this will help you to solve my problem.
    Thanks and regards,
    Santosh Choudhary<b></b><b></b>

Maybe you are looking for

  • All pictures and videos gone after update to 1.1 o...

    I just updated to 1.1 When I open gallery there is no images or videos at all? How can I get it back?

  • Photo not showing up

    I've already allowed photo sharing on my device (latest ios) but I cannot see the folder for photos on icloud.  How do I get this to show up?

  • Product number: C5E40UA#ABA

    Have Windows 8 64 Bi.  CD/DVD door will not open. Control panel for CD/DVD device is working properly regards Capt

  • How to get the details inside base domain name?

    I need to extract the details inside the base DN like ou="" ,cn="" and so on.. Somebody please help me in getting the details inside the base domain name. I could able to get the attribute names and values for the domain name... Anyone please help me

  • Page cannot be found error while connecting application in Workspace

    A single user is getting Page cannot be found error when he is trying to connect to application through workspace. It is working fine for everyone else. I checked the network and is fine. Any ideas of what could be the reason? HFM version is 9.3.1.1