This is an open forum for any mojoPortal topics that don't fall into the other categories.
mojoPortal Version 2.3.5.4 MSSQL Operating System Microsoft Windows NT 6.0.6001 Service Pack 1 ASP.NET Info Running in Partial Trust Hosting: GoDaddy/Medium trust/ Asp.net 3.5 framework.
What I am doing: I am sending e-mail programatically by using the smtp settings. Some times my mails are delivering and some times it is not. I am clue less what might be happening there.
When i checked the System log, i found following error:
================
2011-03-25 01:46:12,649 INFO mojoPortal.Web.Global - Global.asax.cs Application_End 2011-03-25 01:47:06,721 INFO mojoPortal.Web.Global - Application Started. 2011-03-25 01:47:06,736 ERROR mojoPortal.Web.Global - Application_Start Could not register VirtualPathProvider, this error is expected when running in Medium trust or lower System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at mojoPortal.Web.Global.RegisterVirtualPathProvider() at mojoPortal.Web.Global.Application_Start(Object sender, EventArgs e) The action that failed was: InheritanceDemand The type of the first permission that failed was: System.Web.AspNetHostingPermission The Zone of the assembly that failed was: MyComputer
Can anybody guide me here?
Hi shirish,
That error is not related to sending email, it will always log that error in .NET 3.5 medium trust hosting when the application start event fires.
Everything I know about it is in the document Email Configuration.
Hope it helps,
Joe