IIS 7.0 URL Rewrite

Aanvik
Aanvik used Ask the Experts™
on
I am using IIS 7.0 re-write and I am facing issues related to images and css links... when I change the page from www.xyz.com/LeadingRe/test.asp?id=234 to www.xyz.com/re/234 all the images and css references are gone... Shows only html page.

Can someone pls help here?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2011
Commented:
You didn't show any code but try using resolve.

<script type="text/javascript" src= "<%=ResolveUrl("~/folder/folder/css.cs")%>" ></script>

same with images.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial