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. when i upload my code i got this error

when i upload my code i got this error

Scheduled Pinned Locked Moved ASP.NET
csharphtmlasp-netdotnetsysadmin
10 Posts 6 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.
  • K Offline
    K Offline
    kuduva
    wrote on last edited by
    #1

    when i upload my code i got this error Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type '_Default'. Source Error: Line 1: <%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: f:\inetpub\suntvaus\Default.aspx Line: 1 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 any one pls explain this

    C P R 3 Replies Last reply
    0
    • K kuduva

      when i upload my code i got this error Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type '_Default'. Source Error: Line 1: <%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: f:\inetpub\suntvaus\Default.aspx Line: 1 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 any one pls explain this

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

      AS you're still in the stone age ( ASP.NET 1.1 ), it means you didn't upload your dlls.

      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.

      K 2 Replies Last reply
      0
      • C Christian Graus

        AS you're still in the stone age ( ASP.NET 1.1 ), it means you didn't upload your dlls.

        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.

        K Offline
        K Offline
        kuduva
        wrote on last edited by
        #3

        can you pls explain me detailed

        C 1 Reply Last reply
        0
        • C Christian Graus

          AS you're still in the stone age ( ASP.NET 1.1 ), it means you didn't upload your dlls.

          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.

          K Offline
          K Offline
          kuduva
          wrote on last edited by
          #4

          Now i am getting this error Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>

          C S 2 Replies Last reply
          0
          • K kuduva

            can you pls explain me detailed

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

            I don't really get why people are writing code, posting here, but have no idea what they are doing. ASP.NET 1.1 compiles all your code into a dll, as far as I recall. That dll contains your .cs files. It needs to be on the server. With newer versions, the .cs files themselves need to be on the server. Either way, it's saying that the class that it needs to generate to generate an instance of the page ( which is your code behind ) has not been uploaded.

            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.

            1 Reply Last reply
            0
            • K kuduva

              Now i am getting this error Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>

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

              EVERY DAY !!! Every day, someone posts this here. Why can you people not READ what the error message says ? Why can't you think for yourselves ? The message means what it says. It means your website is broken, and your web.config settings need to be changed for you to see the actual error. What you posted, are explicit instructions on what to do, in order to see the actual error.

              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.

              V 1 Reply Last reply
              0
              • C Christian Graus

                EVERY DAY !!! Every day, someone posts this here. Why can you people not READ what the error message says ? Why can't you think for yourselves ? The message means what it says. It means your website is broken, and your web.config settings need to be changed for you to see the actual error. What you posted, are explicit instructions on what to do, in order to see the actual error.

                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.

                V Offline
                V Offline
                Vasudevan Deepak Kumar
                wrote on last edited by
                #7

                I think these people just see the bold big caption Server Error in '/' Application. and immediately come to the conclusion that something broke down and they should take help of somebody to solve the problem. The pertinent software vendors should seriously consider revising the text and caption of the error message to something more catchy and inspiring for these lazy guys to continue reading the rest of the text in the page. ;P

                Vasudevan Deepak Kumar Personal Homepage
                Tech Gossips
                The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep!

                1 Reply Last reply
                0
                • K kuduva

                  Now i am getting this error Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>

                  S Offline
                  S Offline
                  Sachin Dubey
                  wrote on last edited by
                  #8

                  Only thing u can do to catch the error.. u go and debug that site on ur server where u published this site.. there actual error u get...

                  1 Reply Last reply
                  0
                  • K kuduva

                    when i upload my code i got this error Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type '_Default'. Source Error: Line 1: <%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: f:\inetpub\suntvaus\Default.aspx Line: 1 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 any one pls explain this

                    P Offline
                    P Offline
                    prashantagro
                    wrote on last edited by
                    #9

                    Just remove this line from your HTML page <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> and use only Also take care about opening closing tags also

                    1 Reply Last reply
                    0
                    • K kuduva

                      when i upload my code i got this error Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load type '_Default'. Source Error: Line 1: <%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: f:\inetpub\suntvaus\Default.aspx Line: 1 Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300 any one pls explain this

                      R Offline
                      R Offline
                      RajeshVyda
                      wrote on last edited by
                      #10

                      Please check the properties in DefaultWebsite on IIS , because your page has looks like asp.net 2.0 but framework was in 1.1. Rajesh.

                      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