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
  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Tricky 4.5.5 desktop install
Previous Previous
 
Next Next
New Post 5/21/2008 12:51 PM
Resolved
User is offline Dave
15 posts
10th Ranked


Tricky 4.5.5 desktop install 

OK .. I'm about 5 minutes away from nutting the desktop here - if you have a free second to give me your thoughts I'd very muchappreciate it.  I have seen others with this issue but can't find a solution.

I am installing DNN 4.5.5 locally (have to install 4.5.5 because I need to learn how to build modules for 4.5.5 because our client servers currently host that) and I am running into a problem.  I want to clarify as much as possible the situation so hopefully I can keep my job :).

1) I have Visual Studio 2005 installed ... connects to MS SQL server 2005 no problem on a little dummy website (not DNN) which shows helloworld.aspx in the browser no problem.

2) I DO NOT have IIS installed because it was my understanding that Vis Stud must have sort of internal IIS - afterall my helloworld.aspx is showing in the browser.

3) My web config is configured as follows (don't have username and passwd because it's local shouldn't need them if use windows authentication just like ms sql server:

  <connectionStrings>
   
    <add name="BE30ConnectionString" connectionString="Data Source=localhost;database=BE30;Integrated Security=True" providerName="System.Data.SqlClient" />

  </connectionStrings>

  <appSettings>
   
    <add key="BE30ConnectionString" value="Data Source=localhost;database=BE30;Integrated Security=True" />

</appSettings>

 

4) Here's the issue with my DNN 4.5.5 installation when I try to run it.:

Server Error in '/DNN' 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 80: 
Line 81: 'Determine the Upgrade status and redirect to Install.aspx
Line 82: Select Case GetUpgradeStatus()
Line 83: Case Globals.UpgradeStatus.Install
Line 84: If AutoUpgrade Then

Source File: C:\Documents and Settings\Dave\My Documents\Web Development\Sites\DNN\App_Code\Global.asax.vb    Line: 82

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
DotNetNuke.Common.Utilities.Config.GetConnectionString(String name) +47
DotNetNuke.Common.Utilities.Config.GetConnectionString() +38
DotNetNuke.Data.SqlDataProvider..ctor() +83

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +268
System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +582
DotNetNuke.Data.DataProvider.CreateProvider() +39
DotNetNuke.Data.DataProvider..cctor() +13

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
DotNetNuke.Common.Globals.GetUpgradeStatus() +67
DotNetNuke.Common.Global.CheckVersion() in C:\Documents and Settings\Dave\My Documents\Web Development\Sites\DNN\App_Code\Global.asax.vb:82
DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in C:\Documents and Settings\Dave\My Documents\Web Development\Sites\DNN\App_Code\Global.asax.vb:313
 

 
New Post 5/21/2008 12:56 PM
User is offline Brian Dukes
476 posts
www.engagesoftware.com
8th Ranked


Re: Tricky 4.5.5 desktop install 

I would guess from that error message that you need to reset your ACL file permissions for your website (and, especially, for your /bin folder).  It looks like DNN isn't able to load the assemblies that this dynamic app_code code is referencing.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 5/21/2008 1:54 PM
User is offline Dave
15 posts
10th Ranked


Re: Tricky 4.5.5 desktop install 

How do I reset my ACL file permissions?

 
New Post 5/21/2008 3:31 PM
User is offline Brian Dukes
476 posts
www.engagesoftware.com
8th Ranked


Re: Tricky 4.5.5 desktop install 

Here's a link the explains it fairly well: http://www.telerik.com/help/aspnet/editor/installsettingaspnetpermissions.html.

Basically, you want to right click on the website folder, go to properties, go to the security tab, add the NETWORK SERVICE or ASPNET account (for IIS6/7 or IIS5 (XP), respectively).  Then give that account modify or full control to the folder.

Hope it helps,


Brian Dukes
Engage Software
St. Louis, MO
314.966.4000

The leading provider of DotNetNuke support, training and custom module development.
 
New Post 5/22/2008 7:29 AM
User is offline Dave
15 posts
10th Ranked


Re: Tricky 4.5.5 desktop install 

Well Brian,

I tried that but "ASPNET" doesn't underline when I type it into the text box - there is a message saying the .Net framework is not installed if it does not underline (on that webapge you sent me) - however my helloworld other test site works just fine even with database tables displaying etc.  By the way ASPNET doesn't underline for my working test site either which proves that the apparent absence of the fraemwork is incorrect. So I'm still not sure where to go from here,

Any ideas?

Dave

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Tricky 4.5.5 desktop install
 


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.

 


TronixSoft
Hosting for local businesses that want more from their websites.
www.TronixSoft.com
The Forerunner Network
The Forerunner Network consists of a group of Dynamic Website & Interactive Membership Portal hosting services that are managed by Forerunner Communications. Our services span a wide range of markets and enable individuals, organizations and businesses to build and manage dynamic, interactive portals and websites.
The Forerunner Network
ZLDNN.COM
We provide commercial DotNetNuke modules.
www.zldnn.com

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