Results 1 to 5 of 5

Thread: "Permission denied" message

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    Atlanta, GA
    Posts
    75

    "Permission denied" message

    I have created a dll that I am using via ASP pages. The problem that I run into is that, after running any page that accesses that dll, I am no longer able to re-compile the dll (I get the "Permission denied" error). Evidently the ASP server is grabbing that dll and holding it in memory, making it impossible to write over it during the re-compile. Is there a simple way of getting around this (i.e. flushing out some type of dll cache)? Thanks.

    Jay

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538
    Are you using Interdev
    If so, there isn't, you need to close interdev down, THEN access the VB project. Annoying, but no way around this one.

    If you aren't using this then I don't know

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3
    Addicted Member ShIzO's Avatar
    Join Date
    Apr 1999
    Location
    Bartlett, IL
    Posts
    189
    try stopping an IIS or PWS (whichever you use) before recompiling...
    www.HardFind.com -buy/sell/trade your used hardware.

  4. #4

    Thread Starter
    Lively Member
    Join Date
    May 1999
    Location
    Atlanta, GA
    Posts
    75
    As an answer to the two previous replies:

    1. I am not using InterDev for development

    2. Closing out IIS does not seem to release the dll.

    Thanks for the ideas, and please send any more that anyone has my way.

    Jay

  5. #5
    New Member
    Join Date
    Aug 2001
    Location
    Amman-jordan
    Posts
    10
    the file will be locked and that is logical.
    you should only complie the dll when it is ready.

    instead do the following:

    run your dll and choose the option: start browser, rather than waiting for the componenet to be created.

    in the text box write the URL for ur ASP page.

    cool huh?
    Fadi

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