By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,854 Members | 1,828 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,854 IT Pros & Developers. It's quick & easy.

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

P: 1
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
Share this question for a faster answer!
Share on Google+

Post your reply

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