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?
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;
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.
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
I have exactly same issue
Aye same error - I didn't get a chance to debug it but will be over the next week or so.
I didn't noticed that there was already a 7.4.2 version. This solved my problem and umbraco does now work.
Excellent news :-)
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.
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/
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.
is working on a reply...