File caching issues is PSF and IIS

Discussion in 'Parallels Desktop for Mac' started by mbear, Nov 29, 2006.

  1. mbear

    mbear Bit poster

    Messages:
    3
    Has anyone else experienced issues with using shared folders and IIS? It's been bugging me for eons now - well, since the first Parallels betas up til now, anyway.

    The scenario is this: I use IIS to serve ASP files from my XP/Windows 2003 server Parallels VM. The files live on my Mac and are shared to Parallels via PSF. All works OK, except each time I view a web page on the VM (from the Mac or the PC side) I have to refresh the page twice to see my changes. So I guess it's a caching thing. In addition, after a period of time (an hour or two) I have to reboot the VM in order for any changes at all to be registered by the IIS web server on the VM, which is tedious.

    My Parallels setup is using a fixed disk size (using PSF with IIS on an expanding disk is really, really slow) with Mac OS X doing the VM caching (doesn't seem to make much difference if I get the VM to do the caching) and accelleration is on 'high' (though this doesn't seem to change things, either).

    If anyone has any ideas about either of these issues I'd really appreciate it - it's one of those things that's not insurmountable (having figured out the workaround), but would like to remedy it, one day!

    Many thanks
    Tom

    PS Using MBP rev A with 2gb RAM, ~512 assigned to the VM...
     
    Last edited: Nov 29, 2006
  2. supra2800

    supra2800 Bit poster

    Messages:
    6
    I'm sorry that i don't have a solution for you. But I wonder if you could tell me how you got IIS to use your Mac folder as IIS homepage folder?

    Whenever I try to do it, and access the IP address of my IIS server in Paralles, I'm getting an error saying that IIS failed to logon. But I can easily browse the folders on my Mac, within Parallels.
     
  3. mbear

    mbear Bit poster

    Messages:
    3
    Ah - tis very easy. Don't enter an IP address just do //.psf/<sharedfoldername>/realfoldername/etc

    You don't need to worry about permissions as Parallels handles all that for you if you go that way.

    That help?
     
  4. supra2800

    supra2800 Bit poster

    Messages:
    6
    Sorry, no .. when I, in browser, enter the IP address of my IIS server in paralles, I get this error:

    HTTP 401.1 - Unautorhized: Login failed

    (translated from danish)


    In IIS 6, do you enter .//psf/<sharedfoldername>/ etc as "a share on another computer" under home directory?

    And then, in OS X, you put your website files in that folder? That's what I tried, but no luck :(

    Thanks though!
     
  5. mbear

    mbear Bit poster

    Messages:
    3
    Yeah I just did that. I remember having permissions problems but thought they were sorted once I used //.psf rather than SMB file sharing.

    Is IUSR_machinename in the directory security tab of IIS? play around with those settings maybe?
     
  6. supra2800

    supra2800 Bit poster

    Messages:
    6
    It's odd, I can't get it to work.

    When I host my files at XP within paralles, theres no problems though. Only when I want IIS to access the files from my sharedfolder.

    IUSR_machinename is in the directory security, yes.
     

Share This Page