deployment problems

  • Thread starter Thread starter tatemononai
  • Start date Start date
T

tatemononai

I'm using Project/Copy Files in VS to deploy my asp.net web page. But
I'm having some problems after stuff is running on the server. Several
of my Validator Controls aren't working. When I do a view/source on
the page, the Java script references http://localhost even though it's
now on the web. How do I fix this?
 
Machine.config defines the location used to get script files. It defaults to
this:
<webControls clientScriptsLocation="/aspnet_client/{0}/{1}/" />
I suspect its been changed on the destination server to include
"http://localhost".

Also, let's confirm that you are looking at the correct javascript for
validation. It is a <script> tag that refers to WebUIValidation.js. If its
another script file, machine.config won't matter and you have to find out
how to get that <script> tag corrected.


--- Peter Blum
www.PeterBlum.com
Email: (e-mail address removed)
Creator of "Professional Validation And More" at
http://www.peterblum.com/vam/home.aspx
 
Back
Top