Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Idle Forge ProjectsIdle Forge ProjectsChatChat'Web.HttpContext' is not defined. Please Help
Previous
 
Next
New Post
4/7/2010 12:18 PM
 
I just wanted to say thank you very much for this wonderful fix. My site was down for 7 hours today and this fix did the trick.

Jason
Webmaster of

thefuzz4.net

Were going to be HUGE

 
New Post
2/8/2011 7:59 PM
 
This is why I test upgrades first - thank you all for posting this fix. I note that the last post was April 2010, it is now February 2011, and this has still NOT been fixed! William
 
New Post
4/22/2011 11:13 AM
 

I just installed the DNN chat module and I'm getting the error below.  I've got DNN 04.08.00 and the DNN download page says the minimum version needed is 4.06.02.  Anyone have any ideas on how I can fix or get around this?

Thanks!!

- Tracey

Compiler Error Message: BC30002: Type 'Web.HttpContext' is not defined.

In App_Code\Chat\DnnChatCodeHelper.vb

Line 308: Try

Line 309: Dim ctx As Web.HttpContext = Web.HttpContext.Current

Line 310: Dim lvstrImageRoot As String = String.Empty

Line 311: oCache = ctx.Cache.Get(key)

 

Detailed compiler output says:

App_Code\Chat\DnnChatCodeHelper.vb(309) : error BC30002: Type 'Web.HttpContext' is not defined.

 
New Post
4/22/2011 8:15 PM
 
1. Open the file App_Code\Chat\DnnChatCodeHelper.vb in Notepad or other text editor.
2. Find the following line (309 if you have a vb editor which shows line numbers):

Dim ctx As Web.HttpContext = Web.HttpContext.Current

3. Change it to:

Dim ctx As System.Web.HttpContext = System.Web.HttpContext.Current

4. Save the modified file and if necessary re-upload it to your remote server.

As Sebastian indicated in an earlier post in this thread, this issue with the Chat module began with the introduction of the Telerik.Web.UI components in DNN 5.3.1 and is due to a namespace conflict. You indicated that you have DNN 04.08.00. I'm wondering you have a third-party extension installed which makes use of Telerik components?

Also, note that the DNN Chat module is NOT compatible with DNN 5.5.0 and above due to other issues should you decide to upgrade the site (highly recommended due to several security issues) later.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
4/29/2011 10:20 AM
 
Thanks for this fix. I guess it hasn't been resolved just yet. I'm sure it'll be resolved soon.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Idle Forge ProjectsIdle Forge ProjectsChatChat'Web.HttpContext' is not defined. Please Help


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out