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. General Programming
  3. C#
  4. C# files missing .cs file

C# files missing .cs file

Scheduled Pinned Locked Moved C#
tutorialcsharpsysadminhelp
15 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.
  • U Offline
    U Offline
    User 9021337
    wrote on last edited by
    #1

    our client website was hosted on other server , i download website from dere n hosted on other server now smtp mails not working n i cant ,n i can find ne CS files in my projects plz guide how to solve the issue

    S 1 Reply Last reply
    0
    • U User 9021337

      our client website was hosted on other server , i download website from dere n hosted on other server now smtp mails not working n i cant ,n i can find ne CS files in my projects plz guide how to solve the issue

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      It sounds like it's pre-compiled website. If you have a pre-compiled website, you will not be able to access the original .cs files. They are compiled into assemblies, which can be found in website's bin folder. If you don't have the code, then you need to trace back it using reflector. BTW, this is an ASP.NET based question, so correct forum would had been: http://www.codeproject.com/Forums/12076/ASP-NET.aspx[^] or CP: Q&A[^]

      Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]

      U 1 Reply Last reply
      0
      • S Sandeep Mewara

        It sounds like it's pre-compiled website. If you have a pre-compiled website, you will not be able to access the original .cs files. They are compiled into assemblies, which can be found in website's bin folder. If you don't have the code, then you need to trace back it using reflector. BTW, this is an ASP.NET based question, so correct forum would had been: http://www.codeproject.com/Forums/12076/ASP-NET.aspx[^] or CP: Q&A[^]

        Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]

        U Offline
        U Offline
        User 9021337
        wrote on last edited by
        #3

        can u explain me briefly so it would help me i m totally new in C# i checked bin folder its empty even i changed my web config ; providing my new emails new hosted account but its it giving same error in my project folder i can see precompliedAPP.config i have ftp account information of previous website i downlaoded website from dere only n uploaded to new server. thnx alot

        S 2 Replies Last reply
        0
        • U User 9021337

          can u explain me briefly so it would help me i m totally new in C# i checked bin folder its empty even i changed my web config ; providing my new emails new hosted account but its it giving same error in my project folder i can see precompliedAPP.config i have ftp account information of previous website i downlaoded website from dere only n uploaded to new server. thnx alot

          S Offline
          S Offline
          Sandeep Mewara
          wrote on last edited by
          #4

          Well, based on what you report, it looks like assemblies might be in GAC. Changing just the web.Config would not help.

          Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]

          1 Reply Last reply
          0
          • U User 9021337

            can u explain me briefly so it would help me i m totally new in C# i checked bin folder its empty even i changed my web config ; providing my new emails new hosted account but its it giving same error in my project folder i can see precompliedAPP.config i have ftp account information of previous website i downlaoded website from dere only n uploaded to new server. thnx alot

            S Offline
            S Offline
            Sandeep Mewara
            wrote on last edited by
            #5

            Well, based on what you report, it looks like assemblies might be in GAC. Changing just the web.Config would not help. If you don't have the full source file, it would difficult for you to replicate the environment.

            Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]

            U 2 Replies Last reply
            0
            • S Sandeep Mewara

              Well, based on what you report, it looks like assemblies might be in GAC. Changing just the web.Config would not help. If you don't have the full source file, it would difficult for you to replicate the environment.

              Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]

              U Offline
              U Offline
              User 9021337
              wrote on last edited by
              #6

              client gave me ftp account details i downloaded from dere but .cs files missing in dat too but on dere server the website was running completely in web config dey used :<add key="MySMTPServer" value="relay-hosting.secureserver.net"/> i changed server n SMTP details still it shows error guide some way to solve d issue

              P 1 Reply Last reply
              0
              • U User 9021337

                client gave me ftp account details i downloaded from dere but .cs files missing in dat too but on dere server the website was running completely in web config dey used :<add key="MySMTPServer" value="relay-hosting.secureserver.net"/> i changed server n SMTP details still it shows error guide some way to solve d issue

                P Offline
                P Offline
                Pete OHanlon
                wrote on last edited by
                #7

                When you deploy to a web server, its common practice NOT to include the original source files. Instead, they will have uploaded the compiled version of the site - which means that you won't have the original C# files. If you need these files, you are either going to have to decompile them or the client will have to supply you with the original files. Now, please - stop using text speak in posts. There's no reason for you to do this, and it means that a great number of people reading these posts have difficulty in understanding them.

                *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                U 1 Reply Last reply
                0
                • P Pete OHanlon

                  When you deploy to a web server, its common practice NOT to include the original source files. Instead, they will have uploaded the compiled version of the site - which means that you won't have the original C# files. If you need these files, you are either going to have to decompile them or the client will have to supply you with the original files. Now, please - stop using text speak in posts. There's no reason for you to do this, and it means that a great number of people reading these posts have difficulty in understanding them.

                  *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                  "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                  CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                  U Offline
                  U Offline
                  User 9021337
                  wrote on last edited by
                  #8

                  ok

                  P 1 Reply Last reply
                  0
                  • U User 9021337

                    ok

                    P Offline
                    P Offline
                    Pete OHanlon
                    wrote on last edited by
                    #9

                    Text speak.

                    *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                    "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                    CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                    U 1 Reply Last reply
                    0
                    • P Pete OHanlon

                      Text speak.

                      *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                      "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                      U Offline
                      U Offline
                      User 9021337
                      wrote on last edited by
                      #10

                      Now i should i asked client for complete project files ,becoz none of the asp pages contains backend pages all are in C# because when i asked for project dey gave me FTP information only , which doesnot contain backend files

                      1 Reply Last reply
                      0
                      • S Sandeep Mewara

                        Well, based on what you report, it looks like assemblies might be in GAC. Changing just the web.Config would not help. If you don't have the full source file, it would difficult for you to replicate the environment.

                        Sandeep Mewara [My last article]: Server side Delimiters in ASP.NET[^]

                        U Offline
                        U Offline
                        User 9021337
                        wrote on last edited by
                        #11

                        How can i get the .cs files for my projects

                        P 1 Reply Last reply
                        0
                        • U User 9021337

                          How can i get the .cs files for my projects

                          P Offline
                          P Offline
                          Pete OHanlon
                          wrote on last edited by
                          #12

                          As I've already explained to you, you either have to decompile the DLL files or you have to get the client to supply the missing files. There are no other options. Rather than wasting time here, you should go to the client and explain to them that they have not supplied you with the source files, and as a result, you cannot make whatever changes they require until they provide you with them.

                          *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                          "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                          U 1 Reply Last reply
                          0
                          • P Pete OHanlon

                            As I've already explained to you, you either have to decompile the DLL files or you have to get the client to supply the missing files. There are no other options. Rather than wasting time here, you should go to the client and explain to them that they have not supplied you with the source files, and as a result, you cannot make whatever changes they require until they provide you with them.

                            *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                            "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                            CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                            U Offline
                            U Offline
                            User 9021337
                            wrote on last edited by
                            #13

                            i decompiled the dll and got the files now how can i connect dt with particular asp page for registration i got registration.cs,for career i got career.cs files how do i connect dem with dere pages

                            P 1 Reply Last reply
                            0
                            • U User 9021337

                              i decompiled the dll and got the files now how can i connect dt with particular asp page for registration i got registration.cs,for career i got career.cs files how do i connect dem with dere pages

                              P Offline
                              P Offline
                              Pete OHanlon
                              wrote on last edited by
                              #14

                              Please - no text speak. I can't translate what you put in to that question. Try again without the text speak.

                              *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                              "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                              CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                              U 1 Reply Last reply
                              0
                              • P Pete OHanlon

                                Please - no text speak. I can't translate what you put in to that question. Try again without the text speak.

                                *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                                "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                                CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                                U Offline
                                U Offline
                                User 9021337
                                wrote on last edited by
                                #15

                                i didnt understand wht is text speak???

                                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