473,499 Members | 1,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

AccessViolationException when calling Assembly.GetFullName on Vist

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.Ge tLicense(LicenseContext
context, Type type, Object instance, Boolean allowExceptions)
at
System.ComponentModel.LicenseManager.ValidateInter nalRecursive(LicenseContext
context, Type type, Object instance, Boolean allowExceptions, License&
license, String& licenseKey)
at System.ComponentModel.LicenseManager.ValidateInter nal(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..cto r()
at GameStreet.GSTalk.frmMessage.InitializeComponent()
at GameStreet.GSTalk.frmMessage..ctor()
Oct 9 '07 #1
1 2382
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.

"Jason Rodman" wrote:
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.Ge tLicense(LicenseContext
context, Type type, Object instance, Boolean allowExceptions)
at
System.ComponentModel.LicenseManager.ValidateInter nalRecursive(LicenseContext
context, Type type, Object instance, Boolean allowExceptions, License&
license, String& licenseKey)
at System.ComponentModel.LicenseManager.ValidateInter nal(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..cto r()
at GameStreet.GSTalk.frmMessage.InitializeComponent()
at GameStreet.GSTalk.frmMessage..ctor()

Oct 12 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4792
by: Outshined | last post by:
I have a class library where just about every class uses its static initializer to register with a central registry object in the same assembly. I am hoping for some sort of Assembly.Load event...
4
1705
by: Daniel Mori | last post by:
Im at a loss on where to proceed next. I wonder if anyone can help me. I have a managed C++ DLL is basically a thin wrapper around several unmanaged classes. This DLL builds fine. In my...
2
1824
by: Jeff Lar | last post by:
I'm writing a class library that will be consumed by other applications, both web and form, and may also be loaded dynamically. I need the assembly to perform some validation immediately after it...
6
1562
by: Eric Lilja | last post by:
Hello, I have a std::vector storing pointers to an abstract base class OptionBase. OptionBase is not templated but I am deriving a template class called Option from OptionBase. The class Option has...
8
1913
by: Peter Gummer | last post by:
I want to perform some initialisation when an assembly is first loaded. I know about static constructors, but that's not what I want. A class's static constructor is not called until something...
1
5749
by: Gos | last post by:
Hi, I have a DLL(say Test.DLL) which is being called by other DLLs in my application. I want to know which DLL is calling my Test.DLL. I want to get the name of the calling assembly within my...
3
5044
by: Jerome Cohen | last post by:
AI am trying to call a third-party web service. this service expects an XML fragment that contains the request plus other parameter. adding the web reference created the syntax below(reference.vb)....
4
10625
by: astri | last post by:
#include "Unit1.h" #include "math.h" #include "fixed_math.hpp" #include "algorithm.h" #define MBIT 0x4000 #define CBIT 16 long constbl; void __fastcall TForm1::Button1Click(TObject...
3
3375
by: Shawn T | last post by:
I have an application with a page that has a web user control When I call that page that has this user control, locally (http:// localhost/ApplicationX/default.aspx) and also externally ie...
0
7132
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7009
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7390
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4919
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3103
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3094
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
302
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.