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

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
 
W

William F. Robertson, Jr.

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
 
R

Russell

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
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,066
Latest member
VytoKetoReviews

Latest Threads

Top