473,406 Members | 2,894 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,406 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 5124
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.