Error: missing `server' JVM at `C:\Program Files (x86)\Java\jre1.8.0_151\bin\server\jvm.dll'.

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/sinat_32849651/article/details/79565505

问题:Error: missing server' JVM atC:\Program Files (x86)\Java\jre1.8.0_151\bin\server\jvm.dll’.
Please install or use the JRE or JDK that contains these missing components.
这里写图片描述
把jdk下面的jre里的server文件夹,移到jre的bin下就好了!

这里写图片描述
这里写图片描述

展开阅读全文

error \Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof

01-18

Vista, install SQL 2005 express got error: rnrnerror message: rnrnSQL Server 安装程序无法编译托管对象格式(MOF)文件 c:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof rnrnSQL Server Setup Failed to compile the Managed Object Format (MOF) file D:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof rn++++++++++++++++++++++++++++ rnrnrnIt is the WMI repository corruption issue. rnrnIn cmd window, run this command: rnrnC:/winmgmt /verifyrepository rnrnif it returns something like "WMI repository is inconsistent", then it means the WMI local repositories are corrupted. you can rebuild by runing this: rnrnrun this command: rnC:/winmgmt /salvagerepository rnrnrnThe problem was my WMI Repository was corrupt. I went to salvage it and it said it failed, but it sent a stop code to the service. I waited 10 seconds after I got this message and tried to salvage it again. It took about 2-3 minutes for the command to execute. Here are the results I experienced. rnrnMicrosoft Windows [Version 6.0.6000] rnCopyright (c) 2006 Microsoft Corporation. All rights reserved. rnrnC:\Windows\system32> winmgmt /verifyrepository rnWMI repository is INCONSISTENT rnrnC:\Windows\system32> winmgmt /salvagerepository rnWMI repository salvage failed rnError code: 0x8007041B rnFacility: Win32 rnDescription: A stop control has been sent to a service that other running ser rnvices are dependent on. rnrnrnC:\Windows\system32> winmgmt /salvagerepository rnWMI repository has been salvaged rnrnC:\Windows\system32> rnI did this while the installation of SQL Server Express had the error and was prompting a retry. When it stated that the WMI repository had been salvaged I clicked on Retry. Viola! It continued and completed the installation. rnrnGood Luck. It took two days of searching for me to come across this post. rnrnrnSolution can be found: rnrnhttp://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=992054&SiteID=1 论坛

c:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unk

05-07

rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0x3'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xff'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xff'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xb8'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0x40'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xe8'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xe'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0x1f'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xba'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xe'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xb4'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xcd'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2143: syntax error : missing ';' before '!'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2501: 'MZ' : missing storage-class or type specifiersrnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2143: syntax error : missing ';' before '!'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xb8'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0x1'rnc:\program files (x86)\common files\system\ado\msado15.dll(1) : error C2018: unknown character '0xcd'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xfe'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xce'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xce'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xba'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xaf'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0x9d'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xba'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xaf'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0x9d'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xba'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xaf'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0x9d'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xc9'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xcd'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0x9c'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xbf'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xaf'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0x9d'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xc9'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2018: unknown character '0xcd'rnc:\program files (x86)\common files\system\ado\msado15.dll(2) : error C2001: newline in constantrnc:\program files (x86)\common files\system\ado\msado15.dll(3) : error C2018: unknown character '0xe'rnc:\program files (x86)\common files\system\ado\msado15.dll(3) : error C2018: unknown character '0x2'rnc:\program files (x86)\common files\system\ado\msado15.dll(3) : error C2018: unknown character '0xe0'rnc:\program files (x86)\common files\system\ado\msado15.dll(3) : error C2018: unknown character '0x10'rnc:\program files (x86)\common files\system\ado\msado15.dll(3) : error C2018: unknown character '0xe'rnc:\program files (x86)\common files\system\ado\msado15.dll(3) : error C2018: unknown character '0x10'rnc:\program files (x86)\common files\system\ado\msado15.dll(3) : error C2018: unknown character '0x10'rnc:\program files (x86)\common files\system\ado\msado15.dll(3) : error C2018: unknown character '0x2'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0xd0'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x10'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0xd5'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2017: illegal escape sequencernc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x11'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x2'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x40'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x10'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x10'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x10'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x10'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0xc0'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0xe'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0xe6'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x2'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0xe'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0xa0'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x80'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0xe'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2059: syntax error : 'bad suffix on number'rnc:\program files (x86)\common files\system\ado\msado15.dll(6) : error C2018: unknown character '0x1'rn就这样的问题出现了100多条,双击错误提示的话就说出现'c:\program files (x86)\common files\system\ado\msado15.dll'The file is binary and can not be read.rn 论坛

对路径“C:\Program Files\微软中国\Server”的访问被拒绝

