[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

location of WebUIValidation.js

Posted on 2004-04-29
3
Medium Priority
?
379 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 80 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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

649 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