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  |  

DotNetNuke Marketplace
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
The best choice for your web site host, email hosting, and domain registration.
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Extend It! ( Pr...  Module Dev. environment woes under Vista
Previous Previous
 
Next Next
New Post 7/9/2007 3:25 PM
User is offline Mark Rogerson
12 posts
www.RandyStoat.com/
10th Ranked


Re: Module Dev. environment woes under Vista 

Thanks for all the help, folks.  I've been trying everyone's suggestions, and here's a progress report.  I'm not sure if I should edit the code from here.  It seems like another configuration problem....

  • Navigate from the DOS prompt to c:\windows\microsoft .net\framework\v2.0.50727\ then type aspnet_regiis -ir and it will install and associate the mime types.
    Looked under MIME types but found no .ASP(X) there.
  • Control Panel\Programs\Programs and Features\Turn Windows features on or off.  Under Internet Information Services, expanded "IIS 6 Management Compatibility" and checked each item under it.  Under "World Wide Web Services\Application Development Features" ASP.NET was already checked.
  • Browsed to localhost/dnn and got a long error message which I failed to copy.  It said I should set up the app to use the classic application pool and gave the following command, which I ran as Admin in a CMD shell. "C:\Windows\System32\inetsrv>%systemroot%\system32\inetsrv\APPCMD.EXE migrate config "Default Web Site/"  
    It responded with Successfully migrated section "system.web/httpHandlers"
  • Browsed to localhost/dnn and got the following error message.  (This is also the point where I started documenting my progress.)
    Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level.  This error can be caused by a virtual directory not being configured as an application in IIS." 
    I took this to mean I should convert the virtual directory to an application...
  • Started IIS Manager, right-clicked my dnn virtual directory and chose "Convert to Application" and pressed "OK"  (still no .ASP(X) under MIME types, btw)
  • Browsed to localhost/dnn.  Much disk churning, then, "Object reference not set to an instance of an object."  Turned debugging on in web.config.
  • Browsed to localhost/dnn.  "Object reference not set to an instance of an object."

    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 84:                     If AutoUpgrade Then
    Line 85:                         If UseWizard Then
    Line 86:                             Response.Redirect("~/Install/InstallWizard.aspx")
    Line 87:                         Else
    Line 88:                             Response.Redirect("~/Install/Install.aspx?mode=install")

    Source File: c:\dnn\App_Code\Global.asax.vb    Line: 86

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       System.Web.HttpHeaderCollection.SetHeader(String name, String value, Boolean replace) +121
       System.Web.HttpHeaderCollection.Add(String name, String value) +49
       System.Web.HttpResponse.GenerateResponseHeadersForHandler() +162
       System.Web.HttpResponse.IntegratedFlush() +10
       System.Web.HttpResponse.Flush(Boolean finalFlush) +107
       System.Web.HttpResponse.Flush() +17
       System.Web.HttpResponse.End() +106
       System.Web.HttpResponse.Redirect(String url, Boolean endResponse) +498
       System.Web.HttpResponse.Redirect(String url) +6
       DotNetNuke.Common.Global.CheckVersion() in c:\dnn\App_Code\Global.asax.vb:86
       DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in c:\dnn\App_Code\Global.asax.vb:321
    
    [HttpException (0x80004005): Object reference not set to an instance of an object.]
       System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +3381770
       System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +167
       System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +270
       System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext, IntPtr& errorMessage) +260
    
    [HttpException (0x80004005): Object reference not set to an instance of an object.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3539851
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +69
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +669

 

The InstallWizard.aspx file is there in its proper location.

Time for supper.... Coolness!

 
New Post 7/17/2007 5:55 PM
User is offline Bill Schuler
3 posts
10th Ranked


Re: Module Dev. environment woes under Vista 

It's been awhile since I installed it on my Vista Laptop and got it working, but I recall something like this happening and I think I just opened the install wizard page directly instead of going through default. Also, I remember somewhere in the install that it kept displaying a next button over and over again, but then I started all over from the start and it worked. I guess I should have documented it better, but I was having enough problems just trying to get it to work :)

 
New Post 9/19/2007 2:33 PM
User is offline dp
3 posts
10th Ranked


Re: Module Dev. environment woes under Vista 

I'm getting the same error. I tried opening the installwizard and the install pages directly, but I keep getting the same error. Has anybody figured this out?

 
New Post 9/19/2007 2:39 PM
User is offline dp
3 posts
10th Ranked


Re: Module Dev. environment woes under Vista 

I think I figured it out. I ended up going to the IIS and changed the Application Pool to Classic.NET

- Open IIS

- Right-click over DotNetNuke and select "Advanced Settings"

- Select Application pool and change from Default to Classic.

At least that fixed my problem on my computer... Hopefully that helps.

 
New Post 10/14/2007 4:43 AM
User is offline wdo
1 posts
10th Ranked


re: Module Dev. environment woes under Vista 

Thanks dpiccolo,

That worked for me too.  I had been trying everything I'd read about to date. Thanks again

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Extend It! ( Pr...  Module Dev. environment woes under Vista
 


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.

 


Icthus Technologies
Building Faith on the Internet
www.icthustech.com
Efficion Consulting
A premier DotNetNuke consulting firm providing complete DNN services including: custom module development, skinning and design, installation and integration services.
www.efficionconsulting.com
DotNetNuke Training by Engage Software
Specializing in customized training, architecture and module solutions for large scale implementations lead by DNN Core Team Member Christopher Hammond.
engagesoftware.com

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