473,387 Members | 1,423 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,387 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 2022
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 ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.