osbornm / AZtoGH

0 stars 0 forks source link

Network - VPN - 500 error on page load if VPN server was deleted or is under construction #455

Open osbornm opened 11 years ago

osbornm commented 11 years ago

steps:

  1. delete a VPN server from an account or mark it as under construction
  2. load Network-->VPN

expected - page loads and indicates there is no VPN server actual - 500 error

NOTE - not sure if the server must be deleted, or deleted and marked as under construction or some other combo

Sequence contains no elements: at System.Linq.Enumerable.Single[TSource](IEnumerable1 source) at Tier3.Managers.VpnManager.GetInternalVpnIPAddress(VpnServer server) in e:\BuildAgent\work\8fdb3560de47033b\Tier3.Platform\Tier3.Platform\Managers\VpnManager.cs:line 572 at Tier3.Managers.VpnManager.GetVpnServer(IAccountInfo account, String requestingUser, Boolean includeCertificates) in e:\BuildAgent\work\8fdb3560de47033b\Tier3.Platform\Tier3.Platform\Managers\VpnManager.cs:line 342 at Tier3.Control.Areas.Network.Controllers.VpnController.Index(String search) in e:\BuildAgent\work\8fdb3560de47033b\Tier3.Platform\Tier3.Platform.Control.Web\Areas\Network\Controllers\VpnController.cs:line 79 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.InvokeSynchronousActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass42.b41() at System.Web.Mvc.Async.AsyncResultWrapper.<>cDisplayClass8`1.b7(IAsyncResult _) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.End() at System.Web.Mvc.Async.AsyncResultWrapper.End[TResult](IAsyncResult asyncResult, Object tag) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.End() at System.Web.Mvc.Async.AsyncResultWrapper.End[TResult](IAsyncResult asyncResult, Object tag) at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass25.<>cDisplayClass2a.b20() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass25.b__22(IAsyncResult asyncResult)

Created From: https://agilezen.com/project/48813/story/359

osbornm commented 11 years ago

Brent Heinz (1/18/2013) : Note: This happens because T3 Admins marked these disabled in the system (so they dont' show up anymore) and the hardware was actually deleted. Darren knows about this if you have questions. We just need to make sure we don't show yellow screen of death on this page.