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. Error in .net remoting!!

Error in .net remoting!!

Scheduled Pinned Locked Moved C#
csharpquestiondotnetsysadminhelp
2 Posts 2 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.
  • S Offline
    S Offline
    samtam
    wrote on last edited by
    #1

    I am developing server and client application using .net remoting in c#. When I run both client and server applications from the same machine, things work fine. But when I host the server on a different machine, exceptions dont get thrown across, rather I get the remoting error with the message "Server has encountered an internal error,for more information turn off custom Errors in servser's.config file". I'm using .NET Framework 1.1. on both server and client. The server is hosted in a windows service. I've read that this can be avoided by setting "off" in the server configuration file. But I am not using config file to configure my windows service.As I configure it programmatically.Can any body tell me how to avoid this error and what is the reason of this?? Thanks Sam

    N 1 Reply Last reply
    0
    • S samtam

      I am developing server and client application using .net remoting in c#. When I run both client and server applications from the same machine, things work fine. But when I host the server on a different machine, exceptions dont get thrown across, rather I get the remoting error with the message "Server has encountered an internal error,for more information turn off custom Errors in servser's.config file". I'm using .NET Framework 1.1. on both server and client. The server is hosted in a windows service. I've read that this can be avoided by setting "off" in the server configuration file. But I am not using config file to configure my windows service.As I configure it programmatically.Can any body tell me how to avoid this error and what is the reason of this?? Thanks Sam

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      samtam wrote:

      "Server has encountered an internal error".

      It's an internal error, it could be anything:rolleyes:. Add a config file and set custome errors off like it says to get more information:sigh:


      only two letters away from being an asset

      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