By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,657 Members | 1,094 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,657 IT Pros & Developers. It's quick & easy.

Required Validation Error in IE.

P: n/a
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
Share this Question
Share on Google+
7 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.