怎么解决win10 system thread exception not handled 蓝屏

win10系统出现待机时蓝屏,一周一次蓝屏

环境:炫龙T50

操作系统名称 Microsoft Windows 10 教育版

终止代码:system thread exception not handled

失败操作:tesxnginx.sys

图片说明

以下是dmp文件

Microsoft (R) Windows Debugger Version 10.0.18914.1001 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\Windows\Minidump\081019-9500-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available

Symbol search path is: srv*
Executable search path is:

1个回答

tesxnginx.sys,应该是你的显示卡驱动和游戏或者什么软件不兼容。尝试换旧一点的驱动试试看,不要运行可能引起问题的程序。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
win10 10240 如何解决KMODE_EXCEPTION_NOT_HANDLED问题

我电脑开机后,就出现蓝屏并提示我的电脑出现问题,需要重启,但是没有重启按钮

Docker安装报错 Containers Windows Feature is not available,别的地方都找不到解决方案。

报错信息: ``` Containers Windows Feature is not available 在 CommunityInstaller.EnableFeaturesAction.GetFeaturesToEnable() 在 CommunityInstaller.EnableFeaturesAction.<DoAsync>d__29.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 CommunityInstaller.InstallWorkflow.<HandleD4WPackageAsync>d__29.MoveNext() --- 引发异常的上一位置中堆栈跟踪的末尾 --- 在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() 在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) 在 CommunityInstaller.InstallWorkflow.<ProcessAsync>d__24.MoveNext() ``` 系统是Win10家庭版,已安装Hyper-V并开启,Bios也已经设置虚拟化:已启用,注册表也把EditionID改成了Professional,不知道为什么会有问题。 ![图片说明](https://img-ask.csdn.net/upload/202002/13/1581579708_494006.png)

e.Handled =false; ,但是键盘还能正常输入

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication33 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void textBox1_KeyDown(object sender, KeyEventArgs e) { e.Handled =false; label1.Text = e.Handled.ToString(); } } }

win10开启了虚拟化功能启动docker依然报错

