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/imageeditor/imageeditor.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