469,963 Members | 2,003 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,963 developers. It's quick & easy.

MS SQL Management Studio Error: An error occurred while executing batch

Facing a strange error in MS SQL Management Studio 2005, when trying to open a new query window, open a table to view data or even run and existing SQL query file. The error text is:

An error occurred while executing batch. Error message is: The directory name is invalid.

After initial investigation, found that this error is thrown when we execute an existing sql query file with the Results To Grid option is set and does not occur if the Results To File or Results to Text are enabled. This problem has just started now, otherwise has been working fine previously

Have checked http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1430038&SiteID=17 - but this is not the case of the problem.

Let know you have any idea as to why this occurs.

Thanks, M
Oct 23 '07 #1
0 6797

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Kyle | last post: by
1 post views Thread by whitehorse | last post: by
1 post views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.