电脑:magicbook锐龙版,系统:win10家庭版 问题:安装docker toolbox,启动terminal时报如下错误,已在BIOS设置中开启VT功能![图片说明](https://img-ask.csdn.net/upload/201910/11/1570763618_41289.png)

u盘重装win10系统遇到问题

用的ultraiso 做的u盘启动,hdd格式,bios改成了usb启动,但是u盘插上去后界面一直卡在“start booting from the usb devices”.请问有人跟我遇到过一样的情况吗?

Laravel - Throw $异常没有被处理程序捕获

<div class="post-text" itemprop="text"> <p>In my Laravel 5.6 application, using <code>throw $e</code> seems to output the exception direct to screen and bypasses the Handler.php the exception handler. This means in development the exception is not shown by whoops and in production the exception is not reported.</p> <p>As I write this, I realise I may have been using try/catches incorrectly but maybe someone can confirm this?</p> <p>My current code:</p> <pre><code> try{ $stockLocation = StockLocation::findOrFail($request-&gt;location_id); } catch (\Exception $e){ if($e instanceof ModelNotFoundException){ throw new UserNotifyException('This stock location could not be found on the system', 404); } throw $e; } </code></pre> <p>My intention here was to re-throw any exception that is not a "model not found" and I expected it to be handled in exactly the same way as if the try catch was not there at all?</p> <p>I now realise I should have probably written the above as:</p> <pre><code> try{ $stockLocation = StockLocation::findOrFail($request-&gt;location_id); } catch (ModelNotFoundException $e){ throw new UserNotifyException('This stock location could not be found on the system', 404); } </code></pre> <p>Additional to this, is there a better way to handle exceptions that I do not which to be logged? Currently I transform the exception into my own custom exception class (UserNotifyException) and then in Handler.php I ensure this is not reported.</p> </div>

请大神帮忙解决NET Framework问题

Unhandled exception has occurred in your application.If you click Continue,the application will ignore this error and attempt to continue.If you click Quit,the application will close immediately. Object reference not set to an instance of an object. 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 FTBot.Engines.Grind.Grinder.(String parProfilePath, Action parCallback) at FTBot.Engines.EngineManager.(Boolean parLoadLast) at FTBot.GUI_Forms.Main.(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll ---------------------------------------- FTBot Assembly Version: 1.13.2.0 Win32 Version: 1.13.2.31042 CodeBase: file:///C:/Users/Administrator/Desktop/wow/svchost.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.3081.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- System.Xml.Linq Assembly Version: 4.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll ---------------------------------------- MyMemory Assembly Version: 1.0.6930.35138 Win32 Version: CodeBase: file:///C:/Users/Administrator/Desktop/wow/MyMemory.DLL ---------------------------------------- apfwgswt Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- u0emzrbl Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- zr4wvbax Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- pmvgus0o Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- f032d1rt Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- d5b5x2ae Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- 2ticrzi0 Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- xbw33ao3 Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- pmilznh4 Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- 1mpa4f2z Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- aido2xgq Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- uhquvbpc Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- 415vaauj Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- lnscidri Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- opqcmohb Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- u4f52jdh Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- lszuwm34 Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- hd1x1cey Assembly Version: 0.0.0.0 Win32 Version: 4.7.3062.0 built by: NET472REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.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.

为什么set_exception_handler(func)没有捕获异常?

<div class="post-text" itemprop="text"> <p>An exception is thrown in my shutdown function and <strong>not</strong> caught within a try/catch block, for example:</p> <pre><code>&lt;?php set_exception_handler(function($e){ echo "exception handled"; // not echoed }); register_shutdown_function(function(){ throw new Exception("test"); // this should be caught by the exception handler above, but it doesn't }); </code></pre> <p><kbd><a href="http://3v4l.org/Dv51A" rel="nofollow">Live run.</a></kbd> </p> <p>Running the above code gives:</p> <blockquote> <p>Fatal error: Uncaught exception 'Exception' with message 'test'</p> </blockquote> <p>However <a href="http://php.net/manual/en/function.set-exception-handler.php" rel="nofollow">PHP Manual</a> claims:</p> <blockquote> <p><i>set_exception_handler</i> sets the default exception handler <strong>if an exception is not caught within a try/catch block.</strong> Execution will stop after the <i>exception_handler</i> is called.</p> </blockquote> <p>Why does <code>exception_handler</code> not catch the exception thrown?</p> </div>

ionic开发在mac搭建 android环境 cordova build android时报错

cordova 添加andorid平台没报错,cordova buiild android时报错, 错误信息 Execution failed for task ':CordovaLib:processDebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. at ChildProcess.whenDone (/Users/用户名/Documents/workspace/mobile/platforms/android/cordova/node_modules/cordova-common/src/superspawn.js:169:23) at ChildProcess.emit (events.js:182:13) at maybeClose (internal/child_process.js:962:16) at Socket.stream.socket.on (internal/child_process.js:381:11) at Socket.emit (events.js:182:13) at Pipe._handle.close (net.js:606:12) (node:5733) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:5733) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. cordova reqirements equirements check results for android: Java JDK: installed 1.8.0 Android SDK: installed true Android target: installed android-29,android-27,android-26,android-25,android-24,android-23,android-22,android-21 Gradle: installed /Applications/Android Studio.app/Contents/gradle/gradle-4.1/bin/gradle ionic info Ionic: ionic (Ionic CLI) : 4.1.2 (/Users/wangli/.nvm/versions/node/v10.13.0/lib/node_modules/ionic) Ionic Framework : ionic1 1.3.5 @ionic/v1-toolkit : not installed Cordova: cordova (Cordova CLI) : 8.0.0 Cordova Platforms : android 6.3.0 Cordova Plugins : no whitelisted plugins (26 plugins total) System: Android SDK Tools : 26.1.1 (/Users/wangli/Library/Android/sdk) ios-deploy : 1.10.0 NodeJS : v10.13.0 (/Users/wangli/.nvm/versions/node/v10.13.0/bin/node) npm : 6.4.1 OS : macOS Xcode : Xcode 10.1 Build version 10B61 按照网上说的 减低cordova 版本也是没用 根据这个(https://stackoverflow.com/questions/47719314/execution-failed-for-task-cordovalibprocessdebugresources-com-android-ide)链接进去,按照上面步骤操作 build时依然报错

今天突然在电脑G盘里发现了一个这样的程序,这是怎么回事呢?

今天突然在电脑G盘下 以日期作为名称的记事本2020-04-25 内容如下: 2020-04-25 17:22:56.356) >> System.ComponentModel.Win32Exception (0x80004005): 拒绝访问。 在 System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) 在 System.Diagnostics.Process.Start(ProcessStartInfo startInfo) 在 JiJiDownForWPF.UserControls.u_Download.voVLbweWBQXsFx9ciJZ(Object , Object ) 在 JiJiDownForWPF.UserControls.u_Download.MBKPaeUMGP(Object , MouseButtonEventArgs ) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

请问scrapy为什么会爬取失败

C:\Users\Administrator\Desktop\新建文件夹\xiaozhu>python -m scrapy crawl xiaozhu 2019-10-26 11:43:11 [scrapy.utils.log] INFO: Scrapy 1.7.3 started (bot: xiaozhu) 2019-10-26 11:43:11 [scrapy.utils.log] INFO: Versions: lxml 4.4.1.0, libxml2 2.9 .5, cssselect 1.1.0, parsel 1.5.2, w3lib 1.21.0, Twisted 19.7.0, Python 3.5.3 (v 3.5.3:1880cb95a742, Jan 16 2017, 15:51:26) [MSC v.1900 32 bit (Intel)], pyOpenSS L 19.0.0 (OpenSSL 1.1.1c 28 May 2019), cryptography 2.7, Platform Windows-7-6.1 .7601-SP1 2019-10-26 11:43:11 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'xi aozhu', 'SPIDER_MODULES': ['xiaozhu.spiders'], 'NEWSPIDER_MODULE': 'xiaozhu.spid ers'} 2019-10-26 11:43:11 [scrapy.extensions.telnet] INFO: Telnet Password: c61bda45d6 3b8138 2019-10-26 11:43:11 [scrapy.middleware] INFO: Enabled extensions: ['scrapy.extensions.telnet.TelnetConsole', 'scrapy.extensions.corestats.CoreStats', 'scrapy.extensions.logstats.LogStats'] 2019-10-26 11:43:12 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware', 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware', 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware', 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware', 'scrapy.downloadermiddlewares.retry.RetryMiddleware', 'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware', 'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware', 'scrapy.downloadermiddlewares.redirect.RedirectMiddleware', 'scrapy.downloadermiddlewares.cookies.CookiesMiddleware', 'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware', 'scrapy.downloadermiddlewares.stats.DownloaderStats'] 2019-10-26 11:43:12 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.offsite.OffsiteMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2019-10-26 11:43:12 [scrapy.middleware] INFO: Enabled item pipelines: [] 2019-10-26 11:43:12 [scrapy.core.engine] INFO: Spider opened 2019-10-26 11:43:12 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pag es/min), scraped 0 items (at 0 items/min) 2019-10-26 11:43:12 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023 2019-10-26 11:43:12 [scrapy.downloadermiddlewares.redirect] DEBUG: Redirecting ( 307) to <GET https://bizverify.xiaozhu.com?slideRedirect=https%3A%2F%2Fbj.xiaozh u.com%2Ffangzi%2F125535477903.html> from <GET http://bj.xiaozhu.com/fangzi/12553 5477903.html> 2019-10-26 11:43:12 [scrapy.core.engine] DEBUG: Crawled (400) <GET https://bizve rify.xiaozhu.com?slideRedirect=https%3A%2F%2Fbj.xiaozhu.com%2Ffangzi%2F125535477 903.html> (referer: None) 2019-10-26 11:43:12 [scrapy.spidermiddlewares.httperror] INFO: Ignoring response <400 https://bizverify.xiaozhu.com?slideRedirect=https%3A%2F%2Fbj.xiaozhu.com%2 Ffangzi%2F125535477903.html>: HTTP status code is not handled or not allowed 2019-10-26 11:43:12 [scrapy.core.engine] INFO: Closing spider (finished) 2019-10-26 11:43:12 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'downloader/request_bytes': 529, 'downloader/request_count': 2, 'downloader/request_method_count/GET': 2, 'downloader/response_bytes': 725, 'downloader/response_count': 2, 'downloader/response_status_count/307': 1, 'downloader/response_status_count/400': 1, 'elapsed_time_seconds': 0.427734, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2019, 10, 26, 3, 43, 12, 889648), 'httperror/response_ignored_count': 1, 'httperror/response_ignored_status_count/400': 1, 'log_count/DEBUG': 2, 'log_count/INFO': 11, 'response_received_count': 1, 'scheduler/dequeued': 2, 'scheduler/dequeued/memory': 2, 'scheduler/enqueued': 2, 'scheduler/enqueued/memory': 2, 'start_time': datetime.datetime(2019, 10, 26, 3, 43, 12, 461914)} 2019-10-26 11:43:12 [scrapy.core.engine] INFO: Spider closed (finished)

