Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

FCKeditor Project
Salaro -- Skins and more
OnyakTech
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! (Pro...  Null Reference Exception
Previous Previous
 
Next Next
New Post 5/28/2008 3:03 AM
User is offline uma
8 posts
10th Ranked


Null Reference Exception 

Hi,

We are developing a website in vs 2008using DotNetNuke 4.8.2.

I am unable to execute the application in debug mode.

I am geeting Null Reference Exception in portalcontroller.vb file in the below given function.

 

Public Shared Function GetCurrentPortalSettings() As PortalSettings
            Return CType(HttpContext.Current.Items("PortalSettings"), PortalSettings)
 End Function

 

Let me know where i should make changes in my application.

Thanks in advance

Uma

 

 
New Post 5/28/2008 7:05 AM
User is offline Michael Washington
2848 posts
ADefWebserver.com
5th Ranked










Re: Null Reference Exception 

It appears you don't have all the tables and stored procedures created.



Michael Washington
* ADefWebserver.com
* DNN Module Developer's Guide
* IWEB - DNN Web Services
* Silverlight and DotNetNuke
 
New Post 6/7/2008 7:57 PM
User is offline Wes Tatters
410 posts
8th Ranked




Re: Null Reference Exception 

FIrst off - does the portal run if you try and open it in a browser.

Second off - what code changes have you been making

Thirdly - what are you trying to achieve

Westa

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! (Pro...  Null Reference Exception
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


T-WORX, INC.
Professional DotNetNuke Solutions
www.t-worx.com
AppTheory
Professional development for medium to large projects based on the DotNetNuke platform.
www.apptheory.com
OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP