 |
|
|
ArGoStuff User to User Support Forums
|
 |
|
 |
| Author |
Messages |
|
intouch
Posts: 8 Online:  ArGoNuke Recruit


 |
| 08-04-2008 10:54 AM |
|
Using the new .Net webmail interface, I have a problem with the system timing out and then displaying the error message "System.NullReferenceException: Object reference not set to an instance of an object." along wth the source and stack trace as I have enabled this in the Config.Web file. The version of the Webmail interface is 1.0.5.3.
I have tried to extend the timeout in the application by adding a line to the Config.Web file in the webmail folder, as follows; This was based on research via Google that indicated this was the correct way to control details of the ASP.NET session timeout.
Unfortunately, this does not seem to work, and fails to extend the timout beyond around 10 minutes. The issue is mostly a problem when people are preparing emails to send, as if they take too long it times out and they lose all their work. The old MSPro version did not have a short timeout, and users have come to expect this in our service.
Can anyone shed some light on what options we have for extending the timeout, either in the application or generally within IIS itself? I am using Server 2008, but have the same issue on Server 2003.
|
|
|
|
|
SteveT Forum Administrator
 Posts: 2577 Online:  ArGoNuke Admiral


 |
| 08-05-2008 9:52 PM |
|
| I think you are referring to Session State. By default is will time out after 20 minutes. In IIS6 (Windows 2003) you can change this value by going to your web site, right click and select Properties. Select the Home Directory Tab -> Configuration Button -> Options Tab. From there you can increase your session state time out. |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
intouch
Posts: 8 Online:  ArGoNuke Recruit


 |
| 08-05-2008 10:11 PM |
|
Hi Steve, Thanks for that. The hint about where this should be controlled is what I needed. I am using 2008 Server, which has IIS7 installed, and the location of the setting is in Website/ASP.Net/Session State. There are a range of options regarding session state, and the default for this is 20 minutes. It would be good for the webmail code to be more robust, to check on the validity of the session variables before they are used, so that this error is handled correctly. It seems that there are only a few places where this would need to be done, but I am not an ASP.Net programmer so would not know the best way to go about this. I hope this feedback is useful as positive criticism, not negative, and thanks again for the pointer on where I should be looking. I have increased the setting to 60 minutes, and now I will have to wait at least 25 to verify that my change has worked. |
|
|
|
|
SteveT Forum Administrator
 Posts: 2577 Online:  ArGoNuke Admiral


 |
|
intouch
Posts: 8 Online:  ArGoNuke Recruit


 |
| 08-06-2008 12:32 AM |
|
| Unfortunately, it hasn't worked, the application still times out. I have tested with IIS 6 on 2003 server and IIS 7 on 2008 server, neither have worked so far. I will do some more research and testing over the next 24-48 hours and report back on what works if I can get it happening. My other option is to investigate the code and handle the session timeout manually, or to use options in ASP that will allow the session to be recreated. There seem to be many options! |
|
|
|
|
SteveT Forum Administrator
 Posts: 2577 Online:  ArGoNuke Admiral


 |
| 08-06-2008 12:39 AM |
|
| I have advised Archie and it is on his "To-Do" list. Did you restart IIS after making the change? |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
intouch
Posts: 8 Online:  ArGoNuke Recruit


 |
| 08-06-2008 1:36 AM |
|
| Yes, restarted IIS. Did not restart the server, figured it would not be necessary. |
|
|
|
|
SteveT Forum Administrator
 Posts: 2577 Online:  ArGoNuke Admiral


 |
| 08-06-2008 7:58 AM |
|
| It shouldn't be necessary to restart the server, but I am unfamiluar with the Quirks of Win2008. I haven't tried it yet. But have been doing some reading on it. |
|
Regards, Steve Topilnycky Top Cat Computing http://www.topcatcomputing.com |
|
|
dr_fission
Posts: 5 Online:  ArGoNuke Recruit


 |
| 10-02-2008 5:45 AM |
|
| Go to the web.config file in the WebMail directory and locate the sessionState settings about half way down. The timeout default is set to 2 minutes in ver 1.0.5.5. Just change the timeout to whatever length in minutes that you want. |
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|
|
|
|
|
|
 |
| Mail Server v1.0.5.8 | |
Mail Server
- Mailbags now have an option to accept mail only when specified server is down - will help to fight
with spam which attempt to deliver mail bypassing the main server;
- When delivering mail, if main exchanger returns 4xx reply (temporary problem), the server will not
try other exchangers, will retry later the main exchanger;
- Server options moved from registry to a XML file. 64 bit versions of Vista and 2008 server appear
to be having access rights problems to the Windows registry, and the change will make our server more
compatible with 64 bit versions;
- Added an option to specify the number of lines on the log screen, when using the user interface.
Was causing memory problems if left running for long time;
- Fixed couple of problems, which were showing when SQL server was set up to use
case sensitive SQL statements;
- Made changes in the remoting interface to allow logging in using aliases;
Web Interface
- Made changes to allow logging in using aliases;
- When viewing folders, web interface now displays the name of logged in user;
| | 11/12/2008 2:31:31 PM |
|
| FTP Server v1.0.1.6 |
- Server settings have been moved from registry to the XML file, which will be
located in the common application data directory. 64 bit versions of Windows were
having trouble writing into the registry; similar change
is coming to the mail server;
- If used, XML files (Users.XML, Groups.XML and ServerOptions.XML) will also be moved
to the common application data directory;
| | 11/8/2008 11:41:29 PM |
|
| FTP Server v1.0.1.5 |
- When performing active data transfers on systems with multiple IP addresses, data
connections were using first available IP address, rather than one on which the control
connection was active. It was causing confusion with firewalls and routers;
| | 11/2/2008 9:39:24 PM |
|
| Web Mail Hosting | I am considering to start web mail hosting service for ArGoSoft Mail Server .NET: mail server will be installed on your computer, while the web interface - on ours. It will save the hassle with setting up the web interface, and keep updating it.
Please vote here wheter you are interested in such a service.
| | 10/23/2008 11:07:28 AM |
|
| ArGoSoft Mail Server .NET v1.0.5.7 | |
Mail Server
- Added Bounced Messages under Options, allowing users to customize
bounced and warning messages. This feature was present in the Pro version,
but was missing in the .NET;
- Now it is possible to set a daily limit for each user for sending mail out (see Max Rcpt To...
option when editing users);
- Each session can have a limit of RCPT TO commands Options - Server Settings - General
. This feature was present in the Pro version, but was missing in the .NET.
- Now allowing to specify the lifetime for remoting validation token, can be useful to extend the
length of web interface sessions (Options - Server Options - Advanced);
Web Interface
-
Fixed Unable to Find Users Path... exceptions problem when accessing users for very first time;
-
Updated to allow the domain group administrator to update Max Rcpt To commands (see above);
| | 10/22/2008 5:45:26 PM |
|
|
|
|
|
 |
 |
|
 |
|