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. ASP Net Application on IIS 7 and Windows Server 2008 does not run

ASP Net Application on IIS 7 and Windows Server 2008 does not run

Scheduled Pinned Locked Moved ASP.NET
csharpvisual-studiowindows-adminhelpasp-net
7 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.
  • O Offline
    O Offline
    obarahmeh
    wrote on last edited by
    #1

    Dear All, I have an Asp.Net application, which is run correctly in windows 2003, and also is run correctly when I run this application using Visual Studio 2008 through VS 2008 IIS. But when I tried to run this application using windows 2008 IIS.7 , it gives me an error: HTTP Error 500.22 - Internal Server Error and guided me to change the application pool from DefaultAppPool to Classic .NET AppPool I then changed the application pool as I've been guided, but another error appear is: HTTP Error 403.18 - Forbidden Links and More Information: This error occurs if the application pool for the request does not exist, or if an ISAPI filter, ISAPI extension or HTTP module calls the ExecuteURL server support function (or ExecuteRequest) with a URL that is configured in a different application pool. Due to security reasons, a Web site in one application pool cannot make ExecuteURL requests against a URL in another application pool. If you have an application that is trying to process a URL in another application pool, ensure that they both run in the same application pool if appropriate. I do not know what to do now, I looked for something talks about custome error pages and its application pool in the IIS.7, but I found nothing. please help :(

    Kind Regards OBarahmeh

    A 1 Reply Last reply
    0
    • O obarahmeh

      Dear All, I have an Asp.Net application, which is run correctly in windows 2003, and also is run correctly when I run this application using Visual Studio 2008 through VS 2008 IIS. But when I tried to run this application using windows 2008 IIS.7 , it gives me an error: HTTP Error 500.22 - Internal Server Error and guided me to change the application pool from DefaultAppPool to Classic .NET AppPool I then changed the application pool as I've been guided, but another error appear is: HTTP Error 403.18 - Forbidden Links and More Information: This error occurs if the application pool for the request does not exist, or if an ISAPI filter, ISAPI extension or HTTP module calls the ExecuteURL server support function (or ExecuteRequest) with a URL that is configured in a different application pool. Due to security reasons, a Web site in one application pool cannot make ExecuteURL requests against a URL in another application pool. If you have an application that is trying to process a URL in another application pool, ensure that they both run in the same application pool if appropriate. I do not know what to do now, I looked for something talks about custome error pages and its application pool in the IIS.7, but I found nothing. please help :(

      Kind Regards OBarahmeh

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

      Create your own Application pool and assign it to the web application. I have written a complete article on IIS 7. Hope this will helps you Deploying Web sites on IIS 7 and Windows server 2008[^]

      cheers, Abhijit

      O 1 Reply Last reply
      0
      • A Abhijit Jana

        Create your own Application pool and assign it to the web application. I have written a complete article on IIS 7. Hope this will helps you Deploying Web sites on IIS 7 and Windows server 2008[^]

        cheers, Abhijit

        O Offline
        O Offline
        obarahmeh
        wrote on last edited by
        #3

        I've created my own Application pool and assigned it to my application, but the problem still appear: HTTP Error 500.22 - Internal Server Error Things you can try: As the error message says: 1: Migrate the configuration to the system.webServer/modules section. You can do so manually or by using AppCmd from the command line - for example, %SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/". Using AppCmd to migrate your application will enable it to work in Integrated mode, and continue to work in Classic mode and on previous versions of IIS. 2: If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false. 3: Alternatively, switch the application to a Classic mode application pool - for example, %SystemRoot%\system32\inetsrv\appcmd set app "Default Web Site/" /applicationPool:"Classic .NET AppPool". Only do this if you are unable to migrate your application. (Set "Default Web Site" and "Classic .NET AppPool" to your application path and application pool name)

        Kind Regards OBarahmeh

        A 1 Reply Last reply
        0
        • O obarahmeh

          I've created my own Application pool and assigned it to my application, but the problem still appear: HTTP Error 500.22 - Internal Server Error Things you can try: As the error message says: 1: Migrate the configuration to the system.webServer/modules section. You can do so manually or by using AppCmd from the command line - for example, %SystemRoot%\system32\inetsrv\appcmd migrate config "Default Web Site/". Using AppCmd to migrate your application will enable it to work in Integrated mode, and continue to work in Classic mode and on previous versions of IIS. 2: If you are certain that it is OK to ignore this error, it can be disabled by setting system.webServer/validation@validateIntegratedModeConfiguration to false. 3: Alternatively, switch the application to a Classic mode application pool - for example, %SystemRoot%\system32\inetsrv\appcmd set app "Default Web Site/" /applicationPool:"Classic .NET AppPool". Only do this if you are unable to migrate your application. (Set "Default Web Site" and "Classic .NET AppPool" to your application path and application pool name)

          Kind Regards OBarahmeh

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

          Did you install IIS 7.0 after .NET Framework ?

          cheers, Abhijit

          O 1 Reply Last reply
          0
          • A Abhijit Jana

            Did you install IIS 7.0 after .NET Framework ?

            cheers, Abhijit

            O Offline
            O Offline
            obarahmeh
            wrote on last edited by
            #5

            No, because IIS.7 is contained in windows 2008 by default...and so, I've installed .Net framework after IIS.7 is installed

            Kind Regards OBarahmeh

            A 1 Reply Last reply
            0
            • O obarahmeh

              No, because IIS.7 is contained in windows 2008 by default...and so, I've installed .Net framework after IIS.7 is installed

              Kind Regards OBarahmeh

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

              Did you try the suggestion that are given in with the error message ?

              cheers, Abhijit

              O 1 Reply Last reply
              0
              • A Abhijit Jana

                Did you try the suggestion that are given in with the error message ?

                cheers, Abhijit

                O Offline
                O Offline
                obarahmeh
                wrote on last edited by
                #7

                Of course I tried that, butt still having the same problem

                Kind Regards OBarahmeh

                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