The view 'Useradmin' or its master was not found in IIS

16 views
Skip to first unread message

James Hughes

unread,
May 12, 2010, 5:06:05 AM5/12/10
to Spark View Engine Dev
Hello when testing our application locally it appears to work (via
Casini). However when we deploy it as an app to one of our IIS
servers all Spark views appear to fail. Non-Spark views still work
correctly.

The event viewer for the application shows the following error (below)
and I notice that the spark url locations aren't fully qualified. Now
even if we go directly to the urls they still fail with this issue.
Would anyone have an answer to this?


Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/05/2010 17:25:59
Event time (UTC): 11/05/2010 16:25:59
Event ID: 34b211c6e9a5440ba7b60ceefc396555
Event sequence: 106
Event occurrence: 2
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/2/ROOT/ccdev-4-129180685542195212
Trust level: Full
Application Virtual Path: /ccdev
Application Path: C:\mccabm01\RuairiRelease\Website\Dashboard\
Machine name: IEDGWEB03V

Process information:
Process ID: 6136
Process name: w3wp.exe
Account name: NT AUTHORITY\LOCAL SERVICE

Exception information:
Exception type: InvalidOperationException
Exception message: The view 'UserAdmin' or its master was not
found. The following locations were searched:
~/Views/Admin/UserAdmin.aspx
~/Views/Admin/UserAdmin.ascx
~/Views/Shared/UserAdmin.aspx
~/Views/Shared/UserAdmin.ascx
Admin\UserAdmin.spark
Shared\UserAdmin.spark

Request information:
Request URL: http://grip-dashboard.dev.aon.com/ccdev/Admin/UserAdmin
Request path: /ccdev/Admin/UserAdmin
User host address: 10.114.70.13
User: andrew_...@aon.ie
Is authenticated: True
Authentication Type: Forms
Thread account name: NT AUTHORITY\LOCAL SERVICE

Thread information:
Thread ID: 6
Thread account name: NT AUTHORITY\LOCAL SERVICE
Is impersonating: False
Stack trace: at
System.Web.Mvc.ViewResult.FindView(ControllerContext context)
at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext
context)
at
System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext
controllerContext, ActionResult actionResult)
at
System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.<InvokeActionResultWithFilters>b__11()
at
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter
filter, ResultExecutingContext preContext, Func`1 continuation)
at
System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass14.<>c__DisplayClass16.<InvokeActionResultWithFilters>b__13()
at
System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext
controllerContext, IList`1 filters, ActionResult actionResult)
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.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext
requestContext)
at
System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__4()
at
System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass1.<MakeVoidDelegate>b__0()
at
System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult
_)
at
System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`1.End()
at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult
asyncResult)
at
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult
result)
at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously)


Custom event details:

--
You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
To post to this group, send email to spar...@googlegroups.com.
To unsubscribe from this group, send email to spark-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/spark-dev?hl=en.

Martin Hornagold

unread,
May 12, 2010, 5:31:17 AM5/12/10
to spar...@googlegroups.com
If you are using visual studio to deploy it, have you marked the spark
files as content?
Are they actually deployed on the production server?

James Hughes

unread,
May 12, 2010, 5:33:44 AM5/12/10
to spar...@googlegroups.com
Ah ha looks like that could be the issue.... will post an update after testing.
 
James.

James Hughes

unread,
May 19, 2010, 10:48:59 AM5/19/10
to Spark View Engine Dev
Confirmed, this was the issue.

Thanks again.

James
> >    User: andrew_magu...@aon.ie
> > spark-dev+...@googlegroups.com<spark-dev%2Bunsubscribe@googlegroups .com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/spark-dev?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Spark View Engine Dev" group.
> > To post to this group, send email to spar...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > spark-dev+...@googlegroups.com<spark-dev%2Bunsubscribe@googlegroups .com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/spark-dev?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups "Spark View Engine Dev" group.
> To post to this group, send email to spar...@googlegroups.com.
> To unsubscribe from this group, send email to spark-dev+...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/spark-dev?hl=en.
Reply all
Reply to author
Forward
0 new messages