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

Problem with validation controls in live environment

In my development environment, the validation controls work fine.
(Incidentally, i am using almost all of them). However, when i deploy my
ASP.NET application to the live production environment, using VS .NET's "Copy
Project" feature, which copys only the files necessary to run on another
machine, the validation controls simply disappear.

For example, when i click SUBMIT to submit a form that's empty, the
validation controls don't do anything, and the form is submitted.

What am i doing wrong, that causes the validation controls to not work when
copying to the live production environment?
Nov 19 '05 #1
6 1368
Charlie,

What version of ASP.NET and service pack are you using on the live server?
Also, what version of windows is the live server?

Ian Suttle
http://www.IanSuttle.com

"charliewest" wrote:
In my development environment, the validation controls work fine.
(Incidentally, i am using almost all of them). However, when i deploy my
ASP.NET application to the live production environment, using VS .NET's "Copy
Project" feature, which copys only the files necessary to run on another
machine, the validation controls simply disappear.

For example, when i click SUBMIT to submit a form that's empty, the
validation controls don't do anything, and the form is submitted.

What am i doing wrong, that causes the validation controls to not work when
copying to the live production environment?

Nov 19 '05 #2
Ian,

i'm sorry to ask, but how do i find this out? My machine is a Windows 2003
Server and i believe it came w/ .NET 1.1 installed.

Thanks,

"Ian Suttle" wrote:
Charlie,

What version of ASP.NET and service pack are you using on the live server?
Also, what version of windows is the live server?

Ian Suttle
http://www.IanSuttle.com

"charliewest" wrote:
In my development environment, the validation controls work fine.
(Incidentally, i am using almost all of them). However, when i deploy my
ASP.NET application to the live production environment, using VS .NET's "Copy
Project" feature, which copys only the files necessary to run on another
machine, the validation controls simply disappear.

For example, when i click SUBMIT to submit a form that's empty, the
validation controls don't do anything, and the form is submitted.

What am i doing wrong, that causes the validation controls to not work when
copying to the live production environment?

Nov 19 '05 #3
Well, double-check that ASP.NET's installed. The validation controls rely
upon a seperate directory on the webserver for their supplemental files.
On my machine that's here:

C:\Inetpub\wwwroot\aspnet_client

The absence of that directory *might* explain the problem.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Ian,

i'm sorry to ask, but how do i find this out? My machine is a Windows
2003 Server and i believe it came w/ .NET 1.1 installed.

Thanks,

"Ian Suttle" wrote:
Charlie,

What version of ASP.NET and service pack are you using on the live
server? Also, what version of windows is the live server?

Ian Suttle
http://www.IanSuttle.com
"charliewest" wrote:
In my development environment, the validation controls work fine.
(Incidentally, i am using almost all of them). However, when i
deploy my ASP.NET application to the live production environment,
using VS .NET's "Copy Project" feature, which copys only the files
necessary to run on another machine, the validation controls simply
disappear.

For example, when i click SUBMIT to submit a form that's empty, the
validation controls don't do anything, and the form is submitted.

What am i doing wrong, that causes the validation controls to not
work when copying to the live production environment?


Nov 19 '05 #4
Excuse the lapse. Thanks.

"Brock Allen" wrote:
Well, double-check that ASP.NET's installed. The validation controls rely
upon a seperate directory on the webserver for their supplemental files.
On my machine that's here:

C:\Inetpub\wwwroot\aspnet_client

The absence of that directory *might* explain the problem.

-Brock
DevelopMentor
http://staff.develop.com/ballen
Ian,

i'm sorry to ask, but how do i find this out? My machine is a Windows
2003 Server and i believe it came w/ .NET 1.1 installed.

Thanks,

"Ian Suttle" wrote:
Charlie,

What version of ASP.NET and service pack are you using on the live
server? Also, what version of windows is the live server?

Ian Suttle
http://www.IanSuttle.com
"charliewest" wrote:

In my development environment, the validation controls work fine.
(Incidentally, i am using almost all of them). However, when i
deploy my ASP.NET application to the live production environment,
using VS .NET's "Copy Project" feature, which copys only the files
necessary to run on another machine, the validation controls simply
disappear.

For example, when i click SUBMIT to submit a form that's empty, the
validation controls don't do anything, and the form is submitted.

What am i doing wrong, that causes the validation controls to not
work when copying to the live production environment?


Nov 19 '05 #5
>> The absence of that directory *might* explain the problem.
Excuse the lapse. Thanks.


Oh, that was it? Cool :)

-Brock
DevelopMentor
http://staff.develop.com/ballen


Nov 19 '05 #6
Also you can run this command from the Visual Studio command prompt:
aspnet_regiis -i this command reinstalls all the JavaScript files back
on, which are responsible for the validation among other things.

Kareem Mostafa

Brock Allen wrote:
The absence of that directory *might* explain the problem.

Excuse the lapse. Thanks.


Oh, that was it? Cool :)

-Brock
DevelopMentor
http://staff.develop.com/ballen


Nov 19 '05 #7

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

Similar topics

1
by: Rahul Chatterjee | last post by:
Hello all I have a web page which has 3 frames. The top and the left navigation frames are on a separate domain. The right display frame initially starts on the same domain as the other two...
3
by: Gareth | last post by:
Hi, I've just published a test web site on the internet with a simple form and some client side validation controls. On my development PC if I click submit without entering any data the validation...
2
by: Barbara Alderton | last post by:
I setup some standard Required Field Validation controls and one Custom validation control on an ASP.NET page (within a user control) to validate text entry. I also setup a Summary Control to post...
3
by: john morales | last post by:
Hi guys, I have a problem and i know there must be a solution for this as it is such a basic common practice in asp.net development. Scenario: i have many webforms in a site, most with two...
5
by: Tina | last post by:
the Edit, Update, Cancel, and Delete buttons in my datagrid are causing validation elsewhere on the page. I want to specify that these buttons should not cause validation but they have no design...
2
by: Tim Frawley | last post by:
Source code attached indicates my problem with validation and a button bar save button. Fill the Textbox with some text then tab off the control. The message box will display the text in the...
2
by: robin9876 | last post by:
On an asp.net v1.1 page after saving form information I have a page redirect using response.redirect("aDifferentPage.aspx") This works correctly in development environment connecting from a...
2
by: | last post by:
I used some validation controls in my page. It works well with IE6.0 But when i try to open my page with mozilla validation controls dont work ? How can i fix it ?
5
by: Kuldeep | last post by:
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...
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: 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: 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...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.