I tested 2 more times today, 1 time was right and then not again
System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception.
---> System.TypeInitializationException: The type initializer for 'X64' threw an exception.
---> System.MissingMethodException: Method not found: 'System.Security.AccessControl.DirectorySecurity System.IO.DirectoryInfo.GetAccessControl()'.
at ImageMagick.NativeLibraryLoader.GrantEveryoneReadAndExecuteAccess(String cacheDirectory)
at ImageMagick.NativeLibraryLoader.CreateCacheDirectory()
at ImageMagick.NativeLibraryLoader.ExtractLibrary()
at ImageMagick.NativeLibraryLoader.Load()
at ImageMagick.Environment.NativeMethods.X64..cctor()
--- End of inner exception stack trace ---
at ImageMagick.Environment.NativeMethods.X64.Environment_Initialize()
at ImageMagick.Environment.NativeEnvironment.Initialize()
at ImageMagick.Environment.Initialize()
at ImageMagick.MagickSettings.NativeMagickSettings..cctor()
--- End of inner exception stack trace ---
at ImageMagick.MagickSettings.NativeMagickSettings..ctor()
at ImageMagick.MagickSettings..ctor()
at ImageMagick.MagickImage..ctor()
at FoxNetSoft.Plugin.Misc.Pagespeed.Services.MinifyOptimizationService.OptimizeImageAsync(String fileName)
Hi
i want manually minify picture with url, but i get this error
Error. The file 'C:\....jpeg' wasn't minify. Error=The type initializer for 'NativeMagickSettings' threw an exception.
And these addresses are correct for extra folders?
~\wwwroot\images\uploaded\
~\wwwroot\images\thumbs\
~\Themes\Venture\Content\img\
thank you
thank you, my problem resolved with your help.
i want json file, edit feeds.xml id 558
<FeedNetWork>
<Id>558</Id>
<Name>Custom template</Name>
<Image></Image>
<Schema>custom_template.xml</Schema>
<ExportMethodId>99999</ExportMethodId>
<DisplayOrder>59</DisplayOrder>
<ExportFileType>JSON</ExportFileType>
</FeedNetWork>
generated feed but get this error in json file
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Upgraded from 4.20 to 4.30.
i executed this command
select * from MigrationVersionInfo where [Description]='Nop.Data base schema'
result is empty table version,appliedon and description
yes, nop 4.30
full error:
The plugin "FoxNetSoft.Plugin.Feed.Manager" not installed
System.Exception: An error occured executing the following sql:
CREATE TABLE [dbo].[AddressAttribute] ([Id] INT NOT NULL IDENTITY(1,1), [Name] NVARCHAR(400) NOT NULL, [IsRequired] BIT NOT NULL, [AttributeControlTypeId] INT NOT NULL, [DisplayOrder] INT NOT NULL, CONSTRAINT [PK_AddressAttribute] PRIMARY KEY ([Id]))
The error was There is already an object named 'AddressAttribute' in the database.
---> System.Data.SqlClient.SqlException (0x80131904): There is already an object named 'AddressAttribute' in the database.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite, String methodName)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.ExecuteNonQuery(String sql)
ClientConnectionId:b99764a3-a499-44a7-961b-2f04b72a6e60
Error Number:2714,State:6,Class:16
--- End of inner exception stack trace ---
at FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.ExecuteNonQuery(String sql)
at FluentMigrator.Runner.Processors.SqlServer.SqlServerProcessor.Process(String sql)
at FluentMigrator.Runner.Processors.ProcessorBase.Process(CreateTableExpression expression)
at FluentMigrator.Expressions.CreateTableExpression.ExecuteWith(IMigrationProcessor processor)
at FluentMigrator.Runner.MigrationRunner.<>c__DisplayClass80_0.<ExecuteExpressions>b__1()
at FluentMigrator.Runner.StopWatch.Time(Action action)
at FluentMigrator.Runner.MigrationRunner.ExecuteExpressions(ICollection`1 expressions)
at FluentMigrator.Runner.MigrationRunner.ExecuteMigration(IMigration migration, Action`2 getExpressions)
at FluentMigrator.Runner.MigrationRunner.ApplyMigrationUp(IMigrationInfo migrationInfo, Boolean useTransaction)
at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion, Boolean useAutomaticTransactionManagement)
at FluentMigrator.Runner.MigrationRunner.MigrateUp(Int64 targetVersion)
at Nop.Data.Migrations.MigrationManager.ApplyUpMigrations(Assembly assembly, Boolean isUpdateProcess) in C:\andrei\nop_sources\src\Libraries\Nop.Data\Migrations\MigrationManager.cs:line 180
at Nop.Services.Plugins.PluginService.InsertPluginData(Type pluginType, Boolean isUpdateProcess) in C:\andrei\nop_sources\src\Libraries\Nop.Services\Plugins\PluginService.cs:line 194
at Nop.Services.Plugins.PluginService.InstallPlugins() in C:\andrei\nop_sources\src\Libraries\Nop.Services\Plugins\PluginService.cs:line 469
i tested product page, was 4 item, 2 breadcumblist for category and 2 product
how i must disable default structure data?