working. But Im getting this error:
Server encountered an internal error. To get more info turn on
customErrors in the server's config file.
I need to know how to get the specific error
I have turned on CustomErrors:
<customErrors mode="On" />
But still I get this error

.NET remoting error:
GwapoJoe
Also, FYI.. when using ASP.NET remoting hosts try switching the client formatter temporarily to soap when you have formatter and server errors (errors that occur before your components run). When IIS returns an error it's doing so in plain text and if you're using the binary format the message will not be readable. Ex. In the client config:
<channels>
<channel ref="http" useDefaultCredentials="true" port="0">
<clientProviders>
<formatter ref="soap" />
</clientProviders>
</channel>
</channels>
Did you resolve your issues
Metamia
i.e. from myMachine/myApp to server1/myApp (sending serialzed data and such over TCP/IP)
it works fine, no probs
but going backwards using the same EXACT code
i.e. from server1/myApp to myMachine/myApp
I get the error mentioned in my first post. But just then, I tried it again and got this:
System.Runtime.Remoting.RemotingException: Remoting configuration failed with the exception System.Runtime.Remoting.RemotingException:
The channel http is already registered.
What does this mean Im assuming it has something to do with my web.config file that contains a tag like this:
<channel ref="http" useDefaultCredentials="false" />
Can someone please help me This is a large issue and needs to be resolved soon.
Thanks to anyone
Marc Laroche
I used a web config file to resigter the http channel in both apps (the local and remote app, or in other words, the code is identical). This is when the error occured. I fixed the cusotm error problem, I did what you just said to fix it. Then I took out the registration in the web config file, and created a new config file called remote.config. This is where I put the xml code for the registration. Then in the Application_Start() method I ran a small peice of code to "run" the new config file, this seemed to fix my problem although I dont really know why...
Israel213
How are configuring your remoting server/client. Are you using a config file or doing it in code.
>> The channel http is already registered.
You are getting this error because you are trying to configure the remoting infrasturcture twice.
>> Server encountered an internal error. To get more info turn on customErrors in the server's config file. I need to >> know how to get the specific error I have turned on CustomErrors: <customErrors mode="On" />
If you want to know the detailed error the set customErrors to "Off".
Setting it to "On" will allow you to write customized error messages.