K
Kuldeep
Framework: Visual Studio 2005
Technology: ASP.NET 2.0
Language: C#.NET 2.0
Hi All,
We have developed a Web Application on Visual Studio 2005 (ASP.NET 2.0) and
deployed it on the Client's Server.
[The Client's Server had ASP.NET 1.1 all these days. This is the first
application which will be deployed in their server which is built in ASP.NET
2.0]
Apparently, we have used a lot of ASP Validation Controls in our pages all
through out our application.
On the Test Server at our end, these Validation Controls are firing
precisely without even giving any problems at all.
But on the other hand, when we deploy the application on the Client's
Server, we have observed that the Validation Controls are not functioning
appropriately.
For Example,
1. Lets have a Required-Field-Validator for a TextBox
2. On the "Submit" button-click, the Validators are not firing and there is
a post-back even if the inputs are invalid.
Please let us know if there is anything that we are missing out on.
P.S: We have already followed all these instructions given below and nothing
has been fruitful so far.
1. The solution below does not have a clear logical explanation. However,
several programmers have claimed in blogs that this solution definitely
works.
(a) Open IIS Manager
(b) Select the virtual folder of OT_VSPE application.
(c) Right click and delete the virtual folder.
(d) Now create the virtual folder for OT_VSPE application again. After
creating the virtual folder, make sure to click the ASP.Net Version tab and
select the version as 2.0.
(e) Client side validation should now start working.
2. The second solution is given below:-
(a) Open a command prompt on the development server and change to the
directory where aspnet_regiis.exe exists
(b) Type: aspnet_regiis.exe - ea (this will remove all the client-side
validation that IIS has registered for all ASP versions installed)
(c) Now type : aspnet_regiis.exe -c (this will re-install the client-side
validation)
Any leads on this would be highly appreciated.
Thanks in advance,
Kuldeep
Technology: ASP.NET 2.0
Language: C#.NET 2.0
Hi All,
We have developed a Web Application on Visual Studio 2005 (ASP.NET 2.0) and
deployed it on the Client's Server.
[The Client's Server had ASP.NET 1.1 all these days. This is the first
application which will be deployed in their server which is built in ASP.NET
2.0]
Apparently, we have used a lot of ASP Validation Controls in our pages all
through out our application.
On the Test Server at our end, these Validation Controls are firing
precisely without even giving any problems at all.
But on the other hand, when we deploy the application on the Client's
Server, we have observed that the Validation Controls are not functioning
appropriately.
For Example,
1. Lets have a Required-Field-Validator for a TextBox
2. On the "Submit" button-click, the Validators are not firing and there is
a post-back even if the inputs are invalid.
Please let us know if there is anything that we are missing out on.
P.S: We have already followed all these instructions given below and nothing
has been fruitful so far.
1. The solution below does not have a clear logical explanation. However,
several programmers have claimed in blogs that this solution definitely
works.
(a) Open IIS Manager
(b) Select the virtual folder of OT_VSPE application.
(c) Right click and delete the virtual folder.
(d) Now create the virtual folder for OT_VSPE application again. After
creating the virtual folder, make sure to click the ASP.Net Version tab and
select the version as 2.0.
(e) Client side validation should now start working.
2. The second solution is given below:-
(a) Open a command prompt on the development server and change to the
directory where aspnet_regiis.exe exists
(b) Type: aspnet_regiis.exe - ea (this will remove all the client-side
validation that IIS has registered for all ASP versions installed)
(c) Now type : aspnet_regiis.exe -c (this will re-install the client-side
validation)
Any leads on this would be highly appreciated.
Thanks in advance,
Kuldeep