logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
jacqui1811  
#1 Posted : Tuesday, January 30, 2018 3:44:51 AM(UTC)
jacqui1811

Rank: Newbie

Groups: Registered
Joined: 1/25/2018(UTC)
Posts: 1
Singapore

Thanks: 1 times
I have had to debug my DNN v9.1 site so have it running in Visual Studio.
Problem is that all of a sudden I am getting the errors below (1487 all like these) when I try to compile the project to run and debug the code:

Error 110 The name 'Context' does not exist in the current context c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\mysite\9b1446f8\3eaa8022\App_Web_gc0cyd0g.4.cs 50
Error 111 The name 'BeginContext' does not exist in the current context c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\mysite\9b1446f8\3eaa8022\App_Web_gc0cyd0g.4.cs 55


When I go to that page and line I get that the page is marked at the top like below, hence I am asking here :
public class _Page_DesktopModules_NBright_NBrightBuy_Providers_PromoProvider_Themes_config_default_categorypromo_cshtml : NBrightBuy.render.NBrightBuyRazorTokens<NBrightRazor>

I have an issue with another part of the site that means I need to debug/run in my VS environment but can't because of this.

Can anyone shed any light onto this please ?

Jacqui.
leedavi  
#2 Posted : Tuesday, January 30, 2018 9:42:51 AM(UTC)
leedavi

Rank: Administration

Groups: Registered, Administrators
Joined: 11/6/2016(UTC)
Posts: 322
United Kingdom
Location: France

Was thanked: 28 time(s) in 28 post(s)
A guess, but this looks like your running the wrong .Net version compared to the compile?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2019, Yet Another Forum.NET
This page was generated in 0.047 seconds.