Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Remoting / August 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ray Stevens - 26 Aug 2005 19:12 GMT
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?
Beth Massi [Architect MVP] - 26 Aug 2005 22:04 GMT
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

> 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?
Ray Stevens - 26 Aug 2005 22:14 GMT
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?

> In your Web.config, make sure you also set the typeFilterLevel attribute
> to "Full" if you're passing any custom exceptions:
[quoted text clipped - 22 lines]
>>
>> Anyone have a clue as to what to do about it?
Beth Massi [Architect MVP] - 26 Aug 2005 22:28 GMT
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.

> 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:
[quoted text clipped - 26 lines]
>>>
>>> Anyone have a clue as to what to do about it?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.