473,405 Members | 2,167 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,405 software developers and data experts.

Validation controls not working

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 the development server, but when I upload the
files to the production server, the validation controls don't do anything.
The production server has the .net framework, but not visual studio installed

Any ideas ? Thanks,
Craig
Nov 18 '05 #1
4 1417
I Have had the same problem on Windows 2003. We had to re-install the .NET
Framework from scratch to get the controls working as was unable to find a
suitable answer to the problem.

"Craig HB" wrote:
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 the development server, but when I upload the
files to the production server, the validation controls don't do anything.
The production server has the .net framework, but not visual studio installed

Any ideas ? Thanks,
Craig

Nov 18 '05 #2
Hi Craig,
Seems like the validation scripts are not correctly installed on the
production server. Try running aspnet_regiis -c and check.
Also check if the .net framework version is the same on both the servers or
not. (This might not always cause a problem though.)
HTH
srini

"Craig HB" wrote:
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.


Nov 18 '05 #3
There can be two reasons for this.
1. If other controls like textbox is not displaying in the screen, then .NET
Framework is not installed properly. For more details refer this link,
http://www.extremeexperts.com/Net/FA...Appearing.aspx

2. Your validation scripts are not installed properly in IIS root directory.
To register client script again, use the following syntax
aspnet_regiis -c (to get the client-side scripts library added to your Web)
--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"Craig HB" <Cr*****@discussions.microsoft.com> wrote in message
news:62**********************************@microsof t.com...
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 the development server, but when I upload the
files to the production server, the validation controls don't do anything.
The production server has the .net framework, but not visual studio installed
Any ideas ? Thanks,
Craig

Nov 18 '05 #4
Saravana , srini

you are both right : the validation scripts are not correctly installed. I
ran "aspnet_regiis -c" and it worked.

Thanks for the help,
Craig
Nov 18 '05 #5

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

Similar topics

4
by: earwicker | last post by:
I recently deployed a web application which contains a user registration form with the usual fields: name, address, email, password, etc. Each of the TextBoxes uses a validation control to verify...
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...
2
by: GD | last post by:
Hi, There are serveral validation controls in our intranet application. The controls work fine on all of our local machines that have Windows XP professional operating systems on them. After...
1
by: Simon | last post by:
Hi, Has anyone experienced the problem where validation controls stop a previously working page from submitting. Sometimes, when I move between my work machine and my home machine validation...
0
by: dhurwitz | last post by:
Hi, In my ASP.NET 2.0 web app, I have a user control, ucBinEdges, with several text boxes. The user control has several validation controls validating the Text of these text boxes -...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.