09-14

我写了一个Winform TCP通讯+ 多线程 程序 前两天 都还好好的, 今天稍作修改然后打包成安装文件就不行了。提示的错误是rn对路径“C:\Program Files\微软中国\Server”的访问被拒绝rn因为我前两天也试过安装 一切正常,所哟我想不该是文件夹权限问题吧。rn我上网看到说好像多线程之间线程对线程的操作会出现问题。不知道是不是。rn我这两天的修改中就添加了一个线程对另外一个线程的关闭操作。现在将大概操作代码复制出来rn[code=C#]rn /// rn /// 关闭某一条连接线程rn /// rn /// rn /// rn public bool CloseClient(int id)rn rn tryrn rn if (clientTread[id] == null || clientTread[id].sock == null)rn rn return true;rn rn clientTread[id].sock.Close();rn clientTread[id].sock = null;rn clientTread[id] = null;rn rn catch (Exception e)rn rn //e.ToStringrn rn return true;rn rn[/code]rnrnrn异常信息如下:rn有关调用实时(JIT)调试而不是此对话框的详细信息,rn请参见此消息的结尾。rnrn************** 异常文本 **************rnSystem.UnauthorizedAccessException: 对路径“C:\Program Files\微软中国\Server”的访问被拒绝。rn 在 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)rn 在 System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)rn 在 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)rn 在 System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)rn 在 System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)rn 在 System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)rn 在 System.Threading.CompressedStack.runTryCode(Object userData)rn 在 System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)rn 在 System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)rn 在 System.Xml.XmlTextReaderImpl.OpenUrl()rn 在 System.Xml.XmlTextReaderImpl.Read()rn 在 System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)rn 在 System.Xml.XmlDocument.Load(XmlReader reader)rn 在 System.Xml.XmlDocument.Load(String filename)rn 在 TCPServer.XmlManager.RemoveXmlMessage()rn 在 TCPServer.Form1.btnStartListenPort_Click(Object sender, EventArgs e)rn 在 System.Windows.Forms.Control.OnClick(EventArgs e)rn 在 System.Windows.Forms.Button.OnClick(EventArgs e)rn 在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)rn 在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)rn 在 System.Windows.Forms.Control.WndProc(Message& m)rn 在 System.Windows.Forms.ButtonBase.WndProc(Message& m)rn 在 System.Windows.Forms.Button.WndProc(Message& m)rn 在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)rn 在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)rn 在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)rnrnrn************** 已加载的程序集 **************rnmscorlibrn 程序集版本: 2.0.0.0rn Win32 版本: 2.0.50727.3082 (QFE.050727-3000)rn 基本代码: file:///C:/windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dllrn----------------------------------------rnTCPServerrn 程序集版本: 1.0.0.0rn Win32 版本: 1.0.0.0rn 基本代码: file:///C:/Program%20Files/微软中国/Server/TCPServer.exern----------------------------------------rnSystem.Windows.Formsrn 程序集版本: 2.0.0.0rn Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)rn 基本代码: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dllrn----------------------------------------rnSystemrn 程序集版本: 2.0.0.0rn Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)rn 基本代码: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dllrn----------------------------------------rnSystem.Drawingrn 程序集版本: 2.0.0.0rn Win32 版本: 2.0.50727.3053 (netfxsp.050727-3000)rn 基本代码: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dllrn----------------------------------------rnSystem.Webrn 程序集版本: 2.0.0.0rn Win32 版本: 2.0.50727.3082 (QFE.050727-3000)rn 基本代码: file:///C:/windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dllrn----------------------------------------rnSystem.Xmlrn 程序集版本: 2.0.0.0rn Win32 版本: 2.0.50727.3082 (QFE.050727-3000)rn 基本代码: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dllrn----------------------------------------rnmscorlib.resourcesrn 程序集版本: 2.0.0.0rn Win32 版本: 2.0.50727.3082 (QFE.050727-3000)rn 基本代码: file:///C:/windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dllrn----------------------------------------rnSystem.Windows.Forms.resourcesrn 程序集版本: 2.0.0.0rn Win32 版本: 2.0.50727.1433 (REDBITS.050727-1400)rn 基本代码: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_zh-CHS_b77a5c561934e089/System.Windows.Forms.resources.dllrn----------------------------------------rnrn************** JIT 调试 **************rn要启用实时(JIT)调试,rn该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置rnjitDebugging 值。rn编译应用程序时还必须启用rn调试。rnrn例如: rnrnrn rnrnrn启用 JIT 调试后,任何无法处理的异常rn都将被发送到在此计算机上注册的 JIT 调试器,rn而不是由此对话框处理。rn 论坛

没有更多推荐了,返回首页