473,405 Members | 2,373 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,405 software developers and data experts.

RemotingConfiguration.Configure problem

Hi

Everytime my ASP.Net app starts it configures remoting using
RemotingConfiguration.Configure methods. However, after the app has run
once and then I try and run it again it throws an exception because the
config has already been read.

Why is the configuration is being held even when I finish the app and also
restart IIS?

Any ideas?
Thanks
Kev
Nov 16 '05 #1
2 4105
Mantorok,

Where are you making the calls to the Configure method? I think it
would not be when the application starts, but maybe when the session starts,
or as a result of some other repeatable event in ASP.NET.

Also, why not configure it in the web.config file? This way, you are
assured it is setup only once.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mantorok" <no**@tiscali.co.uk> wrote in message
news:cu**********@newsfeed.th.ifl.net...
Hi

Everytime my ASP.Net app starts it configures remoting using
RemotingConfiguration.Configure methods. However, after the app has run
once and then I try and run it again it throws an exception because the
config has already been read.

Why is the configuration is being held even when I finish the app and also
restart IIS?

Any ideas?
Thanks
Kev

Nov 16 '05 #2

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:Ov**************@TK2MSFTNGP09.phx.gbl...
Mantorok,

Where are you making the calls to the Configure method? I think it
would not be when the application starts, but maybe when the session
starts, or as a result of some other repeatable event in ASP.NET.
Application start at the moment...
Also, why not configure it in the web.config file? This way, you are
assured it is setup only once.
The configuration is in the Web.Config file, I was under the impression you
still had to call Configure though?

Kev
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mantorok" <no**@tiscali.co.uk> wrote in message
news:cu**********@newsfeed.th.ifl.net...
Hi

Everytime my ASP.Net app starts it configures remoting using
RemotingConfiguration.Configure methods. However, after the app has run
once and then I try and run it again it throws an exception because the
config has already been read.

Why is the configuration is being held even when I finish the app and
also restart IIS?

Any ideas?
Thanks
Kev


Nov 16 '05 #3

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

Similar topics

0
by: Per Bergland | last post by:
After many woes, I finally managed to get a stack dump of my System Service (written in C#) that insists on crashing when launched at system boot time (see below on how to get this dump - I...
2
by: Mantorok | last post by:
Hi I use RemotingCOnfiguration.Configure("App.config") to configure my ports, however sometimes after I have closed the app and restart it throws an exception "Only one usage of each socket...
0
by: Mas L via DotNetMonster.com | last post by:
Hi, I have a problem with getting values from the RemotingConfiguration. RemotingConfiguration::Configure ("RTC_cpp.exe.config"); RealTimeDataManager^ manager = gcnew...
1
by: big A | last post by:
I am writing an ASP.net application using the web.config file and RemotingConfiguration.Configure to define the remoting configuration. This technique works fine for the initial page load; however...
0
by: Mantorok | last post by:
Hi I store my tcp port configuration in my Web.config file and I read the configuration using RemotingConfiguration.Configure when the session starts. However when I start the app after...
0
by: Phill W. | last post by:
I have a Windows Service that serves out Remoted objects. Not surprisingly, I used RemotingConfiguration.Configure( file ) to handle the required configuration stuff. However, I'd /like/...
2
by: Lambuz | last post by:
Hello everyone, I have an applciation that uses remoting. When the application is run via a local copy it works. When it is run via an HTTP address RemotingConfiguration.Configure fails....
13
by: José Joye | last post by:
Hello, What is the best way to stop a remoting server (Singleton SAO) that has been started with RemotingConfiguration.Configure(). For sure, I want to do this without quitting the application...
7
by: Mathieu Prevot | last post by:
Hi, I have the following error when I run configure: checking size of wchar_t... configure: error: cannot compute sizeof (wchar_t) what can I do ? Mathieu
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.