|
Posted by mollyf on 08/21/06 13:39
Erland Sommarskog wrote:
> Try this. From the menu in Mgmt Studio, select File->Open->File. Navigate
> to the directory where you have one of these suspect files. Select such
> a file, and then click the arrow on the left of the Open button and
> Select Open With.
>
> You now get a window that presents you with a whole range of editors,
> and on the top one is listed by default. Which editor is this?
>
> Interesting enough, Notedpad does appear in this list, although I
> don't get it as the default for any file.
>
I tried what you said to do. The SQL Server Query Editor was shown as
being the default editor and I clicked on the "Set as Default" just to
"make sure." Then I clicked on the OK button and got the following
error: "The file cannot be opened with the selected editor. Please
choose another editor."
I just checked with my other coworker and she has the same thing
happening on her machine--the scripts open up in Notepad if she
double-clicks on them or by going through the File, Open option.
Like I've said before, copying and pasting the scripts and running them
that way does work so it's not an issue with errors in the scripts.
Plus I've saved the script with a different name (after copying and
pasting) and have been able to open them up the way I want to. I'm
wondering if there's some unknown bug or some unknown issue about
permissions or something that could be causing this.
Thanks.
Molly J. Fagan
Navigation:
[Reply to this message]
|