how do you change IUSR_machinename permissions?

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default how do you change IUSR_machinename permissions?

    Having a nightmare with the old DW bug when using an Access database and ASP
    pages that produces this error:

    "Could not open "unknown"; file arleady in use."

    Almost all of the tech support advice I have been offered so far has been
    about changing permissions....but none explain HOW you change the
    permissions, just that you should (very helpful).

    Can someone run that past me?

    I am convinced that permissions is NOT the problem here. The problem is
    that every time you open a Recordset on an ASP page, DW creates an .ldb file
    in the same directory as the database. Yet, when you close the recordset
    AND the asp page, the .ldb remains, which causes the error when you try to
    preview the site.

    My question is...

    Why doesn't Dreamweaver delete the .ldb file once the recordset and asp page
    have been closed?

    Really confusing....hope someone can help
    Nath.


    Nathon Jones Guest

  2. Similar Questions and Discussions

    1. Contribute permissions vs. network permissions
      We are currently implementing Contribute in a website that is highly centralized, with approximately 50 department-level CT writers and 4 CT...
    2. Change NTFS Permissions or run shell script
      I am trying to Create a web app that creates a directory, and assigns permissions to the directory. Is there a way to do this, or even run a shell...
    3. filesystem permissions change by themselves...
      permissions on my /opt filesystem are changing daily, seeming by themselves. i.e. I tried to run a scipt and noticed that the permissions on...
    4. Change Unix file permissions from a Carbon app?
      In article <not.here-ya02408000R3007030100130001@news.dial.pipex.com>, not.here@dial.pipex.com (Phil Taylor) wrote: 1.) Look in <Files.h> at...
    5. cant change file permissions from read only on network
      Im on WindowsXP Home--I have a network setup and experience no problems, except for one. I can share drives on each computer and see all the data,...
  3. #2

    Default Re: how do you change IUSR_machinename permissions?

    There's a simple workaround.
    Make a page that connects to a different database. The database can be
    empty, but you need to have a table in it. Call your page lockrelease.asp
    or something. All it has to do is request a recordset. No display
    necessary. Open that page with DW. Even though it doesn't release its
    locks normally, if you open a page that connects to a different database, it
    will release the locks on the first database.

    --
    -------------------------------------------------------------------
    You must SHOW YOURSELF to e-mail me. No cowards allowed!




    "Nathon Jones" <nathon@SHPAMkirkmoor.com> wrote in message
    news:d32rrr$4k1$1@forums.macromedia.com...
    > Having a nightmare with the old DW bug when using an Access database and
    ASP
    > pages that produces this error:
    >
    > "Could not open "unknown"; file arleady in use."
    >
    > Almost all of the tech support advice I have been offered so far has been
    > about changing permissions....but none explain HOW you change the
    > permissions, just that you should (very helpful).
    >
    > Can someone run that past me?
    >
    > I am convinced that permissions is NOT the problem here. The problem is
    > that every time you open a Recordset on an ASP page, DW creates an .ldb
    file
    > in the same directory as the database. Yet, when you close the recordset
    > AND the asp page, the .ldb remains, which causes the error when you try to
    > preview the site.
    >
    > My question is...
    >
    > Why doesn't Dreamweaver delete the .ldb file once the recordset and asp
    page
    > have been closed?
    >
    > Really confusing....hope someone can help
    > Nath.
    >
    >

    Lionstone Guest

  4. #3

    Default Re: how do you change IUSR_machinename permissions?

    right-click on the folder (directory) that the database lives in and go
    to "properties", check "full control" for IUSR under the security tab.

    You might have to restart you browser and/or DW to see any difference.

    Not really a DW bug, though.

    HTH,
    Tom

    Nathon Jones wrote:
    > Having a nightmare with the old DW bug when using an Access database and ASP
    > pages that produces this error:
    >
    > "Could not open "unknown"; file arleady in use."
    >
    > Almost all of the tech support advice I have been offered so far has been
    > about changing permissions....but none explain HOW you change the
    > permissions, just that you should (very helpful).
    >
    > Can someone run that past me?
    >
    > I am convinced that permissions is NOT the problem here. The problem is
    > that every time you open a Recordset on an ASP page, DW creates an .ldb file
    > in the same directory as the database. Yet, when you close the recordset
    > AND the asp page, the .ldb remains, which causes the error when you try to
    > preview the site.
    >
    > My question is...
    >
    > Why doesn't Dreamweaver delete the .ldb file once the recordset and asp page
    > have been closed?
    >
    > Really confusing....hope someone can help
    > Nath.
    >
    >
    Tom Coleman Guest

  5. #4

    Default Re: how do you change IUSR_machinename permissions?

    > Having a nightmare with the old DW bug when using an Access database and
    ASP
    > pages that produces this error:
    I suggested this already, slightly with toungue in cheek, but I guess I'd
    give it serious consideration...have you considered using MySQL instead?
    Unless you have a specific nead for Access (like it's the only database your
    web hosts allows), there isn't a strong reason to stick with it.
    > Why doesn't Dreamweaver delete the .ldb file once the recordset and asp
    page
    > have been closed?
    My guess is that DW needs to keep it open so you can do all of the WYSIWYG
    database connection code writing.

    One option is to use two connection strings and duplicate the database.
    Store this string in a standalone file. On your local site, have it connect
    to DB1. On your remote site, have it connect to DB2. Then, just be sure not
    to overwrite the file that is storing the connection string on the server.

    -Darrel


    darrel Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139