Global.ascx.cs Options
NickShepherd
Posted: Wednesday, October 24, 2007 6:56:13 PM
Rank: Newbie

Joined: 10/2/2007
Posts: 7
Hi, this might be a little obscure but...

I am intergrating a custom built ecommerce solution into Umbraco and it requires modification of the global.ascx.cs file. I've made the mod and recompiled the Umbraco.dll. However i now have an issue that i cannot save css, script or template files in the CMS. The line of code that breaks the CMS is...

private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
this.AcquireRequestState += new System.EventHandler(this.Global_AcquireRequestState);
}

Any ideas on why this would break the CMS?

Thanks Nick
drobar
Posted: Wednesday, October 24, 2007 9:52:12 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
The obvious thing to check is file and folder permissions. Both for the files you're trying to write to (css, etc.) and the modified umbraco files.

Any chance you're impersonating another user with your modifications to enable e-comm communications? If so, that might be interfering.

After these obvious checks... can you give us an error message? Look in the umbraco log. You might install Per's log viewer, available at http://www.objects.dk/2006/6/5/log-viewer-updated.aspx, as well as adding ?umbDebugShowTrace=true to your querystring to get more details. Whatever you can provide will help.

cheers,
doug.

MVP 2007-2009 - Percipient Studios
Users browsing this topic
Guest


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.