I stumbled upon this whilst testing the next version of ImageProcessor with Umbraco.
Testing with a clean install of 7.1.4 using the default starter kit and passing the querystring params
?format=bmp
?format=webp
I get the following exception.
[InvalidOperationException: The UmbracoContext.Current is null, ProcessRequest cannot proceed unless there is a current UmbracoContext]
Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext) +189
Umbraco.Web.UmbracoModule.<Init>b__a(Object sender, EventArgs e) +132
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
I'm also getting it using v6.2.1 without any starter kits.
Testing ImageProcessor outwith Umbraco runs perfectly with all formats working
That's all it's giving me I'm afraid. All other format extensions (jpg, gif, png, png8) work.
Removing RAMMFAR from theweb.config does not seem to make any difference also.
Update
It's definitely something in the UmbracoModule. If I add preCondition="managedHandler" to the declaration in the web.config then the error disappears.
Hrm, sounds strange... what is the full url you are getting this error? Is it a media path or an umbraco page path?
I'll create an issue that you can reply to
Changing image format with ImageProcessor
Versions definitely affected:
Using Net 4.5 on Windows 7.
I stumbled upon this whilst testing the next version of ImageProcessor with Umbraco.
Testing with a clean install of 7.1.4 using the default starter kit and passing the querystring params
I get the following exception.
I'm also getting it using v6.2.1 without any starter kits.
Testing ImageProcessor outwith Umbraco runs perfectly with all formats working
That's all it's giving me I'm afraid. All other format extensions (jpg, gif, png, png8) work.
Removing
RAMMFAR
from theweb.config does not seem to make any difference also.Update
It's definitely something in the UmbracoModule. If I add
preCondition="managedHandler"
to the declaration in the web.config then the error disappears.Hrm, sounds strange... what is the full url you are getting this error? Is it a media path or an umbraco page path? I'll create an issue that you can reply to
Here you go: http://issues.umbraco.org/issue/U4-5199
Cheers. I've added urls to the bugtracker. You should be able to replicate it easy enough.
is working on a reply...