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. Step's to upload the site on web server

Step's to upload the site on web server

Scheduled Pinned Locked Moved ASP.NET
tutorialcsharpasp-netsysadmin
17 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.
  • K kuduva

    it need any web.config file and bin dir

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

    Yes, of course it does, that's why those things exist. Copy the entire folder.

    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 1 Reply Last reply
    0
    • C Christian Graus

      Yes, of course it does, that's why those things exist. Copy the entire folder.

      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
      #7

      i need to change any code in web.config when i am uploading right now i am uploading the site

      C 1 Reply Last reply
      0
      • K kuduva

        i need to change any code in web.config when i am uploading right now i am uploading the site

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

        Why don't you try doing what I say, and report back if you have any issues ? If you don't have any connection strings in there, or other paths that would change, then you shouldn't need to change it, no.

        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 1 Reply Last reply
        0
        • C Christian Graus

          Why don't you try doing what I say, and report back if you have any issues ? If you don't have any connection strings in there, or other paths that would change, then you shouldn't need to change it, no.

          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
          #9

          i upload my its show's error like this

          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>

          K 1 Reply Last reply
          0
          • K kuduva

            i upload my its show's error like this

            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>

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

            after i change the RemoteOnly to off it shows the same error

            C 1 Reply Last reply
            0
            • K kuduva

              after i change the RemoteOnly to off it shows the same error

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

              You will need to work out how to get it to show you the actual error in order to fix it. Can you log into the server and view it there ? If not, check the settings, but I suspect it's cached the web.config and needs to be reset in order to show you the real 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.

              K 1 Reply Last reply
              0
              • C Christian Graus

                You will need to work out how to get it to show you the actual error in order to fix it. Can you log into the server and view it there ? If not, check the settings, but I suspect it's cached the web.config and needs to be reset in order to show you the real 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.

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

                i cont understand, can pls tell me clearly

                C K 2 Replies Last reply
                0
                • K kuduva

                  i cont understand, can pls tell me clearly

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

                  If you changed the web.config on the server, it's possible the server is still reading the old version because of some sort of cache. Beyond that, you need to work out why it's not showing you the actual error, or you can't do anything to fix it. If you could either log in to the server, or go to it physically, the right error would show if you browsed to the site from the server.

                  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

                    i cont understand, can pls tell me clearly

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

                    i logged in to the server and i saw the web.config file i change the RemoteOnly to Off inside tag but same error display

                    K C 2 Replies Last reply
                    0
                    • K kuduva

                      i logged in to the server and i saw the web.config file i change the RemoteOnly to Off inside tag but same error display

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

                      if i change the content of the web.config file like this

                      <configuration>
                      <system.web>
                      <customErrors mode="Off"/>
                      </system.web>
                      </configuration>

                      its shows error like this

                      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="false" 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

                      1 Reply Last reply
                      0
                      • K kuduva

                        i logged in to the server and i saw the web.config file i change the RemoteOnly to Off inside tag but same error display

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

                        To reiterate ( for the third time ), if you can log into the server, as in, control the server somehow, then yuo should browse to your site within the server. Then you will see the error. Beyond that, you need to work out how to fix your web.config, or if you're sure you have and that you saved it correctly, you need to reset your server. Could you have your site in the subdirectory of where the web server is looking ? Perhaps it's seeing an error somewhere other than where you put your code ?

                        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

                          Hi to all i am new face to asp.net i develop a website in asp.net (language = vb) in .NET 2.0. In my system i run the project. i want to upload the site in a web server. i have web server and domain name. can any tell pls how to upload my site in web server i have change a file content to run in web pls tell me step by step procedure to upload my site

                          P Offline
                          P Offline
                          praveen c byzan com
                          wrote on last edited by
                          #17

                          hi, after making all the changes,if u have changed config file too u need to reset the iis before runing it so reset the iis and then run it, praveen.

                          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