Solved

location of WebUIValidation.js

Posted on 2004-04-29
3
368 Views
Last Modified: 2008-02-01
In .net, there is a script file - WebUIValidation.js - that is used for form validation at client side. The location of this file is specified in MACHINE.CONFIG. In my case, the value of the path is set to

 <webControls
            clientScriptsLocation="/aspnet_client/{0}/{1}/"

In my case, my web application is not residing in the default wwwroot folder. One solution I have tested is to copy the entire ASP_NET folder to my web folder, but this mean in the future I will have a lot of this ASP_NET folders for various web application in the server, which I DO NOT want.

Is there a way to specify a ABSOLUTE path rather than a relative path for this setting, so that I can keep just one copy of ASP_NET folder as specified in MACHINE.CONFIG.

Thank



0
Comment
Question by:shawaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
bradleyland earned 20 total points
ID: 10964351
You can always create a virtual directory in IIS. Open the IIS control panel, right click the web site you want to add the aspnet_client folder too, choose New, Virtual Directory..., for alias type aspnet_client, then browse to the location of the aspnet_client folder in your wwwroot foler. Now you'll only have one copy on your machine, but you'll be able to access the contents in any website where you setup the virtual directory.
0

Featured Post

Major Incident Management Communications

Major incidents and IT service outages cost companies millions. Often the solution to minimizing damage is automated communication. Find out more in our Major Incident Management Communications infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
push Book Today button to right 10 102
Bootstrap list items overlap 3 55
.CSS HTML Help 3 57
type of website 13 51
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
This video teaches users how to migrate an existing Wordpress website to a new domain.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question