IIS refuses to serve one specific file through this one specific virtual directory

Other javascript files with the same extension in the same folder work fine. Other virtual directories with the same file work fine.
Any help? Detailed error message is at the bottom.
Problem Details:
Only this combination of virtual directory and file fails http://localhost/jslib/vin.js 
Accessing other javascript files in the same location works. i.e. http://localhost/jslib/xvin.js returns fine.
Accessing the same javascript file in the same file location but using a different virtual directory works. i.e. http://localhost/jslibtest/vin.js returns fine.
I checked the security of the file and the folder and gave "Everyone" and the anonymous authentication account set up for the site read rights.
Changing the name of the file (and nothing else) works.
Running Windows Server 2012 R2 Datacenter
Web site application pool is running as "LocalSystem", Classic pipeline, .NET v4.0
Things I've tried:
Removing and re-creating the virtual directory with default settings (through IIS Manager)
IISReset
Setting the handler mappings for the virtual directory to "revert to parent" (file works fine when served from the root). Yes, the static file handler is defined.
Setting the MIME types of the virtual directory to "revert to parent" (file works fine when served from the root). Yes, .js is listed as a MIME type application/javascript/
Deleting the file and re-creating it from scratch
Creating a blank file with the same name
Reviewed the web.config file for the site: no mention of either the file or the virtual directory
Trying to access the file using http://localhost/jslib/vin.js reports:
HTTP Error 404.4 - Not Found
The resource you are looking for does not have a handler associated with it.
Detailed Error Information:
Module   IIS Web Core
Notification   MapRequestHandler
Handler   Not yet determined
Error Code   0x80070002
Requested URL   http://localhost:80/JSLib/VIN.js
Physical Path   F:\VINWebData\wwwroot\JSLib\VIN.js
Logon Method   Anonymous
Logon User   Anonymous

I would recommend asking them in IIS forum: http://forums.iis.net/
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile

