windows server 2008 r2 sp1 安装 dotnet-hosting-2.2.2-win报错

在windows server 2008 r2 sp1 系统中
安装dotnet-sdk-2.2.104-win-x64和dotnet-hosting-2.2.2-win 都报同样的错
报错如下图:

图片说明

我尝试安装了Windows6.1-KB2533623-x64补丁,
安装了Microsoft Visual C++ 2015 Redistributable
都不行
请问如何解决

1个回答

找到问题原因了:

在开发机上,Win+R打开运行,输入certmgr.msc,打开证书管理界面。

图片说明

导出上面选择的两个证书,然后在服务器上导入就可以安装了

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]
"C:\idea\IntelliJ IDEA 2019.2.4\jbr\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:56203,suspend=y,server=n -XX:TieredStopAtLevel=1 -noverify -Dspring.output.ansi.enabled=always -Dcom.sun.management.jmxremote -Dspring.jmx.enabled=true -Dspring.liveBeansView.mbeanDomain -Dspring.application.admin.enabled=true -Dfile.encoding=UTF-8 -classpath "E:\java\develop\javacode\spring-boot\target\classes;E:\java\develop\javacode\spring-boot\lib\javaee.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tyrus-container-servlet.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\javax.websocket-api.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tyrus-container-glassfish-cdi.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tyrus-server.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tyrus-client.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tyrus-spi.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tyrus-container-grizzly.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tyrus-core.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.27\tyrus-websocket-core.jar;E:\maven\maven_repository\org\springframework\boot\spring-boot-starter\2.0.1.RELEASE\spring-boot-starter-2.0.1.RELEASE.jar;E:\maven\maven_repository\org\springframework\boot\spring-boot\2.0.1.RELEASE\spring-boot-2.0.1.RELEASE.jar;E:\maven\maven_repository\org\springframework\spring-context\5.0.5.RELEASE\spring-context-5.0.5.RELEASE.jar;E:\maven\maven_repository\org\springframework\boot\spring-boot-autoconfigure\2.0.1.RELEASE\spring-boot-autoconfigure-2.0.1.RELEASE.jar;E:\maven\maven_repository\org\springframework\boot\spring-boot-starter-logging\2.0.1.RELEASE\spring-boot-starter-logging-2.0.1.RELEASE.jar;E:\maven\maven_repository\ch\qos\logback\logback-classic\1.2.3\logback-classic-1.2.3.jar;E:\maven\maven_repository\ch\qos\logback\logback-core\1.2.3\logback-core-1.2.3.jar;E:\maven\maven_repository\org\apache\logging\log4j\log4j-to-slf4j\2.10.0\log4j-to-slf4j-2.10.0.jar;E:\maven\maven_repository\org\apache\logging\log4j\log4j-api\2.10.0\log4j-api-2.10.0.jar;E:\maven\maven_repository\org\slf4j\jul-to-slf4j\1.7.25\jul-to-slf4j-1.7.25.jar;E:\maven\maven_repository\javax\annotation\javax.annotation-api\1.3.2\javax.annotation-api-1.3.2.jar;E:\maven\maven_repository\org\springframework\spring-core\5.0.5.RELEASE\spring-core-5.0.5.RELEASE.jar;E:\maven\maven_repository\org\springframework\spring-jcl\5.0.5.RELEASE\spring-jcl-5.0.5.RELEASE.jar;E:\maven\maven_repository\org\yaml\snakeyaml\1.19\snakeyaml-1.19.jar;E:\maven\maven_repository\org\springframework\boot\spring-boot-starter-web\2.0.1.RELEASE\spring-boot-starter-web-2.0.1.RELEASE.jar;E:\maven\maven_repository\org\springframework\boot\spring-boot-starter-json\2.0.1.RELEASE\spring-boot-starter-json-2.0.1.RELEASE.jar;E:\maven\maven_repository\com\fasterxml\jackson\core\jackson-databind\2.9.5\jackson-databind-2.9.5.jar;E:\maven\maven_repository\com\fasterxml\jackson\core\jackson-annotations\2.9.0\jackson-annotations-2.9.0.jar;E:\maven\maven_repository\com\fasterxml\jackson\core\jackson-core\2.9.5\jackson-core-2.9.5.jar;E:\maven\maven_repository\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.9.5\jackson-datatype-jdk8-2.9.5.jar;E:\maven\maven_repository\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.9.5\jackson-datatype-jsr310-2.9.5.jar;E:\maven\maven_repository\com\fasterxml\jackson\module\jackson-module-parameter-names\2.9.5\jackson-module-parameter-names-2.9.5.jar;E:\maven\maven_repository\org\springframework\boot\spring-boot-starter-tomcat\2.0.1.RELEASE\spring-boot-starter-tomcat-2.0.1.RELEASE.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-core\8.5.29\tomcat-embed-core-8.5.29.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-el\8.5.29\tomcat-embed-el-8.5.29.jar;E:\maven\maven_repository\org\apache\tomcat\embed\tomcat-embed-websocket\8.5.29\tomcat-embed-websocket-8.5.29.jar;E:\maven\maven_repository\org\hibernate\validator\hibernate-validator\6.0.9.Final\hibernate-validator-6.0.9.Final.jar;E:\maven\maven_repository\javax\validation\validation-api\2.0.1.Final\validation-api-2.0.1.Final.jar;E:\maven\maven_repository\org\jboss\logging\jboss-logging\3.3.2.Final\jboss-logging-3.3.2.Final.jar;E:\maven\maven_repository\com\fasterxml\classmate\1.3.4\classmate-1.3.4.jar;E:\maven\maven_repository\org\springframework\spring-web\5.0.5.RELEASE\spring-web-5.0.5.RELEASE.jar;E:\maven\maven_repository\org\springframework\spring-beans\5.0.5.RELEASE\spring-beans-5.0.5.RELEASE.jar;E:\maven\maven_repository\org\springframework\spring-webmvc\5.0.5.RELEASE\spring-webmvc-5.0.5.RELEASE.jar;E:\maven\maven_repository\org\springframework\spring-aop\5.0.5.RELEASE\spring-aop-5.0.5.RELEASE.jar;E:\maven\maven_repository\org\springframework\spring-expression\5.0.5.RELEASE\spring-expression-5.0.5.RELEASE.jar;E:\maven\maven_repository\org\mybatis\generator\mybatis-generator-core\1.3.5\mybatis-generator-core-1.3.5.jar;E:\maven\maven_repository\mysql\mysql-connector-java\8.0.11\mysql-connector-java-8.0.11.jar;E:\maven\maven_repository\com\google\protobuf\protobuf-java\2.6.0\protobuf-java-2.6.0.jar;E:\maven\maven_repository\org\slf4j\slf4j-api\1.7.25\slf4j-api-1.7.25.jar;C:\idea\IntelliJ IDEA 2019.2.4\lib\idea_rt.jar" com.aipuer.springboot.Application Connected to the target VM, address: '127.0.0.1:56203', transport: 'socket' . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.0.1.RELEASE) 2019-12-02 11:09:39.252 INFO 8852 --- [ main] com.aipuer.springboot.Application : Starting Application on PC-20191121IKBV with PID 8852 (E:\java\develop\javacode\spring-boot\target\classes started by Administrator in E:\java\develop\javacode\spring-boot) 2019-12-02 11:09:39.254 INFO 8852 --- [ main] com.aipuer.springboot.Application : No active profile set, falling back to default profiles: default 2019-12-02 11:09:39.281 INFO 8852 --- [ main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@78641d23: startup date [Mon Dec 02 11:09:39 CST 2019]; root of context hierarchy WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (file:/E:/maven/maven_repository/org/springframework/spring-core/5.0.5.RELEASE/spring-core-5.0.5.RELEASE.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 2019-12-02 11:09:39.917 INFO 8852 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) 2019-12-02 11:09:39.932 INFO 8852 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2019-12-02 11:09:39.932 INFO 8852 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/8.5.29 2019-12-02 11:09:39.936 INFO 8852 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\idea\IntelliJ IDEA 2019.2.4\jbr\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;E:\app\Administrator\product\11.2.0\dbhome_1\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;E:\java\development\jdk8\bin;E:\java\development\jdk8\jre\bin;E:\java\development\apache-maven-3.3.9-bin\bin;C:\Program Files\MySQL\MySQL Server 8.0\bin\;C:\Program Files\nodejs\;E:\java\svn\bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Users\Administrator\AppData\Roaming\npm;.] 2019-12-02 11:09:39.981 ERROR 8852 --- [cat-startStop-1] org.apache.catalina.core.ContainerBase : A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]] at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:na] at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[na:na] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ~[tomcat-embed-core-8.5.29.jar:8.5.29] ... 6 common frames omitted Caused by: org.apache.catalina.LifecycleException: Failed to start component [Pipeline[StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5125) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] ... 6 common frames omitted Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.authenticator.NonLoginAuthenticator[]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardPipeline.startInternal(StandardPipeline.java:182) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] ... 8 common frames omitted Caused by: java.lang.NoSuchMethodError: 'java.lang.String javax.servlet.ServletContext.getVirtualServerName()' at org.apache.catalina.authenticator.AuthenticatorBase.startInternal(AuthenticatorBase.java:1186) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] ... 10 common frames omitted 2019-12-02 11:09:39.982 ERROR 8852 --- [ main] org.apache.catalina.core.ContainerBase : A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]] at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:na] at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191) ~[na:na] at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:941) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.startup.Tomcat.start(Tomcat.java:367) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:86) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:409) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:174) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:179) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[spring-context-5.0.5.RELEASE.jar:5.0.5.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at com.aipuer.springboot.Application.main(Application.java:9) ~[classes/:na] Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) ~[na:na] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) ~[na:na] at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na] Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:949) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] ... 6 common frames omitted 2019-12-02 11:09:39.982 INFO 8852 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] 2019-12-02 11:09:39.983 WARN 8852 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat 2019-12-02 11:09:39.987 INFO 8852 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2019-12-02 11:09:39.990 ERROR 8852 --- [ main] o.s.boot.SpringApplication : Application run failed org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:155) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:544) ~[spring-context-5.0.5.RELEASE.jar:5.0.5.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at com.aipuer.springboot.Application.main(Application.java:9) ~[classes/:na] Caused by: org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:126) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:86) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:409) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:174) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:179) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:152) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] ... 8 common frames omitted Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardServer[-1]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.startup.Tomcat.start(Tomcat.java:367) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:107) ~[spring-boot-2.0.1.RELEASE.jar:2.0.1.RELEASE] ... 13 common frames omitted Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Tomcat]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] ... 15 common frames omitted Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat]] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] ... 17 common frames omitted Caused by: org.apache.catalina.LifecycleException: A child container failed during start at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:949) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) ~[tomcat-embed-core-8.5.29.jar:8.5.29] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.5.29.jar:8.5.29] ... 19 common frames omitted Disconnected from the target VM, address: '127.0.0.1:56203', transport: 'socket' Process finished with exit code 1
依赖: libicu55 但无法安装它
ubuntu 18.04 安装 .net core sdk 2.1.202, 出现libicu55相关问题:dotnet-runtime-2.0.9 : 依赖: libicu55 但无法安装它, 接着使用sudo apt install libicu55,提示找不到软件包无法安装libicu55。 <pre>$ sudo apt-get install dotnet-sdk-2.1.202 正在读取软件包列表... 完成 正在分析软件包的依赖关系树 正在读取状态信息... 完成 有一些软件包无法被安装。如果您用的是 unstable 发行版,这也许是 因为系统无法达到您要求的状态造成的。该版本中可能会有一些您需要的软件 包尚未被创建或是它们已被从新到(Incoming)目录移出。 下列信息可能会对解决问题有所帮助: 下列软件包有未满足的依赖关系: dotnet-sdk-2.1.202 : 依赖: dotnet-runtime-2.0.9 但是它将不会被安装 E: 无法修正错误,因为您要求某些软件包保持现状,就是它们破坏了软件包间的依赖关系。 </pre>
C# Vlc.Dotnet.Forms Dispose 无回应
C#调用2个以上的VLC Player后,要Dispose都会无回应,要如何才能正确地释放资源 ![图片说明](https://img-ask.csdn.net/upload/201907/18/1563433451_959701.png)
.net core项目编译成功但是发布失败,错误 MSB3094
netcore mvc的项目,编译都通过了,本地跑也很正常,用vs2019开发,发布的时候报错:“DestinationFiles”引用 1 个项,而“SourceFiles”引用 105 个项。它们必须具有相同的项数。 输出里面的具体错误是:C:\Program Files\dotnet\sdk\3.1.101\Sdks\Microsoft.NET.Sdk.Publish\targets\PublishTargets\Microsoft.NET.Sdk.Publish.FileSystem.targets(42,5): 错误 MSB3094: “DestinationFiles”引用 1 个项,而“SourceFiles”引用 105 个项。它们必须具有相同的项数。 log截图 ![图片说明](https://img-ask.csdn.net/upload/202002/03/1580734174_565061.png) 求大神详解
程序配置文件app.config,没有schemas-microsoft-com:asm.v1
参考这两篇文章,想把项目公用的DLL放在lib下 http://www.cnblogs.com/xcsn/p/4678353.html https://www.cnblogs.com/marvin/p/PutDllToSpecificFolder.html 在修改app.config时,填写assemblyBinding xmlns="xx"时编辑器会自动提供可选的xmlns,但是其中vs2010中没有urn:schemas-microsoft-com:asm.v1?? 怎么找到或者安装asm.v1?? 看到这个,应该也是没有找到urn:schemas-microsoft-com:asm.v1 http://www.archivum.info/microsoft.public.dotnet.general/2008-07/00041/Where-is-urn-schemas-microsoft-com-asm.v1.html Visual Studio 2008 doesn't offer me the choice to use: urn:schemas-microsoft-com:asm.v1 when I am adding a <runtime><assemblyBinding xmlns=""> section to my app.config file. I can type it in manually and get the desired result, but how can I add this schema to Visual Studio so I can get intelliSense?
dotnet4.6比dotnet4.0多了哪些新的东西?
想知道dotnet4.6比dotnet4.0多了哪些新的东西?
请问下各位大佬们,我在用ksoap2-Android调用web service服务时出现了stream closed的报错
小弟仿照网上的一个例子想用web service服务写一个查询天气的安卓应用。 但是在该服务的第三个方法时出现了stream closed的错误,百度没有找到结果, 麻烦各位大神帮我看下,以下是我的代码,在根据城市获取城市具体天气情况这个 方法时报了错 提供服务的URL是http://ws.webxml.com.cn/WebServices/WeatherWS.asmx ``` public class WebServicerUtil { // 定义Web Service的命名空间 static final String SERVICE_NS = "http://WebXml.com.cn/"; // 定义Web Service提供服务的URL static final String SERVICE_URL = "http://ws.webxml.com.cn/WebServices/WeatherWS.asmx"; // 调用远程 Web Service获取省份列表 public static List<String> getProvinceList() { /** * 调用远程Web Service的getRegionProvince方法: 获得中国省份、直辖市、地区和与之对应的ID * <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://WebXml.com.cn/"> <string>黑龙江,3113</string> <string>吉林,3114</string> <string>辽宁,3115</string> <string>内蒙古,3116</string> <string>河北,3117</string> <string>河南,3118</string> <string>山东,3119</string> <string>山西,31110</string> <string>江苏,31111</string> <string>安徽,31112</string> <string>陕西,31113</string> <string>宁夏,31114</string> <string>甘肃,31115</string> <string>青海,31116</string> <string>湖北,31117</string> <string>湖南,31118</string> <string>浙江,31119</string> <string>江西,31120</string> <string>福建,31121</string> <string>贵州,31122</string> <string>四川,31123</string> <string>广东,31124</string> <string>广西,31125</string> <string>云南,31126</string> <string>海南,31127</string> <string>新疆,31128</string> <string>西藏,31129</string> <string>台湾,31130</string> <string>北京,311101</string> <string>上海,311102</string> <string>天津,311103</string> <string>重庆,311104</string> <string>香港,311201</string> <string>澳门,311202</string> <string>钓鱼岛,311203</string> </ArrayOfString> */ String methodName = "getRegionProvince"; //获得中国省份、直辖市、地区和与之对应的ID // 创建HttpTransportSE传输对象,该对象用于调用Web Service操作 HttpTransportSE ht = new HttpTransportSE(SERVICE_URL); ht.debug = true; // 使用SOAP1.1协议创建Envelop对象 SoapSerializationEnvelope envelope = new SoapSerializationEnvelope( SoapEnvelope.VER11); // 实例化SoapObject对象,传入所要调用的Web Service的命名空间,Web Service方法名 SoapObject soapObject = new SoapObject(SERVICE_NS, methodName); //将 soapObject对象设置为SoapSerializationEnvelope对象的传出SOAP消息 envelope.bodyOut = soapObject; /** * 因为什么这个网站是通过.NET对外提供Web Service的, * 因此设置与.Net提供的Web Service保持较好的兼容性 */ envelope.dotNet = true; try { // 调用Web Service ht.call(SERVICE_NS + methodName, envelope); if (envelope.getResponse() != null) { // 获取服务器响应返回的SOAP消息 SoapObject result = (SoapObject) envelope.bodyIn; SoapObject detail = (SoapObject) result.getProperty(methodName + "Result"); // 解析服务器响应的SOAP消息。 return parseProvinceOrCity(detail); } } catch (IOException e) { e.printStackTrace(); } catch (XmlPullParserException e) { e.printStackTrace(); } return null; } // 根据省份获取城市列表 public static List<String> getCityListByProvince(String province) { /** * 调用的方法 * 获得支持的城市/地区名称和与之对应的ID 输入参数:theRegionCode = 省市、国家ID或名称,返回数据:一维字符串数组。 如:输入北京的theRegionCode:311101得到的返回结果为: <ArrayOfString xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://WebXml.com.cn/"> <string>北京,792</string> <string>昌平,785</string> <string>大兴,826</string> <string>房山,827</string> <string>怀柔,752</string> <string>门头沟,788</string> <string>密云,751</string> <string>平谷,756</string> <string>顺义,741</string> <string>通州,3409</string> <string>延庆,746</string> <string>海淀,742</string> <string>朝阳,3408</string> <string>丰台,795</string> <string>石景山,794</string> </ArrayOfString> */ String methodName = "getSupportCityString"; // 创建HttpTransportSE传输对象 HttpTransportSE ht = new HttpTransportSE(SERVICE_URL); ht.debug = true; // 实例化SoapObject对象 SoapObject soapObject = new SoapObject(SERVICE_NS, methodName); // 添加一个请求参数 soapObject.addProperty("theRegionCode", province); // 使用SOAP1.1协议创建Envelop对象 SoapSerializationEnvelope envelope = new SoapSerializationEnvelope( SoapEnvelope.VER11); envelope.bodyOut = soapObject; // 设置与.Net提供的Web Service保持较好的兼容性 envelope.dotNet = true; try { // 调用Web Service ht.call(SERVICE_NS + methodName, envelope); if (envelope.getResponse() != null) { // 获取服务器响应返回的SOAP消息 SoapObject result = (SoapObject) envelope.bodyIn; SoapObject detail = (SoapObject) result.getProperty(methodName + "Result"); // 解析服务器响应的SOAP消息。 return parseProvinceOrCity(detail); } } catch (IOException e) { e.printStackTrace(); } catch (XmlPullParserException e) { e.printStackTrace(); } return null; } // 解析服务器响应的SOAP消息。 private static List<String> parseProvinceOrCity(SoapObject detail) { List<String> result = new ArrayList<String>(); for (int i = 0; i < detail.getPropertyCount(); i++) { // 解析出每个省份 result.add(detail.getProperty(i).toString().split(",")[0]); } return result; } // 根据城市获取城市具体天气情况 public static SoapObject getWeatherByCity(String cityName) { String methodName = "getWeather"; HttpTransportSE ht = new HttpTransportSE(SERVICE_URL); ht.debug = true; SoapSerializationEnvelope envelope = new SoapSerializationEnvelope( SoapEnvelope.VER11); SoapObject soapObject = new SoapObject(SERVICE_NS, methodName); soapObject.addProperty("theCityCode", cityName); envelope.bodyOut = soapObject; // 设置与.Net提供的Web Service保持较好的兼容性 envelope.dotNet = true; try { ht.call(SERVICE_NS + methodName, envelope); SoapObject result = (SoapObject) envelope.bodyIn; SoapObject detail = (SoapObject) result.getProperty(methodName + "Result"); return detail; } catch (Exception e) { e.printStackTrace(); } return null; } } ``` 下边是报错内容 ``` 2019-12-22 15:35:47.617 29228-29259/? W/System.err: java.io.IOException: Stream closed 2019-12-22 15:35:47.617 29228-29259/? W/System.err: at java.io.BufferedInputStream.getInIfOpen(BufferedInputStream.java:151) 2019-12-22 15:35:47.617 29228-29259/? W/System.err: at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) 2019-12-22 15:35:47.617 29228-29259/? W/System.err: at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) 2019-12-22 15:35:47.617 29228-29259/? W/System.err: at java.io.BufferedInputStream.read(BufferedInputStream.java:334) 2019-12-22 15:35:47.618 29228-29259/? W/System.err: at org.ksoap2.transport.HttpTransportSE.readDebug(HttpTransportSE.java:299) 2019-12-22 15:35:47.618 29228-29259/? W/System.err: at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:261) 2019-12-22 15:35:47.618 29228-29259/? W/System.err: at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:118) 2019-12-22 15:35:47.618 29228-29259/? W/System.err: at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:113) 2019-12-22 15:35:47.619 29228-29259/? W/System.err: at com.example.weather.WebServicerUtil.getWeatherByCity(WebServicerUtil.java:205) 2019-12-22 15:35:47.619 29228-29259/? W/System.err: at com.example.weather.MyWeather.showWeather(MyWeather.java:147) 2019-12-22 15:35:47.619 29228-29259/? W/System.err: at com.example.weather.MyWeather.access$200(MyWeather.java:21) 2019-12-22 15:35:47.619 29228-29259/? W/System.err: at com.example.weather.MyWeather$3$1.run(MyWeather.java:125) 2019-12-22 15:35:47.619 29228-29259/? W/System.err: at java.lang.Thread.run(Thread.java:761) 2019-12-22 15:35:47.619 29228-29259/? E/AndroidRuntime: FATAL EXCEPTION: Thread-4 Process: com.example.weather, PID: 29228 java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object org.ksoap2.serialization.SoapObject.getProperty(int)' on a null object reference at com.example.weather.MyWeather.showWeather(MyWeather.java:150) at com.example.weather.MyWeather.access$200(MyWeather.java:21) at com.example.weather.MyWeather$3$1.run(MyWeather.java:125) at java.lang.Thread.run(Thread.java:761) 2019-12-22 15:35:47.684 29228-29251/? D/EGL_emulation: eglMakeCurrent: 0xa26a6a60: ver 3 0 (tinfo 0xa461a8d0) ```
已经安装vs2017再安装vs2019报错有没有谁遇到过
安装出现问题。 可通过以下方式排查包故障问题: 1. 使用以下搜索 URL 来搜索针对每个包故障的解决方案 2. 针对受与影响的工作负荷或组件修改选项,然后重新尝试安装 3. 从计算机上删除产品,然后再次安装 如果 Developer Community 上已报告了此问题,则可在此处找到解决方案或变通方法。如果未报告此问题,我们鼓励你创建新问题,以便其他开发者可以找到解决方案或变通方法。可使用“提供反馈”按钮从右上角的 Visual Studio 安装程序中创建新问题。 ================================================================================ 未能安装包“Microsoft.Net.Core.SDK.2.1,version=16.1.28804.136,chip=x64”。 搜索 URL https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.Net.Core.SDK.2.1;PackageAction=Install;ReturnCode=-2147024703 详细信息 已执行的命令: "C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.Net.Core.SDK.2.1,version=16.1.28804.136,chip=x64\dotnet-sdk-2.1.700-preview-009597-win-x64.exe" "C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview" /log "C:\Users\Admin\AppData\Local\Temp\dd_setup_20190411084515_144_Microsoft.Net.Core.SDK.2.1.log" /quiet /norestart 返回代码: -2147024703 返回代码详细信息: %1 不是有效的 Win32 应用程序。 日志 C:\Users\Admin\AppData\Local\Temp\dd_setup_20190411084515_144_Microsoft.Net.Core.SDK.2.1.log 工作负荷受到影响 .NET Core 跨平台开发 (Microsoft.VisualStudio.Workload.NetCoreTools,version=16.0.28516.191) ASP.NET 和 Web 开发 (Microsoft.VisualStudio.Workload.NetWeb,version=16.0.28621.142) 组件受到影响 .NET Core 2.1 开发工具 (Microsoft.Net.Core.Component.SDK.2.1,version=16.0.28621.142) .NET Core 2.1 开发工具 (Microsoft.NetCore.ComponentGroup.DevelopmentTools.2.1,version=16.0.28516.191) .NET Core 2.1 开发工具 (Microsoft.NetCore.ComponentGroup.Web.2.1,version=16.0.28621.142) ASP.NET 和 Web 开发工具 (Microsoft.VisualStudio.Component.Web,version=16.0.28517.75) Azure WebJobs 工具 (Component.Microsoft.VisualStudio.Web.AzureFunctions,version=16.0.28714.129) Azure WebJobs 工具 (Microsoft.VisualStudio.ComponentGroup.AzureFunctions,version=16.0.28621.142) 容器开发工具 (Microsoft.VisualStudio.Component.DockerTools,version=16.0.28625.61) 适用于 Web 开发的云工具 (Microsoft.VisualStudio.ComponentGroup.Web.CloudTools,version=16.0.28621.142)
Asp.Net Core 开发环境下使用dotnet user-secrets set 保存初始系统管理员密码,
Asp.Net Core 开发环境下使用dotnet user-secrets set 保存初始系统管理员密码,没有问题,程序运行后会获取这个密码。 但把项目部署到IIS后,因为dotnet user-secrets好像只能使用在开发环境,程序运行后无法获取这个密码了,会报错。生产环境下管理员初始密码保存在哪里呢?刚接触网站开发不懂这些,请大家指导,谢谢了!
ssms安装失败是怎么回事啊
第一次安装时由于其他软件正在安装,导致安装失败。现在每次安装时都是这个样子 ![图片说明](https://img-ask.csdn.net/upload/201906/30/1561858582_371795.png) 日志: [2F6C:2804][2019-06-30T09:36:38]i001: Burn v3.8.1128.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\鲁元博\Downloads\SSMS-Setup-CHS (1).exe, cmdline: '-burn.unelevated BurnPipe.{0A675724-EDF1-4111-B250-5037B43ED2B1} {A79C7EF2-219A-402E-866A-D7013734C967} 12992' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SSMSINSTALLROOT' to value '[ProgramFilesFolder]Microsoft SQL Server Management Studio 18' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SSMSInstallExists' to value '0' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SSMSInstalledLanguageMatch' to value 'false' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SSMS18PreReleaseDetected' to value 'false' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SSMS18InstalledVersion' to value '' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'ProductVersionVar' to value '15.0.18131.0' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'HeaderText' to value '版本 18.1' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SubHeaderText' to value 'Microsoft SQL Server Management Studio' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'LicenseTermsUrl' to value 'https://go.microsoft.com/fwlink/?LinkID=620835&clcid=0x[System.Convert]::ToInt32(2052)' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'PreviewStatementUrl' to value 'https://go.microsoft.com/fwlink/?LinkID=824140' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'TelemetryDocumentationUrl' to value 'https://go.microsoft.com/fwlink/?LinkID=869476' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing numeric variable 'InstallerLcid' to value '2052' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'CancelText' to value '取消' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'CloseText' to value '关闭(_C)' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'ContinuePastWarningText' to value '是否要继续?' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'InstallText' to value '安装(_I)' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'LicenseTermsText' to value '许可条款' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'LoadingPackagesText' to value '正在加载程序包。请稍候...' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'OverallProgressText' to value '总体进度' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'PackageProgressText' to value '程序包进度' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'PrivacyStatementText' to value '隐私声明' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'TelemetryDocumentationText' to value '文档' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'PrivacyDisclaimerText' to value '为了有助于改进产品,SQL Server Management Studio 会向 Microsoft 传输安装体验信息,以及其他使用情况和性能数据。若要详细了解数据处理和隐私控制,以及在安装后禁用收集此信息,请参阅 {documentation}。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'RepairText' to value '修复' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'RestartText' to value '重新启动' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupBlockedDescriptionText' to value '出了点问题,导致安装程序无法继续。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupBlockedText' to value '已阻止安装程序' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupCanceledDescriptionText' to value '已取消安装操作。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupCanceledText' to value '已取消安装程序' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupCompletedText' to value '已完成安装程序' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupFailedDescriptionText' to value '安装过程中出错了。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupFailedText' to value '安装失败' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupHelpDescriptionText' to value '/install | /repair | /uninstall - 安装、修复或卸载。安装为默认操作。 /passive | /quiet - 在无提示的情况下显示最小 UI 或不显示 UI 和提示。默认显示 UI 和所有提示。 /norestart - 取消任何重启尝试。默认情况下,UI 会在重启前显示提示。 /log <日志文件前缀> - SSMS 安装程序日志的前缀。默认在 %TEMP%\SSMSSetup 下创建日志文件。 SSMSInstallRoot=<SSMS 位置的路径>。 默认情况下为 {0}。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupHelpText' to value '安装程序帮助' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupInstalledText' to value '已成功安装所有指定的组件。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupLayoutText' to value '已完成布局操作。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupLogText' to value '单击此处查看日志文件。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupProgressText' to value '安装进度' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupRepairedText' to value '已成功修复所有指定的组件。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupRestartDescriptionText' to value '需要先重启计算机,然后安装程序才能继续。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupRestartText' to value '需要重启才能完成安装程序。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupUninstalledText' to value '已成功卸载所有指定的组件。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupWarningDescriptionText' to value '以下问题可能会影响已安装的应用程序。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SetupWarningText' to value '安装警告' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'TermsAndConditionText' to value '单击“安装”按钮即表明本人接受 {License Terms} 和 {Privacy Statement}。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'UninstallText' to value '卸载' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'WelcomeInstallText' to value '欢迎使用。单击“安装”,立即开始体验吧。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'YesText' to value '是' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'RestartAlreadyPending' to value '挂起的重启正在阻止完成安装过程。请重启计算机并再次运行安装程序。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'AnotherInstallRunning' to value '由于当前正在运行另一个安装,安装程序被阻止。请先完成另一个安装,然后在必要时重启计算机。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'SSMSCurrentlyRunning' to value 'SSMS 当前正在运行。请关闭 SSMS 所有已打开的实例并重新运行此安装程序。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'MinimizeButtonAccessibleName' to value '最小化' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'Win10OrWS2016NotSupported' to value '不支持此版本的 Windows 10 或 Windows Server 2016。请升级到版本 1607 或更高版本。' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'IsUpgradeScenario' to value 'false' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'ChangeText' to value '更改(_H)' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'LocationText' to value '位置(_L):' [2F6C:2804][2019-06-30T09:36:38]i000: Initializing string variable 'InvalidLocationText' to value '位置无效。请输入有效的位置以继续。' [2F6C:2804][2019-06-30T09:36:38]i000: Setting string variable 'WixBundleLog' to value 'C:\Users\鲁元博\AppData\Local\Temp\SsmsSetup\SSMS-Setup-CHS_20190630093638.log' [2F6C:2804][2019-06-30T09:36:38]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\鲁元博\Downloads\SSMS-Setup-CHS (1).exe' [2F6C:2804][2019-06-30T09:36:38]i000: Setting string variable 'WixBundleName' to value 'Microsoft SQL Server Management Studio - 18.1' [2F6C:2804][2019-06-30T09:36:38]i000: Loading managed bootstrapper application. [2F6C:2804][2019-06-30T09:36:38]i000: Creating BA thread to run asynchronously. [2F6C:2E80][2019-06-30T09:36:39]i000: ManagedBootstrapperApp.Run: Launching the managed bootstrapper application. [2F6C:2E80][2019-06-30T09:36:39]i000: BootstrapperMetadataModel.Initialize: Start loading the bootstrapper app data xml file [2F6C:1078][2019-06-30T09:36:39]i000: ManagedBootstrapperApp.LogUserEnvironmentInfoInBackground: OS Caption: Microsoft Windows 10 家庭中文版 [2F6C:1078][2019-06-30T09:36:39]i000: ManagedBootstrapperApp.LogUserEnvironmentInfoInBackground: OS Version: 10.0.16299 [2F6C:1078][2019-06-30T09:36:39]i000: ManagedBootstrapperApp.LogUserEnvironmentInfoInBackground: NetFx4 Version: 4.7.03062 [2F6C:1078][2019-06-30T09:36:39]i000: ManagedBootstrapperApp.LogUserEnvironmentInfoInBackground: OS UI Culture: Chinese (Simplified, China) (2052) [2F6C:2E80][2019-06-30T09:36:39]i000: BootstrapperMetadataModel.Initialize: Completed loading the bootstrapper app data xml file content: <BootstrapperApplicationData xmlns="http://schemas.microsoft.com/wix/2010/BootstrapperApplicationData"> <WixBalCondition Condition="SSMS18PreReleaseDetected = 0" Message="无法安装正式版(GA) SQL Server Management Studio (SSMS) v18.0,因为计算机上安装了预发布版 SSMS。请在控制面板的“添加/删除程序”中卸载预发布版 SSMS,并再次运行 SSMS 安装程序。" /> <WixBalCondition Condition="(SSMS18PreReleaseDetected = 1) OR (SSMSInstallExists = 0) OR SSMSInstalledLanguageMatch" Message="只能通过安装匹配语言包来升级 SSMS。请使用匹配版本的安装程序,或卸载当前版本的 SSMS 并再次运行 SSMS 安装程序。" /> <WixBalCondition Condition="NOT Msix64" Message="SSMS 只能安装在 64 位版本的 Windows 上。" /> <WixBalCondition Condition="RebootPending = 0" Message="安装程序检测到有一个挂起的计算机重启操作。请重启计算机,然后再次运行安装程序" /> <WixBalCondition Condition="(VersionNT = v6.1 AND ServicePackLevel = 1) OR VersionNT &gt; v6.1" Message="不支持当前操作系统。此应用程序至少需要 Windows 7 SP1 或 Windows Server 2008 R2 SP1 才能运行。" /> <WixBalCondition Condition="Installed OR (VersionNT &lt;&gt; v6.2) OR (InstallationType &lt;&gt; &quot;Client&quot;)" Message="不支持 Windows 8。请升级操作系统,然后再继续。" /> <WixBalCondition Condition="(VersionNT &lt;&gt; v6.3) OR (KB2919355_amd64_CurrentState = 112 OR KB2919355_x86_CurrentState = 112)" Message="The update corresponding to KB2919355 needs to be installed before you can install this product on Windows 8.1 or Windows Server 2012 R2. Please refer to https://support.microsoft.com/en-us/kb/2919355/ to obtain and install this update." /> <WixBundleProperties DisplayName="Microsoft SQL Server Management Studio - 18.1" LogPathVariable="WixBundleLog" Compressed="no" Id="{88251298-f74d-4665-aec9-1d88d509fc5b}" UpgradeCode="{C55E865B-F94F-42FC-A95A-00F24602F1C2}" PerMachine="yes" /> <WixMbaPrereqInformation PackageId="NetFx45Web" LicenseUrl="http://go.microsoft.com/fwlink/?LinkID=260867" /> <WixPackageProperties Package="VCRedistD12x86" Vital="no" DisplayName="Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501" Description="Microsoft Visual C++ 2013 Redistributable (x86) - 12.0.30501" DownloadSize="6503984" PackageSize="6503984" InstalledSize="6503984" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_VCRedistD12x86" RollbackLogPathVariable="WixBundleRollbackLog_VCRedistD12x86" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="VCRedistD14x86" Vital="no" DisplayName="Microsoft Visual C++ 2017 Redistributable (x86) - 14.16.27029" Description="Microsoft Visual C++ 2017 Redistributable (x86) - 14.16.27029" DownloadSize="14673288" PackageSize="14673288" InstalledSize="14673288" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_VCRedistD14x86" RollbackLogPathVariable="WixBundleRollbackLog_VCRedistD14x86" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="VCRedistD14x64" Vital="no" DisplayName="Microsoft Visual C++ 2017 Redistributable (x64) - 14.16.27029" Description="Microsoft Visual C++ 2017 Redistributable (x64) - 14.16.27029" DownloadSize="15354672" PackageSize="15354672" InstalledSize="15354672" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_VCRedistD14x64" RollbackLogPathVariable="WixBundleRollbackLog_VCRedistD14x64" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="HelpViewer2_3" Vital="yes" DisplayName="Microsoft Help Viewer 2.3" DownloadSize="3149592" PackageSize="3149592" InstalledSize="13682786" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_HelpViewer2_3" RollbackLogPathVariable="WixBundleRollbackLog_HelpViewer2_3" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="HelpViewer2_3_LP" Vital="yes" DisplayName="Microsoft Help Viewer 2.3 语言包 - 简体中文" DownloadSize="556625" PackageSize="556625" InstalledSize="812913" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_HelpViewer2_3_LP" RollbackLogPathVariable="WixBundleRollbackLog_HelpViewer2_3_LP" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="DotNet47" Vital="yes" DisplayName="Microsoft .NET Framework 4.7.2" Description="Microsoft .NET Framework 4.7.2 Setup" DownloadSize="83943272" PackageSize="83943272" InstalledSize="83943272" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_DotNet47" RollbackLogPathVariable="WixBundleRollbackLog_DotNet47" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="NetFx45Web" Vital="yes" DisplayName="Microsoft .NET Framework 4.5" Description="Microsoft .NET Framework 4.5 Setup" DownloadSize="1005568" PackageSize="1005568" InstalledSize="1005568" PackageType="Exe" Permanent="yes" LogPathVariable="NetFx45FullWebLog" RollbackLogPathVariable="WixBundleRollbackLog_NetFx45Web" Compressed="no" DisplayInternalUI="no" /> <WixPackageProperties Package="sqlncli.msi" Vital="yes" DisplayName="Microsoft SQL Server 2012 Native Client " DownloadSize="5107712" PackageSize="5107712" InstalledSize="10813810" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_sqlncli.msi" RollbackLogPathVariable="WixBundleRollbackLog_sqlncli.msi" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="msodbcsql.msi" Vital="yes" DisplayName="Microsoft ODBC Driver 17 for SQL Server" DownloadSize="3657728" PackageSize="3657728" InstalledSize="10917884" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_msodbcsql.msi" RollbackLogPathVariable="WixBundleRollbackLog_msodbcsql.msi" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="msoledbsql.msi" Vital="yes" DisplayName="Microsoft OLE DB Driver for SQL Server" DownloadSize="5390336" PackageSize="5390336" InstalledSize="12212300" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_msoledbsql.msi" RollbackLogPathVariable="WixBundleRollbackLog_msoledbsql.msi" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="adalsql_x64" Vital="yes" DisplayName="适用于 SQL Server 的 Active Directory 验证库" DownloadSize="2871296" PackageSize="2871296" InstalledSize="3357210" PackageType="Msi" Permanent="yes" LogPathVariable="WixBundleLog_adalsql_x64" RollbackLogPathVariable="WixBundleRollbackLog_adalsql_x64" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="sql_as_oledb_x64" Vital="yes" DisplayName="Microsoft Analysis Services OLE DB 提供程序" DownloadSize="74444800" PackageSize="74444800" InstalledSize="478359608" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_sql_as_oledb_x64" RollbackLogPathVariable="WixBundleRollbackLog_sql_as_oledb_x64" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="sql_as_oledb_x86" Vital="yes" DisplayName="Microsoft Analysis Services OLE DB 提供程序" DownloadSize="36139008" PackageSize="36139008" InstalledSize="232289266" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_sql_as_oledb_x86" RollbackLogPathVariable="WixBundleRollbackLog_sql_as_oledb_x86" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="VS2017IsoShellForSSMS" Vital="yes" DisplayName="Visual Studio 2017 Isolated Shell for SSMS" DownloadSize="142082048" PackageSize="142082048" InstalledSize="418962877" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_VS2017IsoShellForSSMS" RollbackLogPathVariable="WixBundleRollbackLog_VS2017IsoShellForSSMS" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="VS2017IsoShellForSSMS_LP" Vital="yes" DisplayName="用于 SSMS LangPack 的 Visual Studio 2017 Shell (独立) - 简体中文" DownloadSize="6905856" PackageSize="6905856" InstalledSize="31787409" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_VS2017IsoShellForSSMS_LP" RollbackLogPathVariable="WixBundleRollbackLog_VS2017IsoShellForSSMS_LP" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="VSTA2017" Vital="yes" DisplayName="Microsoft Visual Studio Tools for Applications 2017" Description="Microsoft Visual Studio Tools for Applications 2017" DownloadSize="13647984" PackageSize="13647984" InstalledSize="13647984" PackageType="Exe" Permanent="yes" LogPathVariable="WixBundleLog_VSTA2017" RollbackLogPathVariable="WixBundleRollbackLog_VSTA2017" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="sql_ssms_x64" Vital="yes" DisplayName="SQL Server Management Studio" DownloadSize="47964160" PackageSize="47964160" InstalledSize="208078967" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_sql_ssms_x64" RollbackLogPathVariable="WixBundleRollbackLog_sql_ssms_x64" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="sql_ssms_loc_x64_Loc" Vital="yes" DisplayName="SQL Server Management Studio" DownloadSize="7376896" PackageSize="7376896" InstalledSize="32747110" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_sql_ssms_loc_x64_Loc" RollbackLogPathVariable="WixBundleRollbackLog_sql_ssms_loc_x64_Loc" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="ssms_rs_x64" Vital="yes" DisplayName="SQL Server Management Studio for Reporting Services" DownloadSize="8765440" PackageSize="8765440" InstalledSize="27019353" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_ssms_rs_x64" RollbackLogPathVariable="WixBundleRollbackLog_ssms_rs_x64" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="ssms_as_x64" Vital="yes" DisplayName="SQL Server Management Studio for Analysis Services" DownloadSize="73297920" PackageSize="73297920" InstalledSize="320197605" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_ssms_as_x64" RollbackLogPathVariable="WixBundleRollbackLog_ssms_as_x64" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="ssms_as_loc_x86" Vital="yes" DisplayName="SQL Server Management Studio for Analysis Services Localization" DownloadSize="3825664" PackageSize="3825664" InstalledSize="16651908" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_ssms_as_loc_x86" RollbackLogPathVariable="WixBundleRollbackLog_ssms_as_loc_x86" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="ssms_rs_loc_x86" Vital="yes" DisplayName="SQL Server Management Studio for Reporting Services Localization" DownloadSize="1548288" PackageSize="1548288" InstalledSize="4713000" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_ssms_rs_loc_x86" RollbackLogPathVariable="WixBundleRollbackLog_ssms_rs_loc_x86" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="ssms_is" Vital="yes" DisplayName="Integration Services" DownloadSize="32272384" PackageSize="32272384" InstalledSize="119146899" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_ssms_is" RollbackLogPathVariable="WixBundleRollbackLog_ssms_is" Compressed="yes" DisplayInternalUI="no" /> <WixPackageProperties Package="SsmsPostInstall_x64" Vital="yes" DisplayName="SSMS Post Install Tasks" DownloadSize="303104" PackageSize="303104" InstalledSize="0" PackageType="Msi" Permanent="no" LogPathVariable="WixBundleLog_SsmsPostInstall_x64" RollbackLogPathVariable="WixBundleRollbackLog_SsmsPostInstall_x64" Compressed="yes" DisplayInternalUI="no" /> <WixPayloadProperties Payload="VCRedistD12x86" Package="VCRedistD12x86" Container="WixAttachedContainer" Name="2013\vcredist_x86.exe" Size="6503984" DownloadUrl="https://aka.ms/vs/15/release/vc_redist.x86.exe" LayoutOnly="no" /> <WixPayloadProperties Payload="VCRedistD14x86" Package="VCRedistD14x86" Container="WixAttachedContainer" Name="2017\VC_redist.x86.exe" Size="14673288" DownloadUrl="https://aka.ms/vs/15/release/vc_redist.x86.exe" LayoutOnly="no" /> <WixPayloadProperties Payload="VCRedistD14x64" Package="VCRedistD14x64" Container="WixAttachedContainer" Name="2017\VC_redist.x64.exe" Size="15354672" DownloadUrl="https://aka.ms/vs/15/release/vc_redist.x64.exe" LayoutOnly="no" /> <WixPayloadProperties Payload="HelpViewer2_3" Package="HelpViewer2_3" Container="WixAttachedContainer" Name="redist\help3_vs_net.msi" Size="311296" LayoutOnly="no" /> <WixPayloadProperties Payload="cabE503715EC9048140D7380B4A179097EF" Package="HelpViewer2_3" Container="WixAttachedContainer" Name="redist\cab1.cab" Size="2838296" LayoutOnly="no" /> <WixPayloadProperties Payload="HelpViewer2_3_LP" Package="HelpViewer2_3_LP" Container="WixAttachedContainer" Name="redist\help3_LP_net.msi" Size="294912" LayoutOnly="no" /> <WixPayloadProperties Payload="cab96EEBCEEC415A2FC7E4C6265548D48E5" Package="HelpViewer2_3_LP" Container="WixAttachedContainer" Name="redist\cab1.cab" Size="261713" LayoutOnly="no" /> <WixPayloadProperties Payload="DotNet47" Package="DotNet47" Container="WixAttachedContainer" Name="redist\NDP472-KB4054530-x86-x64-AllOS-ENU.exe" Size="83943272" LayoutOnly="no" /> <WixPayloadProperties Payload="NetFx45Web" Package="NetFx45Web" Name="redist\dotNetFx45_Full_setup.exe" Size="1005568" DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=225704" LayoutOnly="no" /> <WixPayloadProperties Payload="sqlncli.msi" Package="sqlncli.msi" Container="WixAttachedContainer" Name="x64\sqlncli.msi" Size="5107712" DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=718112" LayoutOnly="no" /> <WixPayloadProperties Payload="msodbcsql.msi" Package="msodbcsql.msi" Container="WixAttachedContainer" Name="x64\msodbcsql.msi" Size="3657728" DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=718071" LayoutOnly="no" /> <WixPayloadProperties Payload="msoledbsql.msi" Package="msoledbsql.msi" Container="WixAttachedContainer" Name="x64\msoledbsql.msi" Size="5390336" LayoutOnly="no" /> <WixPayloadProperties Payload="adalsql_x64" Package="adalsql_x64" Container="WixAttachedContainer" Name="x64\adalsql.msi" Size="2871296" DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=718064" LayoutOnly="no" /> <WixPayloadProperties Payload="sql_as_oledb_x64" Package="sql_as_oledb_x64" Container="WixAttachedContainer" Name="x64\sql_as_oledb.msi" Size="74444800" LayoutOnly="no" /> <WixPayloadProperties Payload="sql_as_oledb_x86" Package="sql_as_oledb_x86" Container="WixAttachedContainer" Name="x86\sql_as_oledb.msi" Size="36139008" LayoutOnly="no" /> <WixPayloadProperties Payload="VS2017IsoShellForSSMS" Package="VS2017IsoShellForSSMS" Container="WixAttachedContainer" Name="redist\vs2017_isoshell_for_ssms.msi" Size="142082048" LayoutOnly="no" /> <WixPayloadProperties Payload="VS2017IsoShellForSSMS_LP" Package="VS2017IsoShellForSSMS_LP" Container="WixAttachedContainer" Name="redist\vs2017_isoshell_for_ssms_lp.msi" Size="6905856" LayoutOnly="no" /> <WixPayloadProperties Payload="VSTA2017" Package="VSTA2017" Container="WixAttachedContainer" Name="redist\vsta_setup.exe" Size="13647984" DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=799679" LayoutOnly="no" /> <WixPayloadProperties Payload="sql_ssms_x64" Package="sql_ssms_x64" Container="WixAttachedContainer" Name="x64\sql_ssms.msi" Size="47964160" DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=718090" LayoutOnly="no" /> <WixPayloadProperties Payload="sql_ssms_loc_x64_Loc" Package="sql_ssms_loc_x64_Loc" Container="WixAttachedContainer" Name="x64\sql_ssms_loc.msi" Size="7376896" DownloadUrl="http://go.microsoft.com/fwlink/?LinkId=718096" LayoutOnly="no" /> <WixPayloadProperties Payload="ssms_rs_x64" Package="ssms_rs_x64" Container="WixAttachedContainer" Name="x64\ssms_rs.msi" Size="8765440" LayoutOnly="no" /> <WixPayloadProperties Payload="ssms_as_x64" Package="ssms_as_x64" Container="WixAttachedContainer" Name="x64\ssms_as.msi" Size="73297920" LayoutOnly="no" /> <WixPayloadProperties Payload="ssms_as_loc_x86" Package="ssms_as_loc_x86" Container="WixAttachedContainer" Name="x86\ssms_as_loc.msi" Size="3825664" LayoutOnly="no" /> <WixPayloadProperties Payload="ssms_rs_loc_x86" Package="ssms_rs_loc_x86" Container="WixAttachedContainer" Name="x86\ssms_rs_loc.msi" Size="1548288" LayoutOnly="no" /> <WixPayloadProperties Payload="ssms_is" Package="ssms_is" Container="WixAttachedContainer" Name="x86\ssms_is.msi" Size="32272384" LayoutOnly="no" /> <WixPayloadProperties Payload="SsmsPostInstall_x64" Package="SsmsPostInstall_x64" Container="WixAttachedContainer" Name="x64\SsmsPostInstall.msi" Size="303104" LayoutOnly="no" /> <WixStdbaOverridableVariable Name="SSMSINSTALLROOT" /> </BootstrapperApplicationData> [2F6C:2E80][2019-06-30T09:36:40]i000: MainViewModel.CheckFailedConditions: Check whether OS is Windows 10 / Windows Server 2016 pre-RS1 (build <= 10586). OSVersion = 10.0.16299 [2F6C:2E80][2019-06-30T09:36:40]i000: ManagedBootstrapperApp.SetCommandLineProperties: Begin [2F6C:2E80][2019-06-30T09:36:40]i000: ManagedBootstrapperApp.SetCommandLineProperties: End [2F6C:2804][2019-06-30T09:36:41]i100: Detect begin, 24 packages [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'NETFRAMEWORK45' to value '461814' [2F6C:2804][2019-06-30T09:36:41]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\Microsoft SQL Server Management Studio\18', Value = 'Version' [2F6C:2804][2019-06-30T09:36:41]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\SQL Server Management Studio\18' [2F6C:2804][2019-06-30T09:36:41]i000: Setting numeric variable 'SSMS18PreReleaseDetected' to value 0 [2F6C:2804][2019-06-30T09:36:41]i000: Setting numeric variable 'SSMSInstallExists' to value 1 [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'SSMSInstallExists' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'SSMSINSTALLROOT' to value 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\' [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'SSMSInstallExists' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\Microsoft SQL Server Management Studio\18', Value = 'Version' [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'SSMSInstallExists' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Microsoft SQL Server Management Studio\18\Language' [2F6C:2804][2019-06-30T09:36:41]i000: Setting numeric variable 'SSMSInstalledLanguageMatch' to value 0 [2F6C:2804][2019-06-30T09:36:41]i000: Setting numeric variable 'VCRedist_D12x86_KeyExists' to value 1 [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'VCRedist_D14x64_Bld' to value '27024' [2F6C:2804][2019-06-30T09:36:41]i000: Setting numeric variable 'VCRedist_D14x64_KeyExists' to value 1 [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'VCRedist_D14x64_Major' to value '14' [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'VCRedist_D14x64_Minor' to value '16' [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'VCRedist_D14x86_Bld' to value '27024' [2F6C:2804][2019-06-30T09:36:41]i000: Setting numeric variable 'VCRedist_D14x86_KeyExists' to value 1 [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'VCRedist_D14x86_Major' to value '14' [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'VCRedist_D14x86_Minor' to value '16' [2F6C:2804][2019-06-30T09:36:41]i000: Registry key not found. Key = 'HKLM\Software\Microsoft\DevDiv\vsta\Servicing\15.0\hosting' [2F6C:2804][2019-06-30T09:36:41]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14' [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'Netfx4FullReleaseX64' to value '461814' [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'InstallationType' to value 'Client' [2F6C:2804][2019-06-30T09:36:41]i000: Setting string variable 'Netfx4ClientReleaseX64' to value '461814' [2F6C:2804][2019-06-30T09:36:41]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~x86~~6.3.1.14' [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'VCRedist_D12x86_KeyExists' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'VCRedist_D14x86_KeyExists AND (VCRedist_D14x86_Major >= 14) AND (VCRedist_D14x86_Minor >= 10) AND (VCRedist_D14x86_Bld >= 25008)' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'VCRedist_D14x64_KeyExists AND (VCRedist_D14x64_Major >= 14) AND (VCRedist_D14x64_Minor >= 10) AND (VCRedist_D14x64_Bld >= 25008)' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition '(Netfx4FullReleaseX64 >= 461808) OR (NetFx4ClientReleaseX64 >= 461808)' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'NETFRAMEWORK45 >= 378389' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'VSTA2017Installed' evaluates to false. [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: VCRedistD12x86, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: VCRedistD14x86, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: VCRedistD14x64, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: HelpViewer2_3, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: HelpViewer2_3_LP, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: DotNet47, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: NetFx45Web, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: sqlncli.msi, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: msodbcsql.msi, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: msoledbsql.msi, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: adalsql_x64, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: sql_as_oledb_x64, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: sql_as_oledb_x86, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: VS2017IsoShellForSSMS, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: VS2017IsoShellForSSMS_LP, state: Present, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: VSTA2017, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: sql_ssms_x64, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: sql_ssms_loc_x64_Loc, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: ssms_rs_x64, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: ssms_as_x64, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: ssms_as_loc_x86, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: ssms_rs_loc_x86, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: ssms_is, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i101: Detected package: SsmsPostInstall_x64, state: Absent, cached: None [2F6C:2804][2019-06-30T09:36:41]i000: BootstrapperEngineDataModel.OnDetectComplete.: Entering... [2F6C:2804][2019-06-30T09:36:41]i000: MainViewModel: Trying to parse value '1' for property 'SSMSInstallExists'... [2F6C:2804][2019-06-30T09:36:41]i000: MainViewModel.CheckInstallPathIsValid: Successfully created and deleted installation folder - 'C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\' [2F6C:2804][2019-06-30T09:36:41]i000: MainViewModel.OnBootstrapperReady: IsUpgradeScenario=True [2F6C:2804][2019-06-30T09:36:41]i000: MainViewModel.OnBootstrapperReady: SSMSInstallRoot=C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\ [2F6C:2804][2019-06-30T09:36:41]e000: MainViewModel: SSMSInstallVersion not found. [2F6C:2804][2019-06-30T09:36:41]i000: MainViewModel.OnBootstrapperReady: SSMSInstallVersion= [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'RebootPending = 1' evaluates to false. [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'SSMS18PreReleaseDetected = 0' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition '(SSMS18PreReleaseDetected = 1) OR (SSMSInstallExists = 0) OR SSMSInstalledLanguageMatch' evaluates to false. [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'NOT Msix64' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'RebootPending = 0' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition '(VersionNT = v6.1 AND ServicePackLevel = 1) OR VersionNT > v6.1' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition 'Installed OR (VersionNT <> v6.2) OR (InstallationType <> "Client")' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i052: Condition '(VersionNT <> v6.3) OR (KB2919355_amd64_CurrentState = 112 OR KB2919355_x86_CurrentState = 112)' evaluates to true. [2F6C:2804][2019-06-30T09:36:41]i000: MainViewModel.AddFailedCondition: Error: 只能通过安装匹配语言包来升级 SSMS。请使用匹配版本的安装程序,或卸载当前版本的 SSMS 并再次运行 SSMS 安装程序。 [2F6C:2804][2019-06-30T09:36:41]i000: BootstrapperEngineDataModel.OnDetectComplete.: Exiting. [2F6C:2804][2019-06-30T09:36:41]i199: Detect complete, result: 0x0 [2F6C:2E80][2019-06-30T09:36:43]i000: MainViewModel.OpenUrl: Opening url: C:\Users\鲁元博\AppData\Local\Temp\SsmsSetup\SSMS-Setup-CHS_20190630093638.log
oracle 11g r2 64连接vs2015 一直调用引用报错
连接字符串 oracle.access.dll版本和数据库一样,就是一直报这个错,请问一下怎么解决 用户代码未处理 System.BadImageFormatException FileName=Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342 FusionLog==== 预绑定状态信息 === 日志: DisplayName = Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342 (Fully-specified) 日志: Appbase = file:///C:/Users/Administrator/Desktop/C#短信猫操作0615/DotNet.UIDemo/bin/Debug/ 日志: 初始 PrivatePath = NULL 调用程序集: DotNet.Common, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null。 === 日志: 此绑定从 default 加载上下文开始。 日志: 正在使用应用程序配置文件: C:\Users\Administrator\Desktop\C#短信猫操作0615\DotNet.UIDemo\bin\Debug\DotNet.UIDemo.vshost.exe.Config 日志: 使用主机配置文件: 日志: 使用 C:\Windows\Microsoft.NET\Framework\v4.0.30319\config\machine.config 的计算机配置文件。 日志: 策略后引用: Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342 日志: 尝试下载新的 URL file:///C:/Users/Administrator/Desktop/C#短信猫操作0615/DotNet.UIDemo/bin/Debug/Oracle.DataAccess.DLL。 错误: 未能完成程序集的安装(hr = 0x8007000b)。探测终止。 HResult=-2147024885 Message=未能加载文件或程序集“Oracle.DataAccess, Version=2.112.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342”或它的某一个依赖项。试图加载格式不正确的程序。 Source=DotNet.Common StackTrace: 在 DotNet.Common.OracleHelper.ExecuteReader(String sql) 在 DotNet.Common.GetMsg.GetMsgColliery(String getDate) 位置 C:\Users\Administrator\Desktop\C#短信猫操作0615\DotNet.Common\GetMsg.cs:行号 48 在 DotNet.UIDemo.FormUIDemo.SendMessage(String sendTime) 位置 C:\Users\Administrator\Desktop\C#短信猫操作0615\DotNet.UIDemo\FormUIDemo.cs:行号 623 在 System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs) 在 System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) InnerException:
Asp.NET Core2.0部署在Linux上出问题
同一个项目,Windows上用dotnet build 可以build成功, 放到Linux上,dotnet build 就会报错: /usr/share/dotnet/sdk/2.0.0/Microsoft.Common.CurrentVersion.targets(2924,5): error MSB3552: Resource file "**/*.resx" cannot be found.
安装 tensorflow cpu 版出问题, 求解决办法。 谢谢
安装 tensorflow cpu 版出问题, 求解决办法。 谢谢 Windows 10 64bits, anaconda-3.4.2(Python3.5.2), tensorflow version 1.11-0, 第一次运行时报错: ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。 Environment parameter path: C:\Program Files\Microsoft MPI\Bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\CUDA\bin64;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\dotnet\;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\lib\x64;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v6.5\extras\CUPTI\libx64;C:\Program Files\Microsoft VS Code;C:\Program Files\Anaconda3;C:\Program Files\Anaconda3\Scripts;C:\Program Files\Anaconda3\Library\bin; MSVCP140.DLL在以下2个目录 C:\Program Files\Anaconda3 C:\Program Files\Anaconda3\Library\bin C:\Windows\system32>python Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> C:\Windows\system32>pip install tensorflow Collecting tensorflow Using cached https://files.pythonhosted.org/packages/af/5b/695e2e66feb27742a78f938d8369cc874b5fc7082193c3352c9db599af01/tensorflow-1.11.0-cp35-cp35m-win_amd64.whl Requirement already satisfied: grpcio>=1.8.6 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (1.16.0) Requirement already satisfied: astor>=0.6.0 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (0.7.1) Requirement already satisfied: numpy>=1.13.3 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (1.15.3) Requirement already satisfied: keras-applications>=1.0.5 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (1.0.6) Requirement already satisfied: absl-py>=0.1.6 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (0.6.1) Requirement already satisfied: six>=1.10.0 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (1.10.0) Requirement already satisfied: setuptools<=39.1.0 in c:\program files\anaconda3\lib\site-packages\setuptools-27.2.0-py3.5.egg (from tensorflow) (27.2.0) Requirement already satisfied: protobuf>=3.6.0 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (3.6.1) Requirement already satisfied: keras-preprocessing>=1.0.3 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (1.0.5) Requirement already satisfied: termcolor>=1.1.0 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (1.1.0) Requirement already satisfied: gast>=0.2.0 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (0.2.0) Requirement already satisfied: wheel>=0.26 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (0.29.0) Requirement already satisfied: tensorboard<1.12.0,>=1.11.0 in c:\program files\anaconda3\lib\site-packages (from tensorflow) (1.11.0) Requirement already satisfied: h5py in c:\program files\anaconda3\lib\site-packages (from keras-applications>=1.0.5->tensorflow) (2.6.0) Requirement already satisfied: markdown>=2.6.8 in c:\program files\anaconda3\lib\site-packages (from tensorboard<1.12.0,>=1.11.0->tensorflow) (3.0.1) Requirement already satisfied: werkzeug>=0.11.10 in c:\program files\anaconda3\lib\site-packages (from tensorboard<1.12.0,>=1.11.0->tensorflow) (0.11.11) Installing collected packages: tensorflow Successfully installed tensorflow-1.11.0 错误信息: --------------------------------------------------------------------------- ImportError Traceback (most recent call last) C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>() 57 ---> 58 from tensorflow.python.pywrap_tensorflow_internal import * 59 from tensorflow.python.pywrap_tensorflow_internal import __version__ C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in <module>() 27 return _mod ---> 28 _pywrap_tensorflow_internal = swig_import_helper() 29 del swig_import_helper C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py in swig_import_helper() 23 try: ---> 24 _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) 25 finally: C:\Program Files\Anaconda3\lib\imp.py in load_module(name, file, filename, details) 241 else: --> 242 return load_dynamic(name, filename, file) 243 elif type_ == PKG_DIRECTORY: C:\Program Files\Anaconda3\lib\imp.py in load_dynamic(name, path, file) 341 name=name, loader=loader, origin=path) --> 342 return _load(spec) 343 ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。 During handling of the above exception, another exception occurred: ImportError Traceback (most recent call last) <ipython-input-1-41389fad42b5> in <module>() ----> 1 import tensorflow as tf C:\Program Files\Anaconda3\lib\site-packages\tensorflow\__init__.py in <module>() 20 21 # pylint: disable=g-bad-import-order ---> 22 from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import 23 24 try: C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\__init__.py in <module>() 47 import numpy as np 48 ---> 49 from tensorflow.python import pywrap_tensorflow 50 51 # Protocol buffers C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py in <module>() 72 for some common reasons and solutions. Include the entire stack trace 73 above this error message when asking for help.""" % traceback.format_exc() ---> 74 raise ImportError(msg) 75 76 # pylint: enable=wildcard-import,g-import-not-at-top,unused-import,line-too-long ImportError: Traceback (most recent call last): File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module> from tensorflow.python.pywrap_tensorflow_internal import * File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 28, in <module> _pywrap_tensorflow_internal = swig_import_helper() File "C:\Program Files\Anaconda3\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 24, in swig_import_helper _mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description) File "C:\Program Files\Anaconda3\lib\imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "C:\Program Files\Anaconda3\lib\imp.py", line 342, in load_dynamic return _load(spec) ImportError: DLL load failed: 动态链接库(DLL)初始化例程失败。 Failed to load the native TensorFlow runtime. See https://www.tensorflow.org/install/install_sources#common_installation_problems for some common reasons and solutions. Include the entire stack trace above this error message when asking for help.
在dotnet4.0的webForm项目中,想用线程解决加载慢,服务器响应时间慢的问题
![图片说明](https://img-ask.csdn.net/upload/201605/20/1463706945_867846.png) ![图片说明](https://img-ask.csdn.net/upload/201605/20/1463706868_149275.png) 在dotnet4.0的webForm项目中,想用线程解决加载慢,服务器响应时间慢的问题,但是发现我新开一个线程让他去加载数据的时候,他就获取不到HTTP请求了,请大侠们多多帮忙,小的感激不尽!谢谢大家!
.net core 3.0 System.Text.Json序列化树形结构时内存溢出,该怎么配置
.net core3.0 wei API,默认返回的json序列化改成了System.text.json, 默认的序列化发现在序列树形的数据会出现内存溢出,要怎么配置默认的 Newtonsof序列化后的结果 ![图片说明](https://img-ask.csdn.net/upload/201909/18/1568778642_413337.png) System.Text.Json序列化的结果 ![图片说明](https://img-ask.csdn.net/upload/201909/18/1568778656_373334.png) 数据的结果(Newtonsof序列化后) ``` [ { "ParentID": "", "ID": "code", "Name": "代码", "Contents": [], "Children": [ { "ParentID": "code", "ID": "database", "Name": "database", "Contents": [], "Children": [] }, { "ParentID": "code", "ID": "dotnet", "Name": "dotnet", "Contents": [], "Children": [] }, { "ParentID": "code", "ID": "javascript", "Name": "js", "Contents": [], "Children": [] } ] }, { "ParentID": "", "ID": "hardware", "Name": "硬件", "Contents": [], "Children": [] }, { "ParentID": "", "ID": "music", "Name": "音乐", "Contents": [], "Children": [] }, { "ParentID": "", "ID": "photo", "Name": "代码", "Contents": [], "Children": [] }, { "ParentID": "", "ID": "video", "Name": "视频", "Contents": [], "Children": [] } ] ```
.NET Framework 4安装失败,急!!!
VB.NET做的程序,安装和部署发布后,在XP系统上安装提示.NET Framework 4安装失败,请高手帮忙看看错误日志及解决办法,谢谢: The following properties have been set: Property: [AdminUser] = true {boolean} Property: [InstallMode] = SameSite {string} Property: [ProcessorArchitecture] = Intel {string} Property: [VersionNT] = 5.1.3 {version} Running checks for package 'Windows Installer 3.1', phase BuildList The following properties have been set for package 'Windows Installer 3.1': Running checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.1': true Result of checks for command 'WindowsInstaller3_1\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass' 'Windows Installer 3.1' RunCheck result: No Install Needed Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 和 x64)', phase BuildList Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client' Unable to read registry value Not setting value for property 'DotNet40Client_TargetVersion' Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client\2052' Unable to read registry value Not setting value for property 'DotNet40ClientLangPack_TargetVersion' The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 和 x64)': Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': false Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was not defined Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Install' Running checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': true Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_setup.exe' is 'Bypass' Running checks for command 'DotNetFX40Client\dotNetFx40LP_Client_x86_x64zh-Hans.exe' Skipping ByPassIf because Property 'DotNet40ClientLangPack_TargetVersion' was not defined Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false Result of checks for command 'DotNetFX40Client\dotNetFx40LP_Client_x86_x64zh-Hans.exe' is 'Install' 'Microsoft .NET Framework 4 Client Profile (x86 和 x64)' RunCheck result: Install Needed EULA for components 'Microsoft .NET Framework 4 Client Profile (x86 和 x64)' was accepted. Copying files to temporary directory "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD497E.tmp\" Copying from 'C:\Documents and Settings\Administrator\桌面\出差人员管理系统\安装包\DotNetFX40Client\dotNetFx40LP_Client_x86_x64zh-Hans.exe' to 'C: \DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD497E.tmp\DotNetFX40Client\dotNetFx40LP_Client_x86_x64zh-Hans.exe' Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD497E.tmp\DotNetFX40Client\dotNetFx40LP_Client_x86_x64zh-Hans.exe WinVerifyTrust returned 0 File trusted Copying from 'C:\Documents and Settings\Administrator\桌面\出差人员管理系统\安装包\DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' to 'C: \DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD497E.tmp\DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD497E.tmp\DotNetFX40Client\dotNetFx40_Client_x86_x64.exe WinVerifyTrust returned 0 File trusted Running checks for package 'Microsoft .NET Framework 4 Client Profile (x86 和 x64)', phase BeforePackage Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client' Unable to read registry value Not setting value for property 'DotNet40Client_TargetVersion' Reading value 'Version' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Client\2052' Unable to read registry value Not setting value for property 'DotNet40ClientLangPack_TargetVersion' The following properties have been set for package 'Microsoft .NET Framework 4 Client Profile (x86 和 x64)': Running checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': false Skipping ByPassIf because Property 'DotNet40Client_TargetVersion' was not defined Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false Result of checks for command 'DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' is 'Install' Running checks for command 'DotNetFX40Client\dotNetFx40LP_Client_x86_x64zh-Hans.exe' Skipping ByPassIf because Property 'DotNet40ClientLangPack_TargetVersion' was not defined Result of running operator 'ValueEqualTo' on property 'AdminUser' and value 'false': false Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.1.2': false Result of running operator 'ValueEqualTo' on property 'ProcessorArchitecture' and value 'IA64': false Result of checks for command 'DotNetFX40Client\dotNetFx40LP_Client_x86_x64zh-Hans.exe' is 'Install' 'Microsoft .NET Framework 4 Client Profile (x86 和 x64)' RunCheck result: Install Needed Verifying file integrity of C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD497E.tmp\DotNetFX40Client\dotNetFx40_Client_x86_x64.exe WinVerifyTrust returned 0 File trusted Installing using command 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\VSD497E.tmp\DotNetFX40Client\dotNetFx40_Client_x86_x64.exe' and parameters ' /q /norestart /ChainingPackage ClientX64ClickOnce' Process exited with code 1601 Status of package 'Microsoft .NET Framework 4 Client Profile (x86 和 x64)' after install is 'InstallFailed'
ASP.NET cas client循环重定向
从这里https://github.com/apereo/dotnet-cas-client 下载的例子,在IIS上发布之后,能跳到cas服务器,再跳回来的时候,chrome中提示“将您重定向的次数过多”,360提示“访问的网页出错了”。 试了https://www.cnblogs.com/zhenyulu/archive/2013/01/22/2870936.html http://www.cnblogs.com/xingshao/archive/2011/09/29/2195746.html的方法,还是不行,请大神指教。
同一个dotnet C#项目,只拷贝了一份换了路径和根目录名称,调用C++动态库的问题
调用同一个C++动态库,显示调用,关于调用约定 一个项目 ,使用默认CallingConvention = CallingConvention.CallingConvention = CallingConvention.StdCall)) [DllImport("DLL_LIB.dll")] 能调用成功 另外一个项目 必须改成 [DllImport("DLL_LIB.dll",CallingConvention = CallingConvention.Cdecl)] 才能调用成功。非则调用函数时报错,(原因可能是托管的 PInvoke 签名与非托管的目标签名不匹配。请检查 PInvoke 签名的调用约定和参数与非托管的目标签名是否匹配。) ps: 这种情况只出现在用vs 运行调试时,编译过后执行exe,都能执行成功。 同样的程序代码,找不到哪里不一样,怎会出现这种纠结不清的方式。求解
《奇巧淫技》系列-python!!每天早上八点自动发送天气预报邮件到QQ邮箱
将代码部署服务器,每日早上定时获取到天气数据,并发送到邮箱。 也可以说是一个小人工智障。 思路可以运用在不同地方,主要介绍的是思路。
Linux(服务器编程):15---两种高效的事件处理模式(reactor模式、proactor模式)
前言 同步I/O模型通常用于实现Reactor模式 异步I/O模型则用于实现Proactor模式 最后我们会使用同步I/O方式模拟出Proactor模式 一、Reactor模式 Reactor模式特点 它要求主线程(I/O处理单元)只负责监听文件描述符上是否有事件发生,有的话就立即将时间通知工作线程(逻辑单元)。除此之外,主线程不做任何其他实质性的工作 读写数据,接受新的连接,以及处...
为什么要学数据结构?
一、前言 在可视化化程序设计的今天,借助于集成开发环境可以很快地生成程序,程序设计不再是计算机专业人员的专利。很多人认为,只要掌握几种开发工具就可以成为编程高手,其实,这是一种误解。要想成为一个专业的开发人员,至少需要以下三个条件: 1) 能够熟练地选择和设计各种数据结构和算法 2) 至少要能够熟练地掌握一门程序设计语言 3) 熟知所涉及的相关应用领域的知识 其中,后两个条件比较容易实现,而第一个...
C语言魔塔游戏
很早就很想写这个,今天终于写完了。 游戏截图: 编译环境: VS2017 游戏需要一些图片,如果有想要的或者对游戏有什么看法的可以加我的QQ 2985486630 讨论,如果暂时没有回应,可以在博客下方留言,到时候我会看到。 下面我来介绍一下游戏的主要功能和实现方式 首先是玩家的定义,使用结构体,这个名字是可以自己改变的 struct gamerole { char n
进程通信方式总结与盘点
​ 进程通信是指进程之间的信息交换。这里需要和进程同步做一下区分,进程同步控制多个进程按一定顺序执行,进程通信是一种手段,而进程同步是目标。从某方面来讲,进程通信可以解决进程同步问题。 ​ 首先回顾下我们前面博文中讲到的信号量机制,为了实现进程的互斥与同步,需要在进程间交换一定的信息,因此信号量机制也可以被归为进程通信的一种方式,但是也被称为低级进程通信,主要原因为: 效率低:一次只可操作少量的...
究竟你适不适合买Mac?
我清晰的记得,刚买的macbook pro回到家,开机后第一件事情,就是上了淘宝网,花了500元钱,找了一个上门维修电脑的师傅,上门给我装了一个windows系统。。。。。。 表砍我。。。 当时买mac的初衷,只是想要个固态硬盘的笔记本,用来运行一些复杂的扑克软件。而看了当时所有的SSD笔记本后,最终决定,还是买个好(xiong)看(da)的。 已经有好几个朋友问我mba怎么样了,所以今天尽量客观
听说了吗?阿里双11作战室竟1根网线都没有
双11不光是购物狂欢节,更是对技术的一次“大考”,对于阿里巴巴企业内部运营的基础保障技术而言,亦是如此。 回溯双11历史,这背后也经历过“小米加步枪”的阶段:作战室从随处是网线,交换机放地上的“一地狼藉”;到如今媲美5G的wifi网速,到现场却看不到一根网线;从当年使用商用AP(无线路由器),让光明顶双11当天断网一分钟,到全部使用阿里自研AP……阿里巴巴企业智能事业部工程师们提供的基础保障...
在阿里,40岁的奋斗姿势
在阿里,40岁的奋斗姿势 在阿里,什么样的年纪可以称为老呢?35岁? 在云网络,有这样一群人,他们的平均年龄接近40,却刚刚开辟职业生涯的第二战场。 他们的奋斗姿势是什么样的呢? 洛神赋 “翩若惊鸿,婉若游龙。荣曜秋菊,华茂春松。髣髴兮若轻云之蔽月,飘飖兮若流风之回雪。远而望之,皎若太阳升朝霞;迫而察之,灼若芙蕖出渌波。” 爱洛神,爱阿里云 2018年,阿里云网络产品部门启动洛神2.0升...
关于研发效能提升的思考
研发效能提升是最近比较热门的一个话题,本人根据这几年的工作心得,做了一些思考总结,由于个人深度有限,暂且抛转引入。 三要素 任何生产力的提升都离不开这三个因素:人、流程和工具,少了其中任何一个因素都无法实现。 人,即思想,也就是古人说的“道”,道不同不相为谋,是制高点,也是高层建筑的基石。 流程,即方法,也是古人说的“法”。研发效能的提升,也就是要提高投入产出比,既要增加产出,也要减...
Python爬虫爬取淘宝,京东商品信息
小编是一个理科生,不善长说一些废话。简单介绍下原理然后直接上代码。 使用的工具(Python+pycharm2019.3+selenium+xpath+chromedriver)其中要使用pycharm也可以私聊我selenium是一个框架可以通过pip下载 pip install selenium -i https://pypi.tuna.tsinghua.edu.cn/simple/ 
阿里程序员写了一个新手都写不出的低级bug,被骂惨了。
这种新手都不会范的错,居然被一个工作好几年的小伙子写出来,差点被当场开除了。
Java工作4年来应聘要16K最后没要,细节如下。。。
前奏: 今天2B哥和大家分享一位前几天面试的一位应聘者,工作4年26岁,统招本科。 以下就是他的简历和面试情况。 基本情况: 专业技能: 1、&nbsp;熟悉Sping了解SpringMVC、SpringBoot、Mybatis等框架、了解SpringCloud微服务 2、&nbsp;熟悉常用项目管理工具:SVN、GIT、MAVEN、Jenkins 3、&nbsp;熟悉Nginx、tomca
2020年,冯唐49岁:我给20、30岁IT职场年轻人的建议
点击“技术领导力”关注∆  每天早上8:30推送 作者| Mr.K   编辑| Emma 来源| 技术领导力(ID:jishulingdaoli) 前天的推文《冯唐:职场人35岁以后,方法论比经验重要》,收到了不少读者的反馈,觉得挺受启发。其实,冯唐写了不少关于职场方面的文章,都挺不错的。可惜大家只记住了“春风十里不如你”、“如何避免成为油腻腻的中年人”等不那么正经的文章。 本文整理了冯
程序员该看的几部电影
##1、骇客帝国(1999) 概念:在线/离线,递归,循环,矩阵等 剧情简介: 不久的将来,网络黑客尼奥对这个看似正常的现实世界产生了怀疑。 他结识了黑客崔妮蒂,并见到了黑客组织的首领墨菲斯。 墨菲斯告诉他,现实世界其实是由一个名叫“母体”的计算机人工智能系统控制,人们就像他们饲养的动物,没有自由和思想,而尼奥就是能够拯救人类的救世主。 可是,救赎之路从来都不会一帆风顺,到底哪里才是真实的世界?
入职阿里5年,他如何破解“技术债”?
简介: 作者 | 都铎 作为一名技术人,你常常会听到这样的话: “先快速上线” “没时间改” “再缓一缓吧” “以后再解决” “先用临时方案处理” …… 当你埋下的坑越来越多,不知道哪天哪位同学就会踩上一颗雷。特别赞同“人最大的恐惧就是未知,当技术债可说不可见的时候,才是最让人不想解决的时候。” 作为一个程序员,我们反对复制粘贴,但是我们经常会见到相似的代码,相同的二方包,甚至整个代码...
Python绘图,圣诞树,花,爱心 | Turtle篇
每周每日,分享Python实战代码,入门资料,进阶资料,基础语法,爬虫,数据分析,web网站,机器学习,深度学习等等。 公众号回复【进群】沟通交流吧,QQ扫码进群学习吧 微信群 QQ群 1.画圣诞树 import turtle screen = turtle.Screen() screen.setup(800,600) circle = turtle.Turtle()...
作为一个程序员,CPU的这些硬核知识你必须会!
CPU对每个程序员来说,是个既熟悉又陌生的东西? 如果你只知道CPU是中央处理器的话,那可能对你并没有什么用,那么作为程序员的我们,必须要搞懂的就是CPU这家伙是如何运行的,尤其要搞懂它里面的寄存器是怎么一回事,因为这将让你从底层明白程序的运行机制。 随我一起,来好好认识下CPU这货吧 把CPU掰开来看 对于CPU来说,我们首先就要搞明白它是怎么回事,也就是它的内部构造,当然,CPU那么牛的一个东
破14亿,Python分析我国存在哪些人口危机!
2020年1月17日,国家统计局发布了2019年国民经济报告,报告中指出我国人口突破14亿。 猪哥的朋友圈被14亿人口刷屏,但是很多人并没有看到我国复杂的人口问题:老龄化、男女比例失衡、生育率下降、人口红利下降等。 今天我们就来分析一下我们国家的人口数据吧! 一、背景 1.人口突破14亿 2020年1月17日,国家统计局发布了 2019年国民经济报告 ,报告中指出:年末中国大陆总人口(包括31个
在家远程办公效率低?那你一定要收好这个「在家办公」神器!
相信大家都已经收到国务院延长春节假期的消息,接下来,在家远程办公可能将会持续一段时间。 但是问题来了。远程办公不是人在电脑前就当坐班了,相反,对于沟通效率,文件协作,以及信息安全都有着极高的要求。有着非常多的挑战,比如: 1在异地互相不见面的会议上,如何提高沟通效率? 2文件之间的来往反馈如何做到及时性?如何保证信息安全? 3如何规划安排每天工作,以及如何进行成果验收? ......
作为一个程序员,内存和磁盘的这些事情,你不得不知道啊!!!
截止目前,我已经分享了如下几篇文章: 一个程序在计算机中是如何运行的?超级干货!!! 作为一个程序员,CPU的这些硬核知识你必须会! 作为一个程序员,内存的这些硬核知识你必须懂! 这些知识可以说是我们之前都不太重视的基础知识,可能大家在上大学的时候都学习过了,但是嘞,当时由于老师讲解的没那么有趣,又加上这些知识本身就比较枯燥,所以嘞,大家当初几乎等于没学。 再说啦,学习这些,也看不出来有什么用啊!
2020年的1月,我辞掉了我的第一份工作
其实,这篇文章,我应该早点写的,毕竟现在已经2月份了。不过一些其它原因,或者是我的惰性、还有一些迷茫的念头,让自己迟迟没有试着写一点东西,记录下,或者说是总结下自己前3年的工作上的经历、学习的过程。 我自己知道的,在写自己的博客方面,我的文笔很一般,非技术类的文章不想去写;另外我又是一个还比较热衷于技术的人,而平常复杂一点的东西,如果想写文章写的清楚点,是需要足够...
别低估自己的直觉,也别高估自己的智商
所有群全部吵翻天,朋友圈全部沦陷,公众号疯狂转发。这两周没怎么发原创,只发新闻,可能有人注意到了。我不是懒,是文章写了却没发,因为大家的关注力始终在这次的疫情上面,发了也没人看。当然,我...
Java坑人面试题系列: 包装类(中级难度)
Java Magazine上面有一个专门坑人的面试题系列: https://blogs.oracle.com/javamagazine/quiz-2。 这些问题的设计宗旨,主要是测试面试者对Java语言的了解程度,而不是为了用弯弯绕绕的手段把面试者搞蒙。 如果你看过往期的问题,就会发现每一个都不简单。 这些试题模拟了认证考试中的一些难题。 而 “中级(intermediate)” 和 “高级(ad
深度学习入门笔记(十八):卷积神经网络(一)
欢迎关注WX公众号:【程序员管小亮】 专栏——深度学习入门笔记 声明 1)该文章整理自网上的大牛和机器学习专家无私奉献的资料,具体引用的资料请看参考文献。 2)本文仅供学术交流,非商用。所以每一部分具体的参考资料并没有详细对应。如果某部分不小心侵犯了大家的利益,还望海涵,并联系博主删除。 3)博主才疏学浅,文中如有不当之处,请各位指出,共同进步,谢谢。 4)此属于第一版本,若有错误,还需继续修正与...
这个世界上人真的分三六九等,你信吗?
偶然间,在知乎上看到一个问题 一时间,勾起了我深深的回忆。 以前在厂里打过两次工,做过家教,干过辅导班,做过中介。零下几度的晚上,贴过广告,满脸、满手地长冻疮。 再回首那段岁月,虽然苦,但让我学会了坚持和忍耐。让我明白了,在这个世界上,无论环境多么的恶劣,只要心存希望,星星之火,亦可燎原。 下文是原回答,希望能对你能有所启发。 如果我说,这个世界上人真的分三六九等,...
节后首个工作日,企业们集体开晨会让钉钉挂了
By 超神经场景描述:昨天 2 月 3 日,是大部分城市号召远程工作的第一天,全国有接近 2 亿人在家开始远程办公,钉钉上也有超过 1000 万家企业活跃起来。关键词:十一出行 人脸...
Java基础知识点梳理
Java基础知识点梳理 摘要: 虽然已经在实际工作中经常与java打交道,但是一直没系统地对java这门语言进行梳理和总结,掌握的知识也比较零散。恰好利用这段时间重新认识下java,并对一些常见的语法和知识点做个总结与回顾,一方面为了加深印象,方便后面查阅,一方面为了学好java打下基础。 Java简介 java语言于1995年正式推出,最开始被命名为Oak语言,由James Gosling(詹姆
2020年全新Java学习路线图,含配套视频,学完即为中级Java程序员!!
新的一年来临,突如其来的疫情打破了平静的生活! 在家的你是否很无聊,如果无聊就来学习吧! 世上只有一种投资只赚不赔,那就是学习!!! 传智播客于2020年升级了Java学习线路图,硬核升级,免费放送! 学完你就是中级程序员,能更快一步找到工作! 一、Java基础 JavaSE基础是Java中级程序员的起点,是帮助你从小白到懂得编程的必经之路。 在Java基础板块中有6个子模块的学
B 站上有哪些很好的学习资源?
哇说起B站,在小九眼里就是宝藏般的存在,放年假宅在家时一天刷6、7个小时不在话下,更别提今年的跨年晚会,我简直是跪着看完的!! 最早大家聚在在B站是为了追番,再后来我在上面刷欧美新歌和漂亮小姐姐的舞蹈视频,最近两年我和周围的朋友们已经把B站当作学习教室了,而且学习成本还免费,真是个励志的好平台ヽ(.◕ฺˇд ˇ◕ฺ;)ノ 下面我们就来盘点一下B站上优质的学习资源: 综合类 Oeasy: 综合
你也能看懂的:蒙特卡罗方法
蒙特卡罗方法,也称统计模拟方法,是1940年代中期由于科学技术的发展和电子计算机的发明,而提出的一种以概率统计理论为指导的数值计算方法。是指使用随机数(或更常见的伪随机数)来解决很多计算问题的方法 蒙特卡罗方法可以粗略地分成两类:一类是所求解的问题本身具有内在的随机性,借助计算机的运算能力可以直接模拟这种随机的过程。另一种类型是所求解问题可以转化为某种随机分布的特征数,比如随机事件出现的概率,或...
如何优雅地打印一个Java对象?
你好呀,我是沉默王二,一个和黄家驹一样身高,和刘德华一样颜值的程序员。虽然已经写了十多年的 Java 代码,但仍然觉得自己是个菜鸟(请允许我惭愧一下)。 在一个月黑风高的夜晚,我思前想后,觉得再也不能这么蹉跎下去了。于是痛下决心,准备通过输出的方式倒逼输入,以此来修炼自己的内功,从而进阶成为一名真正意义上的大神。与此同时,希望这些文章能够帮助到更多的读者,让大家在学习的路上不再寂寞、空虚和冷。 ...
相关热词 c#导入fbx c#中屏蔽键盘某个键 c#正态概率密度 c#和数据库登陆界面设计 c# 高斯消去法 c# codedom c#读取cad文件文本 c# 控制全局鼠标移动 c# temp 目录 bytes初始化 c#
立即提问