« Previous Next »

Thread: Export a Package through IIS Manager (please help)

Last post 03-27-2009 1:42 AM by EdHsiao. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 03-24-2009, 12:29 AM

    • EdHsiao
    • Not Ranked
    • Joined on 03-24-2009, 12:18 AM
    • Posts 3

    Export a Package through IIS Manager (please help)

     Hi there,

    I tried to follow the walk through of "

    Export a Package through IIS Manager"

    I want to export it and deploy to Amazon EC2. 

    However, after hitting the button at last step, I got the following pop-out error. 

    "The process cannot access the port

    'C:\inetpub\wwwroot\MediaShareLibrary\App_Data\Library.mdf'

    Because it is being used by another process"

    Can anyone help here? Thanks. 

     

  • 03-24-2009, 1:04 AM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 503

    Re: Export a Package through IIS Manager (please help)

    The Access database file is probably locked by the worker process. Can you run the following command before you export the package:

    c:\windows\system32\inetsrv\appcmd list appPool /xml | c:\windows\system32\inetsrv\appcmd recycle appPool /in

    Hope this helps.

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
  • 03-24-2009, 1:46 AM In reply to

    • EdHsiao
    • Not Ranked
    • Joined on 03-24-2009, 12:18 AM
    • Posts 3

    Re: Export a Package through IIS Manager (please help)

     After executing the command you suggested. I saw the following messages.

    "DefaultAppPool" successfully recycled

    "Classic .NET AppPool"  successfully recycled

    "DotNetNuke"  successfully recycled

    BUT after that, I still got the same error and then I checked the "Detail" tab of installation progress.

    It shows it stopped

    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

  • 03-25-2009, 11:24 PM In reply to

    • thomad
    • Top 25 Contributor
    • Joined on 08-20-2002, 3:28 PM
    • Redmond
    • Posts 503

    Re: Export a Package through IIS Manager (please help)

    Weird. Something must have the Access database open. Do you run Microsoft Access? Can you reboot and export the package?

     

    Thanks,

    Thomas Deml
    Program Manager
    Internet Information Services
    Microsoft Corp.
  • 03-27-2009, 1:42 AM In reply to

    • EdHsiao
    • Not Ranked
    • Joined on 03-24-2009, 12:18 AM
    • Posts 3

    Re: Export a Package through IIS Manager (please help)

     Sorry, I suddenly realized I got two database files connected to my web. After I added two of them , I was finally able to export the package by your original walk through. The problem was I tried to export one database only.

    Thanks so much. 

Page 1 of 1 (5 items)
Microsoft Communities