Copied to clipboard

Flag this post as spam?

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


  • Simon steed 374 posts 686 karma points
    Mar 20, 2016 @ 23:54
    Simon steed
    0

    7.4.1 issues? Microsoft.Web.Helpers missing

    Brand new install just to play with dialogue, using 7.4.1 (cause I can) and once installed with a starter kit, I then add dialogue.

    Installs fine, however when I access a forum, I get the following message:

    Compilation Error

    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

    Compiler Error Message: CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)

    Source Error:

    Line 29: using Umbraco.Core.Models; Line 30: using Umbraco.Web.Mvc; Line 31: using Microsoft.Web.Helpers; Line 32: using umbraco; Line 33: using Examine;

    Source File: c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\fee5457e\3850ce9c\AppWebdialogue.cshtml.19459672.gicwdnul.0.cs Line: 31

    Finding this an issue on previous posts in here, I grab a copy from 7.2.1 of Microsoft.Web.Helpers.dll and lo and behold it goes totally tits up:

    Attempt by security transparent method 'Microsoft.Web.Helpers.PreApplicationStartCode.Start()' to access security critical method 'System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)' failed.

    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.MethodAccessException: Attempt by security transparent method 'Microsoft.Web.Helpers.PreApplicationStartCode.Start()' to access security critical method 'System.Web.WebPages.Razor.WebPageRazorHost.AddGlobalImport(System.String)' failed.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Any ideas before I delve into the dialogue source to debug it?

    Simon

  • pieter van Uhm 23 posts 49 karma points
    Apr 04, 2016 @ 18:03
    pieter van Uhm
    0

    I have exactly same issue

    Server Error in '/' Application.
    
    Compilation Error
    
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. 
    
    Compiler Error Message: CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?)
    
    Source Error:
    
    
    Line 29:     using Umbraco.Core.Models;
    Line 30:     using Umbraco.Web.Mvc;
    Line 31:     using Microsoft.Web.Helpers;
    Line 32:     using umbraco;
    Line 33:     using Examine;
    
  • Simon steed 374 posts 686 karma points
    Apr 04, 2016 @ 18:55
    Simon steed
    0

    Aye same error - I didn't get a chance to debug it but will be over the next week or so.

  • pieter van Uhm 23 posts 49 karma points
    Apr 05, 2016 @ 08:10
    pieter van Uhm
    0

    I didn't noticed that there was already a 7.4.2 version. This solved my problem and umbraco does now work.

  • Simon steed 374 posts 686 karma points
    Apr 05, 2016 @ 08:17
    Simon steed
    0

    Excellent news :-)

  • Simon steed 374 posts 686 karma points
    Apr 07, 2016 @ 21:03
    Simon steed
    0

    Well so I thought - however with a 7.4.2 site, Dialogue installs fine, just get the same error when trying to load the home forum page.

  • John Bergman 483 posts 1132 karma points
    Jul 08, 2016 @ 05:26
    John Bergman
    103

    Just in case someone needs it, here is a blog post I found that helped get past the compiliation related issues.

    http://www.codeshare.co.uk/blog/getting-dialogue-forum-package-to-work-with-umbraco-743/

  • Walter 8 posts 79 karma points
    Jun 07, 2017 @ 15:23
    Walter
    1

    I'm having the same issue, and the above suggestions haven't helped.

    Using umbraco 7.5.4, installed the Dialgue package making sure I clicked the 'complete installation' button, seemed to install with no issues. I saved and publshied the pages, also made sure to restart the website so the AppStart kicks in as per its documentation.

    However when trying to access the forum page I get the following error:

    The type or namespace name 'Helpers' does not exist in the namespace 'Microsoft.Web' (are you missing an assembly reference?) Line 31: using Microsoft.Web.Helpers;

    I've followed the steps outlined by John Bergman above, and can confirm that Microsoft.Web.Helpers.dll is in the bin folder of the application.

    Completed a build in VS with no errors, when trying to access the dialogue forum I continue to get the same error.

Please Sign in or register to post replies

Write your reply to:

Draft