DNN Installation Issues

Discussion in 'Third-party applications' started by samca, Apr 5, 2006.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I uploaded DNN 4.0.2 to a subdirectory, created a web application, and then hit the site. DNN says it installs correctly but when I click on the "Navigate to your portal" link at the bottom of the installation page I get the error at the bottom of this post. I have tried simply copying SiteUrls.config to the application directory (main) but then I get another file missing error. Its as if DNN created the database but didn't setup the directory structure it needs. I have tried the install several times all with the same result. Any ideas or suggestions would be greatly appreciated.


    Server Error in '/main' Application.


    Could not find file 'E:\web\closehauled\htdocs\main\SiteUrls.config'. 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.IO.FileNotFoundException: Could not find file 'E:\web\closehauled\htdocs\main\SiteUrls.config'.

    Source Error:





    Code:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:





    Code:
    [FileNotFoundException: Could not find file 'E:\web\closehauled\htdocs\main\SiteUrls.config'.]
       System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +2014381
       System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) +998
       System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114
       DotNetNuke.HttpModules.Config.RewriterConfiguration.GetConfig() +101
       DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +698
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Thanks for the link. I tried moving the file from the config directory to the root directory. This produced a subsequent error. From what I have gathered on this and the DNN forum is that almost all installation problems are attribute to permission and missing file issues. I will try to re-install this weekend. What should I do with the database (i.e. delete all tables, views, and stored procedures)?


    I have been deleting everything in the database before trying to re-install and I have locked down the site to only allow the primary account access. Is there anything else I should do to try to get this install to work before doing the following:


    1. Copy 4.0.2 install to \main subdirectory.


    2. Confirm that \main is a Web Application.


    3. Modify web.config for database access.


    4. Clear database of all tables, views, and stored procedures from previous installs.


    5. Navigate to \main as primary account user to start install.





    Thanks,


    -Sam
     
  4. Bruce

    Bruce DiscountASP.NET Staff

    If you believe there's a permission issue, open a trouble ticket and we can check permission on your site. Permission should be fine UNLESS you have Frontpage extension installed or you changed permission.

    As far as the database, the installer should wipe everything out.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  5. That is interesting, because I had Frontpage Extensions on at one point (I have since turned them off). Should I open a trouble ticket to reset the permissions on the site/root application?

    Are you sure about the installer wiping everything out? When I have left the database intact and run the installer I get a message that everything is installed and up to date. Is there a way to force the install so that I do not have to manually delete the database schema?


    -Sam
     
  6. Bruce

    Bruce DiscountASP.NET Staff

    No.. I am not 100% sure if it will wipe out the DB.

    If you want to be absolutely sure, login to your DB w/ enterprise mgr and delete

    1) all user tables
    2) all user stored procedures
    3) all user views

    Resetting the permission doesn't hurt

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  7. Well, I figured it out (after opening a trouble ticket). It turns out the problem wasn't permissions after all - it was the allocation for the Anonymous IUSR. Even though (by defualt) IUSR had Read/Write permissions the disk allocation was set to 0 (by default). So, DiscountASP should really update KB Article Q10382 to let people who are installing DNN that they need to make sure the Anonymous IUSR has Read/Write permissions AND enough allocation to create/move the neccessary files during the DNN installation.


    Thanks for your help,


    -Sam
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page