InvalidOperationException running in Umbraco 7.8.1?
Hi -- I just upgraded everything to Umbraco 7.8.1 and am running the latest v3.11 of 301 URL Tracker.
In my UmbracoTraceLog, it's packed full of these InvalidOperationExceptoin errors:
System.InvalidOperationException: Invalid attempt to call MetaData when reader is closed.
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlDataReader.CheckMetaDataIsReady()
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at umbraco.DataLayer.RecordsReaderAdapter`1.GetOrdinal(String fieldName)
at umbraco.DataLayer.RecordsReaderAdapter`1.GetBoolean(String fieldName)
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.LoadUrlTrackerMatchesFromDatabase(HttpRequest request, String urlWithoutQueryString, Boolean urlHasQueryString, String shortestUrl, Int32 rootNodeId, String& redirectUrl, Nullable`1& redirectHttpCode, Boolean& redirectPassThroughQueryString) in D:\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 447
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.UrlTrackerDo(String callingEventName, Boolean ignoreHttpStatusCode) in D:\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 206
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_EndRequest(Object sender, EventArgs e) in D:\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 60
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-02-19 00:13:03,224 [P9336/D3/T99] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
System.InvalidOperationException: Invalid attempt to call MetaData when reader is closed.
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlDataReader.CheckMetaDataIsReady()
at System.Data.SqlClient.SqlDataReader.GetOrdinal(String name)
at umbraco.DataLayer.RecordsReaderAdapter`1.GetOrdinal(String fieldName)
at umbraco.DataLayer.RecordsReaderAdapter`1.GetBoolean(String fieldName)
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.LoadUrlTrackerMatchesFromDatabase(HttpRequest request, String urlWithoutQueryString, Boolean urlHasQueryString, String shortestUrl, Int32 rootNodeId, String& redirectUrl, Nullable`1& redirectHttpCode, Boolean& redirectPassThroughQueryString) in D:\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 447
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.UrlTrackerDo(String callingEventName, Boolean ignoreHttpStatusCode) in D:\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 206
at InfoCaster.Umbraco.UrlTracker.Modules.UrlTrackerModule.context_EndRequest(Object sender, EventArgs e) in D:\kipusoep\Documents\GitHub\UrlTracker\Modules\UrlTrackerModule.cs:line 60
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2018-02-19 00:13:32,390 [P9336/D3/T91] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
Does anyone know how to solve this error? When I try to navigate to an old URL that should have a redirect from 301 URL Tracker, I end up with a YSOD with the same SQL error:
Urm, you should be able to download it directly from NuGet
It might give you a nuspec file. Just rename to .zip extract and drop the dll into your bin folder
InvalidOperationException running in Umbraco 7.8.1?
Hi -- I just upgraded everything to Umbraco 7.8.1 and am running the latest v3.11 of 301 URL Tracker.
In my UmbracoTraceLog, it's packed full of these InvalidOperationExceptoin errors:
Does anyone know how to solve this error? When I try to navigate to an old URL that should have a redirect from 301 URL Tracker, I end up with a YSOD with the same SQL error:
For anyone who reads this, the issue was solved by upgrading to version 3.15 (only available on Nuget). I also found the same issue here: https://github.com/kipusoep/UrlTracker/issues/163
It appears this project is no longer maintained by the original developer, so things have moved a bit:
Development / updated code is here: https://github.com/kipusoep/UrlTracker/
To upgrade, the latest fixed release is available on nuget: https://www.nuget.org/packages/UrlTracker/
Hi Chris,
I want to install in umbraco through backoffice. How do I do it.
As mentioned above, the version on Our (backoffice package manager) is no longer supported. Please use NuGet for the latest version :)
Hi Daniel,
Thanks for the reply
I am not using VST for Umbraco development. Is there any other way to install it.
Hi Daniel,
Thanks for the reply.
However I am not using VST for umbraco development. Is there any other way to install the package
Urm, you should be able to download it directly from NuGet It might give you a nuspec file. Just rename to .zip extract and drop the dll into your bin folder
Thanks Daniel. It worked.
Glad you fixed it :) You're right, things have moved around indeed!
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.