Hi
I downloaded sharp webmail project and i am using it.When i uploaded the files to the server and open the login.aspx file.The page is rendered blank with no controls.Its causing an exception in the global.cs file.
Failed to map the path '/'.
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.InvalidO perationExcepti on: Failed to map the path '/'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperatio nException: Failed to map the path '/'.]
System.Web.Host ing.HostingEnvi ronment.MapPath Actual(VirtualP ath virtualPath, Boolean permitNull) +615
System.Web.Virt ualPath.MapPath Internal() +29
System.Web.Http Request.MapPath (VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMa pping) +125
System.Web.Http ServerUtility.M apPath(String path) +58
anmar.SharpWebM ail.UI.Global.i nitConfig() in c:\nant\Newfold er\src\UI\globa l.cs:127
anmar.SharpWebM ail.UI.Global.A pplication_Star t(Object sender, EventArgs args) in c:\nant\Newfold er\src\UI\globa l.cs:35
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET Version:2.0.507 27.42
How to solve this issue.
I downloaded sharp webmail project and i am using it.When i uploaded the files to the server and open the login.aspx file.The page is rendered blank with no controls.Its causing an exception in the global.cs file.
Failed to map the path '/'.
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.InvalidO perationExcepti on: Failed to map the path '/'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperatio nException: Failed to map the path '/'.]
System.Web.Host ing.HostingEnvi ronment.MapPath Actual(VirtualP ath virtualPath, Boolean permitNull) +615
System.Web.Virt ualPath.MapPath Internal() +29
System.Web.Http Request.MapPath (VirtualPath virtualPath, VirtualPath baseVirtualDir, Boolean allowCrossAppMa pping) +125
System.Web.Http ServerUtility.M apPath(String path) +58
anmar.SharpWebM ail.UI.Global.i nitConfig() in c:\nant\Newfold er\src\UI\globa l.cs:127
anmar.SharpWebM ail.UI.Global.A pplication_Star t(Object sender, EventArgs args) in c:\nant\Newfold er\src\UI\globa l.cs:35
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.507 27.42; ASP.NET Version:2.0.507 27.42
How to solve this issue.
Comment