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

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
 
J

Joey

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
 
B

Ben Fidge

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top