Comments
6 comments
-
Hi there,Thank you for reaching out and I apologize that you are running into issues with SQL Prompt.This is a known issue by the development team and they are currently looking at it.I will keep you updated on the situation.Kind Regards,David KimProduct Support Engineer
-
FYI. I installed the newest version of SQL Prompt this morning, and the error message has changed to the following:
Error encountered during format: Could not load file or assembly 'System.ValueTuple, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
-
Hi there,Thank you for the update.
Can you please send over your log files so that I can take a look at them?You can find your log files by following the steps in this documentation: https://documentation.red-gate.com/sp/troubleshooting/finding-the-sql-prompt-log-filesKind Regards,David KimProduct Support Engineer
-
I tried the following:
- Enabled Verbose Logging within SSMS
- Ran SQL Prompt formatter from command line with SSMS open.
- Went to SSMS and clicked View Log (shown below)
- Went to the %LOCALAPPDATA%\Red Gate\Logs\SQL Prompt 10 directory to see if that caught it
- There was only one log file there, but it has not been modified since April. (shown below)
Log from SSMS:2022-08-03 08:34:48.573 -04:00 [Information] Logging level set to 'Information'2022-08-03 08:34:50.924 -04:00 [Information] Launching package entry point Ssms18 (version 15.0.18424.0) for SQL Prompt 10.12.3.28623.2022-08-03 08:34:51.228 -04:00 [Information] Initialising DTE and AddIn connections.DTE.FullName: C:\Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\IDE\Ssms.exeDTE.Version: 2019.0150DTE.CommandLine:Current culture: en-USCurrent UI culture: en-US2022-08-03 08:34:53.137 -04:00 [Information] Current license: Enabled = True, Activated = True, Features = [None]2022-08-03 08:34:55.638 -04:00 [Information] SqlPromptApplication initialised (startup took 0:0:0.0)
Log from %LOCALAPPDATA%\Red Gate\Logs\SQL Prompt 10:2022-04-06 07:24:00.780 -04:00 [Information] Logging level set to 'Information'2022-04-06 07:24:01.145 -04:00 [Error] Report error dialog UI shownSystem.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.File name: 'Microsoft.Bcl.AsyncInterfaces, Version=5.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'at RedGate.SqlPrompt.Platform.Client.HttpClientConfiguration.Configure(IKernel kernel)at RedGate.SqlPrompt.Platform.Client.PlatformModule.Load()at Ninject.Modules.NinjectModule.OnLoad(IKernel kernel)at Ninject.KernelBase.Load(IEnumerable`1 m)at RedGate.SqlPrompt.EntryPointCommon.NinjectSetup.Create()at RedGate.SqlPrompt.EntryPointCommon.Startup.<>c__DisplayClass0_0.<Initialize>b__0()at RedGate.SqlPrompt.UsageReporting.ErrorReporting.ErrorReporterWithUI.Do(Action action)WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. -
Hi Roil,Thank you for the update.Can you try uninstalling the current version of SQL Prompt from the Control panel and then reinstall using the below installer: https://download.red-gate.com/checkforupdates/SQLPrompt/SQLPrompt_10.12.3.28623.exeKind Regards,
David KimProduct Support Engineer
-
I had a similar problem and read the documentationhttps://documentation.red-gate.com/sp/features-available-only-in-sql-toolbelt-essentials-and-sql-toolbelt/bulk-operations/bulk- operations-via -the-command-line#:~:text=Command%20command%20line%20formatter%20can,Format., ! But nothing worked for me after that, I just rebooted my system 3 times and everything worked for me without any changes! Thanks for the support but I am often busy with plastic surgery https://celebshistory.com Nose Job Lip Filler and it saved me a lot of time!
Add comment
Please sign in to leave a comment.
I am trying to run SQL Prompt from command line, and I am getting this error:
I followed your instructions located here: https://documentation.red-gate.com/sp/features-available-only-in-sql-toolbelt-essentials-and-sql-toolbelt/bulk-operations/bulk-operations-via-the-command-line#:~:text=The%20command%20line%20formatter%20can,Format., but that does not provide any information for errors encountered.
Can you please provide some guidance on how to resolve this error?
Thanks!