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. ASP.NET
  4. acces denied on IIS using sql server 2005

acces denied on IIS using sql server 2005

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdatabasesql-server
2 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.
  • S Offline
    S Offline
    ssoffline
    wrote on last edited by
    #1

    hi frns i am stuck with an odd problem, i hv an asp.net app wich uses sql server 2005 as backend , it runs fine on visual studio 2005 , but wen deployed on IIS , it gives the following error "Access Denied to sameer/ASPNET" ofcourse its abt certain rights to be given to aspnet user bt wat and hw? pls hlp tnx in advance sameer :-O

    M 1 Reply Last reply
    0
    • S ssoffline

      hi frns i am stuck with an odd problem, i hv an asp.net app wich uses sql server 2005 as backend , it runs fine on visual studio 2005 , but wen deployed on IIS , it gives the following error "Access Denied to sameer/ASPNET" ofcourse its abt certain rights to be given to aspnet user bt wat and hw? pls hlp tnx in advance sameer :-O

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi there, Are you using the Windows Authentication mode? Basically, when you run the app in VS 2005 with the built-in web development server and it uses the log-on account which is more power than the ASP.NET process identity. So you can try to configure the aspnet user as below to access the SQL 2005. + You can use the admin account such as sa to open the Server Management Studio + Under the Security/Logins entry, make sure the sameer/ASPNET acount is there. If not, you can right click the item and choose New Login to add the account. + In the Properties window of the selected account, select the Status section, and check the access permission is granted and the Login status is Enabled.

      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