c#winform运行时报如下错误1

程序加入指纹识别功能(中控5.0),但是在未安装驱动的机器上运行就会出现以下错误,在不安装驱动的情况下怎么解决啊?求大神支招。 See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80040154): 没有注册类别 (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid) at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid) at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid) at System.Windows.Forms.AxHost.CreateInstance() at System.Windows.Forms.AxHost.GetOcxCreate() at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state) at System.Windows.Forms.AxHost.CreateHandle() at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible) at System.Windows.Forms.AxHost.EndInit() at tc_gcm.UI.FrontControl.UcMembershipCard.InitializeComponent() in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\FrontControl\UcMembershipCard.Designer.cs:line 1343 at tc_gcm.UI.FrontControl.UcMembershipCard..ctor() in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\FrontControl\UcMembershipCard.cs:line 27 at tc_gcm.UI.FrontControl.ucmenbercontrol.InitializeComponent() in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\FrontControl\ucmenbercontrol.Designer.cs:line 36 at tc_gcm.UI.FrontControl.ucmenbercontrol..ctor() in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\FrontControl\ucmenbercontrol.cs:line 17 at tc_gcm.UI.FrontControl.frontList.InitializeComponent() in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\FrontControl\frontList.Designer.cs:line 43 at tc_gcm.UI.FrontControl.frontList..ctor() in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\FrontControl\frontList.cs:line 19 at tc_gcm.UI.MainForm.InitializeComponent() in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\MainForm.Designer.cs:line 65 at tc_gcm.UI.MainForm..ctor() in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\MainForm.cs:line 41 at tc_gcm.UI.Loginfrom.btnlogin_Click(Object sender, EventArgs e) in E:\2015-09-25-2256办卡刷卡指纹事件优化\tc.gcm\tc_gcm.UI\Loginfrom.cs:line 165 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.PerformClick() at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData) at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData) at System.Windows.Forms.Control.PreProcessMessage(Message& msg) at System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg) at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- Gym Assembly Version: 1.5.9.22 Win32 Version: 1.5.9.22 CodeBase: file:///D:/Debug/Gym.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- tc_gcm.Dog Assembly Version: 1.5.7.23 Win32 Version: 1.5.7.23 CodeBase: file:///D:/Debug/tc_gcm.Dog.DLL ---------------------------------------- tc_gcm.keys Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/Debug/tc_gcm.keys.DLL ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- tc_gcm.BLL Assembly Version: 1.5.7.23 Win32 Version: 1.5.7.23 CodeBase: file:///D:/Debug/tc_gcm.BLL.DLL ---------------------------------------- tc_gcm.Models Assembly Version: 1.5.7.23 Win32 Version: 1.5.7.23 CodeBase: file:///D:/Debug/tc_gcm.Models.DLL ---------------------------------------- tc_gcm.DAL Assembly Version: 1.5.7.23 Win32 Version: 1.5.7.23 CodeBase: file:///D:/Debug/tc_gcm.DAL.DLL ---------------------------------------- System.Transactions Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- System.Management Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 (RTMRel.030319-0100) CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll ---------------------------------------- tc_gcm.ColorPicker Assembly Version: 1.5.7.23 Win32 Version: 1.5.7.23 CodeBase: file:///D:/Debug/tc_gcm.ColorPicker.DLL ---------------------------------------- System.Windows.Forms.DataVisualization Assembly Version: 3.5.0.0 Win32 Version: 3.5.30729.5681 CodeBase: file:///D:/Debug/System.Windows.Forms.DataVisualization.DLL ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.1 built by: RTMRel CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- AForge.Controls Assembly Version: 2.2.3.0 Win32 Version: 2.2.3.0 CodeBase: file:///D:/Debug/AForge.Controls.DLL ---------------------------------------- AxInterop.ZKFPEngXControl Assembly Version: 3.8.0.0 Win32 Version: 3.8.0.0 CodeBase: file:///D:/Debug/AxInterop.ZKFPEngXControl.DLL ---------------------------------------- AForge.Video Assembly Version: 2.2.3.0 Win32 Version: 2.2.3.0 CodeBase: file:///D:/Debug/AForge.Video.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.

