Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
DMonaghan  
#1 Posted : Wednesday, February 22, 2006 5:45:44 PM(UTC)
DMonaghan

Rank: Member

Groups: Member
Joined: 2/21/2006(UTC)
Posts: 4

I just installed GraphicsMill 3.1.0 for .NET

I tried to run the web samples but all fail. for example when I run "Web Demos\ASP.NET C# Online Demo"

The windows samples work fine.

I recevied the following error :

Code:
------------------------------------------------------------------------------------------------------

Server Error in '/GraphicsMill31WebCS' Application.
--------------------------------------------------------------------------------

Object synchronization method was called from an unsynchronized block of code. 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Threading.SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  
Stack Trace: 
[SynchronizationLockException: Object synchronization method was called from an unsynchronized block of code.]
   Aurigma.GraphicsMill.Thread.Start() +181
   Aurigma.GraphicsMill.Codecs.FormatReader._FrameLoadBitmap(Frame frame) +678
   Aurigma.GraphicsMill.Codecs.Frame._GetBitmap(Bitmap bitmap) +454
   Aurigma.GraphicsMill.Codecs.Frame.GetBitmap(Bitmap bitmap) +281
   Aurigma.GraphicsMill.Bitmap.Load(String fileName) +153
   GraphicsMillWebCS.ApplyingEffects.Page_Load(Object sender, EventArgs e) +82
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061
==================================================================

I also tried to create the example in the Web Forms QuickStart tutorial, without success when I run I get the following error, although it would seem this is a config error on my part and may not be connected to the previous error.

Code:
Server Error in '/GMillTest' Application.
--------------------------------------------------------------------------------
Configuration Error 
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. 

Parser Error Message: Unrecognized configuration section system.web/Aurigma.GraphicsMill.WebControls.

Source Error: 
Line 102:   />
Line 103:   
Line 104:   <Aurigma.GraphicsMill.WebControls>
Line 105:    <add key="ClientScriptsLocation" value="/aspnet_client/graphics_mill/3_1_0/" />
Line 106:    <add key="RelativePrivateCachePath" value="/WebQuickStartVB/PrivateTemp/" />
 
Source File: c:\inetpub\wwwroot\gmilltest\web.config    Line: 104 
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 

My System details are as follows

Windows XP Professional Service Pack 2 (build 2600)

Microsoft® .NET Framework Version 2.0.50727.42 *

Edited by user Thursday, December 20, 2007 5:05:02 PM(UTC)  | Reason: Not specified

DMonaghan  
#2 Posted : Wednesday, February 22, 2006 5:58:02 PM(UTC)
DMonaghan

Rank: Member

Groups: Member
Joined: 2/21/2006(UTC)
Posts: 4

Ok I removed .NET Framework 2.0 from my machine leaving me with Framework 1.1.

This appears to have done the trick as far as the Demos go. All are working fine now.

I'll need to do a bit more looky look to find the problem with the tutorial exampel I made. !

DMonaghan  
#3 Posted : Wednesday, February 22, 2006 6:15:51 PM(UTC)
DMonaghan

Rank: Member

Groups: Member
Joined: 2/21/2006(UTC)
Posts: 4

I'm glad I took the time to talk to myself on the forum 8-)

anyway the second issue with the Quickstart examples was due to an error on my part

I added the configuration to the web.config before instead of after. Doh!

Dmitry  
#4 Posted : Thursday, February 23, 2006 12:00:50 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 8/3/2003(UTC)
Posts: 1,070

Thanks: 1 times
Was thanked: 12 time(s) in 12 post(s)
Hello,

We have released new Graphics Mill for .NET 3.5. It solves problem with .NET Framework 2.0. You can read about this new version here.

Sincerely yours,

Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!

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.