Server Error in '/' Application.

Value cannot be null.
Parameter name: value

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

Source Error:


Line 904:                        If strPagina.Contains("/") Then strPagina = strPagina.Split("/")(strPagina.Split("/").Length - 1)
Line 905:                    End If
Line 906:                    intIDPagina = dtCMSAS.cPagina.PaginaNombrePortal(Portal.IDPortal, strPagina, Portal.IDIdiomaActual, cnn)
Line 907:                ElseIf Not String.IsNullOrEmpty(Portal.GetParameter(Constantes.kRWPaginaTipo)) Then
Line 908:                    intIDPagina = dtCMSAS.cPagina.PaginaTipoPortal(Portal.IDPortal, Portal.GetIntParameter(Constantes.kRWPaginaTipo), cnn)

Source File: C:\home\site\wwwroot\App_Code\CMS\CODDefault.vb    Line: 906

Stack Trace:


[ArgumentNullException: Value cannot be null.
Parameter name: value]
   System.Runtime.Caching.MemoryCacheEntry..ctor(String key, Object value, DateTimeOffset absExp, TimeSpan slidingExp, CacheItemPriority priority, Collection`1 dependencies, CacheEntryRemovedCallback removedCallback, MemoryCache cache) +442
   System.Runtime.Caching.MemoryCache.Set(String key, Object value, CacheItemPolicy policy, String regionName) +782
   acDoblemente.Cache.SetObject(String strKey, Object objValue, Int32 intExpirationMinutes) +171
   dtCMSAS.cPagina.PaginaNombrePortal(Int32 intIDPortal, String strNombrePagina, Int32 intIDIdioma, IDbConnection cnn) +924
   CODDefault.GetIDPagina(Nullable`1 intIDUsuario, IDbConnection cnn) in C:\home\site\wwwroot\App_Code\CMS\CODDefault.vb:906
   CODDefault.SetPaginaPaginaIdioma(PageDispongo objPage) in C:\home\site\wwwroot\App_Code\CMS\CODDefault.vb:125
   CMS_Default.CargarControl() in C:\home\site\wwwroot\CMS\Default.aspx.vb:208
   CMS_Default.OnLoad(EventArgs e) in C:\home\site\wwwroot\CMS\Default.aspx.vb:124
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4690.0