Solved

asp.net form validation stopped working

Posted on 2013-02-05
7
327 Views
Last Modified: 2013-02-14
My website runs on .net 1.1. I have a bunch of forms where I included the asp.net required field validations on several fields. The development server is working fine but the validations stopped working on the production server after Windows security updates were run by our network administrator.
I am pretty sure the windows updates did something because nothing has changed in the application and the development server is perfectly fine. I have checked the IIS and the ASP.NET version hasn't changed. It is still 1.1. What else can I check that has changed?

Please advise. What can I do to fix this?
0
Comment
Question by:Angel02
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 23

Expert Comment

by:Roopesh Reddy
ID: 38858250
Hi,

Did you tried in different browsers? Make sure JavaScript is enabled in the browsers which you are checking!

Hope it helps u...
0
 
LVL 38

Accepted Solution

by:
Tom Beck earned 250 total points
ID: 38859388
I have checked the IIS and the ASP.NET version hasn't changed.
What about the .NET Framework version? Was that updated with Windows Updates?

I'm not an expert on this, but my understanding is that ASP.NET and the .NET Framework are two different things. Web servers run the ASP.NET version. The computer OS runs the .NET Framework version. The first time a page is requested in an application, the .NET Framework compiles the file(s) into a dll and sends the response. Then ASP.NET takes over and new requests are served from dll files. That's my understanding. So if the .NET Framework version has changed I'm thinking the app gets re-complied on first run. Depending on how the app was written, changes to the .NET Framework version can mess things up. For example, different versions of the framework will format auto-generated server control ids differently.

Hopefully my post will stir some conversation from experts who really understand this stuff.
0
 

Author Comment

by:Angel02
ID: 38865659
I checked the Registry after I saw your post and did not find .Net 1.1 in it. I don't know if the Windows Update removed it. I am trying to re-install .NET 1.1 and see what happens.
0
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 38

Expert Comment

by:Tom Beck
ID: 38865750
To check the latest version of .NET Framework look in the Windows folder --> Microsoft.NET --> Framework. The highest version listed should be the active version.
0
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 38865993
>The highest version listed should be the active version.

All versions are active as and when needed. .NET versions live side by side.
0
 

Author Comment

by:Angel02
ID: 38866014
For my information, will my application by default use the version is was compiled on or the version that is mentioned in the IIS?
0
 
LVL 23

Assisted Solution

by:Roopesh Reddy
Roopesh Reddy earned 250 total points
ID: 38873018
Hi,

It uses the version set in the IIS server! I think with the latest IIS, you have two .NET Framework available to select in the AppPool!

.NET Framework 2.0
.NET Framework 4.0


Hope it helps u...
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now