473,394 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

validation controls not working, on 2003 server

They are working fine on our w2k servers.
On the remote site -- using 2003 server -- the controls don't occur until
after the action is taken. We are doing a catch, so that we don't give the
user an ugly error screen -- and we notice that the validators display an
error messgage there. I want to tell them,
"HEY, validate BEFORE the update / insert to the database, not
afterwards!"

In other words, the validator is not preventing the code from executing when
the submit button is pressed.
But again, it is only on that 1 server. Any ideas?
Jason Shohet
Nov 18 '05 #1
3 1148
On the 2003 server do you have the ASP_NET client? (usually this is your web
root/aspnet_client folder). Is the server running the same version of the
framework as you developed in? You should have a
root/aspnet_client/system_web/"frameworkversionfolder" like 1_0_3705_0 and
1_1_4322... make sure those are there.

It's important to realize that if your validators do not fire CLIENT SIDE,
they can still be caught SERVER SIDE, as long as you are checking if
Page.IsValid. Like:

If Page.IsValid then
'do my code
else
'exit sub
end if

This will fire your validators server side and the user will see it on
postback. Remember, not all browsers are going to support client side
validation, and if it's important, you need to check it again at the server.

-MCD
" Jason Shohet" <as****@hotmail.com> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl...
They are working fine on our w2k servers.
On the remote site -- using 2003 server -- the controls don't occur until
after the action is taken. We are doing a catch, so that we don't give the user an ugly error screen -- and we notice that the validators display an
error messgage there. I want to tell them,
"HEY, validate BEFORE the update / insert to the database, not
afterwards!"

In other words, the validator is not preventing the code from executing when the submit button is pressed.
But again, it is only on that 1 server. Any ideas?
Jason Shohet

Nov 18 '05 #2
Hi Big Daddy,

The host provider is on 1.1.4322 just as I am. And, other serverside stuff
is working fine. That leads me to believe they have the ASP_NET client,
otherwise none of our asp.net / codebehinds would work. It just appears
that the clientside authentication (from those validators) isn't working.

We're going to try the page.IsValid, sounds like a good idea! But I dislike
though applying bandaids like this w/o knowing why its not working in the
1st place.

TY for the help -- much appreciated!,
Little Daddy Junior
Nov 18 '05 #3
hi Jason

the directory aspnet_client must be a virtual rooted,
maybe it was not created for your web site

try to copy
/aspnet_client/<your assembly name>/<your assembly version>/from you pc to
the server

Alexey
" Jason Shohet" <as****@hotmail.com> wrote in message
news:ev******************@TK2MSFTNGP12.phx.gbl...
Hi Big Daddy,

The host provider is on 1.1.4322 just as I am. And, other serverside stuff is working fine. That leads me to believe they have the ASP_NET client,
otherwise none of our asp.net / codebehinds would work. It just appears
that the clientside authentication (from those validators) isn't working.

We're going to try the page.IsValid, sounds like a good idea! But I dislike though applying bandaids like this w/o knowing why its not working in the
1st place.

TY for the help -- much appreciated!,
Little Daddy Junior

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Martyn Fewtrell | last post by:
Dear All I have a Windows 2003 Server with IIS6 where the validation controls on ASP.Net pages no longer work. I believe it to be specific to the server as if I create an ASP.Net page on the...
4
by: Craig HB | last post by:
I have build a web form using asp.net validation controls to make sure the users fill in the required fields and enter a valid email address for one of the fields. This works when I test it on...
2
by: AnandaSim | last post by:
Hi All, A really puzzling phenomenon. I develop to a Windows 2000 development server in VS 2003. I use Copy Project to deploy the project to a production server. The webpage I'm having...
5
by: Kyle | last post by:
On my Development System, all the page validation controls work fine (WinXP Pro + SP2, VS.NET 2003, .NET v1.1.4322). On the Production System, none of the page validation controls are working...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.