Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a situation on a current project where we are generating urls > 400 chars and this breaks url tracker.
I increased the size of the OldUrl, OldUrlQueryString, RedirectUrl to varchar(MAX) and this fixed issue.
Just wondering why the arbitary limit and whether you could increase in the next release?
thanks
Matt
I'll look into this for the next update, thanks for reporting!
Fixed in v2.4.1!
hi - fixed to what, 1000 chars?
the default maxlength for a querystring is 2048, so wondering why you didn't at least match that length? thanks
Yes, fixed to 1000 chars. The reason? I thought it would be enough and a bigger column would use more space. I guess you have some ideas about this?
hi - my suggestion would be to match the asp.net default as mentioned here https://msdn.microsoft.com/en-us/library/system.web.configuration.httpruntimesection.maxquerystringlength(v=vs.110).aspx
"The maximum length of the query string, in number of characters. The default is 2048. "
And there are no downsides to enlarge the column size?
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.
Continue discussion
String or binary data would be truncated SQL Error
I have a situation on a current project where we are generating urls > 400 chars and this breaks url tracker.
I increased the size of the OldUrl, OldUrlQueryString, RedirectUrl to varchar(MAX) and this fixed issue.
Just wondering why the arbitary limit and whether you could increase in the next release?
thanks
Matt
I'll look into this for the next update, thanks for reporting!
Fixed in v2.4.1!
hi - fixed to what, 1000 chars?
the default maxlength for a querystring is 2048, so wondering why you didn't at least match that length? thanks
Yes, fixed to 1000 chars.
The reason? I thought it would be enough and a bigger column would use more space.
I guess you have some ideas about this?
hi - my suggestion would be to match the asp.net default as mentioned here https://msdn.microsoft.com/en-us/library/system.web.configuration.httpruntimesection.maxquerystringlength(v=vs.110).aspx
"The maximum length of the query string, in number of characters. The default is 2048. "
And there are no downsides to enlarge the column size?
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.