Parameter name: virtualPath] System.Web.VirtualPath.Create(String virtualPath, VirtualPathOptions options) +122 System.Web.Hosting.MapPathBasedVirtualPathProvider.FileExists(String virtualPath) +13 EPiServer.Web.Hosting.VirtualPathNativeProvider.FileExists(String virtualPath) +38 EPiServer.Web.Hosting.VirtualPathNativeProvider.FileExists(String virtualPath) +38 EPiServer.Web.Hosting.VirtualPathNativeProvider.FileExists(String virtualPath) +38 Foundation.Library.UI.WebControls.Image.LoadAlternateText() +75 Foundation.Library.UI.WebControls.Image.LoadPropertyValues() +162 Foundation.Library.UI.WebControls.Image.OnDataBinding(EventArgs e) +17 System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206 System.Web.UI.Control.DataBind() parameter name: virtualPath The error message seems to be saying that your call to LoadControl sends an empty string. However the site home page throws the following error: Server Error in '/' Application. Have been trying to find any direction on line for a week now with no luck. http://bovbjerg.net/cannot-be/value-cannot-be-null-parameter-name-virtualpath-mvc.php
Parameter name: virtualPath Cancel The title field is required! 3 posts, 0 answered Justin 9 posts Registered: 05 Sep 2007 04 Mar 2008 Link to this post Hello SiteFinity Support,We have string errorColor = errorOccurred ? "color:#ff0000;" : "color:#000000;"; string showStatus = statusMessages.Count() > 0 ? "display:block;" : "display:none;"; }
All requests following this are OK, the only time we receive this error is after a app ppol is recycled. Our site is running on IIS 6. I'm wondering because such caching would likely be initialized right when the application pool restarts itself, and that's when everyone seems to encounter this elusive error. I did add my "Debug" where I write values to a database to confirm that the query to retrieve the Details information is working and is returning the expected record -
I also have a very simple ASP.NET site I am using to test with. It was published. –Dheeraj Palagiri Feb 4 '15 at 13:13 Can you post the whole stack trace? –Marek Musielak Feb 4 '15 at 13:35 1 Why do you How can I save a file to a new location from inside Vim? When the module loads up, I call a subroutine that loads the appropriate control based on a session variable.
Let me know if you still have issues. Terms Privacy Security Status Help You can't perform that action at this time. The only other small thing that I notice is the direction of your slashes strEnvPath, I would use backslashes. I'm sure it is not as simple as this, but given that this is proving a repeating issue for many people, is there no way the Telerik Controls could specifically check
Sub addSubControl()Me.AppRelativeVirtualPath = "~/" 'testing for session failure If Session(SDMode) = "" Or Session(SDMode) = Nothing Then Session(SDMode) = "TicketView" End If 'this variable is for part parameter name: virtualPath Thank you! Stack Trace: System.ArgumentNullException: Argument cannot be null. var Details = db.QuerySingle("SELECT * FROM Artists WHERE ArtID = @0", selectedId);