WPF 无法关闭撤消单元,因为不存在已打开的单元

XAML代码: <DataGridTextColumn Width="100" Binding="{Binding SalePrice, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged, StringFormat=\{0:0.00\}}" Header="销售价"> <DataGridTextColumn.HeaderTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <TextBlock Text="销售价" VerticalAlignment="Center" FontSize="14" FontWeight="Bold"></TextBlock> <Button x:Name="btnEditSalePrice" ToolTip="设置销售价倍率" Click="btnEditPrice_Click"> <Button.Content> <Image Source="/NaHuo_KDB_WPF;component/Image/header_edit.png" Stretch="None"/> </Button.Content> </Button> </StackPanel> </DataTemplate> </DataGridTextColumn.HeaderTemplate> <DataGridTextColumn.ElementStyle> <Style TargetType="{x:Type TextBlock}"> <Setter Property="HorizontalAlignment" Value="Center" /> </Style> </DataGridTextColumn.ElementStyle> </DataGridTextColumn> 后台cs代码: private double _salePrice public double SalePrice { get { return _salePrice; } set { _salePrice = value; NotifyPropertyChanged("SalePrice"); } } public event PropertyChangedEventHandler PropertyChanged; public void NotifyPropertyChanged(String info) { if (PropertyChanged != null) { PropertyChanged(this, new PropertyChangedEventArgs(info)); } } 以上代码,在编辑DataGrid的“销售价”这一列数据时,在Windows7、Windows8系统下运行没任何问题,但是在Windows XP下运行,部分机子会报错,报错信息如下: System.InvalidOperationException: Cannot close undo unit because no opened unit exists. at MS.Internal.Documents.UndoManager.Close(IParentUndoUnit unit, UndoCloseAction closeAction) at System.Windows.Documents.ImmComposition.CloseCompositionUndoUnit(UndoCloseAction undoCloseAction, ITextPointer compositionEnd) at System.Windows.Documents.ImmComposition.UpdateCompositionText(FrameworkTextComposition composition, Int32 resultLength, Boolean includeResultText, ITextPointer& start, ITextPointer& end) at System.Windows.Documents.ImmComposition.RaiseTextInputStartEvent(FrameworkTextComposition composition, Int32 resultLength, String compositionString) at System.Windows.Documents.ImmComposition.OnWmImeChar(IntPtr wParam, Boolean& handled) at System.Windows.Documents.ImmComposition.ImmCompositionFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.PublicHooksFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.DefWndProcWrapper(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Window.Show() at System.Windows.Window.ShowDialog() at NaHuo_KDB_WPF.Part.PurOrderList.新增_Click(Object sender, RoutedEventArgs e) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.Controls.Primitives.ButtonBase.OnClick() at System.Windows.Controls.Button.OnClick() at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) at System.Windows.Input.InputManager.ProcessStagingArea() at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) at System.Windows.Application.RunDispatcher(Object ignore) at System.Windows.Application.RunInternal(Window window) at System.Windows.Application.Run(Window window) at System.Windows.Application.Run() at NaHuo_KDB_WPF.App.Main() 好纠结的问题,希望大神们都来帮帮忙,谢谢!

题百分,安装后无法连接网络,如何解决

题百分,安装后无法连接网络,如何解决。 下面是报错的日志。 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 ti100.frmLa.3(Object sender, RunWorkerCompletedEventArgs e) at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e) at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg) ************** Loaded Assemblies ************** mscorlib Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8762 (QFE.050727-8700) CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- ti100 Assembly Version: 7.2.0.0 Win32 Version: 7.2 CodeBase: file:///C:/Maximum%20Score/ti100/ti100.exe ---------------------------------------- System Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8770 (QFE.050727-8700) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5491 (Win7SP1GDR.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.5495 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System.Xml Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5494 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Data.SQLite Assembly Version: 1.0.62.0 Win32 Version: 1.0.62.0 CodeBase: file:///C:/Maximum%20Score/ti100/System.Data.SQLite.DLL ---------------------------------------- System.Data Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.8762 (QFE.050727-8700) CodeBase: file:///C:/windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Transactions Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll ---------------------------------------- System.Design Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5491 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll ---------------------------------------- System.Configuration Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.EnterpriseServices Assembly Version: 2.0.0.0 Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400) CodeBase: file:///C:/windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.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.

