Changing stylesheets

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Adrian

    Changing stylesheets

    I'd appreciate any help possible.
    I have a number of different stylesheets. All have
    identical elements. I only want to use one at a time, but
    want the system administrator to be able to choose which
    one to apply. I thought that I could hard code the pages
    to a generic stylesheet and using file.copy VB statements,
    overwrite the current file with the new one.
    Unfortunately I am getting an unauthorised access error
    when I try this.

    Can i get around this (after all, I can perform the task
    manually in windows explorer) or any other ideas???

    many Thanks

    Regards

    Adrian
  • Esteban Felipe

    #2
    Changing stylesheets

    Make sure that the user that runs aspnet.exe worker thread
    has permissions to write and modify the file.[color=blue]
    >-----Original Message-----
    >I'd appreciate any help possible.
    >I have a number of different stylesheets. All have
    >identical elements. I only want to use one at a time,[/color]
    but[color=blue]
    >want the system administrator to be able to choose which
    >one to apply. I thought that I could hard code the pages
    >to a generic stylesheet and using file.copy VB[/color]
    statements,[color=blue]
    >overwrite the current file with the new one.
    >Unfortunatel y I am getting an unauthorised access error
    >when I try this.
    >
    >Can i get around this (after all, I can perform the task
    >manually in windows explorer) or any other ideas???
    >
    >many Thanks
    >
    >Regards
    >
    >Adrian
    >.
    >[/color]

    Comment

    Working...