Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Javascript not working NOW in Windows Server 2008 / IIS 7.0

Posted on 2009-05-18
2
Medium Priority
?
1,870 Views
Last Modified: 2012-05-07
I have an web application hosted under Windows Server 2008/IIS 7.0, few days back javascript used to work on a webpage control but now it has stopped working. Javascript still works if I run the same application and in the same environment (server 2008/IIS 7.0), when running the application in debug mode. But as soon as I publish the site, it doesn't work. I tried to put a break point (debugger;), but it doesn't come over there. Any idea why the javascript works when running the application in Visual Studio 2008 debug mode and DOES NOT run when the same code is published. I have attached code also.

Thanks,
Ammar
0
Comment
Question by:ammarg110
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 200 total points
ID: 24421680
Hi,

javasript is a client side code - if it doesn't work, then there is something preventing the client to access the script.  How is the javascript implemented? probably something like:

<javacript src="path/script.js"/>

in which case make sure that 'path' exists on the server, and that 'script.js' exists in that path.

Cheers!
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question