473,372 Members | 1,240 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,372 software developers and data experts.

Required Validation Error in IE.

We're running a site that has required field validation on the login page.
It works fine on our development / test machines. However, when I upload
this site to our live server i get this error.

In IE, the validation works, but no form ever gets submited. It doesn't even
process the click event of the button. In mozilla, it works 100% (this is
weird because it's usually the oposite).

Any thoughts?
Nov 19 '05 #1
7 2021
Hello Ryan,

just use firefox.

no seriously if the form is not submiting then there is most likely a problem
in the validation. If you disable the validation controls does it work? Verify
that you can get the site working on the live enviroment with no validation
and add validation controls one-by-one until something breaks. fix it, rinse
and repeat.

-john

We're running a site that has required field validation on the login
page. It works fine on our development / test machines. However, when
I upload this site to our live server i get this error.

In IE, the validation works, but no form ever gets submited. It
doesn't even process the click event of the button. In mozilla, it
works 100% (this is weird because it's usually the oposite).

Any thoughts?

Nov 19 '05 #2
Haha, i wish I could just use Firefox.

It works fine with zero validation. I tested each control seperatly, and it
doesn't work at all. It catches controls with the reg-exp's the validation
has, but it won't submit. I think the value is always getting returned as
false to the client.

I think it might have something to do with the way I copied the files over.

Usually when you install .net it puts the validation JS files in the:
Inetpub/wwwroot/aspnet_client/.. folder

I just copied that folder, and moved it to the live server. I'm wondering if
it has something to do with that.

Any thoughts?

"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in message
news:22*********************@msnews.microsoft.com. ..
Hello Ryan,

just use firefox.

no seriously if the form is not submiting then there is most likely a
problem in the validation. If you disable the validation controls does it
work? Verify that you can get the site working on the live enviroment with
no validation and add validation controls one-by-one until something
breaks. fix it, rinse and repeat.

-john

We're running a site that has required field validation on the login
page. It works fine on our development / test machines. However, when
I upload this site to our live server i get this error.

In IE, the validation works, but no form ever gets submited. It
doesn't even process the click event of the button. In mozilla, it
works 100% (this is weird because it's usually the oposite).

Any thoughts?


Nov 19 '05 #3
Hello Ryan,

are you saying that you didnt install the framework on the live server?
Haha, i wish I could just use Firefox.

It works fine with zero validation. I tested each control seperatly,
and it doesn't work at all. It catches controls with the reg-exp's the
validation has, but it won't submit. I think the value is always
getting returned as false to the client.

I think it might have something to do with the way I copied the files
over.

Usually when you install .net it puts the validation JS files in the:
Inetpub/wwwroot/aspnet_client/.. folder

I just copied that folder, and moved it to the live server. I'm
wondering if it has something to do with that.

Any thoughts?

"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in
message news:22*********************@msnews.microsoft.com. ..
Hello Ryan,

just use firefox.

no seriously if the form is not submiting then there is most likely a
problem in the validation. If you disable the validation controls
does it work? Verify that you can get the site working on the live
enviroment with no validation and add validation controls one-by-one
until something breaks. fix it, rinse and repeat.

-john
We're running a site that has required field validation on the login
page. It works fine on our development / test machines. However,
when I upload this site to our live server i get this error.

In IE, the validation works, but no form ever gets submited. It
doesn't even process the click event of the button. In mozilla, it
works 100% (this is weird because it's usually the oposite).

Any thoughts?

Nov 19 '05 #4
Haha. Of course the frame work is installed. we have over 200 sites running
on this server.
What I did was take the folder containing the JS for the .NET validation
controls and just copy it into the website folder.

This is what it's doing to us:
Demo server / Test Server:
IE - Works
Mozilla- Works

Live Server
IE- doesn't work
Mozilla - Works

What's happening is when any button / form element that causes the form to
submit is clicked, it doesn't submit (ie only). It's as if the validation is
always returning false. In mozilla, it works perfectly.

So I don't really know what the issue is. We're disabeling the Validation
for now, but will need it up later.
/RT
Caffinated Code Monkey

"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in message
news:22*********************@msnews.microsoft.com. ..
Hello Ryan,

are you saying that you didnt install the framework on the live server?
Haha, i wish I could just use Firefox.

It works fine with zero validation. I tested each control seperatly,
and it doesn't work at all. It catches controls with the reg-exp's the
validation has, but it won't submit. I think the value is always
getting returned as false to the client.

I think it might have something to do with the way I copied the files
over.

Usually when you install .net it puts the validation JS files in the:
Inetpub/wwwroot/aspnet_client/.. folder

I just copied that folder, and moved it to the live server. I'm
wondering if it has something to do with that.

Any thoughts?

"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in
message news:22*********************@msnews.microsoft.com. ..
Hello Ryan,

just use firefox.

no seriously if the form is not submiting then there is most likely a
problem in the validation. If you disable the validation controls
does it work? Verify that you can get the site working on the live
enviroment with no validation and add validation controls one-by-one
until something breaks. fix it, rinse and repeat.

-john

We're running a site that has required field validation on the login
page. It works fine on our development / test machines. However,
when I upload this site to our live server i get this error.

In IE, the validation works, but no form ever gets submited. It
doesn't even process the click event of the button. In mozilla, it
works 100% (this is weird because it's usually the oposite).

Any thoughts?


Nov 19 '05 #5
Hello Ryan,
to be honest i cannot see why validation would work on one machine and not
on another just by deploying the project. The fact that on mozilla it works
doesnt say anything because by default validators only work clientside on
IE. Check this project on yet another server.
if it works, then there is something wrong on your live configuration. if
it doesnt then you are not deploying correctly..

i dont know what else you could do, but double (triple) check everything.

good luck,
john
Haha. Of course the frame work is installed. we have over 200 sites
running
on this server.
What I did was take the folder containing the JS for the .NET
validation
controls and just copy it into the website folder.
This is what it's doing to us:
Demo server / Test Server:
IE - Works
Mozilla- Works
Live Server
IE- doesn't work
Mozilla - Works
What's happening is when any button / form element that causes the
form to submit is clicked, it doesn't submit (ie only). It's as if the
validation is always returning false. In mozilla, it works perfectly.

So I don't really know what the issue is. We're disabeling the
Validation for now, but will need it up later.

/RT
Caffinated Code Monkey
"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in
message news:22*********************@msnews.microsoft.com. ..
Hello Ryan,

are you saying that you didnt install the framework on the live
server?
Haha, i wish I could just use Firefox.

It works fine with zero validation. I tested each control seperatly,
and it doesn't work at all. It catches controls with the reg-exp's
the validation has, but it won't submit. I think the value is always
getting returned as false to the client.

I think it might have something to do with the way I copied the
files over.

Usually when you install .net it puts the validation JS files in
the: Inetpub/wwwroot/aspnet_client/.. folder

I just copied that folder, and moved it to the live server. I'm
wondering if it has something to do with that.

Any thoughts?

"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in
message news:22*********************@msnews.microsoft.com. ..

Hello Ryan,

just use firefox.

no seriously if the form is not submiting then there is most likely
a problem in the validation. If you disable the validation controls
does it work? Verify that you can get the site working on the live
enviroment with no validation and add validation controls
one-by-one until something breaks. fix it, rinse and repeat.

-john

> We're running a site that has required field validation on the
> login page. It works fine on our development / test machines.
> However, when I upload this site to our live server i get this
> error.
>
> In IE, the validation works, but no form ever gets submited. It
> doesn't even process the click event of the button. In mozilla, it
> works 100% (this is weird because it's usually the oposite).
>
> Any thoughts?
>

Nov 19 '05 #6
Please see this thread:
http://www.asp.net/Forums/ShowPost.a...&PostID=739537

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in message
news:24*********************@msnews.microsoft.com. ..
Hello Ryan,
to be honest i cannot see why validation would work on one machine and not
on another just by deploying the project. The fact that on mozilla it
works doesnt say anything because by default validators only work
clientside on IE. Check this project on yet another server.
if it works, then there is something wrong on your live configuration. if
it doesnt then you are not deploying correctly..

i dont know what else you could do, but double (triple) check everything.

good luck,
john
Haha. Of course the frame work is installed. we have over 200 sites
running
on this server.
What I did was take the folder containing the JS for the .NET
validation
controls and just copy it into the website folder.
This is what it's doing to us:
Demo server / Test Server:
IE - Works
Mozilla- Works
Live Server
IE- doesn't work
Mozilla - Works
What's happening is when any button / form element that causes the
form to submit is clicked, it doesn't submit (ie only). It's as if the
validation is always returning false. In mozilla, it works perfectly.

So I don't really know what the issue is. We're disabeling the
Validation for now, but will need it up later.

/RT
Caffinated Code Monkey
"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in
message news:22*********************@msnews.microsoft.com. ..
Hello Ryan,

are you saying that you didnt install the framework on the live
server?

Haha, i wish I could just use Firefox.

It works fine with zero validation. I tested each control seperatly,
and it doesn't work at all. It catches controls with the reg-exp's
the validation has, but it won't submit. I think the value is always
getting returned as false to the client.

I think it might have something to do with the way I copied the
files over.

Usually when you install .net it puts the validation JS files in
the: Inetpub/wwwroot/aspnet_client/.. folder

I just copied that folder, and moved it to the live server. I'm
wondering if it has something to do with that.

Any thoughts?

"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in
message news:22*********************@msnews.microsoft.com. ..

> Hello Ryan,
>
> just use firefox.
>
> no seriously if the form is not submiting then there is most likely
> a problem in the validation. If you disable the validation controls
> does it work? Verify that you can get the site working on the live
> enviroment with no validation and add validation controls
> one-by-one until something breaks. fix it, rinse and repeat.
>
> -john
>
>> We're running a site that has required field validation on the
>> login page. It works fine on our development / test machines.
>> However, when I upload this site to our live server i get this
>> error.
>>
>> In IE, the validation works, but no form ever gets submited. It
>> doesn't even process the click event of the button. In mozilla, it
>> works 100% (this is weird because it's usually the oposite).
>>
>> Any thoughts?
>>


Nov 19 '05 #7
Now that was the answer I needed. Thank you sir!

/RT
"Peter Blum" <PL****@Blum.info> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
Please see this thread:
http://www.asp.net/Forums/ShowPost.a...&PostID=739537

--- Peter Blum
www.PeterBlum.com
Email: PL****@PeterBlum.com
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx

"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in message
news:24*********************@msnews.microsoft.com. ..
Hello Ryan,
to be honest i cannot see why validation would work on one machine and
not on another just by deploying the project. The fact that on mozilla it
works doesnt say anything because by default validators only work
clientside on IE. Check this project on yet another server.
if it works, then there is something wrong on your live configuration. if
it doesnt then you are not deploying correctly..

i dont know what else you could do, but double (triple) check everything.

good luck,
john
Haha. Of course the frame work is installed. we have over 200 sites
running
on this server.
What I did was take the folder containing the JS for the .NET
validation
controls and just copy it into the website folder.
This is what it's doing to us:
Demo server / Test Server:
IE - Works
Mozilla- Works
Live Server
IE- doesn't work
Mozilla - Works
What's happening is when any button / form element that causes the
form to submit is clicked, it doesn't submit (ie only). It's as if the
validation is always returning false. In mozilla, it works perfectly.

So I don't really know what the issue is. We're disabeling the
Validation for now, but will need it up later.

/RT
Caffinated Code Monkey
"john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in
message news:22*********************@msnews.microsoft.com. ..

Hello Ryan,

are you saying that you didnt install the framework on the live
server?

> Haha, i wish I could just use Firefox.
>
> It works fine with zero validation. I tested each control seperatly,
> and it doesn't work at all. It catches controls with the reg-exp's
> the validation has, but it won't submit. I think the value is always
> getting returned as false to the client.
>
> I think it might have something to do with the way I copied the
> files over.
>
> Usually when you install .net it puts the validation JS files in
> the: Inetpub/wwwroot/aspnet_client/.. folder
>
> I just copied that folder, and moved it to the live server. I'm
> wondering if it has something to do with that.
>
> Any thoughts?
>
> "john morales" <jmorales@NO_SPAM-gmail-R3M0VE_TH1S.com> wrote in
> message news:22*********************@msnews.microsoft.com. ..
>
>> Hello Ryan,
>>
>> just use firefox.
>>
>> no seriously if the form is not submiting then there is most likely
>> a problem in the validation. If you disable the validation controls
>> does it work? Verify that you can get the site working on the live
>> enviroment with no validation and add validation controls
>> one-by-one until something breaks. fix it, rinse and repeat.
>>
>> -john
>>
>>> We're running a site that has required field validation on the
>>> login page. It works fine on our development / test machines.
>>> However, when I upload this site to our live server i get this
>>> error.
>>>
>>> In IE, the validation works, but no form ever gets submited. It
>>> doesn't even process the click event of the button. In mozilla, it
>>> works 100% (this is weird because it's usually the oposite).
>>>
>>> Any thoughts?
>>>



Nov 19 '05 #8

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

Similar topics

1
by: stuart dent via .NET 247 | last post by:
XML validation error. Help required If anyone can help me, thankyou, thankyou... When I run this code code I get this error: The data at the root level is invalid. Line 1, position 39. I...
3
by: Lapchien | last post by:
Debug stops at the 3rd line of this code (Set rs = db.openrecordset("IMPORT") why? Private Sub Command118_Click() Dim rs As DAO.Recordset Set rs = db.openrecordset("IMPORT") With rs...
3
by: Rick | last post by:
I have an interesting problem when I run the following code in Netscape (7.02) vs. IE. This page works great in IE and all my controls bring up the validation summary dialog box if the required...
5
by: Do | last post by:
Hi, Has anybody run into problems with Page.IsValid? My errors show up when the fields aren't filled correctly, but my processing continues even if the page is invalid. I leave name and...
6
by: Paul | last post by:
I am trying to setup a field validator and tried using the control to validate set to a dropdown list box but did not seem to work. Is there anyway to set this up or do you need to use client side...
2
by: Asha | last post by:
greetings i want to use the required field validator control to validate a checkbox. here is the code implemented. <asp:RequiredFieldValidator ID="rfv" ControlToValidate="chkDistiAudit"...
2
by: pmud | last post by:
Hi, I have an ASP.Net web page . The page was working fine until I added a required field field validator. My page has a link button which takes the user to another page, a submit button which...
2
by: Alan Silver | last post by:
Hello, I'm getting an odd validation error from VWD. As I understand it, an opening ASP.NET for tag is supposed to look like... <form runat="server"> with an optional ID attribute. VWD...
1
by: Denis | last post by:
Hi I have a field called firstname in a table called table1. I have it set as required in a form. How do I display a customized error message rather than the standard one given by Access below ...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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...

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.