unable to find script library '/aspnet_client/system_web/1_1_4322/WebUIValidation.js'

M

Matthew Louden

I created an ASP.NET web application. I added a TextBox and a
RequiredFieldValidator control, and set the ControlToValidate property of
RequiredFieldValidator control to be TextBox1. After I built and run the
application, it pops up an error dialog as follows:

unable to find script library
'/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this
file manually, or reinstall by running 'aspnet_regiis -c'

any ideas?? Thanks!
 
A

AW

You might have this error because you changed the root directory for your
virtual folders. When installing, the validation scripts are placed in
C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322, so if you then change
the base directory of your web sites you get this error.
 
D

Dave

I have also been geting this error.

The WebUIValidation.js is there, but I ran 'aspnet_regiis -c' anyway.
It didn't fix the problem.

In my case I only get this error ocassionally.
Most of the time I don't, but sometimes I do.

Has anyone found a solution for this when 'aspnet_regiis -c' doesn't fix it?

Dave

H Branyan said:
Run 'aspnet_regiis -c' in the command line.


--
[[((hillarie))]]

To reply by email, remove ".SPAMBLOCK" from email address



Matthew Louden said:
I created an ASP.NET web application. I added a TextBox and a
RequiredFieldValidator control, and set the ControlToValidate property of
RequiredFieldValidator control to be TextBox1. After I built and run the
application, it pops up an error dialog as follows:

unable to find script library
'/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this
file manually, or reinstall by running 'aspnet_regiis -c'

any ideas?? Thanks!
 
S

Shrage Smilowitz

This problem happens anytime you the system cannot access that folder Either
you don’t have permission Or its is not in your root directory

Note: there is a lot of versions of that folder System_web/1_1_4322 is only
one of the versions. If part of your site is working that’s because its
looking for a version you have in the root directory. Check it out closely

Dave said:
I have also been geting this error.

The WebUIValidation.js is there, but I ran 'aspnet_regiis -c' anyway.
It didn't fix the problem.

In my case I only get this error ocassionally.
Most of the time I don't, but sometimes I do.

Has anyone found a solution for this when 'aspnet_regiis -c' doesn't fix it?

Dave

H Branyan said:
Run 'aspnet_regiis -c' in the command line.


--
[[((hillarie))]]

To reply by email, remove ".SPAMBLOCK" from email address



Matthew Louden said:
I created an ASP.NET web application. I added a TextBox and a
RequiredFieldValidator control, and set the ControlToValidate property of
RequiredFieldValidator control to be TextBox1. After I built and run the
application, it pops up an error dialog as follows:

unable to find script library
'/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this
file manually, or reinstall by running 'aspnet_regiis -c'

any ideas?? Thanks!
 
D

Dave56

It's not that part of my site is working and part is not, but a given page
will sometimes show that error and simply refreshing will make it go away.

When it happens (which is not too often) it usually happens on the first
access to the page.

Does this happen for others, or is it just me (again).

Dave

Shrage Smilowitz said:
This problem happens anytime you the system cannot access that folder Either
you don't have permission Or its is not in your root directory

Note: there is a lot of versions of that folder System_web/1_1_4322 is only
one of the versions. If part of your site is working that's because its
looking for a version you have in the root directory. Check it out closely

Dave said:
I have also been geting this error.

The WebUIValidation.js is there, but I ran 'aspnet_regiis -c' anyway.
It didn't fix the problem.

In my case I only get this error ocassionally.
Most of the time I don't, but sometimes I do.

Has anyone found a solution for this when 'aspnet_regiis -c' doesn't fix it?

Dave

H Branyan said:
Run 'aspnet_regiis -c' in the command line.


--
[[((hillarie))]]

To reply by email, remove ".SPAMBLOCK" from email address



I created an ASP.NET web application. I added a TextBox and a
RequiredFieldValidator control, and set the ControlToValidate
property
of
RequiredFieldValidator control to be TextBox1. After I built and run the
application, it pops up an error dialog as follows:

unable to find script library
'/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this
file manually, or reinstall by running 'aspnet_regiis -c'

any ideas?? Thanks!
 
Joined
Jun 2, 2006
Messages
1
Reaction score
0
Server.Transfer may be the cause

Hi ,

Error: Unable to find script library '/aspnet_client/system_web/1_1_4322/WebUIValidation.js'. Try placing this file manually, or reinstall by running 'aspnet_regiis -c'.

I am facing a similar issue and yes it happens on the first time I access the page. This behaviour has start after changed some implementation in my previous page which calls this specific page.

Previous I was call the target (page which has the issue) page passing the page name and required parameter (request.querystring) in a asp:hyperlink.

I have recently changed to an asp:ImageButton click event where I use server.transfer method to call the page (to aviod stuff passing through URL), secondly I am setting the preserveForm argument of Server.Transfer to False (I really doesn't matter the problem still occurs if i even not set this parameter).

Can anybody help me please! I have tried manything nothing works
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top