all groups > dotnet remoting > august 2005 >
You're in the

dotnet remoting

group:

server encountered an internal error. for more information, turn off customErrors in the server's .config file.


server encountered an internal error. for more information, turn off customErrors in the server's .config file. Ray Stevens
8/26/2005 11:12:19 AM
dotnet remoting: That is not a particularly useful error message. this is being thrown by a
remoting server accessing the bll/dal layers from a web. I turned off
customErrors in the remote config file, but still get this error.

Anyone have a clue as to what to do about it?

Re: server encountered an internal error. for more information, turn off customErrors in the server's .config file. Beth Massi [Architect MVP]
8/26/2005 2:04:24 PM
In your Web.config, make sure you also set the typeFilterLevel attribute to
"Full" if you're passing any custom exceptions:

<channels>
<channel ref="http">
<serverProviders>
<formatter ref="binary" typeFilterLevel="Full" />
</serverProviders>
</channel>
</channels>

Also, the settings are case sensitive so make sure you specified the
customErrors mode like:

<customErrors mode="Off" />

note the capitalized "O"

HTH,
-B

[quoted text, click to view]

Re: server encountered an internal error. for more information, turn off customErrors in the server's .config file. Ray Stevens
8/26/2005 2:14:03 PM
The remoting application is not running in asp.net. It is a bll/dal
application layer running as a service and is of the form:
FloodRemoteHostService.exe.config. Is customErrors supported here?

[quoted text, click to view]

Re: server encountered an internal error. for more information, turn off customErrors in the server's .config file. Beth Massi [Architect MVP]
8/26/2005 2:28:43 PM
Gotcha. So in your case ASP.NET is the client which calls the remote
components, right? You should still be able to see the exception being
caught in your ASP.NET app by setting the customErrors attribute in the
Web.config to "Off". Otherwise try triggering the exception by running a
browser on the same machine as the ASP.NET application.

[quoted text, click to view]

AddThis Social Bookmark Button