I've used the plugin with no problems on previous versions of Umbraco 7, however, I'm running into a problem installing on 7.1.4. The install brings up an error but if I refresh it does seems to successfully install and the URL tracker functions correctly. However, randomly when loading a page on the site I recieve an error and it's also visible in the logs:
System.ArgumentNullException: Value cannot be null.
Parameter name: virtualPath
at System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options)
at System.Web.VirtualPathUtility.ToAbsolute(String virtualPath, String applicationPath)
at Umbraco.Core.IO.IOHelper.ResolveUrl(String virtualPath)
at InfoCaster.Umbraco.UrlTracker.Helpers.UmbracoHelper.IsReservedPathOrUrl(String url) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\Helpers\UmbracoHelper.cs:line 58
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.UrlTrackerDo(String callingEventName, Boolean ignoreHttpStatusCode) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 98
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_AcquireRequestState(Object sender, EventArgs e) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 53
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Looks like the problem was due to a space in the umbracoReservedPaths value in the web.config
I have an extra entry ~/shared and it has a space before it.
Error during install on 7.1.4
Hi all,
I've used the plugin with no problems on previous versions of Umbraco 7, however, I'm running into a problem installing on 7.1.4. The install brings up an error but if I refresh it does seems to successfully install and the URL tracker functions correctly. However, randomly when loading a page on the site I recieve an error and it's also visible in the logs:
2014-09-16 10:02:54,039 [14] ERROR Umbraco.Core.UmbracoApplicationBase - [Thread 23] An unhandled exception occurred
System.ArgumentNullException: Value cannot be null.
Parameter name: virtualPath
at System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options)
at System.Web.VirtualPathUtility.ToAbsolute(String virtualPath, String applicationPath)
at Umbraco.Core.IO.IOHelper.ResolveUrl(String virtualPath)
at InfoCaster.Umbraco.UrlTracker.Helpers.UmbracoHelper.IsReservedPathOrUrl(String url) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\Helpers\UmbracoHelper.cs:line 58
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.UrlTrackerDo(String callingEventName, Boolean ignoreHttpStatusCode) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 98
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_AcquireRequestState(Object sender, EventArgs e) in c:\Users\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 53
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Any help or advice would be much appreciated,
Ian.
Please use Github to report bugs/request new features. Thanks.
Have added it to the bug tracker now.
Looks like the problem was due to a space in the umbracoReservedPaths value in the web.config I have an extra entry ~/shared and it has a space before it.
Needed to be:
Cheers, Ian.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.