Solved

Javascript not working NOW in Windows Server 2008 / IIS 7.0

Posted on 2009-05-18
2
1,789 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
2 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 50 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

777 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