This project is read-only.

Extension "Manager.cs" Trouble

Topics: ASP.NET 2.0
May 25, 2008 at 8:55 AM
Edited May 25, 2008 at 8:56 AM
Hello all,

I've been using BE (1.3.1) on a local server and everything worked pretty well.
But now that I wanted to use BE on a hosting server, I am in trouble.
My hoster is Ikoula and I have pretty much done everything that is required (create a Virtual folder, create the aplicatio...)
And for some unknown reasons I got this error message :

Server Error in '/myblog' Application.

Value cannot be null.
Parameter name: pattern

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: pattern

Source Error:

Line 27: 
Line 28: #region Private members
Line 29: private static string _fileName = HostingEnvironment.MapPath(BlogSettings.Instance.StorageLocation + "extensions.xml");
Line 30: private static List<ManagedExtension> _extensions = new List<ManagedExtension>();
Line 31:

I am not a big fan of copy/pasting error messages but here I am really in trouble.
Anyone can see a solution ?
Thanks in advance.
May 26, 2008 at 8:29 PM
Try to save it as "test.aspx" in your web application's root (~/) and go to this page to see which part is failing for you. May be it can't read settings for some reason, may be something else. Narrow it down.

<%@ Page Language="C#" %>
    <form id="form1" runat="server">
        HostingEnvironment:<%=System.Web.Hosting.HostingEnvironment.MapPath("~/test.aspx")%><br />