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. .NET (Core and Framework)
  4. .NET 1.1 application performance in Windows 2003 Server

.NET 1.1 application performance in Windows 2003 Server

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpsysadminperformancehelpquestion
9 Posts 3 Posters 1 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.
  • S Offline
    S Offline
    Sushant Duggal
    wrote on last edited by
    #1

    Hi Friends, I developed a desktop applcation in .NET 1.1 frameework using C#. The application works perfect in Windows XP or Windows 2000 Server environment, but in Windows 2003 server the application is really slow. The performance is degraded upto 200%. i.e. it takes 4 times more time in Windows 2003 server than under Windows XP or Windows 2000 server. Can anyone tell me what is the problem and can it be rectified. Thanks,

    Sushant Duggal.

    D R 2 Replies Last reply
    0
    • S Sushant Duggal

      Hi Friends, I developed a desktop applcation in .NET 1.1 frameework using C#. The application works perfect in Windows XP or Windows 2000 Server environment, but in Windows 2003 server the application is really slow. The performance is degraded upto 200%. i.e. it takes 4 times more time in Windows 2003 server than under Windows XP or Windows 2000 server. Can anyone tell me what is the problem and can it be rectified. Thanks,

      Sushant Duggal.

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Sushant Duggal wrote:

      Can anyone tell me what is the problem

      Nope. We don't know anything about your code or what your app is doing. If you give us some details, we might be able to suggest something.

      Dave Kreskowiak Microsoft MVP - Visual Basic

      S 1 Reply Last reply
      0
      • D Dave Kreskowiak

        Sushant Duggal wrote:

        Can anyone tell me what is the problem

        Nope. We don't know anything about your code or what your app is doing. If you give us some details, we might be able to suggest something.

        Dave Kreskowiak Microsoft MVP - Visual Basic

        S Offline
        S Offline
        Sushant Duggal
        wrote on last edited by
        #3

        Hi Dave, My application is a mail sending application using cdosys.dll. i have used threading concepts to enhance the performance of the application. but the performance is so bad in win2003 server Regards,

        Sushant Duggal.

        D 1 Reply Last reply
        0
        • S Sushant Duggal

          Hi Dave, My application is a mail sending application using cdosys.dll. i have used threading concepts to enhance the performance of the application. but the performance is so bad in win2003 server Regards,

          Sushant Duggal.

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          This doesn't help much. You'll have to profile your code on the Server to see where the problem is.

          Dave Kreskowiak Microsoft MVP - Visual Basic

          S 1 Reply Last reply
          0
          • D Dave Kreskowiak

            This doesn't help much. You'll have to profile your code on the Server to see where the problem is.

            Dave Kreskowiak Microsoft MVP - Visual Basic

            S Offline
            S Offline
            Sushant Duggal
            wrote on last edited by
            #5

            This doesn't help much. You'll have to

            profile your code

            on the Server to see where the problem is. Hi, Can you tell me what do you mean by profiling the code??? Thanks,

            Sushant Duggal.

            D 1 Reply Last reply
            0
            • S Sushant Duggal

              This doesn't help much. You'll have to

              profile your code

              on the Server to see where the problem is. Hi, Can you tell me what do you mean by profiling the code??? Thanks,

              Sushant Duggal.

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              It means that you use a code profiling package to log the time it takes to execute sections of your code. This will tell you where the bottleneck is so you can troublehsoot your problem. Here[^] is a trial version of a profiler.

              Dave Kreskowiak Microsoft MVP - Visual Basic

              1 Reply Last reply
              0
              • S Sushant Duggal

                Hi Friends, I developed a desktop applcation in .NET 1.1 frameework using C#. The application works perfect in Windows XP or Windows 2000 Server environment, but in Windows 2003 server the application is really slow. The performance is degraded upto 200%. i.e. it takes 4 times more time in Windows 2003 server than under Windows XP or Windows 2000 server. Can anyone tell me what is the problem and can it be rectified. Thanks,

                Sushant Duggal.

                R Offline
                R Offline
                Robert Rohde
                wrote on last edited by
                #7

                Hi, check if the server is ok. I once had a similar situations and begun profiling my application. After several days a figured out that the hard disk was slow because of a badly configured raid system. It could have saved me several days if I just had called our admin to tell him to fix the raid. Robert

                S 1 Reply Last reply
                0
                • R Robert Rohde

                  Hi, check if the server is ok. I once had a similar situations and begun profiling my application. After several days a figured out that the hard disk was slow because of a badly configured raid system. It could have saved me several days if I just had called our admin to tell him to fix the raid. Robert

                  S Offline
                  S Offline
                  Sushant Duggal
                  wrote on last edited by
                  #8

                  Thanks Robert, But I tried it on two systems, ans I faced the same problem.:( Can you tell me about profiling. Regards,

                  Sushant Duggal.

                  R 1 Reply Last reply
                  0
                  • S Sushant Duggal

                    Thanks Robert, But I tried it on two systems, ans I faced the same problem.:( Can you tell me about profiling. Regards,

                    Sushant Duggal.

                    R Offline
                    R Offline
                    Robert Rohde
                    wrote on last edited by
                    #9

                    Hi, in short: 1. Compile your app in Debug mode and put it onto the server. 2. Download and install a profiler on the server (NProf[^] is a free one). 3. Start NProf, select your application and make a test run. 4. In case of NProf the application must shut down before it shows any results. 5. Analyse the results to find which part of your app is slow. Robert

                    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