Startup error caused by SQL Prompt
CrispinH
Posts: 57
I needed to log activity on Visual Studio 2010 so I started devenv.exe with the /log switch. This error gets thrown:
System.IO.FileNotFoundException was unhandled
Message=devenv.exe
Source=System
StackTrace:
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at RedGate.SQLPrompt.CommonUI.Options.SqlPromptApplication.<Initialise>b__2(Object )
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
InnerException:
Just thought you should know.
Crispin
System.IO.FileNotFoundException was unhandled
Message=devenv.exe
Source=System
StackTrace:
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at RedGate.SQLPrompt.CommonUI.Options.SqlPromptApplication.<Initialise>b__2(Object )
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()
InnerException:
Just thought you should know.
Crispin
Comments
Redgate Software
This may be a handled exception that is caught internally and ignored. If SQL Prompt works, then I wouldn't worry about it.
Perhaps devenv wants to know the version of the assembly that contains SQL Prompt and maybe it's not critical for it to know this.
If SQL Prompt is not working, feel free to let us know and we'll update your support ticket.
The reason that I kicked off the activity log in the first place was that one of the (many) VS extensions I have installed was causing instability and I wanted to find out which one. I suspect that the instability is not being caused by SQL Prompt but something else, but I haven't yet established which something else.
You can get this version by clicking on SQL Prompt 5->Help->Check For Updates, or from http://www.red-gate.com/SqlPrompt
Redgate Software