Forum Discussion
markfrench
Aug 29, 2025Copper Contributor
C# MIP SDK v1.17.x - AccessViolationException on creation of MIPContext in 64-bit console app
I first logged this on https://stackoverflow.com/questions/79746967/accessviolationexception-when-creating-mipcontext-after-upgrade-to-v1-17 and the responses there have indicated I should raise with...
Max Philipp Blickenstorfer
Dec 24, 2025Copper Contributor
Hi, you submit { DiagnosticOverride = diagnosticConfiguration --> of type DiagnosticConfiguration};
I use following code which works in my case, also cmd tool.
Regards Max
---
// create logger config
N_loggerConfig = new LoggerConfiguration(N_maxLogFileCount, N_maxLogFileSizeMb, N_allowPii);
// Create MipConfiguration Object
MipConfiguration mipConfiguration = new MipConfiguration(appInfo, logFileLocationMIPLogs, Microsoft.InformationProtection.LogLevel.Trace, false, CacheStorageType.InMemory)
{
LoggerConfigurationOverride = N_loggerConfig
};
---