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  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Installer Utili...  PortalId = objPortalAliasInfo.PortalID
Previous Previous
 
Next Next
New Post 11/13/2006 2:01 AM
User is offline GFI Software Factory
2 posts
10th Ranked


PortalId = objPortalAliasInfo.PortalID 

Hello

 During the installation of DNN 4.3.5, i get many errors, but with some searches in google, and dnn forums i have founded solutions for the problems. Now i get a problem that i can't solve it.

Server Error in '/DotNetNuke' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

Line 461:            intCacheTimeout = 20 * Convert.ToInt32(Common.Globals.PerformanceSetting)
Line 462:
Line 463:            PortalId = objPortalAliasInfo.PortalID
Line 464:
Line 465:            ' get portal settings

 

Source File: D:\web\DotNetNuke\Library\Components\Portal\PortalSettings.vb    Line: 463

Stack Trace:

NullReferenceException: Object reference not set to an instance of an object.]
   DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 TabId, PortalAliasInfo objPortalAliasInfo) in D:\web\DotNetNuke\Library\Components\Portal\PortalSettings.vb:463
   DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabId, PortalAliasInfo objPortalAliasInfo) in D:\web\DotNetNuke\Library\Components\Portal\PortalSettings.vb:401
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) in D:\web\DotNetNuke\Library\HttpModules\UrlRewrite\UrlRewriteModule.vb:303
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

_______________________________

Does anybody have solution for this? I will apreaciate some help. I don't know if the core team can help me on this, but if it could i will apreciate that.

Carlos Saraiva

 

 

 

 
New Post 12/15/2006 11:26 AM
User is offline Marbelys.Fanego
2 posts
10th Ranked


Re: PortalId = objPortalAliasInfo.PortalID 

If you can open the site, just login as admin or host user, go in the menu to Host --> Portals select the portal you are working in and Add a new alias with the new url you call. For instance if you run the site through VS 2005 you will get and alias like localhost:6786/Website. If you want to run the site through IIS, you should add the alias localhost/SiteName ( in my example it was localhost/DotNetNuke_2 ).

In the case you can't run any site, you could go to the Database and add manually the alias. You should open the table PortalAlias or dnn_PortalAlias and add the new alias. This table only have 3 fields, the counter ( PortalAliadID), the PortalID and the HTTPAlias.

I hope it's solve your problem.

Marbelys

 

 
New Post 12/15/2006 12:26 PM
User is offline Shawn Duggan
297 posts
www.bluetango.ca
9th Ranked


Re: PortalId = objPortalAliasInfo.PortalID 
Have you checked the contents of the PortalAlias table?
Shawn Duggan MCPD
BlueTango Software - Canada Web Content Management
Website Design | DotNetNuke Hosting | DotNetNuke Tips and Tricks Blog
AuthIntegrator - The Easy Way To Integrate DNN and ASP.NET Applications
KeepAlive - Why Should Your Site Be Slow?
 
New Post 1/2/2007 9:59 AM
User is offline JAESPINO60
1 posts
10th Ranked


Re: PortalId = objPortalAliasInfo.PortalID 

Hi. Try using the release.config instead of the development.config.  I'm going to check what's up with dev file and post ant findings.

 

By.

Jaime

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Installer Utili...  PortalId = objPortalAliasInfo.PortalID
 


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.

 


Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com
Code Endeavors, LLC
Do you Endeavor to Enhance your DotNetNuke designs by utilizing AJAX technologies to more efficient interactive web experiences
www.codeendeavors.com

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