Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Management Studio - The directory name is invalid

Author  Topic 

dpenrod
Starting Member

3 Posts

Posted - 2008-03-03 : 14:51:11
In SQL Server 2005 Management Studio I get an error pop up that reads "The directory name is invalid."

This error occured after I installed SQL Server 2005 and added my first database. It went away when I applied all the service packs. It is now occuring again. Would this happen if the temporary files on the computer are cleaned? If so, how do I recover from this. The temp files no longer exist...

This error occurs when I right click on a table and click Open table.

I can click design and that works. But open and edit does not work.

Note: I can open, edit, etc in Visual Studio.

When I click edit I get a more detail message that reads:

===================================

The directory name is invalid.
(mscorlib)

------------------------------
Program Location:

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.__Error.WinIOError()
at System.IO.Path.GetTempFileName()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.ScriptToQueryEditor(String text, IManagedConnection mc)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.ScriptTableToWindow(IManagedConnection mc)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.InvokeTextObject(IManagedConnection connection)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.VsDocumentMenuItem.Invoke()

dpenrod
Starting Member

3 Posts

Posted - 2008-03-03 : 15:22:08
ok resolved. YOU HAVE TO RESTART WINDOWS!
Go to Top of Page
   

- Advertisement -