c# winform e.Handled = true; 键盘不受限,怎么回事?高手解答一下

namespace WindowsFormsApplication32 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_KeyDown(object sender, KeyEventArgs e) { e.Handled = true; } } }

尝试在PHP中使用全局异常处理程序以统一的方式处理各种顶级异常

<div class="post-text" itemprop="text"> <p>Please consider the following code:</p> <pre><code>&lt;?php class MyException extends Exception {} function global_exception_handler($exception) { switch (get_class($exception)) { case 'MyException': print "I am being handled in a unified way. "; break; default: $backtrace = debug_backtrace(); $exception_trace_object = $backtrace[0]['args'][0]; var_dump($exception_trace_object); print "---- "; $reflected_exception_trace_object = new ReflectionObject($exception_trace_object); $reflected_trace_property = $reflected_exception_trace_object-&gt;getProperty('trace'); $reflected_trace_property-&gt;setAccessible(true); var_dump($reflected_trace_property); print "---- "; // NOT WORKING, I STUCK HERE. var_dump($reflected_trace_property-&gt;getValue($reflected_trace_property)); throw $exception; } } set_exception_handler('global_exception_handler'); function function1() { function2(); } function function2() { function3(); } function function3() { throw new Exception(); } function1(); ?&gt; </code></pre> <p>What I'm trying to do is handling various types of exceptions in a unified way across various files by simply setting up a global exception handler without having to write any boilerplate code (except the header and footer includes which are present in every file).</p> <p>The problem is that when the thrown exception type is not handled by the global exception handler and I want to rethrow the exception, the stack trace gets lost which is a limitation of using set_exception_handler().</p> <p>I can retrieve the stack trace by using debug_backtrace() but I cannot access its relevant private members to be able to print it appropriately.</p> <p>This is what the above script produces:</p> <pre><code>object(Exception)#1 (7) { ["message":protected]=&gt; string(0) "" ["string":"Exception":private]=&gt; string(0) "" ["code":protected]=&gt; int(0) ["file":protected]=&gt; string(28) "/home/laci/download/test.php" ["line":protected]=&gt; int(42) ["trace":"Exception":private]=&gt; array(3) { [0]=&gt; array(4) { ["file"]=&gt; string(28) "/home/laci/download/test.php" ["line"]=&gt; int(37) ["function"]=&gt; string(9) "function3" ["args"]=&gt; array(0) { } } [1]=&gt; array(4) { ["file"]=&gt; string(28) "/home/laci/download/test.php" ["line"]=&gt; int(32) ["function"]=&gt; string(9) "function2" ["args"]=&gt; array(0) { } } [2]=&gt; array(4) { ["file"]=&gt; string(28) "/home/laci/download/test.php" ["line"]=&gt; int(45) ["function"]=&gt; string(9) "function1" ["args"]=&gt; array(0) { } } } ["previous":"Exception":private]=&gt; NULL } ---- object(ReflectionProperty)#3 (2) { ["name"]=&gt; string(5) "trace" ["class"]=&gt; string(9) "Exception" } ---- NULL Fatal error: Exception thrown without a stack frame in Unknown on line 0 </code></pre> <p>Thanks in advance!</p> </div>

C#WPF工程调用C++的32位DLL在其他PC运行报错:试图加载格式不正确的程序(异常来自 HRESULT:0x8007000B)

本机64位,C#WPF 工程调用了 C++编译的32位的DLL文件,C++及C# 工程都是按X86 32位编译的。另外我用VS2015 自带的dumpbin.exe 工具查看过调用的DLL,以及C#编译后的exe所依耐的DLL文件,已经全部拷贝打包过来了的。 ![图片说明](https://img-ask.csdn.net/upload/201907/24/1563958566_30067.png) ![图片说明](https://img-ask.csdn.net/upload/201907/24/1563960392_372980.png) 程序在VS2015里编译调试运行都正常。编译后在本地安装运行也正常。但是把这个程序拿到其他64位机器上安装正常,运行报错。 ![图片说明](https://img-ask.csdn.net/upload/201907/24/1563958724_24876.png) ![图片说明](https://img-ask.csdn.net/upload/201907/24/1563958734_27137.png) 有懂的大神帮忙看下是什么原因导致的,万分感谢! 报错详细信息如下: 未处理 System.BadImageFormatException HResult=-2147024885 Message=试图加载格式不正确的程序。 (异常来自 HRESULT:0x8007000B) Source=EsunnyQuoteMonitor StackTrace: 在 EsunnyQuoteMonitor.Quote.ITapQuotUnit.CreateQuotAPIHander(TapAPIApplicationInfo& appInfo, Int32& iResult) 在 EsunnyQuoteMonitor.Quote.ITapQuoteOnUnit.SetNotify(String ip, Int32 prot, TapAPIApplicationInfo& appInfo, Int32& iResult) 位置 D:\leon.long\workspaceC#\EsunnyQuoteMonitor\EsunnyQuoteMonitor\Quote\ITapQuoteOnUnit.cs:行号 27 在 EsunnyQuoteMonitor.Controller.TapQuoteController.LoginQuote(TapAPIQuoteLoginAuth tapAPIQuoteLoginAuth, String ip, Int32 port) 位置 D:\leon.long\workspaceC#\EsunnyQuoteMonitor\EsunnyQuoteMonitor\Controller\TapQuoteController.cs:行号 82 在 EsunnyQuoteMonitor.windowsforms.LoginQuoteFrame.btnLogin_Click(Object sender, RoutedEventArgs e) 位置 D:\leon.long\workspaceC#\EsunnyQuoteMonitor\EsunnyQuoteMonitor\WindowsForms\LoginQuoteFrame.xaml.cs:行号 71 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) 在 System.Windows.Controls.Primitives.ButtonBase.OnClick() 在 System.Windows.Controls.Button.OnClick() 在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) 在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) 在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) 在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) 在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) 在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) 在 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) 在 System.Windows.Threading.Dispatcher.Run() 在 System.Windows.Application.RunDispatcher(Object ignore) 在 System.Windows.Application.RunInternal(Window window) 在 System.Windows.Application.Run(Window window) 在 EsunnyQuoteMonitor.App.Main() InnerException:

SSL_connect failed,err code=-155;做ssl连接aws服务器的时候,出现一直ssl_connect failed。

做ssl连接aws服务器的时候,出现一直ssl_connect failed,使用mqttfx工具测试正常,所以确认证书应该没有问题,另外使用另一套地址和和证书,可以连接成功,也就证明代码上应该没有问题。所以现在无法判断问题出现在哪里,有没有前辈遇到过类似问题,请指点一二。 连接日志如下: ``` cyassl_log CyaSSL Entering CYASSL_CTX_new cyassl_log CyaSSL Entering CyaSSL_CertManagerNew cyassl_log CyaSSL Leaving CYASSL_CTX_new, return 0 cyassl_log CyaSSL Entering CyaSSL_CTX_load_verify_buffer cyassl_log Processing CA PEM file cyassl_log Adding a CA cyassl_log CyaSSL Entering GetExplicitVersion cyassl_log CyaSSL Entering GetMyVersion cyassl_log CyaSSL Entering GetAlgoId cyassl_log Getting Cert Name cyassl_log Getting Cert Name DecodeToKey: Certificate: Subject: /C=US/O=Amazon/CN=Amazon Root CA 1 Issuer: /C=US/O=Amazon/CN=Amazon Root CA 1 cyassl_log CyaSSL Entering GetAlgoId cyassl_log CyaSSL Entering DecodeCertExtensions cyassl_log found optional critical flag, moving past cyassl_log CyaSSL Entering DecodeBasicCaConstraint cyassl_log found optional critical flag, moving past cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log CyaSSL Entering GetAlgoId cyassl_log Parsed new CA cyassl_log Freeing Parsed CA cyassl_log Freeing der CA cyassl_log OK Freeing der CA cyassl_log CyaSSL Leaving AddCA, return 0 cyassl_log Processed a CA cyassl_log CyaSSL Entering CyaSSL_CTX_use_PrivateKey_buffer cyassl_log CyaSSL Entering GetMyVersion cyassl_log CyaSSL Entering CyaSSL_CTX_use_certificate_buffer cyassl_log Checking cert signature type cyassl_log CyaSSL Entering GetExplicitVersion cyassl_log CyaSSL Entering GetMyVersion cyassl_log CyaSSL Entering GetAlgoId cyassl_log Getting Cert Name cyassl_log Getting Cert Name DecodeToKey: Certificate: Subject: /CN=AWS IoT Certificate Issuer: /OU=Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US cyassl_log CyaSSL Entering GetAlgoId cyassl_log Not ECDSA cert signature cyassl_log CyaSSL Entering SSL_new cyassl_log CyaSSL Leaving SSL_new, return 0 cyassl_log CyaSSL Entering SSL_set_fd cyassl_log CyaSSL Leaving SSL_set_fd, return 1 cyassl_log CyaSSL Entering SSL_connect() cyassl_log growing output buffer cyassl_log Shrinking output buffer cyassl_log connect state: CLIENT_HELLO_SENT GetInputData: 5 cyassl_log growing input buffer Blocking for data from network ... expecting 5 bytes Got 5 bytes GetInputData: 4998 cyassl_log growing input buffer Blocking for data from network ... expecting 4998 bytes Got 2395 bytes Blocking for data from network ... expecting 2603 bytes Got 1200 bytes Blocking for data from network ... expecting 1403 bytes Got 1200 bytes Blocking for data from network ... expecting 203 bytes Got 203 bytes cyassl_log received record layer msg cyassl_log CyaSSL Entering DoHandShakeMsg() cyassl_log CyaSSL Entering DoHandShakeMsgType cyassl_log processing server hello cyassl_log CyaSSL Leaving DoHandShakeMsgType(), return 0 cyassl_log CyaSSL Leaving DoHandShakeMsg(), return 0 cyassl_log More messages in record cyassl_log received record layer msg cyassl_log CyaSSL Entering DoHandShakeMsg() cyassl_log CyaSSL Entering DoHandShakeMsgType cyassl_log processing certificate cyassl_log Loading peer's cert chain cyassl_log Put another cert into chain cyassl_log Put another cert into chain cyassl_log Put another cert into chain cyassl_log Put another cert into chain Total certificates in chain : 4 Decoding the certificates ... Parse certificate- Length: 1145 cyassl_log CyaSSL Entering GetExplicitVersion cyassl_log CyaSSL Entering GetMyVersion cyassl_log CyaSSL Entering GetAlgoId cyassl_log Getting Cert Name cyassl_log Getting Cert Name DecodeToKey: Certificate: Subject: /C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./CN=Starfield Services Root Certificate Authority - G2 Issuer: /C=US/O=Starfield Technologies, Inc./OU=Starfield Class 2 Certification Authority cyassl_log CyaSSL Entering GetAlgoId cyassl_log CyaSSL Entering DecodeCertExtensions cyassl_log found optional critical flag, moving past cyassl_log CyaSSL Entering DecodeBasicCaConstraint cyassl_log found optional critical flag, moving past cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log There are more Authority Information Access records, but we only use first one. cyassl_log CyaSSL Entering DecodeCrlDist cyassl_log Extension type not handled, skipping cyassl_log CyaSSL Entering GetAlgoId cyassl_log About to verify certificate signature cyassl_log No CA signer to verify with cyassl_log Failed to verify CA from chain Parse certificate- Length: 1174 cyassl_log CyaSSL Entering GetExplicitVersion cyassl_log CyaSSL Entering GetMyVersion cyassl_log CyaSSL Entering GetAlgoId cyassl_log Getting Cert Name cyassl_log Getting Cert Name DecodeToKey: Certificate: Subject: /C=US/O=Amazon/CN=Amazon Root CA 1 Issuer: /C=US/ST=Arizona/L=Scottsdale/O=Starfield Technologies, Inc./CN=Starfield Services Root Certificate Authority - G2 cyassl_log CyaSSL Entering GetAlgoId cyassl_log CyaSSL Entering DecodeCertExtensions cyassl_log found optional critical flag, moving past cyassl_log CyaSSL Entering DecodeBasicCaConstraint cyassl_log found optional critical flag, moving past cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log There are more Authority Information Access records, but we only use first one. cyassl_log CyaSSL Entering DecodeCrlDist cyassl_log Extension type not handled, skipping cyassl_log CyaSSL Entering GetAlgoId cyassl_log About to verify certificate signature cyassl_log No CA signer to verify with cyassl_log Failed to verify CA from chain Parse certificate- Length: 1101 cyassl_log CyaSSL Entering GetExplicitVersion cyassl_log CyaSSL Entering GetMyVersion cyassl_log CyaSSL Entering GetAlgoId cyassl_log Getting Cert Name cyassl_log Getting Cert Name DecodeToKey: Certificate: Subject: /C=US/O=Amazon/OU=Server CA 1B/CN=Amazon Issuer: /C=US/O=Amazon/CN=Amazon Root CA 1 cyassl_log CyaSSL Entering GetAlgoId cyassl_log CyaSSL Entering DecodeCertExtensions cyassl_log found optional critical flag, moving past cyassl_log CyaSSL Entering DecodeBasicCaConstraint cyassl_log found optional critical flag, moving past cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log There are more Authority Information Access records, but we only use first one. cyassl_log CyaSSL Entering DecodeCrlDist cyassl_log Extension type not handled, skipping cyassl_log CyaSSL Entering GetAlgoId cyassl_log About to verify certificate signature cyassl_log Adding CA from chain cyassl_log Adding a CA cyassl_log CyaSSL Entering GetExplicitVersion cyassl_log CyaSSL Entering GetMyVersion cyassl_log CyaSSL Entering GetAlgoId cyassl_log Getting Cert Name cyassl_log Getting Cert Name DecodeToKey: Certificate: Subject: /C=US/O=Amazon/OU=Server CA 1B/CN=Amazon Issuer: /C=US/O=Amazon/CN=Amazon Root CA 1 cyassl_log CyaSSL Entering GetAlgoId cyassl_log CyaSSL Entering DecodeCertExtensions cyassl_log found optional critical flag, moving past cyassl_log CyaSSL Entering DecodeBasicCaConstraint cyassl_log found optional critical flag, moving past cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log There are more Authority Information Access records, but we only use first one. cyassl_log CyaSSL Entering DecodeCrlDist cyassl_log Extension type not handled, skipping cyassl_log CyaSSL Entering GetAlgoId cyassl_log Parsed new CA cyassl_log Freeing Parsed CA cyassl_log Freeing der CA cyassl_log OK Freeing der CA cyassl_log CyaSSL Leaving AddCA, return 0 cyassl_log Veriying Peer's cert cyassl_log CyaSSL Entering GetExplicitVersion cyassl_log CyaSSL Entering GetMyVersion cyassl_log CyaSSL Entering GetAlgoId cyassl_log Getting Cert Name cyassl_log Getting Cert Name DecodeToKey: Certificate: Subject: /CN=*.iot.us-west-2.amazonaws.com Issuer: /C=US/O=Amazon/OU=Server CA 1B/CN=Amazon cyassl_log CyaSSL Entering GetAlgoId cyassl_log CyaSSL Entering DecodeCertExtensions cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log CyaSSL Entering DecodeAltNames cyassl_log Not DNS type cyassl_log Extension type not handled, skipping cyassl_log found optional critical flag, moving past cyassl_log Extension type not handled, skipping cyassl_log Extension type not handled, skipping cyassl_log CyaSSL Entering DecodeCrlDist cyassl_log Extension type not handled, skipping cyassl_log There are more Authority Information Access records, but we only use first one. cyassl_log found optional critical flag, moving past cyassl_log CyaSSL Entering DecodeBasicCaConstraint cyassl_log Extension type not handled, skipping cyassl_log CyaSSL Entering GetAlgoId cyassl_log About to verify certificate signature cyassl_log Verified Peer's cert cyassl_log growing output buffer cyassl_log Shrinking output buffer cyassl_log CyaSSL Leaving DoHandShakeMsgType(), return -155 cyassl_log CyaSSL Leaving DoHandShakeMsg(), return -155 cyassl_log CyaSSL error occured, error = -155 cyassl_log CyaSSL Entering SSL_get_error cyassl_log CyaSSL Leaving SSL_get_error, return -155 cyassl_log CyaSSL Entering ERR_error_string ---------------------err = -155, ASN sig error, confirm failure SSL_connect failed cyassl_log CyaSSL Entering SSL_shutdown() cyassl_log CyaSSL Leaving SSL_shutdown(), return -155 cyassl_log CyaSSL Entering SSL_free cyassl_log CTX ref count not 0 yet, no free cyassl_log Shrinking input buffer ```

vs2012数据库连接问题 求大神帮忙

未处理System.Data.SqlClient.SqlException HResult=-2146232060 Message=在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - 无法打开到 SQL Server 的连接) Source=.Net SqlClient Data Provider ErrorCode=-2146232060 Class=20 LineNumber=0 Number=2 Server="" State=0 StackTrace: 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) 在 System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover) 在 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) 在 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) 在 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) 在 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions) 在 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) 在 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) 在 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionOptions userOptions) 在 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnectionOptions userOptions) 在 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& connection) 在 System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) 在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) 在 System.Data.SqlClient.SqlConnection.Open() 在 WpfApplication1.MainWindow.Button2_Click(Object sender, RoutedEventArgs e) 位置 f:\c#\student\WpfApplication1\WpfApplication1\MainWindow.xaml.cs:行号 97 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) 在 System.Windows.Controls.Primitives.ButtonBase.OnClick() 在 System.Windows.Controls.Button.OnClick() 在 System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e) 在 System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent) 在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e) 在 System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget) 在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target) 在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) 在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) 在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) 在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args) 在 System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted) 在 System.Windows.Input.InputManager.ProcessStagingArea() 在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input) 在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport) 在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel) 在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) 在 MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler) 在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs) 在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam) 在 MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg) 在 System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame) 在 System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame) 在 System.Windows.Threading.Dispatcher.Run() 在 System.Windows.Application.RunDispatcher(Object ignore) 在 System.Windows.Application.RunInternal(Window window) 在 System.Windows.Application.Run(Window window) 在 System.Windows.Application.Run() 在 WpfApplication1.App.Main() 位置 f:\c#\student\WpfApplication1\WpfApplication1\obj\Debug\App.g.cs:行号 0 在 System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) 在 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) 在 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() 在 System.Threading.ThreadHelper.ThreadStart_Context(Object state) 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 在 System.Threading.ThreadHelper.ThreadStart() InnerException: System.ComponentModel.Win32Exception HResult=-2147467259 Message=系统找不到指定的文件。 ErrorCode=-2147467259 NativeErrorCode=2 InnerException:

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

