473,388 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Problem with Dynamic Remoting - How to adjust .Config for customErrors ... When I dont have a web.config???

I am using remoting via TCPChannels. Sometimes, I get this message:

"Server encountered an internal error. For more information, turn on
customErrors in the server's .config file."

I don't have a web.config file as I am basically using this example:

http://msdn.microsoft.com/library/de...ublication.asp

I found this post that shows how to fix a Web.Config for Remoting ... if I
had a web.config to change ...?

http://dotnetjunkies.com/WebLog/chri...cles/5566.aspx

Basically he says to use this (If I had a Web.Config to change .. but I
don't have one ... I am dynamic remoting ... right?):

xml version="1.0" encoding="utf-8" ?>

<configuration>

<system.runtime.remoting>

<customErrors mode="off"/>

system.runtime.remoting>

configuration>
So, I don't really know how to fix or understand this horrible and iky -
iky - evil - bad error message .... unless IIS has some hidden default
Web.Config? Or maybe there is something else I need to try?

Thanks in advance.
Nov 23 '05 #1
2 5121
I found more info at Chris's Web log (Have to scroll past the emptyness) to
check out the Machine.Config. I cant seem to find much on this. Anyone
have a good link for the Machine.Config?

"gregory_may" <None> wrote in message
news:OQ**************@tk2msftngp13.phx.gbl...
I am using remoting via TCPChannels. Sometimes, I get this message:

"Server encountered an internal error. For more information, turn on
customErrors in the server's .config file."

I don't have a web.config file as I am basically using this example:

http://msdn.microsoft.com/library/de...ublication.asp

I found this post that shows how to fix a Web.Config for Remoting ... if
I had a web.config to change ...?

http://dotnetjunkies.com/WebLog/chri...cles/5566.aspx

Basically he says to use this (If I had a Web.Config to change .. but I
don't have one ... I am dynamic remoting ... right?):

xml version="1.0" encoding="utf-8" ?>

<configuration>

<system.runtime.remoting>

<customErrors mode="off"/>

system.runtime.remoting>

configuration>
So, I don't really know how to fix or understand this horrible and iky -
iky - evil - bad error message .... unless IIS has some hidden default
Web.Config? Or maybe there is something else I need to try?

Thanks in advance.

Nov 23 '05 #2
I found more info at Chris's Web log (Have to scroll past the emptyness) to
check out the Machine.Config. I cant seem to find much on this. Anyone
have a good link for the Machine.Config?

"gregory_may" <None> wrote in message
news:OQ**************@tk2msftngp13.phx.gbl...
I am using remoting via TCPChannels. Sometimes, I get this message:

"Server encountered an internal error. For more information, turn on
customErrors in the server's .config file."

I don't have a web.config file as I am basically using this example:

http://msdn.microsoft.com/library/de...ublication.asp

I found this post that shows how to fix a Web.Config for Remoting ... if
I had a web.config to change ...?

http://dotnetjunkies.com/WebLog/chri...cles/5566.aspx

Basically he says to use this (If I had a Web.Config to change .. but I
don't have one ... I am dynamic remoting ... right?):

xml version="1.0" encoding="utf-8" ?>

<configuration>

<system.runtime.remoting>

<customErrors mode="off"/>

system.runtime.remoting>

configuration>
So, I don't really know how to fix or understand this horrible and iky -
iky - evil - bad error message .... unless IIS has some hidden default
Web.Config? Or maybe there is something else I need to try?

Thanks in advance.

Nov 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: David Krmpotic | last post by:
Hi All! I have a .NET remoting Client-Server application with Server Activated Objects only.. something is worrying me.. sometimes (rarely), I can't connect to the server although it is...
15
by: Ron L | last post by:
We are working on a distributed VB.Net application which will access a SQL database located on a known server. Each client will run on the user's local machine. To implement this, we are trying...
0
by: gregory_may | last post by:
I am using remoting via TCPChannels. Sometimes, I get this message: "Server encountered an internal error. For more information, turn on customErrors in the server's .config file." I don't...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.