Startup error caused by SQL Prompt

Provides intelligent code completion for SQL Server editors.

Startup error caused by SQL Prompt

Postby CrispinH » Mon Dec 19, 2011 11:22 am

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
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()

Just thought you should know.

Posts: 38
Joined: Mon Nov 21, 2005 9:41 am

Postby james.billings » Tue Dec 20, 2011 3:35 pm

Thanks for posting that- do you find the error is stopping anything working, or did you just observe it in the logging? If the latter, then it may not be anything to worry about but I'll pass it on to the development team anyway in case they need to know.
Posts: 1122
Joined: Wed Jun 16, 2010 10:10 am
Location: Red Gate

Postby Brian Donahue » Tue Dec 20, 2011 3:35 pm

Hi Crispin,

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.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Postby CrispinH » Tue Dec 20, 2011 4:30 pm

It prevented the activity log from functioning effectively ie the activity log started but because of the error, I had to close VS2010.

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.
Posts: 38
Joined: Mon Nov 21, 2005 9:41 am

Postby Mike Upton » Fri Jan 27, 2012 3:36 pm

Just wanted to let you know that this should be fixed in the latest version of SQL Prompt (

You can get this version by clicking on SQL Prompt 5->Help->Check For Updates, or from
Mike Upton

Technical Lead - SQL Source Control | DLM Automation
Mike Upton
Posts: 222
Joined: Wed May 11, 2011 7:04 am
Location: Redgate

Return to SQL Prompt Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests