my personal blog about systemcenter

Windows Azure Portal for Hosting Providers Unauthorized

Microsoft update the Windows Azure Hosting provider portal and after installation of the express version i ran in to a little problem

 

image

No matter what i did i ended up with Unauthorized after initial configuration

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10/9/2012 2:05:53 PM
Event time (UTC): 10/9/2012 9:05:53 PM
Event ID: f6f3931012ee44328bfaa40e4f8e51b9
Event sequence: 227
Event occurrence: 8
Event detail code: 0
 
Application information:
     Application domain: /LM/W3SVC/12/ROOT-1-129942894995679820
     Trust level: Full
     Application Virtual Path: /
     Application Path: C:\inetpub\MgmtSvc-AdminSite\
     Machine name: AZ01
 
Process information:
     Process ID: 1704
     Process name: w3wp.exe
     Account name: IIS APPPOOL\MgmtSvc-AdminSite
 
Exception information:
     Exception type: HttpException
     Exception message: Server cannot modify cookies after HTTP headers have been sent.
    at System.Web.HttpCookieCollection.Set(HttpCookie cookie)
    at Microsoft.Azure.Portal.Controllers.HomeController.Index()
    at lambda_method(Closure , ControllerBase , Object[] )
    at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
    at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
    at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
    at System.Web.Mvc.Controller.ExecuteCore()
    at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
    at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()
    at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
    at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d()
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

 
 
Request information:
     Request URL: https://localhost:30091/
     Request path: /
     User host address: ::1
     User: INTERNAL\Administrator
     Is authenticated: True
     Authentication Type: Negotiate
     Thread account name: IIS APPPOOL\MgmtSvc-AdminSite
 
Thread information:
     Thread ID: 24
     Thread account name: IIS APPPOOL\MgmtSvc-AdminSite
     Is impersonating: False
     Stack trace:    at System.Web.HttpCookieCollection.Set(HttpCookie cookie)
    at Microsoft.Azure.Portal.Controllers.HomeController.Index()
    at lambda_method(Closure , ControllerBase , Object[] )
    at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
    at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass15.<InvokeActionMethodWithFilters>b__12()
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)
    at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
    at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)
    at System.Web.Mvc.Controller.ExecuteCore()
    at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)
    at System.Web.Mvc.MvcHandler.<>c__DisplayClass6.<>c__DisplayClassb.<BeginProcessRequest>b__5()
    at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
    at System.Web.Mvc.MvcHandler.<>c__DisplayClasse.<EndProcessRequest>b__d()
    at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
 
Custom event details:

Event Log didnt give  much help so after a little digging around

 

image

I could see that the local administrator and BuildIn Administrator was added to the MgmtSvc Operations Group

image

And after addming domain admins directly

image

We were back in action

Logged a bug on connect to see if its just my test setups or a general issue

 
Comments

No comments yet.

Leave a Reply

You must be logged in to post a comment.