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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. web.config frustrating me1

web.config frustrating me1

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwindows-adminhelplearning
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.
  • A Offline
    A Offline
    Abbasy Ahmad
    wrote on last edited by
    #1

    Hi all, I am a new learner of ASP.NET, i trying to learning by creating project, basicly the project is really simple it only content a few aspx files, but there is no login form when i run it, it running ok but when i publish to the web and browsing it, there error that frustrating me, i want this everybody could browse the web without have to login first, couse is only gives information, but i got this error Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 54: ASP.NET to identify an incoming user. Line 55: --> Line 56: Line 57:

    G 1 Reply Last reply
    0
    • A Abbasy Ahmad

      Hi all, I am a new learner of ASP.NET, i trying to learning by creating project, basicly the project is really simple it only content a few aspx files, but there is no login form when i run it, it running ok but when i publish to the web and browsing it, there error that frustrating me, i want this everybody could browse the web without have to login first, couse is only gives information, but i got this error Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS. Source Error: Line 54: ASP.NET to identify an incoming user. Line 55: --> Line 56: Line 57:

      G Offline
      G Offline
      Gayani Devapriya
      wrote on last edited by
      #2

      Hi Abbas, Lets try to do this once more in a simple manner. I think the problem is in setting up the site. 1). Right click on your solution and publish it to a new folder, could be any location. 2). Now go to IIS and create a virtual directry and set the LocalPath to the new folder you created. 3). In IIS in the ASP.NET tab for ASP.NET version select 2.0 (If you are working in that version) 4). In IIS go to Documents tab and add your detault page and make it to top. 5). In IIS go to directry security and go to Edit and at the bottom there is a check box "Integrated Windows Authentication" make it checked true. 6). And OK it. Now browse the site and see.. Hope it helps, Thx, Gayani

      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