We have a live corporate site which right now is down because I was upgrading from 4.9 to 4.10.1.
I stepped through all the things that I had to upgrade, but this error is very, very strange.
[InvalidOperationException: Current has not been initialized. You must initialize Current before trying to read it.]
Umbraco.Core.ObjectResolution.ResolverBase`1.get_Current() +202
Umbraco.Web.UmbracoModule.BeginRequest(HttpContextBase httpContext) +129
Umbraco.Web.UmbracoModule.b__6(Object sender, EventArgs e) +80
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
Same error here. I did a fresh install of 4.10 on my Win 7 PC and it worked fine. Now I've copied the site to the production server (Win 2003 R2) and am getting this error. No idea where to even begin with troubleshooting this one...
What version of Windows are you using? Could this possibly be an IIS 6 issue?
Edit: Got it working; it was a file permissions issue.
I thought I had deleted this topic because I found the solution due to my lack of reading skills. I had forgot to copy over the Global.asax file to the root of the IIS website ... although it says so in the upgrade directions.
Copying the Global.asax fixed this problem. Thanks Arni.
[InvalidOperationException: Current has not been initialized. You must initialize Current before trying to read it.]
Umbraco.Core.ObjectResolution.ResolverBase`1.get_Current() +165
This answer actually applies to every version of umbraco..
and I am almost positive if you have the words "Umbraco.Web.UmbracoModule.BeginRequest(HttpContextBase httpContext)" in the error message then you are missing the Global.asax.
Thanks Arni, and never delete a topic, always tell us how you resolved it if you did yourself. I guarantee someone will run into issue at some stage. :-)
I had the same issue copying a working version of Umbraco 6.1.1 (and database) to another machine.
I solved it by setting the permissions to the whole root folder and subdirectories for ASPNET and IUSR and network services in that order. I cannot tell which one made it worked by it made the error disappear and the ran fine.
Site error: Current has not been initialized. You must initialize Current before trying to read it.
Hi all.
http://www.odinsoftware.is/
We have a live corporate site which right now is down because I was upgrading from 4.9 to 4.10.1.
I stepped through all the things that I had to upgrade, but this error is very, very strange.
Anyone out there that has seen the same error?
Same error here. I did a fresh install of 4.10 on my Win 7 PC and it worked fine. Now I've copied the site to the production server (Win 2003 R2) and am getting this error. No idea where to even begin with troubleshooting this one...
What version of Windows are you using? Could this possibly be an IIS 6 issue?
Edit: Got it working; it was a file permissions issue.
WFT ... ?
I thought I had deleted this topic because I found the solution due to my lack of reading skills. I had forgot to copy over the Global.asax file to the root of the IIS website ... although it says so in the upgrade directions.
RTFM !!
Copying the Global.asax fixed this problem. Thanks Arni.
I would like add 500 votes to this topic.
This answer actually applies to every version of umbraco..
and I am almost positive if you have the words "Umbraco.Web.UmbracoModule.BeginRequest(HttpContextBase httpContext)" in the error message then you are missing the Global.asax.
Thanks Arni, and never delete a topic, always tell us how you resolved it if you did yourself. I guarantee someone will run into issue at some stage. :-)
Hi,
I had the same issue copying a working version of Umbraco 6.1.1 (and database) to another machine.
I solved it by setting the permissions to the whole root folder and subdirectories for ASPNET and IUSR and network services in that order.
I cannot tell which one made it worked by it made the error disappear and the ran fine.
Hope it helps
is working on a reply...