Multiple form attachement/smtp problem please help
Right basically a form i have done is refusing to let more then one attachment be attached to the form and then emailed. This is happening on multiple sites within the server.
I'm blaming our smtp server settings but don't really have anything to back up that assertion.
I'm going to find a few forums to post this on but you lot tend to be quicker quite frankly.
Anyone give me anything to go on from the following stack trace/error message thingy.
ANy help appreciated as quite frankly i don't have a clue!
The given path's format is not supported.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NotSupportedException: The given path's format is not supported.
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
2) Add the following section to the configuration file of your application:
What is this - [ModuleLoadException: Error: Request a Quote - LPA Group Plc is currently unavailable.]
Is this the problem, as it appears that the path problem is coming from a core DotNetNuke Smtp code, which appears to be very similar to the standard .net one. I'd imagine that something else is happening on the form that is causing it to fail in the Smtp part of the code. How defensive is your code? Are you checking conditions that should be true actually are?