外包程序员的幸福生活

今天给你们讲述一个外包程序员的幸福生活。男主是Z哥,不是在外包公司上班的那种,是一名自由职业者,接外包项目自己干。接下来讲的都是真人真事。 先给大家介绍一下男主,Z哥,老程序员,是我十多年前的老同事,技术大牛,当过CTO,也创过业。因为我俩都爱好喝酒、踢球,再加上住的距离不算远,所以一直也断断续续的联系着,我对Z哥的状况也有大概了解。 Z哥几年前创业失败,后来他开始干起了外包,利用自己的技术能...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

深入剖析Springboot启动原理的底层源码,再也不怕面试官问了!

大家现在应该都对Springboot很熟悉,但是你对他的启动原理了解吗?

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

你期望月薪4万,出门右拐,不送,这几个点,你也就是个初级的水平

先来看几个问题通过注解的方式注入依赖对象,介绍一下你知道的几种方式@Autowired和@Resource有何区别说一下@Autowired查找候选者的...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《Oracle Java SE编程自学与面试指南》最佳学习路线图2020年最新版(进大厂必备)

正确选择比瞎努力更重要!

《Oracle Java SE编程自学与面试指南》最佳学习路线图(2020最新版)

正确选择比瞎努力更重要!

字节跳动面试官竟然问了我JDBC?

轻松等回家通知

面试官:你连SSO都不懂,就别来面试了

大厂竟然要考我SSO,卧槽。

终于,月薪过5万了!

来看几个问题想不想月薪超过5万?想不想进入公司架构组?想不想成为项目组的负责人?想不想成为spring的高手,超越99%的对手?那么本文内容是你必须要掌握的。本文主要详解bean的生命...

自从喜欢上了B站这12个UP主,我越来越觉得自己是个废柴了!

不怕告诉你,我自从喜欢上了这12个UP主,哔哩哔哩成为了我手机上最耗电的软件,几乎每天都会看,可是吧,看的越多,我就越觉得自己是个废柴,唉,老天不公啊,不信你看看…… 间接性踌躇满志,持续性混吃等死,都是因为你们……但是,自己的学习力在慢慢变强,这是不容忽视的,推荐给你们! 都说B站是个宝,可是有人不会挖啊,没事,今天咱挖好的送你一箩筐,首先啊,我在B站上最喜欢看这个家伙的视频了,为啥 ,咱撇...

立即提问
相关内容推荐