Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Stack Error/posisble smtp problemStack Error/posisble smtp problem
Previous
 
Next
New Post
9/7/2011 7:33 AM
 
Not sure if this is in the right forum or not, nothing seemed overly relevent!

Basically, a teknoloogy custom 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.

Anyone give me anything to go on from the following stack trace/error message thingy.

Any help(or an idea where i can get help!) appreciated as quite frankly i don't have a clue!

dave



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.

Source Error:

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" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.


Stack Trace:

 

[NotSupportedException: The given path's format is not supported.]

   System.Security.Util.StringExpressionSet.CanonicalizePath(String path, Boolean needFullPath) +10070632

   System.Security.Util.StringExpressionSet.CreateListFromExpressions(String[] str, Boolean needFullPath) +108

   System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList) +111

   System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, AccessControlActions control, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath) +74

   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) +2095

   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +138

   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +89

   System.Net.Mail.AttachmentBase.SetContentFromFile(String fileName, String mediaType) +110

   System.Net.Mail.Attachment..ctor(String fileName) +78

   DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, String ReplyTo, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String[] Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL) +202

   DotNetNuke.Services.Mail.Mail.SendMail(String MailFrom, String MailTo, String Cc, String Bcc, MailPriority Priority, String Subject, MailFormat BodyFormat, Encoding BodyEncoding, String Body, String Attachment, String SMTPServer, String SMTPAuthentication, String SMTPUsername, String SMTPPassword, Boolean SMTPEnableSSL) +234

   Taknology.Modules.CustomForms.Pro.ViewCustomForm.ProcessPrimaryNotificationTemplate() +1484

 

[ModuleLoadException: Error: Request a Quote - LPA Group Plc is currently unavailable.]

   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +174

   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase objPortalModuleBase, Exception exc) +41

   Taknology.Modules.CustomForms.Pro.ViewCustomForm.ProcessPrimaryNotificationTemplate() +1955

   Taknology.Modules.CustomForms.Pro.ViewCustomForm.SubmitForm() +356

 

[ModuleLoadException: Error: Request a Quote - LPA Group Plc is currently unavailable.]

   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(String FriendlyMessage, Control ctrl, Exception exc, Boolean DisplayErrorMessage) +174

   DotNetNuke.Services.Exceptions.Exceptions.ProcessModuleLoadException(PortalModuleBase objPortalModuleBase, Exception exc) +41

   Taknology.Modules.CustomForms.Pro.ViewCustomForm.SubmitForm() +814

   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +115

   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +140

   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981

 

[PageLoadException: Error: Request a Quote - LPA Group Plc is currently unavailable.]

   DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +440

   System.Web.UI.Page.HandleError(Exception e) +109

   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11038859

   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +11038410

   System.Web.UI.Page.ProcessRequest() +91

   System.Web.UI.Page.ProcessRequest(HttpContext context) +240

   ASP.default_aspx.ProcessRequest(HttpContext context) +9

   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +599

   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +171

 

Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618


 
New Post
9/7/2011 9:53 AM
 
Hello,

This class of issue will likely have nothing to do with your SMTP configuration.  The ultimate error is occurring during path canonicalization, and the problem is due to a problem with the specific path in question.

There are three likely sources of this error:
  1. The path does not exist (perhaps due to a synchronization failure between the DotNetNuke database and file system).  Manually verify the path exists and recursively resynchronize the file system via Admin->File Manager.
  2. The path does not have appropriate security settings.  Verify these at the file system level.
  3. The attachment in question contains one or more invalid characters (e.g. a colon).  Ensure that no such disallowed characters are present in the attempted attachment.
If you control the source code associated with the failing module, you may also want to verify via debugger that the path being attempted is actually the path you expect (e.g. eliminate an initialization bug that might be occurring during multiple attachments).  If you do not control the source, and have exhausted the options above, you will need to contact the original vendor for assistance. 

Hope this helps!

Brandon

Brandon Haynes
BrandonHaynes.org
 
New Post
9/7/2011 11:50 AM
 
sorry what path am i looking for for point 1. the attachment is not set to be saved in the file system just attached to the email. although i have tried ticking both and get the same error.

dave
 
New Post
9/7/2011 12:04 PM
 
def not point 3 have tried with many different files and there are def no invalid charecters.

Sorry don't really understand solution 2, could you please expand/explain in laymens terms.

thanks,

dave
 
New Post
9/7/2011 12:14 PM
 
slightly more info: if i tick both the save to file system buttons and the email as attachment, the files are showing up in the filemanager but still not sending via smtp/email.

dave
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Stack Error/posisble smtp problemStack Error/posisble smtp problem


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out