Solved

asp.net form validation stopped working

Posted on 2013-02-05
7
332 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Call an IPL program from vb.net and pass in a file location parmeter 2 20
performance issue in asp web 5 31
VB.NET 1 22
Convert datetime to time string 10 21
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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