MSWeb Developer

MSWeb Developer

  • NA
  • 61
  • 41.3k

JS script file path issue with hosting on IIS

May 14 2015 2:30 AM
Hello All.......

I am new in Asp.Net Web development & deployment too.........I have created sample SignalR application, it uses js  script files, these files work fines with Visual Studio 2012, but when I publish it & deploy on IIS, the script files are not being called, I am giving the path using


<script type="text/javascript" src="<%= Page.ResolveUrl("~/Scripts/jquery-1.6.4.min.js")%>"></script>


what is an ideal way to give the reference of js script file?can anybody help me to resolve this issue?

Thanks in advance


Regards

Answers (2)