Unable to find script library.......

  • Thread starter Thread starter Russell
  • Start date Start date
R

Russell

I have a web page (built with ASP.NET & VB.NET) that has two textboxes. When
a button is pushed the values are compared using CompareValidator control.
At this point an error box is displayed with the following message:

"Unable to find script library '/aspnet_client/system_web/version
no/webuivalidation.js'. Try placing this file manually, or reinstall by
running 'aspnet_regiis -c'.

The file was placed in the folder of the web page and 'aspnet_regiis -c' was
run. Problem still exists and I can't find out very much about the problem
from Knowledge Base or Help. Has anyone encountered the problem and how did
you fix it?
Thanks Russ
 
Make sure the aspnet_client directory is a subdirectory of you default web
site. Or you will need to add a virtual directory pointing to the correct
location.

c:\inetpub\wwwroot\aspnet_client

is the directory where the client scripts are stored, but if you changed
your default website to say: d:\website

then the aspnet_client directory (and subdirectories) must be in the
d:\website\aspnet_client. Or add the virtual directory to the correct
location.

HTH,
bill
 
Thanks Bill, I moved the Aspnet_Client folder to my default web folder in
Windows Explorer and also in IIS, and it worked. The problem started when I
changed my default home page and didn't follow through in IIS. I need to
quit 'fiddle-farting' with these things and move on.
Thanks for the reminder
Russ
 
Back
Top