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. Unable to run asp.net page on IIS server

Unable to run asp.net page on IIS server

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netsysadminwindows-adminhelp
5 Posts 3 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
    ShuklaGirish
    wrote on last edited by
    #1

    Hi,i have created one website on local system which is running fine.now when i am trying to host the same website on IIS it is giving me error which is, CS0016: Could not write to output file 'e:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\websetup(travell)\17db5c73\928a41bd\App_global.asax.svcma0h6.dll' -- 'Access is denied' What could be the reason. GIRISH

    A 1 Reply Last reply
    0
    • S ShuklaGirish

      Hi,i have created one website on local system which is running fine.now when i am trying to host the same website on IIS it is giving me error which is, CS0016: Could not write to output file 'e:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\websetup(travell)\17db5c73\928a41bd\App_global.asax.svcma0h6.dll' -- 'Access is denied' What could be the reason. GIRISH

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      Hi Shukul, There may be many reason on it !!!:confused: please check that ur Asp.Net version is set on IIS Virtual Dir or Not !!!! Second one may be !!!! on that system IIS has install after .Net Framework..... Please Try to run aspnet_regiis.exe -i from the framework directory :| u can try Frameworkdir\ aspnet_regiis -s /W3SVC/1/Root/ YourVirtualDir :cool: Hope It will work for you !!! :-D Best of luck :)

      Happy Programming ----- Abhijit

      S 1 Reply Last reply
      0
      • A Abhijit Jana

        Hi Shukul, There may be many reason on it !!!:confused: please check that ur Asp.Net version is set on IIS Virtual Dir or Not !!!! Second one may be !!!! on that system IIS has install after .Net Framework..... Please Try to run aspnet_regiis.exe -i from the framework directory :| u can try Frameworkdir\ aspnet_regiis -s /W3SVC/1/Root/ YourVirtualDir :cool: Hope It will work for you !!! :-D Best of luck :)

        Happy Programming ----- Abhijit

        S Offline
        S Offline
        ShuklaGirish
        wrote on last edited by
        #3

        i had tried to run this command but it gives me some errors,which are stored in the log file and the main error is, InstallInfSections failed with HRESULT 80070005: 'Access is denied. '

        P A 2 Replies Last reply
        0
        • S ShuklaGirish

          i had tried to run this command but it gives me some errors,which are stored in the log file and the main error is, InstallInfSections failed with HRESULT 80070005: 'Access is denied. '

          P Offline
          P Offline
          Paras Kaneriya
          wrote on last edited by
          #4

          The windows account from which you logged in and/or aspnet account do not have enough permissions That may be the cause Try giving permissions to those account

          Paras Kaneriya
          The difference between genius and stupidity is that genius has its limits.

          1 Reply Last reply
          0
          • S ShuklaGirish

            i had tried to run this command but it gives me some errors,which are stored in the log file and the main error is, InstallInfSections failed with HRESULT 80070005: 'Access is denied. '

            A Offline
            A Offline
            Abhijit Jana
            wrote on last edited by
            #5

            did u try it by reinstalling the IIS ???? if u reinstall then please Reinstall framework also after the installation of IIS Thanks !!!!

            Happy Programming ----- Abhijit

            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