执行WebKey()方法时出现异常!System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.Data.SqlClient.SqlException: 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - 无法打开到 SQL Server 的连接) ---> System.ComponentModel.Win32Exception: 找不到网络路径。
--- 内部异常堆栈跟踪的结尾 ---
在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
在 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
在 System.Data.SqlClient.SqlConnection.Open()
在 System.Data.CSql.Open(Int32 xd5c403e5caba3eaa)
在 System.Data.CSql.ExecuteScalar(String x77f87e937dc34d11, String[,] x41baca1d6c0c2e8e, Int32 xd5c403e5caba3eaa)
在 Socut.Data.ExecuteScalar(String x77f87e937dc34d11, String[,] x41baca1d6c0c2e8e, Int32 xd5c403e5caba3eaa)
在 Socut.Data.ExecuteScalar(String x77f87e937dc34d11)
在 ReplaceLable.WebKey() 位置 E:\2013年4月15日前\z浙医药学网\2012版\ReplaceLable\ReplaceLable.cs:行号 2098
--- 内部异常堆栈跟踪的结尾 ---
在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
在 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
在 ReplaceLable.Profile_String(String Namespace, String Lib, String Methods, Object[] parametors) 位置 E:\2013年4月15日前\z浙医药学网\2012版\ReplaceLable\ReplaceLable.cs:行号 2907
|
|
--- 内部异常堆栈跟踪的结尾 --- 在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) 在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) 在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) 在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) 在 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) 在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) 在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) 在 System.Data.SqlClient.SqlConnection.Open() 在 System.Data.CSql.Open(Int32 xd5c403e5caba3eaa) 在 System.Data.CSql.ExecuteScalar(String x77f87e937dc34d11, String[,] x41baca1d6c0c2e8e, Int32 xd5c403e5caba3eaa) 在 Socut.Data.ExecuteScalar(String x77f87e937dc34d11, String[,] x41baca1d6c0c2e8e, Int32 xd5c403e5caba3eaa) 在 Socut.Data.ExecuteScalar(String x77f87e937dc34d11) 在 ReplaceLable.SiteMap() 位置 E:\2013年4月15日前\z浙医药学网\2012版\ReplaceLable\ReplaceLable.cs:行号 1972 --- 内部异常堆栈跟踪的结尾 --- 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 在 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) 在 ReplaceLable.Profile_String(String Namespace, String Lib, String Methods, Object[] parametors) 位置 E:\2013年4月15日前\z浙医药学网\2012版\ReplaceLable\ReplaceLable.cs:行号 2907 |
||||
|
执行GetContent()方法时出现异常!System.Reflection.TargetInvocationException: 调用的目标发生了异常。 ---> System.Data.SqlClient.SqlException: 在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - 无法打开到 SQL Server 的连接) ---> System.ComponentModel.Win32Exception: 找不到网络路径。 --- 内部异常堆栈跟踪的结尾 --- 在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) 在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) 在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) 在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) 在 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) 在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) 在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) 在 System.Data.SqlClient.SqlConnection.Open() 在 System.Data.CSql.Open(Int32 xd5c403e5caba3eaa) 在 System.Data.CSql.ExecuteDataSet(String xd38650ca6fc38b28, Int32 xbeabf551accac7a0, Int32 x4b902d71c53f7c0b, String xda01958c824f4e9d, String[,] x41baca1d6c0c2e8e, Int32 xd5c403e5caba3eaa) 在 Socut.Data.ExecuteDataSet(String x0d642fbf8bce3fd3, String[,] x41baca1d6c0c2e8e, String xda01958c824f4e9d, Int32 xbeabf551accac7a0, Int32 x4b902d71c53f7c0b, Int32 xd5c403e5caba3eaa) 在 Socut.Data.ExecuteDataSet(String x0d642fbf8bce3fd3, String[,] x41baca1d6c0c2e8e) 在 ReplaceLable.GetContent(String TempCS0, String TempCS1, String TempCS2, String TempCS3, String TempCS4, String TempCS5, String TempCS6, String TempCS7, String TempCS8, String TempCS9, String TempCS10, String TempCS11, String TempCS12, String TempCS13, String TempCS14, String TempCS15, String TempCS16, String TempCS17, String TempCS18, String TempCS19) 位置 E:\2013年4月15日前\z浙医药学网\2012版\ReplaceLable\ReplaceLable.cs:行号 566 --- 内部异常堆栈跟踪的结尾 --- 在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) 在 System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) 在 System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) 在 System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) 在 ReplaceLable.Profile_String(String Namespace, String Lib, String Methods, Object[] parametors) 位置 E:\2013年4月15日前\z浙医药学网\2012版\ReplaceLable\ReplaceLable.cs:行号 2900 |
|
浙江省医院药事管理质控中心网 版权所有@2008 All Right Reserved。 浙江省医院药事管理质控中心主办 技术支持:汇聚堂
地址:杭州市庆春路79号(310003) Email:zhejiangyszk@163.com 建议浏览器IE6.0+ 分辨率:1024*768以上 |