Results 1 to 3 of 3

Thread: location when in a dll

  1. #1

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539

    location when in a dll

    Hey all ive got a dll that i wrote which basically write errors within my to an xml document if the xml document dosnt exists then it creates one.

    However when running under iis in my production server it errors

    Access to the path "d:\winnt\system32\inetsrv\WebSiteErrors.xml" is denied.


    how can i get the dll to write the xml document to the root of my site ?
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

  2. #2
    PowerPoster
    Join Date
    Nov 2001
    Location
    Trying to reach and stay in the cloud
    Posts
    2,089
    use Page.MapPath("/")

  3. #3

    Thread Starter
    Fanatic Member carlblanchard's Avatar
    Join Date
    Sep 2003
    Location
    Bournemouth (UK)
    Posts
    539
    will that work even in a .net dll (its not the sites dll)
    I am curretly building a defect management system for software and web developers,
    If you wana try it out (beta test) and keep it for free just send me a message

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width