Startup error caused by SQL Prompt

Provides intelligent code completion for SQL Server editors.

Moderators: JonathanWatts, David Atkinson, Anu Deshpande, Paul Stephenson, Michelle Taylor, Mike Upton, justin.caldicott, Aaron Law

Startup error caused by SQL Prompt

Postby CrispinH » Mon Dec 19, 2011 12:22 pm

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

Postby james.billings » Tue Dec 20, 2011 4: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.
james.billings
 
Posts: 1144
Joined: Wed Jun 16, 2010 11:10 am
Location: My desk.

Postby Brian Donahue » Tue Dec 20, 2011 4: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: 6668
Joined: Mon Aug 23, 2004 10:48 am

Postby CrispinH » Tue Dec 20, 2011 5: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.
CrispinH
 
Posts: 38
Joined: Mon Nov 21, 2005 10:41 am

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

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

You can get this version by clicking on SQL Prompt 5->Help->Check For Updates, or from http://www.red-gate.com/SqlPrompt
Mike Upton

Software Engineer
Red Gate Software Ltd.
Mike Upton
 
Posts: 157
Joined: Wed May 11, 2011 8:04 am
Location: Red Gate


Return to SQL Prompt 5

Who is online

Users browsing this forum: No registered users and 1 guest