Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Morten Peter Hagh Jensen 25 posts 85 karma points
    May 09, 2017 @ 18:27
    Morten Peter Hagh Jensen
    0

    The type or namespace name 'Our' could not be found on Umbraco Cloud DEV ENV

    We have quite a weird issue on our development environment, where we are getting this error:

    System.Web.HttpCompileException (0x80004005): c:\inetpub\temp\DWASFiles\sites\XXX\VirtualDirectory0\site\wwwroot\App_Plugins\DocTypeGridEditor\Render\DocTypeGridEditor.cshtml(4): error CS0246: The type or namespace name 'Our' could not be found (are you missing a using directive or an assembly reference?)
       at System.Web.Compilation.AssemblyBuilder.Compile()
       at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
       at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
       at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
       at System.Web.Compilation.BuildManager.GetCompiledType(VirtualPath virtualPath)
       at System.Web.Compilation.BuildManager.GetCompiledType(String virtualPath)
       at System.Web.Mvc.BuildManagerWrapper.System.Web.Mvc.IBuildManager.GetCompiledType(String virtualPath)
       at System.Web.Mvc.BuildManagerCompiledView.Render(ViewContext viewContext, TextWriter writer)
       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)
       at System.Web.Mvc.HtmlHelper.RenderPartialInternal(String partialViewName, ViewDataDictionary viewData, Object model, TextWriter writer, ViewEngineCollection viewEngineCollection)
       at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)
       at System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model)
       at ASP._Page_Views_Partials_grid_editors_base_cshtml.Execute() in c:\inetpub\temp\DWASFiles\sites\XXX\VirtualDirectory0\site\wwwroot\Views\Partials\Grid\Editors\Base.cshtml:line 19
    

    It works perfectly fine on our local environment and everything has been commited and pushed.

    I had this error on my local installation but I got it fixed with some DLL's which, as stated above, has been pushed, but it's like it's not going through.

    What can be wrong here?

    It looks like it's the DocTypeGridEditor, but again, it works perfectly on local.

  • Morten Peter Hagh Jensen 25 posts 85 karma points
    May 09, 2017 @ 19:22
    Morten Peter Hagh Jensen
    100

    I fixed it myself! Didn't see that the specific DLL was being ignored.

    Added it manually and pushed it. Worked right away!

Please Sign in or register to post replies

Write your reply to:

Draft