Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Problem with ASP, ODBC and IIS6

Problem with ASP, ODBC and IIS6

Scheduled Pinned Locked Moved Web Development
helpdatabasesysadminwindows-admin
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    Gunnar Matzler
    wrote on last edited by
    #1

    A few days ago i moved a asp-application i created to a new server. This application connects to an access-database by using odbc. Funny thing is, that is can connect to the database and read records without problems, but whenever i try to write data in to the database i get an internal server error. On the old server everything worked ok. The datase is writeenabled and there is no password on it. The difference is, on the new server runs IIS 6. So maybe some settings have to be changed to allow me to write to the database but i have no idea what to change. I have given writeaccess to every user of my application, but this didn't make any difference. Any idea would be highly appriciated, cause i am starting to get a little desperate by now!

    I 1 Reply Last reply
    0
    • G Gunnar Matzler

      A few days ago i moved a asp-application i created to a new server. This application connects to an access-database by using odbc. Funny thing is, that is can connect to the database and read records without problems, but whenever i try to write data in to the database i get an internal server error. On the old server everything worked ok. The datase is writeenabled and there is no password on it. The difference is, on the new server runs IIS 6. So maybe some settings have to be changed to allow me to write to the database but i have no idea what to change. I have given writeaccess to every user of my application, but this didn't make any difference. Any idea would be highly appriciated, cause i am starting to get a little desperate by now!

      I Offline
      I Offline
      Ian Darling
      wrote on last edited by
      #2

      Did you check the access settings for the NETWORK_SERVICE user? I think IIS/ASP runs under that users context (I can't check my own server to verify atm, so YMMV) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

      G 1 Reply Last reply
      0
      • I Ian Darling

        Did you check the access settings for the NETWORK_SERVICE user? I think IIS/ASP runs under that users context (I can't check my own server to verify atm, so YMMV) -- Ian Darling "The moral of the story is that with a contrived example, you can prove anything." - Joel Spolsky

        G Offline
        G Offline
        Gunnar Matzler
        wrote on last edited by
        #3

        GREAT! This was the solution. I didn't even think about the "NETWORK_SERVICE" user until your mail and now everything is running fine. THANK YOU VERY MUCH FOR YOUR HELP!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups