AccessViolationException when calling Assembly.GetFullName on Vist

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a wierd problem in my application where any call to
Assembly.GetFullName of the currently running assembly fails with an
AccessViolationException. This only happens on windows vista, all editions.
Running the appliction as an administrator does not seem to help. Any idea
what would cause this? Does this have to do with code access security, or
assembly signing? Here is a trace of one exception:

System.TypeInitializationException: The type initializer for
'Syncfusion.CoreAssembly' threw an exception. --->
System.AccessViolationException: Attempted to read or write protected memory.
This is often an indication that other memory is corrupt.
at System.Reflection.Assembly.GetFullName()
at System.Reflection.Assembly.get_FullName()
at Syncfusion.CoreAssembly..cctor()
--- End of inner exception stack trace ---
at
Syncfusion.Core.Licensing.FusionLicenseProvider.GetLicense(LicenseContext
context, Type type, Object instance, Boolean allowExceptions)
at
System.ComponentModel.LicenseManager.ValidateInternalRecursive(LicenseContext
context, Type type, Object instance, Boolean allowExceptions, License&
license, String& licenseKey)
at System.ComponentModel.LicenseManager.ValidateInternal(Type type,
Object instance, Boolean allowExceptions, License& license)
at System.ComponentModel.LicenseManager.Validate(Type type, Object
instance)
at Syncfusion.Core.Licensing.LicensedComponent..ctor(Type type)
at Syncfusion.Windows.Forms.HTMLUI.HTMLUIControl..ctor()
at GameStreet.GSTalk.frmMessage.InitializeComponent()
at GameStreet.GSTalk.frmMessage..ctor()
 
Any help guys. I have already released a commercial product that many vista
users cant use because of this problem so it kind of urgent.
 
Back
Top