472,119 Members | 1,003 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,119 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 1924
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by stuart dent via .NET 247 | last post: by
5 posts views Thread by Do | last post: by
1 post views Thread by Denis | last post: by

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.