Author |
|
JimmE Newbie
Joined: 21 January 2010 Location: United Kingdom
Online Status: Offline Posts: 6
|
Posted: 24 August 2011 at 4:19am | IP Logged
|
|
|
Hi,
Some users are experiencing issues deleting and/or sending messages.
When sending a message, they get an error saying "WebMail exception occured" - but the message does actually send.
When deleting a message from the inbox - they also get this message - but the message does not delete.
I'd probably be able to troubleshoot this if I could find out a little more information about the actual error occurring. We run the ASP.NET version of Webmail Pro. I've checked the debug logs within the AdminPanel but these do not show any errors. Is there any other logging I can check?
Many thanks,
James Edgar
EPA
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 24 August 2011 at 4:22am | IP Logged
|
|
|
ASP.NET version provides two kinds of logging indeed, you can find more info on this here. It might be worth checking if the issue persists with the latest 6.2 version of WebMail Pro. To find out what version you currently run, check this page please.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
JimmE Newbie
Joined: 21 January 2010 Location: United Kingdom
Online Status: Offline Posts: 6
|
Posted: 24 August 2011 at 4:41am | IP Logged
|
|
|
Hi Igor,
Many thanks. I've followed those instructions (uncommented the line, verified that the path is correct, and ensured that both IUSR and NETWORK SERVICE have full permissions over the log file (the application pool IIS uses for the Webmail App runs as Network Service) and restarted IIS but still get no errors in this log. Is there another user account I should have enabled permissions for?
Many thanks,
James Edgar
EPA
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 24 August 2011 at 4:49am | IP Logged
|
|
|
For testing purposes, setting Full Control to Everyone user might be a good idea.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
JimmE Newbie
Joined: 21 January 2010 Location: United Kingdom
Online Status: Offline Posts: 6
|
Posted: 24 August 2011 at 5:33am | IP Logged
|
|
|
Of course - many thanks.
I've got the log files working now so will take a look and see what I can find.
Thanks for the fast response!
James Edgar
EPA
|
Back to Top |
|
|
JimmE Newbie
Joined: 21 January 2010 Location: United Kingdom
Online Status: Offline Posts: 6
|
Posted: 25 August 2011 at 12:36am | IP Logged
|
|
|
OK, so this seems quite odd. It seems as though Webmail is having problems creating folders on the disk?
[25/08/2011 08:33:01][CreateFolderFullPath] - Sent Items
[25/08/2011 08:33:01][CreateFolderFullPath] - C:\webmail\App_Data\Mail\k\k*******k@b******p.co.uk.12\Sent Items
This is the last part of the log file before the error occurs (address obscured). At this point in the Webmail application I'm just trying to send an email. The message sends but the application returns the exception error to the user.
------------------------------------------------------------
[25/08/2011 08:33:01] ERROR!!!
[Message]
IOException occurred. InnerException message follows: Could not find a part of the path 'C:\webmail\App_Data\Mail\k\keithturk@beagroup.co.uk.12\Sent Items\197.eml'.
[TargetSite]
Void WinIOError(Int32, System.String)
[Stack Trace]
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at gc.a(String A_0, Byte[] A_1)
[Method]: a
[Line, Column]: [0, 0]
So the error says it can't find part of the path. I can quite believe that, as having checked the path (which is correct - IIS is configured to run the webmail app from C:\webmail rather than C:\inetpub\....) - and the 'k' folder does not exist.
I've tried adding additional file permissions - for the purposes of testing I even granted 'Everyone' Full Access permissions to the C:\webmail directory and restarted IIS - but still no luck - the same error occurs.
Any thoughts?
Many thanks,
James Edgar
EPA
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 25 August 2011 at 12:40am | IP Logged
|
|
|
Looks like it is trying to locate a message on filesystem but fails. Most probably, it was not saved there due to lack of permissions. And since the message is not there, fixing permissions will not bring it back. By the way, what WebMail Pro version is this about?
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|