This forum contains outdated content and is available for reading only. Please contact technical support if you have any questions.

Notification

Icon
Error

2 Pages12>
Options
Go to last post Go to first unread
idekkers  
#1 Posted : Saturday, February 27, 2010 1:40:15 PM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

Hi I'm trying to run the Gift editor demo, and the server keeps telling me that :
" The type or namespace name 'NamedRectangleRegion' could not be found "

what am i missing ?
the regular demo is running fine

thanks
Tamila  
#2 Posted : Monday, March 1, 2010 4:18:00 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Guest
Joined: 3/9/2008(UTC)
Posts: 554

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

Please make sure that you do not miss NamedRectangleRegion.cs file from your project.
Did you build this sample project in Visual Studio?
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
idekkers  
#3 Posted : Monday, March 1, 2010 8:30:19 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

Hi

i didn't build the project, just extracted the files to an IIS folder and try to run it from there like the basic demo that worked. the cs file is in the directory.
also, i have another issue, using your online demo, when writing Hebrew (RTL) text, when the text is displayed it shows all the letters in revers order, is there a fix for that ?

thanks again
Tamila  
#4 Posted : Tuesday, March 2, 2010 2:48:58 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Guest
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hi,

Quote:
I didn't build the project, just extracted the files to an IIS folder and try to run it from there like the basic demo that worked.

This sample does not work like Basic Demo. You should open the project of Gift Editor sample as Web Project in Visual Studio and build it or try to run it in Visual Studio.

Quote:
also, i have another issue, using your online demo, when writing Hebrew (RTL) text, when the text is displayed it shows all the letters in revers order, is there a fix for that ?

By default this sample does not support Hebrew, but you can modify the code to get it working.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
idekkers  
#5 Posted : Thursday, March 11, 2010 1:58:23 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

Hello

same demo different problem now :
http://test3.dekkers.net/PhotoLabelSample.aspx

didn't touch the code yet so i don't know why i get this ?
idekkers  
#6 Posted : Thursday, March 11, 2010 2:59:13 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

just wanted to make sure the text feature can support both RTL and LTR ?
Tamila  
#7 Posted : Thursday, March 11, 2010 5:46:51 AM(UTC)
Tamila

Rank: Advanced Member

Groups: Guest
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
Hello,
Quote:
same demo different problem now :
http://test3.dekkers.net/PhotoLabelSample.aspx

didn't touch the code yet so i don't know why i get this ?
To resolve this issue you need to use .NET Framework 3.5 version.

Quote:
just wanted to make sure the text feature can support both RTL and LTR ?
Unfortunately Right To Left functionality is not supported.
Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
idekkers  
#8 Posted : Monday, April 5, 2010 12:39:40 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

Hi Tamila

OK, I've managed to pass the error i got before, now i get a new one :
http://test.dekkers.net/photolabelsample.aspx

I'm running it all on an IIS 7 (windows web server 2008 R2) configured with .net 2.0+ app pool.
any ideas why i get this problem ?
i really want to be able to run this app finally ?

thanks
andreym  
#9 Posted : Monday, April 5, 2010 8:30:58 PM(UTC)
andreym

Rank: Advanced Member

Groups: Guest
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
The code
Code:
l => _canvasViewer.Canvas.Layers.Remove(l)

is the lambda expression. Lambda expressions appears in the C# 3.0. Just replace this line
Code:
Array.ForEach(layers, l => _canvasViewer.Canvas.Layers.Remove(l));

to that
Code:
Array.ForEach(layers, delegate(Layer l) { _canvasViewer.Canvas.Layers.Remove(l); });

It should solve the compilation error.
idekkers  
#10 Posted : Tuesday, April 6, 2010 7:46:03 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

hi again

same link different error.

andreym  
#11 Posted : Tuesday, April 6, 2010 6:53:40 PM(UTC)
andreym

Rank: Advanced Member

Groups: Guest
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Hello!

Should be
Code:
Array.ForEach(voc, delegate(VObject vo) { _regionLayer.VObjects.Remove(vo); });

instead of
Code:
Array.ForEach(voc, delegate(RectangleVObject vo) { _regionLayer.VObjects.Remove(vo); });


