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. Using Registry namespace with WebForms

Using Registry namespace with WebForms

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwindows-admindebugging
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.
  • G Offline
    G Offline
    gordingin
    wrote on last edited by
    #1

    Can I use the Registry namespace in an ASP.NET proejct. It seems to compile and not complain but when I trace over it, I don't get the values back I get when the same code is in normal application.... Thanks Ralph Krausse

    J 1 Reply Last reply
    0
    • G gordingin

      Can I use the Registry namespace in an ASP.NET proejct. It seems to compile and not complain but when I trace over it, I don't get the values back I get when the same code is in normal application.... Thanks Ralph Krausse

      J Offline
      J Offline
      John Kuhn
      wrote on last edited by
      #2

      I'm not absolutely certain here, but some registry values and access to registry values depend on the interactive user and the permissions of the interactive user. When you execute an ASP.NET application, it is, by default, authenticated to the server (even if that is your local machine) as the ASP.NET interactive user (ASPNET). Perhaps if you set your app for Windows authentication, you'll have your normal permissions and be able to see the values you expect.

      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