Welcome Guest Search | Active Topics | Members

System.Reflection.ReflectionTypeLoadException? Options
adamgrandprix
Posted: Friday, April 08, 2005 2:42:00 PM
Rank: Member
Groups: Member

Joined: 4/8/2005
Posts: 1
Points: 0
When I run this code on my development environment (Win XP Pro) it works just fine, but after pushing it to our QA server I'm getting a strange error. Here is the line that generates the error...

Code:
      Aurigma.GraphicsMill.Bitmap bitmap = new Aurigma.GraphicsMill.Bitmap(Server.MapPath("Images/Products/" + ProductID + "/" + fileName));


(simple load of a jpeg - yes, the path is valid and the file is there)

Any assistance would be wonderful. We are trialing this to use in production and it is working great locally - I know the client will love it and we'll buy it if we can get it working on QA to show them.
Thanks!

Here is a trace of the error...

Code:
Exception: System.Web.HttpUnhandledException: Exception of type System.Web.HttpUnhandledException was thrown. ---> System.TypeInitializationException: The type initializer for "Aurigma.GraphicsMill.Codecs.FormatManager" threw an exception. ---> System.Reflection.ReflectionTypeLoadException: One or more of the types in the assembly unable to load. at System.Reflection.Module.GetTypesInternal(StackCrawlMark& stackMark) at System.Reflection.Assembly.GetTypes() at Aurigma.GraphicsMill.Codecs.FormatManager.UpdateProviders(Assembly assembly) at Aurigma.GraphicsMill.Codecs.FormatManager.UpdateAssemblies() at Aurigma.GraphicsMill.Codecs.FormatManager..cctor() --- End of inner exception stack trace --- at Aurigma.GraphicsMill.Codecs.FormatManager.CreateFormatReader(String fileName) at Aurigma.GraphicsMill.Bitmap.Load(String fileName) at Aurigma.GraphicsMill.Bitmap._Load(String fileName) at Aurigma.GraphicsMill.Bitmap..ctor(String fileName) at dropspot.Upload.Page_Load(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain() at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)


Dmitry
Posted: Friday, April 08, 2005 9:40:00 PM
Rank: Advanced Member
Groups: Administration , Member

Joined: 8/3/2003
Posts: 586
Points: 588
Please submit case and we will send you an update to check.

Sincerely yours,
Dmitry Sevostyanov.
Rick
Posted: Tuesday, May 10, 2005 6:04:00 AM
Rank: Member
Groups: Member

Joined: 5/10/2005
Posts: 6
Points: 0
We are experiencing this exact problem. Was there any resolution?

Thanks
Fedor
Posted: Tuesday, May 10, 2005 6:20:00 AM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,254
Points: -345
Location: WA, US
Hello Rick,

It is fixed in upcoming Aurigma Graphics Mil 3.1 for .NET which will be available in the end of week. Please submit case to receive update right now.

Best regards,
Fedor Skvortsov
Fedor
Posted: Tuesday, May 10, 2005 6:49:00 AM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,254
Points: -345
Location: WA, US
Rick, I have just sent you assemblies with fix.

Best regards,
Fedor Skvortsov
Rick
Posted: Tuesday, May 10, 2005 6:57:00 AM
Rank: Member
Groups: Member

Joined: 5/10/2005
Posts: 6
Points: 0
Thank you for the speedy reply. I haven't seen the e-mail yet, but I'm anxiously watching my inbox....

-Rick
Fedor
Posted: Tuesday, May 10, 2005 7:32:00 AM

Rank: Advanced Member
Groups: Administration , Member

Joined: 7/28/2003
Posts: 1,254
Points: -345
Location: WA, US
Rick,

You can also download assemblies with fix here.

Best regards,
Fedor Skvortsov
Rick
Posted: Wednesday, May 11, 2005 7:39:00 AM
Rank: Member
Groups: Member

Joined: 5/10/2005
Posts: 6
Points: 0
The new DLLs worked perfectly and we just made our purchase of Graphics Mill for .NET via your site.

We are giving a demo of the product to our customer today, so any help in expediting the order process would be greatly appreciated.

Thanks again for all your help and the great product!


-Rick
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.