JavaScript error when using validators on SSL page w/ASP.NET 2.0

  • Thread starter Thread starter Ben Fidge
  • Start date Start date
B

Ben Fidge

Hi

I'm getting javascript errors when I use Validator controls on my checkout
page which runs under SSL. This is only happening on Windows 2003 server
though and not on my XP development machine.

The JavaScript error itself is not revealing much and therefore doesn't give
any real indication to where the error is.

The error itself just says the following:

Line: 2
Char: 1
Error: Syntax error
Code: 0
URL: https://10.0.0.10/checkout2.aspx

I'm using the Visual Studio.Net debugging features to view the rendered HTML
and JavaScript but can't see anything obvious.

When I remove the validator controls, everything works fine on both
operating systems.

Any ideas,

Ben
 
It has been my experience that most of the javascript stuff just
doesn't work right on Server 2003 until you uninstall the Internet
Explorer Enhanced Security Configuration. Control Panel | Add Remove
Programs | Add Remove Windows Components. Beware, (of course) of the
security risks that will come from doing this! After you uninstall you
should be able to change security settings in IE to match more "normal"
settings.

JP
 
Hi Joey

I should have made myself clearer. This is only happening when IIS is
running on Windows 2003 Server, and not when running under XP. In both
circustances, the browser is running from my XP machine, and not from the
server.

Thanks for the advice anyhow

Ben
 
Back
Top