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

Notification

Icon
Error

Options
Go to last post Go to first unread
natebell  
#1 Posted : Monday, August 27, 2007 11:19:17 PM(UTC)
natebell

Rank: Member

Groups: Member
Joined: 3/28/2007(UTC)
Posts: 56

We attempted to deploy to production today but had to roll back.

As far as we can tell we had problems because the app was deployed with debug=true, but was then changed to debug=false, as we NEVER run debug code on production servers.

Is debug mode absolutely necessary? The app worked without it, however, some of the NON-AJAX buttons started causing errors.

The "save all changes" and "cancel all changes" buttons started giving errors. What is odd is that these two buttons are NOT ajax buttons. The same code that we use to run in the "Save all changes" is also used for a "save and close" button, but that button works fine, it runs the exact same function (reuses it) and then sets a client script to close the window. This button works fine while the regular "save all changes" button does not. Here is the error we get:

---------------------------

Windows Internet Explorer

---------------------------

Internet Explorer cannot open the Internet site http://www.ourdomain.com...editor.aspx?iPhotoKey=4.

Operation aborted

---------------------------

OK

---------------------------

the save actually does happen, its just the page is in some error state when it tries to render the page, the error is on this line:

Code:

Sys.Application.add_load(function(e, t) {
		if (t.get_isPartialLoad()) return;
		var pe = $find("PhotoEditorSample1_PhotoEditorController1");
		[color=#cc0000]var bv = $find(pe.get_bitmapViewerId());[/color]
		bv.add_statusChanged(function() {
			if (bv.get_status() == GraphicsMill.UpdateStatus.busy)
				BeginBusyState();
			else
				EndBusyState();
		});
	});

pe is null at that point. I'm not sure why that would be null. This button works fine when the app is deployed in a debug state, but if it is broken, it can't be fixed simply by changing the web.config back to debug mode, it will only be fixed if it is redeployed with debug=true and we've found that even then, sometimes it is still in an error state, most likely because something is stuck in the GAC, we're still not sure.

here are our references in the project:

Code:

AjaxControlToolkit					BIN	1.0.10618.0
Aurigma.GraphicsMill				BIN	4.0.137.0
Aurigma.GraphicsMill.AjaxControls			BIN	3.5.2746.24429
Aurigma.GraphicsMill.Transforms.RedEyeRemoval		BIN	4.0.2734.30834
Microsoft.ApplicationBlocks.Data			BIN	Auto Update
PhotoEditorInstaller				BIN	1.0.0.0
[color=#cc0000]System.Design					GAC	2.0.0.0
System.Web.Extensions				GAC	1.0.61025.0
System.Web.Extensions.Design			GAC	1.0.61025.0
System.Windows.Forms				GAC	2.0.0.0[/color]
UltimateSpell					BIN	3.0.2599.40816

Sergey Peshekhonov  
#2 Posted : Wednesday, August 29, 2007 12:52:18 PM(UTC)
Sergey Peshekhonov

Rank: Advanced Member

Groups: Member
Joined: 6/5/2007(UTC)
Posts: 57

Hello, Nate!

We have some problems with reproducing your problem.

I set debug mode with false value and added your JavaScript code to the middle of PhotoEditorSample.ascx.

But I can't get error with PhotoEditorSample this way. Additionally I added some <asp:button /> but didn't get error message anyway. (I tried to use IE6, IE7 and FF2.0)

Could you send us an example (or full project) to reproduce your problem?

You can submit case for it.

Edited by user Thursday, May 22, 2008 10:01:04 PM(UTC)  | Reason: Not specified

Sincerely yours,

Sergey Peshekhonov.

Aurigma Technical Support Team.

natebell  
#3 Posted : Wednesday, August 29, 2007 10:18:15 PM(UTC)
natebell

Rank: Member

Groups: Member
Joined: 3/28/2007(UTC)
Posts: 56

we're still working to reproduce this behavior 100%, I'll let you know what we find.

we have included a spell checking software in our project and think that it might be causing the issue, even though the error shows up on the photoeditor code, very weird

i'll be sure to post our resolution

this article seems to be right on what we're seeing, we're using karamasoft's ultimate spellchecker on the same page as the editor

http://support.microsoft.com/kb/927917/en-us

Users browsing this topic
Guest
Similar Topics
photo editor configuration and deployment issues (Discussions – Graphics Mill)
by khurram 8/10/2006 4:39:44 PM(UTC)
photo editor configuration and deployment issues (Discussions – Graphics Mill)
by khurram 8/10/2006 4:36:50 PM(UTC)
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.