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. file reading

file reading

Scheduled Pinned Locked Moved ASP.NET
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
    shawn414
    wrote on last edited by
    #1

    :(hello i use asp.net vs 2003. i tried reading from an xml file located on my drive but received access error every time. i created a dll file of a .cs class but whenever i tried to use after refrencing it,importing its namespace, and creating an instance of its class the dll found out the dll 's got nothing in it through object browser but when i use ildasm utility i get to see my class and methods in it . any help guess i cant work with filesystem. note i have imported allmost all namespaces. and please i need a genuine log in script and how to make configure web.config to respond to it just not gettin it. shawn

    K 1 Reply Last reply
    0
    • S shawn414

      :(hello i use asp.net vs 2003. i tried reading from an xml file located on my drive but received access error every time. i created a dll file of a .cs class but whenever i tried to use after refrencing it,importing its namespace, and creating an instance of its class the dll found out the dll 's got nothing in it through object browser but when i use ildasm utility i get to see my class and methods in it . any help guess i cant work with filesystem. note i have imported allmost all namespaces. and please i need a genuine log in script and how to make configure web.config to respond to it just not gettin it. shawn

      K Offline
      K Offline
      kubben
      wrote on last edited by
      #2

      Since the asp.net by default runs under the aspnet user you need to give the machine user read and write access to where ever the xml file is. You also must give the IIS_WPG group read and write access. I have recently written an article on dynamic web.config stuff, but it is for VS 2005. Here is the link anyway: http://www.codeproject.com/useritems/SingleWebConfigFile.asp[^] Hope that helps. Ben

      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