Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!
all groups > iis security > february 2009 >

iis security : SmartNav.js displayed in HttpWatch Basic as Text/Html instead of Application/x-javasacript


Elaine
2/3/2009 12:44:53 AM
Hi All,

Is there anybody who can give me an idea about SmartNav.js used in aspnet? I am currently working on an issue regarding our resource gallery in Production environment. When we access the Edit site then go to our Resource manager, then chose a subfolder, a new window will pop up (which contains the items of the subfolder). But i have a problem of a security warning even before the page will be completely loaded followed by a javascript error after the page is completely loaded.

I conducted so many investigations and made many speculations but does not answers anything until i did a HTTP watch on the concerned page then get the name SmartNav.js.

The odd thing about this, Is that our resource gallery sub folder page is loading properly in all our testing environments except in Prod. When i tried comparing the HTTP watch result for each environment. I found out that:

SmartNav.js (in other environments) has a MIME type of application/x-javascript while SmartNav.js in Prod has a Text/html type. I laso tried accessing the file and page (SmartNav.htm) but it returned Error page for Prod but not in the other environments

Can you give me any idea about this. Thanks!


From http://www.developmentnow.com/g/91_2004_3_8_0_0/inetserver-iis-security.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button