asp.net and excell.. file share problems

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

    asp.net and excell.. file share problems

    Hi guys, I have a asp.net web app and it's connecting to
    an excell 2003 document (in another folder) via
    OleDataAdapter. Everything works and all, it's just that
    when I shutdown IE and try to access the excell document,
    asp.net seems to still keep it and won't release it.
    Excell gives some error saying it can't access it, but
    It's when I terminate the asp.net process in the task
    manager that the file is then released.

    I'm wanting to know if there is a way to make asp.net
    release the file so that changing the data is possible?
    or for every time I need to change the data, I would have
    to take down the web page?
  • Guest's Avatar

    #2
    asp.net and excell.. file share problems

    I tried shutting down IIS web server, and asp.net still
    kept it going.. so I'm not sure what's going on..

    Comment

    • Oliver

      #3
      Re: asp.net and excell.. file share problems

      To release the Web server's grip on some components, you sometimes need to
      run this in the Run box:

      net stop iisadmin /y

      Use Task Manager to stop the Excel.exe process.

      Then start your Web server again.


      "Robert Halstead" <halstear@oit.e du> wrote in message
      news:069001c39c e3$face7710$a10 1280a@phx.gbl.. .[color=blue]
      > Hi guys, I have a asp.net web app and it's connecting to
      > an excell 2003 document (in another folder) via
      > OleDataAdapter. Everything works and all, it's just that
      > when I shutdown IE and try to access the excell document,
      > asp.net seems to still keep it and won't release it.
      > Excell gives some error saying it can't access it, but
      > It's when I terminate the asp.net process in the task
      > manager that the file is then released.
      >
      > I'm wanting to know if there is a way to make asp.net
      > release the file so that changing the data is possible?
      > or for every time I need to change the data, I would have
      > to take down the web page?[/color]


      Comment

      Working...