CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2000
    Location
    India, Tamilnadu
    Posts
    279

    ATL ASP Component Unregister and debug

    Hi
    I am trying to develop a simple atl based ASP component using VC++6. Its all fine. It even works on asp script on server side.
    Now the problem is, atl does the registration and one I use it on the script on my local IIS, no more modification is allowed, because, its locked. Can't delete or modify.
    I need to restart my PC again to do even a small correction or create a new ATM component.

    How to reslove this issue? How to debug ?

    Thanks in advance
    Anita Eugene

  2. #2
    Join Date
    Feb 2000
    Location
    San Diego, CA
    Posts
    10,354

    Re: ATL ASP Component Unregister and debug

    You cannot. You cannot modify it possibly because the server has loaded it and is using it. You have to somehow make the server unload it and then you can replace it.

    BTW, why do you want to replace it just like that ? I would suppose it will be an installation function to replace it, and if so, one of the things the installer should do is to shutdown the applications that it needs to install.

  3. #3
    Join Date
    Jan 2000
    Location
    India, Tamilnadu
    Posts
    279

    Re: ATL ASP Component Unregister and debug

    Hi
    Thank you. Atleast, if there is a way to shut it down and replace the new copy, its good. It even does not take, if the name of the dll changes. (It keeps the progID and gives error)

    When we try to develop a component and test it with the local IIS, I am sure there must be a way. Because, for even a small change on the code, I am forced to create a new project and a new dll in diff name.

    Thanks for your response.

    Anita Eugene

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

Featured