Home Database Mysql Tutorial .Net 2.0的WinFom程序打了数字签名之后程序启动很慢

.Net 2.0的WinFom程序打了数字签名之后程序启动很慢

Jun 07, 2016 pm 03:49 PM
.net digital signature program

节前碰到一个客户,程序打开发现速度很慢,核查了一下发现在程序打开的时候会进行很多的http的请求,集中在访问微软的数字证书的网站。程序是.Net2.0的,为了避免被360误杀有数字签名,检查系统日志发现有大量的错误。后来检查发现在以下两种情况下会导致程

节前碰到一个客户,程序打开发现速度很慢,核查了一下发现在程序打开的时候会进行很多的http的请求,集中在访问微软的数字证书的网站。程序是.Net2.0的,为了避免被360误杀有数字签名,检查系统日志发现有大量的错误。后来检查发现在以下两种情况下会导致程序很慢:

1、访问数字网站很卡甚至不能访问

2、本地系统时间有错

也不知道微软犯了什么混,.Net 2.0的程序加了数字签名之后,都要检查当前的证书是否在吊销列表内,而且还会定时通过去更新吊销证书列表,如果两天不更新则会每次启动都会去更新。而且检查通过之后程序才能启动。这个过程一旦有问题或者加载的程序、dll过多的时候程序启动都会死慢。


微软官方说明:http://support.microsoft.com/kb/941990/zh-cn


症状

当您尝试启动数字签名的 Microsoft.NET Framework 2.0 Windows 应用程序或 Windows 服务时,在应用程序启动速度非常缓慢。经过数字签名的 Windows 服务启动过程中,可能会超时,您收到以下错误消息来自服务控制管理器:

错误 1053年: 服务没有响应对及时启动或控制请求。

.Net 2.0的WinFom程序打了数字签名之后程序启动很慢回到顶端 | 提供反馈

.Net 2.0的WinFom程序打了数字签名之后程序启动很慢原因

发生此问题是因为该应用程序必须下载用于身份验证的证书吊销列表 (CRL)。但是,网络连接性的缺乏会导致超时由失败的下载。例如,防火墙可能会可能会阻止下载。Windows 第一次启动时,网络连接是尚未初始化。


Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to make Google Maps the default map in iPhone How to make Google Maps the default map in iPhone Apr 17, 2024 pm 07:34 PM

How to make Google Maps the default map in iPhone

Fix: Operator denied request error in Windows Task Scheduler Fix: Operator denied request error in Windows Task Scheduler Aug 01, 2023 pm 08:43 PM

Fix: Operator denied request error in Windows Task Scheduler

How to sort photos by face on Windows 10 and 11 How to sort photos by face on Windows 10 and 11 Aug 08, 2023 pm 10:41 PM

How to sort photos by face on Windows 10 and 11

How to write a simple countdown program in C++? How to write a simple countdown program in C++? Nov 03, 2023 pm 01:39 PM

How to write a simple countdown program in C++?

Clock app missing in iPhone: How to fix it Clock app missing in iPhone: How to fix it May 03, 2024 pm 09:19 PM

Clock app missing in iPhone: How to fix it

How to open a website using Task Scheduler How to open a website using Task Scheduler Oct 02, 2023 pm 11:13 PM

How to open a website using Task Scheduler

How to quickly uninstall apps from the Microsoft Store How to quickly uninstall apps from the Microsoft Store Jul 12, 2023 pm 09:25 PM

How to quickly uninstall apps from the Microsoft Store

iOS 17: How to organize iMessage apps in Messages iOS 17: How to organize iMessage apps in Messages Sep 18, 2023 pm 05:25 PM

iOS 17: How to organize iMessage apps in Messages

See all articles