Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Javascript not working NOW in Windows Server 2008 / IIS 7.0

Posted on 2009-05-18
2
Medium Priority
?
1,921 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
1 Comment
 
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

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
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 …

783 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