TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jyoti Jodha
NA
1.7k
407.3k
invoking just-in-time (JIT) debugging instead of this dialo
Jul 1 2017 2:22 AM
When Run EXe File then Show this Error....??//
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Data.SqlClient.SqlException (0x80131904): A
network-related or instance-specific error occurred while
establishing a connection to SQL Server. The server was not
found or was not accessible. Verify that the instance name
is correct and that SQL Server is configured to allow remote
connections. (provider: SQL Network Interfaces, error: 26 -
Error Locating Server/Instance Specified)
at System.Data.SqlClient.SqlInternalConnection.OnError
(SqlException exception, Boolean breakConnection, Action`1
wrapCloseInAction)
at
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarni
ng(TdsParserStateObject stateObj, Boolean
callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.Connect(ServerInfo
serverInfo, SqlInternalConnectionTds connHandler, Boolean
ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt,
Boolean trustServerCert, Boolean integratedSecurity,
Boolean withFailover)
at
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOn
eLogin(ServerInfo serverInfo, String newPassword,
SecureString newSecurePassword, Boolean
ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean
withFailover)
at
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFai
lover(ServerInfo serverInfo, String newPassword,
SecureString newSecurePassword, Boolean
redirectedUserInstance, SqlConnectionString
connectionOptions, SqlCredential credential, TimeoutTimer
timeout)
at
System.Data.SqlClient.SqlInternalConnectionTds.OpenLogin
Enlist(TimeoutTimer timeout, SqlConnectionString
connectionOptions, SqlCredential credential, String
newPassword, SecureString newSecurePassword, Boolean
redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor
(DbConnectionPoolIdentity identity, SqlConnectionString
connectionOptions, SqlCredential credential, Object
providerInfo, String newPassword, SecureString
newSecurePassword, Boolean redirectedUserInstance,
SqlConnectionString userConnectionOptions)
at
System.Data.SqlClient.SqlConnectionFactory.CreateConnecti
on(DbConnectionOptions options, DbConnectionPoolKey
poolKey, Object poolGroupProviderInfo, DbConnectionPool
pool, DbConnection owningConnection,
DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionFactory.CreatePool
edConnection(DbConnectionPool pool,
DbConnectionOptions options, DbConnectionPoolKey
poolKey, DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionPool.CreateObject
(DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionPool.UserCreateReq
uest(DbConnectionOptions userOptions)
at
System.Data.ProviderBase.DbConnectionPool.TryGetConnec
tion(DbConnection owningObject, UInt32
waitForMultipleObjectsTimeout, Boolean allowCreate,
Boolean onlyOneCheckConnection, DbConnectionOptions
userOptions, DbConnectionInternal& connection)
at
System.Data.ProviderBase.DbConnectionPool.TryGetConnec
tion(DbConnection owningObject, TaskCompletionSource`1
retry, DbConnectionOptions userOptions,
DbConnectionInternal& connection)
at
System.Data.ProviderBase.DbConnectionFactory.TryGetCon
nection(DbConnection owningConnection,
TaskCompletionSource`1 retry, DbConnectionOptions
userOptions, DbConnectionInternal& connection)
at
System.Data.ProviderBase.DbConnectionClosed.TryOpenCo
nnection(DbConnection outerConnection,
DbConnectionFactory connectionFactory,
TaskCompletionSource`1 retry, DbConnectionOptions
userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen
(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at System.Data.Common.DbDataAdapter.FillInternal
(DataSet dataset, DataTable[] datatables, Int32 startRecord,
Int32 maxRecords, String srcTable, IDbCommand command,
CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable[]
dataTables, Int32 startRecord, Int32 maxRecords,
IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataTable
dataTable)
at
Billform.databillingDataSetTableAdapters.cmpny_dtlTableA
dapter.Fill(cmpny_dtlDataTable dataTable, Int32 id)
at Billform.SaleReport.SaleReport_Load(Object sender,
EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean
fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow
(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc
(Message& m)
at System.Windows.Forms.ContainerControl.WndProc
(Message& m)
at System.Windows.Forms.Form.WmShowWindow
(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.OnM
essage(Message& m)
at
System.Windows.Forms.Control.ControlNativeWindow.Wnd
Proc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr
hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
ClientConnectionId:00000000-0000-0000-0000-
000000000000
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/
mscorlib.dll
----------------------------------------
WebBilling
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files/Pelagian
%20Softwares/My%20Product%20Name/WebBilling.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Syst
em.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/Syst
em.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Syst
em.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Draw
ing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Syst
em/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Syste
m.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Syst
em.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Syst
em.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.
Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Syst
em.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Transactions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Syste
m.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.T
ransactions.dll
----------------------------------------
System.EnterpriseServices
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_32/Syste
m.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/Syst
em.EnterpriseServices.dll
----------------------------------------
System.Data.DataSetExtensions
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Syst
em.Data.DataSetExtensions/v4.0_4.0.0.0__b77a5c561934e0
89/System.Data.DataSetExtensions.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase:
file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Syst
em.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Nu
merics.dll
----------------------------------------
Microsoft.ReportViewer.WinForms
Assembly Version: 11.0.0.0
Win32 Version: 11.0.2802.16 ((RS_DEVDIV).120624-0423 )
CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ReportVi
ewer.WinForms/11.0.0.0__89845dcd8080cc91/Microsoft.Re
portViewer.WinForms.dll
----------------------------------------
Microsoft.ReportViewer.Common
Assembly Version: 11.0.0.0
Win32 Version: 11.0.2802.16 ((RS_DEVDIV).120624-0423 )
CodeBase:
file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ReportVi
ewer.Common/11.0.0.0__89845dcd8080cc91/Microsoft.Rep
ortViewer.Common.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.
Reply
Answers (
4
)
How to get the styles in word using VSTO.
Convert and give me VBA to c#