I'm not sure if this is the correct group, so please let me know if I should be posting elsewhere.
I have an application that is trying to run the script below, which references fields in a SQL2005 database. The SQL database field is 8000 characters (varchar):
When one of those fields exceeds 1804 characters (yep, I counted), in IE6 I get the error "Object doesn't support this property or method". When I debug using MS Visual Studio 2005, I am pointed to the line > sRes = window.showModalDialog(sCmd,self,sFeatures) + ""
When I pull up the same page in IE7, I get a blank white box but no error. In IE8, it works fine. However, if the character count is <= 1804 characters, it works fine in all versions.
I know there have been quite a few enhancements in IE8's support of JScript, but would like to determine why the character count appears to matter. I would have thought that if an object isn't supported, it would not be supported regardless of the number of characters.
There is (was?) a limit in IE to how much information you can pass in a URL. As far as I can recall in IE6 it's somewhere just short of 2000 characters, so 1804 may be it.
May have been increased significantly in IE8 - I see some folk suggesting it's now 32k.
Tim
"Tucson Debra" <hampton.de...@gmail.com> wrote in message
> I'm not sure if this is the correct group, so please let me know if I > should be posting elsewhere.
> I have an application that is trying to run the script below, which > references fields in a SQL2005 database. The SQL database field is > 8000 characters (varchar):
> When one of those fields exceeds 1804 characters (yep, I counted), in > IE6 I get the error "Object doesn't support this property or method". > When I debug using MS Visual Studio 2005, I am pointed to the line > > sRes = window.showModalDialog(sCmd,self,sFeatures) + ""
> When I pull up the same page in IE7, I get a blank white box but no > error. In IE8, it works fine. However, if the character count is <= > 1804 characters, it works fine in all versions.
> I know there have been quite a few enhancements in IE8's support of > JScript, but would like to determine why the character count appears > to matter. I would have thought that if an object isn't supported, it > would not be supported regardless of the number of characters.
Thank you very much. I did look at the character limitations of the browser versions, which is 2083 for versions IE6 and IE7. However, my understanding is that limitation hasn't changed in IE8.
IE8 did introduce support for the data URI schema (as opposed to the HTTP URI schema), which is 32K. I think that's where some of the confusion may lie. The data URI schema wasn't supported at all prior to IE8, though, so I'm not sure if it's relevant, since cutting down the number of characters will resolve the issue in pre-IE8 versions. If the problem is the data URI schema, then it shouldn't work at all in IE6 & 7 regardless of the number of characters.
I'll try posting on the IE forums. Thank you again!
Debra
On Nov 21, 3:57 pm, "Tim Williams" <timjwilli...@comcast.net> wrote:
> There is (was?) a limit in IE to how much information you can pass in a URL. > As far as I can recall inIE6it's somewhere just short of 2000characters, > so 1804 may be it.
> May have been increased significantly in IE8 - I see some folk suggesting > it's now 32k.
> Tim
> "Tucson Debra" <hampton.de...@gmail.com> wrote in message
> > I'm not sure if this is the correct group, so please let me know if I > > should be posting elsewhere.
> > I have an application that is trying to run the script below, which > > references fields in a SQL2005 database. The SQL database field is > > 8000characters(varchar):
> > When one of those fields exceeds 1804characters(yep, I counted), in > >IE6I get the error "Object doesn't support this property or method". > > When I debug using MS Visual Studio 2005, I am pointed to the line > > > sRes = window.showModalDialog(sCmd,self,sFeatures) + ""
> > When I pull up the same page inIE7, I get a blank white box but no > > error. In IE8, it works fine. However, if the character count is <= > > 1804characters, it works fine in all versions.
> > I know there have been quite a few enhancements in IE8's support of > > JScript, but would like to determine why the character count appears > > to matter. I would have thought that if an object isn't supported, it > > would not be supported regardless of the number ofcharacters.