Similar Messages

  • Place one IDML file inside another one.

    I want to place one or more IDML files into another single IDML "master" file.
    The master file is sort of a template for a site layout. The IDML files I need to embed represent single content boxes with specific layouts. The files for those content boxes are created outside of InDesign with some texts I get from a database.
    To retain those layouts I deemed it best to just place them into another document which is no problem with INDD but just with IDML.
    I managed to link multiple INDD files into the master file in InDesign itself, but can not figure out how to link IDML files. I also found that it is possible to link INDD files into IDML files, just not IDML into IDML.
    I need to be working with IDML as opposed to INDD because I have to be able to manipulate the files in an easy way outside of InDesign.
    Is there any way to link IDML files into other IDML files? Or if not, is there a possibility to convert my IDML files to INDD files without having to use a real instance of InDesign?
    Relevant Lines of code from the master IDML file taken from the Spread.xml file:
    <Link Self="u9f81" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:/path/to/subtemplates/box2.idml" LinkResourceFormat="$ID/InDesign Format Name" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 130505142560000000 1396736" LinkImportModificationTime="2014-07-22T16:50:56" LinkImportTime="2014-07-23T11:42:22" LinkResourceSize="0~155000" />
    If I leave this in and try to open the file in InDesign I get the error message that the linked file type is not supported
    <Link Self="u9f81" AssetURL="$ID/" AssetID="$ID/" LinkResourceURI="file:/path/to/subtemplates/box1.indd" LinkResourceFormat="$ID/InDesign Format Name" StoredState="Normal" LinkClassID="35906" LinkClientID="257" LinkResourceModified="false" LinkObjectModified="false" ShowInUI="true" CanEmbed="true" CanUnembed="true" CanPackage="true" ImportPolicy="NoAutoImport" ExportPolicy="NoAutoExport" LinkImportStamp="file 130505142560000000 1396736" LinkImportModificationTime="2014-07-22T16:50:56" LinkImportTime="2014-07-23T11:42:22" LinkResourceSize="0~155000" />
    If I put this in everything works fine.
    Notes: box1.indd and box2.idml are the exact same files, just saved differently by InDesign. The path to both files is a valid file system path and has full read/write access.

    Thank you for your reply. I already know that it is possible to edit IDML files, which is what I am already doing.
    What I am now looking for is a way to place one IDML file into another one like you are able to do with INDD files.
    Which file format should I use insted then? It must be editable outside of InDesign because I need to be able to change texts and stylings within the file.
    Laubender
    That possibly means you have to have InDesign Server to integrate in your workflow.
    That's the exact thing I am trying to avoid here.

  • Send a file that resides above the virtual directory to the browser using ASP.

    How do you send a file that resides above the virtual
    directory to the browser using ASP.
    this doesn't work:
    <% Response.Redirect(Server.Mappath("..\..\..\files\"
    & rsgetefile("filename"))) %>

    Basically you can't send a person to the location as that
    would totally
    defeat the purpose of placing files above the virtual root.
    You can stream a
    file from a page on the site if you use the physical location
    on the server
    to call it.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "lovewebdev" <[email protected]> wrote in
    message
    news:ec2paf$9ht$[email protected]..
    > How do you send a file that resides above the virtual
    directory to the
    > browser using ASP.
    >
    > this doesn't work:
    > <% Response.Redirect(Server.Mappath("..\..\..\files\"
    > rsgetefile("filename"))) %>
    >

  • Being able to have one sigle file open in a specific application or have a user directory

    Wonder if anyone can help  with the following request ?
    One things doesn't make sense with the WIFI  mini I Pad  Latest IOS :
    If you have several programs that can open a specific file as PDF for example why do you have to upload the same file ( PDF)  into to each specific application folder or cache. Resulting in multiple copy of the file (PDF)   copied on your I pad??? which translate to a useless waste of space.
    Wouldn't it  be easier having a single directory where the user can save all of his file/s   and each program that can manipulate that particular file have access to it.  As an example I got several program that that can run an excel file and am enjoying a multiple copy of the same workbook loaded into my WIFI MINI.. this is just blatant waste of memory/ disk space on my Ipad.....  I wonder there is a program that allows me to save all this file in a single directory and give me the opportunity to open each file with a specific application of my choice?????
    Thanks for your help

    That doesn't help.
    There's a clear distinction between temporary files, and files downloaded to the users' download folder.
    Or at least, there should be.
    I'm inclined to call this a bug, since the user (being me) didn't ask for the download.
    Downloading upon opening a site from the address bar is a different action than downloading from within a site (e.g. clicking a url shortcut or a button to download from an indirection).

  • How to create file form servlet in our virtual directory

    hi....
    I want to create a file form my servlet in my virtual directory..
    my directory name ia vps
    it cconatin vps -> WEB-INF -> classes-> servTest
    servTest is servlet....
    and i want to create file from servTest in vps directory..
    actually i am trying to create file but it by default saved in windows/system32 directory.

    You need to give the absolute path to create the file, if you just give the filename, the file will be created in the working directory which is system32 for Windows.
    You could either hardcode it, or you can use ServletContext.getRealPath("/") ( http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String) ) This will return the path on the server's filesystem where your application folder ( under webapps for Tomcat) is located.
    NOTE: If you application is in the form of a .war file, this may not work! The server may return a null.
    "/" specifies the root i.e., your application's highest level directory. If your application is webapps/vps then getRealPath("/") will return something like C:\Program Files\Apache Group\Tomcat 4.1\webapps\vps

  • Find Specific File Type Group in Specific Folder

    Hi, I dont know how to find a specific group of files (i.e. all movies, all music etc) in one specific folder (and its sub folders) on Snowleopard.
    I do know how to find a single file type (i.e. .mov, .mp3)
    Thanks for the help.

    Hi,
    And, Welcome to Apple Discussions!
    In the search box, type
    kind:
    (that's "kind" followed by a colon) followed by either
    movie
    image
    or
    music
    I just tested it myself (I've never actually used it!) and it works a treat.
    HTH,
    S.
    Message was edited by: SiRGadaBout

  • Robocopy Exclude specific file pattern in a specific folder

    We are trying to build a script to mirror the user documents to a personal networkfolder, but it happens that a scanner sends files in the format "doc*.pdf" to that folder. Is it possible to exclude just these files in that folder? Because if the
    user copies them in his document folder they should be mirrored, but if he didn't allrdy copied  we dont want then to be deleted.
    What we tried so far was:
    robocopy "C:\Users\username\Documents" "\\server\users\username" /MIR /XF \\server\users\username\doc*.pdf
    But it did not work, robocopy does not seem to accept the argument. Anyway he accepts
    robocopy "C:\Users\username\Documents" "\\server\users\username" /MIR /XF \\server\users\username\doc.pdf
    But this does not help us, as we need a pattern to be ignored not just a specific filename.

    as far as I know, wildcards are supported only if the filename is a filename, not a path.
    robocopy <sourcedir> <destdir> /MIR /XF doc*.pdf
    MCP/MCSA/MCTS/MCITP

  • Compiling one .chm file creates another one

    I'm working with a merged help system with approximately 30 sub-projects, and I have to make a change and regenerate the .chm file for all of them. We always generate the .chm file to the !SSL!\Microsoft_HTML_Help folder within the root project folder. I got tired of having to go into each output folder to move all of the .chms to the eventual destination folder, so I though I'd just change the output path to a common folder for all of them.
    After generating a couple, I noticed that when I compile some projects, a .chm file from a different project somehow ended up in the output folder. I don't know how it got there because I'd just created the folder and I hadn't generated a .chm for that project yet. Of course I've ended up with some old .chm files overwriting the updated ones that I generated today.
    This seems very odd. Has anyone run across this issue?
    I'm on RH 9.0.2 with Windows XP SP3.

    Are your merged CHM files located in the project folder? When you merge a CHM file, RoboHelp requires that the CHM file be copied to the project folder. If you do not delete the CHM file, it is copied to the output location for the master CHM. This will overwrite any existing CHM files in the output folder location with the copy in the project folder for the project being compiled.
    Delete the CHM files from the folder, and you shouldn't have this problem. I wrote a batch file for my projects to clean out CHM files from the folders prior to batch compiling all the projects. The merge will still occur as the merged files are included in the XPJ and the HHP file.

  • Trying to "Slide" through this one

    I can't get this to slide back into postion. I am trying to create a MC that slides in and out on click. Currently it slides in fine. But does not slide back into position
    Am I missing something:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    squary_mc.addEventListener(MouseEvent.CLICK, fslider);
    function fslider(event:MouseEvent):void{
    var position:Boolean = true;
    if(position = true){   
    var myTweena:Tween = new Tween(squary_mc, "x", Bounce.easeIn, 900, 225, 1, true);
    position = true;
    }else{
    var myTweenb:Tween = new Tween(squary_mc, "x", Bounce.easeOut, 930, 60, 1, true);
    position = false;
    Any help appreciated

    Solved it.
    In case anyone might need it here it is:
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    import fl.transitions.TweenEvent;
    squary_mc.addEventListener(MouseEvent.CLICK, fslider);
    var position:Boolean = false;
    function fslider(event:MouseEvent):void{
        if(position == false){   
        trace("HelloFORWARD");
        var myTweena:Tween = new Tween(squary_mc, "x", Bounce.easeIn, 900, 225, 1, true);
        position = true;
        } else if (position == true){
        trace("HelloBACK");
        var myTweenb:Tween = new Tween(squary_mc, "x", Bounce.easeOut, 60, 930, 1, true);
        position = false;

  • How can one optimize Swing-Answer this one

    How come i wrote a simple code extending JPanel as shown belo trying to render a new component but realized the running code was consuming like 88% of the processor time, using windows task manager. Is there a way to help swing eat less memory and processor time?
    Lastly, i am trying to create my own look and feel or say new button by rendering a gif image on a panel with Graphics g object in paintComponent(g) and then attaching events to it, is it advisible to create new components like that?
    import java.awt.*;
    import javax.swing.*;
    public class CustomP extends JPanel{
    public void paintComponent(Graphics g)
    super.paintComponent(g);
    //some g.drawXXX dumps here
    repaint();
    //CustomB.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CustomB extends JFrame{
    private CustomP bpanel;
    public CustomB()
    super("New Button");
    bpanel = new CustomP();
    Container c = getContentPane();
    c.add(bpanel,BorderLayout.CENTER);
    setSize(90,90);
    show();
    public static void main(String args[]){
    CustomB newb = new CustomB();
    newb.addWindowListener(
    new WindowAdapter(){
    public void windowClosing(WindowEvent e){System.exit(0);}

    http://forum.java.sun.com/thread.jsp?forum=31&thread=390432&tstart=0&trange=15
    crosspost!!!!!!!

  • How To Access a jar file present outside the war file through a jnlp

    Aoa
    I m new to this forum
    I m having problem with my jnlp file
    i want to know is there any way to access a jar file through jnlp.The problem is that my jnlp file is present in the war file
    and i want to know how to acess a jar file through this jnlp.The scenerio is as below
    I m using ear file on jboss.Its hirerchy is as
    -PAN-war.war
    -launch.jnlp
    -PAN-app-client.jar
    my jnlp file is as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/" href="PAN/launch.jnlp">
    <information>
    <title>PanEmirates</title>
    <vendor>M Fazal Ur Rehman</vendor>
    <description>PanEmirates</description>
    <description kind="short">PanEmirates</description>
    <homepage href=""/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.5+"/>
    <jar href="PAN-app-client.jar" download="eager"/>
    <jar href="lib/javafxrt.jar" main="true" download="eager" />
    <jar href="lib/Filters.jar" download="eager"/>
    <jar href="lib/javafx-netbeans-fxuserlib.jar" download="eager"/>
    <jar href="lib/swing-layout-1.0.3.jar" download="eager"/>
    </resources>
    <application-desc main-class="net.java.javafx.FXShell">
    <argument>pan.Main</argument>
    </application-desc>
    </jnlp>
    when i run launch.jnlp file it says unable to download resource http://localhost:8080/PAN/PAN-app-client.jar
    how to access this jar file
    Any help or comment would be highly appreciated
    Regards
    M Fazal Ur Rehman

    Excellent question. I don't see any client-jar in your EAR file structure. So I am assuming you are writing a separate client application which will talk to the ejbs deployed as part of this EAR. You need to do the following:
    Write another EAR file with the following structure:
    ear:
    META-INF/application.xml
    util.jar
    client.jar
    client.jar should have a META-INF/MANIFEST.MF and that should contain Class-Path:util.jar and value for Main-Class attribute.
    Now deploy this new ear to your application server and execute it using Application Client Container that comes with your app server.
    If you don't want to write another EAR file, then bundle th client.jar in your original EAR file.
    Points to note are:
    you have to repackage util.jar again inside this ear file.
    For portability reason, you should use Class-Path manifest entry in client.jar. Refer to http://java.sun.com/j2ee/verified/packaging.html and J2EE platform spec section #8.2.
    Hope this helps,
    Sahoo

  • Linking button from one flash file to a different flash file

    Hi All,
    Wondering if anyone knows how to link buttons in one flash
    file to open a specific scene of an entirely different flash file?
    If it isn't possible to choose a specific scene, is there a way to
    just open a flash file...in the same browser window, but not within
    the flash file...if that makes sense?
    I'm putting this on a website, so additionally, I will need
    to know which file to link it to, the swf, html, or fla.
    Thanks!!

    I would advise against using scenes for your website. You
    would need to create a separate html which would load the second
    swf file within the same browser window.
    This is how you call for it:
    on(release){
    getURL("
    http://www.sitelocation.com/secondswf.html");

  • My Ipod Refuses To Update ANYTHING, from files to internet update software

    I just updated a few songs, and when it was done "updating" I checked and EVERYTHING was gone... It erased every file in it by itself !!! it says there is an error, and it wont update anything again,it says something about writting or "escritura" in spanish...
    I'm desperate!
    And there is a diffrent icon of "do not disconnect" than the one it used to have (probably the one you all have) this one looks smaller, with other letters...

    See this http://support.apple.com/kb/HT4527
    Also, follow the steps given here...
    Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Xlib:  connection to ":2.0" refused by server

    Hi,
    I'm new to Oracle and am attempting to install database 10g version 2 on RHEL4 xLinux system and need help in getting past an installation error.
    When running ./runInstaller, it passes installer requirements, but gets an error stating:
    Xlib: connection to ":2.0" refused by server
    Xlib: No protocol specified
    This is immediately followed by java error:
    Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':2.0' as the value of the DISPLAY variable.

    A few pointers:
    1) Do not log on to Linux as root. Make sure the graphical screen is owned by oracle
    2) If necessary, set your permissions to wide-open by using xhost + ... do not leave in this mode for long if you are concerned about security
    3) Set the DISPLAY variable, usually to DISPLAY=:0.0 or DISPLAY=localhost:0.0
    This is a common error. Internet search will provide good answers

  • How to write the errors into a specific file

    Hi all,
    How to handled the errors in the scenarios,By using fault messages we can informed about errors to sender.But in my case i have to gather all errors & write into a specific file.For this can i create another Communication Channel for File reciever.How can i gather error messages in the scenario.
    Early response is appreciate

    Hi,
    Bhavesh had already answered how to handle it. For saving it in a file yes you can use File Receiver adapter.
    Regards,
    Prakash

Maybe you are looking for

  • Missing font on OS 10.8

    I used a font named Graphite Light in OS 10.7, but when I upgraded to OS 10.8 it went missing. I located it in an older computer using OS 10.7. I found two instances in the fonts folder: Graphite Light, and Graphite Light Narrow. I loaded both of the

  • PC-Mac camera compatibility

    My boyfriend has a PC and I just got a new iBook G4...he has a webcam that works with MSN but won't work with my MSN because it is text only. What is a program that I could use to view his webcam? And then which webcam could I get later so that he wo

  • Facetime app download and installation keeps restarting

    Facetime app download and installation keeps restarting

  • Editing wanderlust widget (slideshow)

    Hi, I'm editing the wanderlust slideshow widget (within DW). I was able to change all the colors/sizes of what I needed in the CSS, and I also changed the color of the button. HOWEVER, I really need to change the colors of the 1, 2, 3, 4 buttons and

  • Miro doesn't display thumbnails

    Hi everyone, I use Miro to download my video podcasts, and I think there is a bug with the display of thumbnails. Miro downloads thumbnails correctly, as I can found them in .miro/icon-cache but it's displaying a white image on every possible locatio