The voc parameter is the array of VObject elements, not the RectangleVObject. And the compiler tells you about it in the error message:
Quote:
Compiler Error Message: CS1502: The best overloaded method match for 'System.Array.ForEach<Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject>(Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject[], System.Action<Aurigma.GraphicsMill.AjaxControls.VectorObjects.VObject>)' has some invalid arguments
idekkers  
#12 Posted : Friday, April 9, 2010 10:06:56 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

ok, got over it and another of the same.

same link now a totally different error

how come it's not working for me ? the lambda expressions ?
you might want to revise your demo so it works the first time ?

thanks
andreym  
#13 Posted : Sunday, April 11, 2010 8:26:37 PM(UTC)
andreym

Rank: Advanced Member

Groups: Guest
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Can you, please, try this one? Try to unzip the archive into IIS folder and convert the gifteditor folder into web application in the IIS Manager. It should work now.

Hope this helps.
File Attachment(s):
gifteditor.zip (3,661kb) downloaded 18 time(s).
idekkers  
#14 Posted : Tuesday, April 13, 2010 1:43:13 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

thanks again

the file is a bit corrupt, so 2 files did not extract correctly.
i don't know if that's the reason i get this error ?

http://test.dekkers.net/PhotoLabelSample.aspx
andreym  
#15 Posted : Tuesday, April 13, 2010 3:44:58 AM(UTC)
andreym

Rank: Advanced Member

Groups: Guest
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Quote:
the file is a bit corrupt, so 2 files did not extract correctly.

That is odd Think . I've tried with 7-zip and WinRar. The both extract files without any errors.

Anyway, I get the 404 error from the link you provided (see attached screenshot). Can you check whether PhotoLabelSample.aspx file exists in the web folder? May be it is because the archive have not been unpacked correctly?
andreym attached the following image(s):
error.jpg
idekkers  
#16 Posted : Tuesday, April 13, 2010 11:24:42 PM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

i get this error :

Parser Error Message: Theme 'Default' cannot be found in the application or global theme directories.

Source Error:

Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeFile="PhotoLabelSample.aspx.cs"
Line 2: Inherits="PhotoLabelSample" Theme="Default" %>
Line 3:

and the links works for me...
strange
andreym  
#17 Posted : Wednesday, April 14, 2010 1:14:31 AM(UTC)
andreym

Rank: Advanced Member

Groups: Guest
Joined: 6/16/2009(UTC)
Posts: 134

