Click here to Skip to main content
15,918,596 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hello,

I have written javascript code in my aspx source page.When running on visual studio the javascript works fine, but when i run my project on IIS the javascript does not work. Please help me.

Thankyou all and code project.
GAURI
PUNE
Posted
Comments
S.M.Naresh 23-Nov-10 23:23pm    
Make sure you check the run scripts checkbox in IIS during configuration of your website.
Nelek 2-Jun-14 3:57am    
Have you tried to debug? Where is it failing? How does your code looks like?
_Asif_ 2-Jun-14 5:40am    
share your JavaScript code
phil.o 2-Jun-14 6:20am    
'Does not work' is not a valid issue description.
Moreover, javascript code is interpreted and executed on the client machine, not on the server.

JavaScript has nothing to do with IIS. It is a client side technology and runs on your browser.

I guess there would be some script error. It's difficult to tell you the exact cause without seeing your code.
 
Share this answer
 
I think you have to add your site to the trusted site list on IE
 
Share this answer
 
check out the solution here :
iis-7-5-no-images-css-js-showing[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900