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. Problem after deploying ASP.Net application

Problem after deploying ASP.Net application

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdotnetdesignwindows-admin
8 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.
  • N Offline
    N Offline
    nagendrathecoder
    wrote on last edited by
    #1

    Hello All, I am facing very strange problem. I deployed my ASP.Net application on a machine, i set up IIS, installed .Net framework, created virtual directory, set permissions. But when i run my application in web browser, it showed me code of aspx page instead of design. I am really confused why i am facing this problem? :confused: Am i missing something or my aspx pages not inheriting c# code files? Please guide me? Thanks, Nagendra.

    C 1 Reply Last reply
    0
    • N nagendrathecoder

      Hello All, I am facing very strange problem. I deployed my ASP.Net application on a machine, i set up IIS, installed .Net framework, created virtual directory, set permissions. But when i run my application in web browser, it showed me code of aspx page instead of design. I am really confused why i am facing this problem? :confused: Am i missing something or my aspx pages not inheriting c# code files? Please guide me? Thanks, Nagendra.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      It means that ASP.NET is not set up on your server. Run regsvr_iis ( from memory ) from the .NET folder, if you have .NET installed, so that IIS can see it.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      N 1 Reply Last reply
      0
      • C Christian Graus

        It means that ASP.NET is not set up on your server. Run regsvr_iis ( from memory ) from the .NET folder, if you have .NET installed, so that IIS can see it.

        Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

        N Offline
        N Offline
        nagendrathecoder
        wrote on last edited by
        #3

        so, is it necessary to install whole .Net on that machine? can't i do with only .Net Framework. I couldn't find regsvr_iis on my local machine, i have .Net on my local machine. :doh:

        S 1 Reply Last reply
        0
        • N nagendrathecoder

          so, is it necessary to install whole .Net on that machine? can't i do with only .Net Framework. I couldn't find regsvr_iis on my local machine, i have .Net on my local machine. :doh:

          S Offline
          S Offline
          Sundeep Ganiga
          wrote on last edited by
          #4

          Dear Nag, You need to reinstall the .net framework here.Generally this error occurs when You install .net framework and then IIS.Install only .net framework and check it out. if it still shows let me know. Sundeep G

          When the only tool you have is a hammer, everything looks like a nail. Come Forth Yourself to Click "Good Answer" for any expected solution. Let us Support our C Project Programmers who provide solutions here.

          N 1 Reply Last reply
          0
          • S Sundeep Ganiga

            Dear Nag, You need to reinstall the .net framework here.Generally this error occurs when You install .net framework and then IIS.Install only .net framework and check it out. if it still shows let me know. Sundeep G

            When the only tool you have is a hammer, everything looks like a nail. Come Forth Yourself to Click "Good Answer" for any expected solution. Let us Support our C Project Programmers who provide solutions here.

            N Offline
            N Offline
            nagendrathecoder
            wrote on last edited by
            #5

            Thnx Sandeep, i'll try what u said and let you know what happened. :)

            C 1 Reply Last reply
            0
            • N nagendrathecoder

              Thnx Sandeep, i'll try what u said and let you know what happened. :)

              C Offline
              C Offline
              Christian Graus
              wrote on last edited by
              #6

              installing all of .NET again is just a long winded way to get that exe to run. It's called aspnet_regiis and you need to run it with the -i switch, from memory.

              Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

              N 2 Replies Last reply
              0
              • C Christian Graus

                installing all of .NET again is just a long winded way to get that exe to run. It's called aspnet_regiis and you need to run it with the -i switch, from memory.

                Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                N Offline
                N Offline
                nagendrathecoder
                wrote on last edited by
                #7

                This seems to be an easy option. Thanks CG, i'll try to run it on that machine and will get back to you. Thanks again. :)

                1 Reply Last reply
                0
                • C Christian Graus

                  installing all of .NET again is just a long winded way to get that exe to run. It's called aspnet_regiis and you need to run it with the -i switch, from memory.

                  Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

                  N Offline
                  N Offline
                  nagendrathecoder
                  wrote on last edited by
                  #8

                  Hello CG, i tried what you told and it solved my problem. Thanks. :rolleyes:

                  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