My setup involves a local IIS server pointing to a virtual workspace at c:\projects
Within my c:\projects directory, I have the following folder structure:
Game
src
asp
test.asp
jquery
jquery.min.js
The test.asp file is as follows:
<% @LANGUAGE = JScript %>
<script src="<%=ResolveClientUrl('../../jquery/jquery.min.js') %>" type="text/javascript" language="jscript" runat="server"></script>
Response.Write("Hello World");
When I make an http request to the test.asp file including a client-side javascript file, I receive an Internal 500 error. However, if I remove the jquery script tag from test.asp, I am able to see the "Hello World" response on my client-side javascript. It seems like the 500 error is due to either the relative path or the usage of jquery with runat="server". Can someone please help me understand what I might be doing wrong?
Thank you!