Environment:
Server System:
database version: Microsoft SQL Server R2
Error prompts such as:
From: Click to open link
Detailed error message:
For more information about invoking just-in-time (JIT) debugging instead of this dialog box, see the end of this message. Exception text **************microsoft.sqlserver.management.registeredservers.registeredserverexception: Unable to read a list of previously registered servers on this system. Please re-register your server in the Registered Servers window. ---> Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializationException: To/registeredserversstore/servergroup/ The deserialization operation of the Analysisservicesservergroup failed. ---> System.IO.DirectoryNotFoundException: The path "C:\Users\Administrator\AppData\Local\Temp\2\19enqzv5.tmp" could not be found Part of it. In System.io.__error.winioerror (Int32 errorCode, String maybefullpath) in 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) in System.IO.FileStream: ctor (String path, FileMode mode, FileAccess access) in System.CodeDom.Compiler.TempFileCollection.EnsureTempNameCreated () in System.CodeDom.Compiler.TempFileCollection.AddExtension (String fileextension, Boolean KeepFile) in System.CodeDom.Compiler.TempFileCollection.AddExtension (String fileextension) in Microsoft.CSharp.CSharpCodeGenerator.FromSourceBatch (CompilerParameters options, string[] sources) in Microsoft.CSharp.CSharpCodeGenerator.System.CodeDom.Compiler.ICodeCompiler.CompileAssemblyFromSourceBatch ( CompilerParameters options, string[] sources) in System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromSource ( CompilerParameters options, string[] sources) in System.Xml.Serialization.Compiler.Compile (Assembly parent, String NS, X Mlserializercompilerparameters xmlparameters, Evidence Evidence) in System.Xml.Serialization.TempAssembly.GenerateAssembly (xmlmapping[] xmlmappings, type[] types, String DefaultNamespace, Evidence Evidence, xmlserializercompilerparameters parameters, Assembly Assembly, Hashtable assemblies) in System.Xml.Serialization.TempAssembly. ctor (xmlmapping[] xmlmappings, type[] types, String defaultnamespace, string location, Evidence Evidence) in System.Xml.Serialization.XmlSerializer.GenerateTempAssembly (xmlmapping xmlmapping, type type, String defaultnamespace) in System.Xml.Serialization.XmlSerializer. ctor (Type type, String defaultnamespace) in System.Xml.Serialization.XmlSerializer. ctor (Type type) in Microsoft.SqlServer.Management.Sdk.Sfc.SfcUtility.GetXmlValue (String xmlcontent, type ValueType) in M Icrosoft. SqlServer.Management.Sdk.Sfc.SfcSerializer.GetPropertyValueFromXmlString (String xmlstring, Type PropType, Ixmlserializationadapter Serializationadapter) in Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializer.CreateInstanceFromSerializedData (Type instancetype, String Instanceuri, List ' 1 serializeddata) in Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializer.Deserialize (XmlReader Reader, String Instanceuri, object& instance, sfcobjectstate State) in Microsoft.SqlServer.Management.Sdk.Sfc.SfcSerializer.Deserialize (XmlReader XmlReader, sfcobjectstate State)--- The end of the internal exception stack trace---in MICROSOFT.SQLSERVER.MANAGEMENT.SDK.SFC. Sfcserializer.deserialize (XmlReader XmlReader, sfcobjectstate State) in Microsoft.SqlServer.Management.RegisteredServers.RegisteredServersStore.InitChildObjects (String file)--- The end of the internal exception stack trace---in Microsoft.SqlServer.Management.RegisteredServers.RegisteredServersStore.InitChildObjects (String File) in Microsoft.SqlServer.Management.RegisteredServers.RegisteredServersStore.InitializeLocalRegisteredServersStore () In Microsoft.SqlServer.Management.RegisteredServers.RegisteredServersStore.get_LocalFileStore () in Microsoft.SqlServer.Management.UI.ConnectionDlg.ConnectionDialog.OnLoad (EventArgs e) in System.Windows.Forms.Form.OnCreateControl () in System.Windows.Forms.Control.CreateControl (Boolean fignorevisible) in System.Windows.Forms.Control.CreateControl () in System.Windows.Forms.Control.WmShowWindow (message& m) in System.Windows.Forms.Control.WndProc (message& m) in System.Windows.Forms.ScrollableControl.WndProc (Message & M) in System.Windows.Forms.ContainerControL.wndproc (message& m) in System.Windows.Forms.Form.WmShowWindow (message& m) in System.Windows.Forms.Form.WndProc (message& m) in System.Windows.Forms.Control.ControlNativeWindow.OnMessage ( message& m) in System.Windows.Forms.Control.ControlNativeWindow.WndProc (message& m) in System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, INTPTR wparam, INTPTR lparam) ************** loaded assemblies **********
Solution:
Restart the server. Well, I admit that I also have found a good solution, hope that netizens have a good solution, trouble to say.
Copyright: jiankunking Source: http://blog.csdn.net/jiankunking This article is copyright to the author and Csdn, Welcome to reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original connection.
Unable to read a list of previously registered servers on this system. Please re-register your server in the Registered Servers window