+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / WildCards and Value cannot be null. Parameter name: virtualPath

WildCards and Value cannot be null. Parameter name: virtualPath

3 posts, 0 answered
  1. Justin
    Justin avatar
    9 posts
    Registered:
    05 Sep 2007
    04 Mar 2008
    Link to this post
    Hello SiteFinity Support,

    We have the need to enable wildcards on our root directory with contains a SiteFinity Installation. This is to make certain redirects function from our old URLs to the new ones that we created in SiteFinity.

    If we enable Wildcards then the redirects work fine. However the site home page throws the following error:

     

    Server Error in '/' Application.

    Value cannot be null.
    Parameter name: virtualPath

    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.ArgumentNullException: Value cannot be null.
    Parameter name: virtualPath

    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:

    [ArgumentNullException: Value cannot be null.
    Parameter name: virtualPath]
       System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +122
       System.Web.VirtualPathUtility.GetFileName(String virtualPath) +9
       Telerik.Cms.Web.CmsHttpModule.BeginRequest(Object sender, EventArgs e) +810
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET Version:2.0.50727.832

    Any help would be very much appreciated. You can view this page at http://sftest.aspose.com.

    Thanks,
    Justin Anderson
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    05 Mar 2008
    Link to this post
    Hello Justin,

    There were such issues in earlier versions of Sitefinity. We recommend you upgrade your project to our latest version. If this is not acceptable for you, we could provide a workaround, but in that case we'll need some more information, for example how exactly you are doing your redirects, what are the wildcards used, do you use some custom HttpModules?

    Kind regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Justin
    Justin avatar
    9 posts
    Registered:
    05 Sep 2007
    07 Mar 2008
    Link to this post
    This problem was fixed by upgrading to version 3.2
Register for webinar
3 posts, 0 answered