C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Error : "Unable to find script library '/aspnet_client/system-web/1-1-4322/webvalidation.js'" ...


Posted Date: 12 Sep 2006    Resource Type: Articles    Category: Web Applications
Author: Harish RanganathanMember Level: Gold    
Rating: Points: 10



Introduction


One of the common errors that may occur when publishing your application to live server is that you may get the following error.

Unable to find script library '/aspnet_client/system-web/1-1-4322/webvalidation.js'try placing this file manually or reinstall by running 'aspnet-regiis-c'

When does this error occur?


This would occur particularly if you are using validation controls in your application.

The aspnet_client folder contains the WebUIValidation.js which is required to handle the asp.net validation controls.

If the aspnet_client folder is missing in the IIS virtual directory listing you may encounter the above error.

Resolution


to resolve this, you may need to run the following from command prompt

%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis -c

This will install the aspnet_client folder to the default virtual directory website.

Further, if you are using a sub-virtual directory you need to have this aspnet_client folder in your root directory as well.

To do this, you can manually copy the folder to your root directory.

Summary


This error can be frustrating when you move your code the production and hope this resolution helps you in solving the issue.




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Filling a Dropdownlist dynamically, with Validation Control Enforced
Previous Resource: Selected Item in Dropdownlist in an Usercontrol
Return to Discussion Resource Index
Post New Resource
Category: Web Applications


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use