[RESOLVED] Page with RequiredValidator control doesn't work
Hi
I've just installed VS.NET 2003 and my web solution which used to work on my previous machine doesn't work anymore. On the main login page I have used the RequiredValidator controls to ensure that the username and the password fields are not blank. When I fill the values and click OK nothing happens while on my previous machine I am correctly logged on and redirected to the main pages. When I remove the RequiredValidator controls from the page the page works correctly. I believe it is not specific to my application but rather something to do with my IIS configuration since a page with RequiredValidator control woking fine on another machine doesn't work on mine. Could someone shed some light on this?
Thanks
Re: Page with RequiredValidator control doesn't work
Does a message box show up saying you don't have some files?
Did you try to register asp.net on the new machine?
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis -i
HTH
HoraShadow
Re: Page with RequiredValidator control doesn't work
HoraShadow
No messagebox is shown. And yes I did try aspnet_regiis -i but still no luck.
Re: Page with RequiredValidator control doesn't work
On the browser, when you load the page, does it show a little yellow message on the lower left corner of IE saying the page has errors?
HoraShadow
Re: Page with RequiredValidator control doesn't work
HoraShadow
No, nothing like this. As I mentioned it would appear its my IIS which doesn't like the RequiredValidator control since when I access the same website on another machine everything works. This rules out any issues with my browser.
Re: Page with RequiredValidator control doesn't work
What is the configuration of the web server?
Re: Page with RequiredValidator control doesn't work
Also, what version of IE/FF do you use to test these pages? Is javascript blocked?
Re: Page with RequiredValidator control doesn't work
HoraShadow, Mendhak
Thanks for responding. I have uninstalled IIS and reinstalled and everything works now.
I'll mark this as resolved but for completeness of this thread here's answers to your questions.
Quote:
What is the configuration of the web server?
IIS 6.0 on Windows XP Professional SP2
Quote:
Is javascript blocked?
No.