Was thanked: 8 time(s) in 8 post(s)
Is there App_Themes/Default folder in the application folder? I've tried to open http://test.dekkers.net/App_Themes/Default/style.css, which is supposed to be available, but I got the 404 - File not found error.
This is the list of files that should be present in the application folder:
Quote:
ImageListControl.ascx
ImageListControl.ascx.cs
PhotoLabelControl.ascx
PhotoLabelControl.ascx.cs
PhotoLabelSample.aspx
PhotoLabelSample.aspx.cs
web.config
App_Code\NamedRectangleRegion.cs
App_Themes\Default\main.css
App_Themes\Default\style.css
App_Themes\Default\_reset.css
App_Themes\Default\Images\addimage.gif
App_Themes\Default\Images\addtext.gif
App_Themes\Default\Images\ajaxLoader.gif
App_Themes\Default\Images\bg-button.gif
App_Themes\Default\Images\button.gif
App_Themes\Default\Images\imageNavLeft.gif
App_Themes\Default\Images\imageNavLeftHover.gif
App_Themes\Default\Images\imageNavRight.gif
App_Themes\Default\Images\imageNavRightHover.gif
App_Themes\Default\Images\layers_bg.gif
App_Themes\Default\Images\layers_buttons.gif
App_Themes\Default\Images\layers_up_down.gif
App_Themes\Default\Images\TextLayer.gif
App_Themes\Default\Images\toolbar.gif
App_Themes\Default\Images\toolbar_bg.gif
App_Themes\Default\Images\tr.gif
Bin\Aurigma.GraphicsMill.AjaxControls.dll
Bin\Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll
Bin\Aurigma.GraphicsMill.AjaxControls.xml
Bin\Aurigma.GraphicsMill.dll
Bin\Aurigma.GraphicsMill.xml
Images\Labels\animal.png
Images\Labels\bike.jpg
Images\Labels\cartoon.jpg
Images\Labels\clock.jpg
Images\Labels\heart.png
Images\Labels\smile.jpg
Images\Templates\Black Cap.jpg
Images\Templates\Black Cup.jpg
Images\Templates\Blue T-Shirt.jpg
Images\Templates\Gray T-Shirt.jpg
Images\Templates\Green Cap.jpg
Images\Templates\Templates.xml
Images\Templates\White Cap.jpg
Images\Templates\White Cup.jpg
Scripts\ImageListControl.js
Scripts\jquery-1.3.2.min.js
Scripts\jquery-ui-1.7.2.custom.min.js
Scripts\PhotoLabelControl.js
Scripts\Sample.js
Scripts\carousel\jcarousellite_1.0.1.js
Scripts\carousel\jcarousellite_1.0.1.pack.js
Scripts\colorpicker\colorpicker.js
Scripts\colorpicker\eye.js
Scripts\colorpicker\layout.js
Scripts\colorpicker\utils.js
Scripts\colorpicker\css\colorpicker.css
Scripts\colorpicker\images\blank.gif
Scripts\colorpicker\images\colorpicker_background.png
Scripts\colorpicker\images\colorpicker_hex.png
Scripts\colorpicker\images\colorpicker_hsb_b.png
Scripts\colorpicker\images\colorpicker_hsb_h.png
Scripts\colorpicker\images\colorpicker_hsb_s.png
Scripts\colorpicker\images\colorpicker_indic.gif
Scripts\colorpicker\images\colorpicker_overlay.png
Scripts\colorpicker\images\colorpicker_rgb_b.png
Scripts\colorpicker\images\colorpicker_rgb_g.png
Scripts\colorpicker\images\colorpicker_rgb_r.png
Scripts\colorpicker\images\colorpicker_select.gif
Scripts\colorpicker\images\colorpicker_submit.png
Scripts\colorpicker\images\custom_a.png
Scripts\colorpicker\images\custom_background.png
Scripts\colorpicker\images\custom_hex.png
Scripts\colorpicker\images\custom_hsb_b.png
Scripts\colorpicker\images\custom_hsb_h.png
Scripts\colorpicker\images\custom_hsb_s.png
Scripts\colorpicker\images\custom_indic.gif
Scripts\colorpicker\images\custom_rgb_b.png
Scripts\colorpicker\images\custom_rgb_g.png
Scripts\colorpicker\images\custom_rgb_r.png
Scripts\colorpicker\images\custom_submit.png
Scripts\colorpicker\images\select.png
Scripts\colorpicker\images\select2.png
Scripts\colorpicker\images\slider.png

Edited by user Wednesday, April 14, 2010 1:15:04 AM(UTC)  | Reason: Not specified

idekkers  
#18 Posted : Wednesday, April 14, 2010 11:37:47 PM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

OK Applause

finally got it working, i was missing a lot of the directories,
i got the file downloaded correctly now and it extracted fine.

now the big question : how do i merge Tamila's demo for RTL with this to work together ?
Dmitry  
#19 Posted : Thursday, April 15, 2010 10:26:11 PM(UTC)
Dmitry

Rank: Advanced Member

Groups: Guest
Joined: 8/3/2003(UTC)
Posts: 1,070

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

Unfortunately RTL text is not supported in AJAX Vector Objects. Nevertheless if you purchase a license we are ready to add this functionality to the product.
Sincerely yours,
Dmitry Sevostyanov

UserPostedImage Follow Aurigma on Twitter!
idekkers  
#20 Posted : Friday, April 16, 2010 11:23:30 AM(UTC)
idekkers

Rank: Advanced Member

Groups: Guest
Joined: 2/27/2010(UTC)
Posts: 74

Hi Dimitry

tamila provided me with a working windows app that works with RTL, and said it should work with the web app too ?
Users browsing this topic
Guest (4)
2 Pages12>
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.