Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...5.02.02 setup problems on 1and1.com hosting5.02.02 setup problems on 1and1.com hosting
Previous
 
Next
New Post
2/3/2010 7:22 AM
 

Hi All,

I'm new for dotnetnuke, but have some experience in ASP.NET and administration. I got some issues during installation of dotnetnuke portal on hosting platform. Maybe you can suggest me how to solve them. On local computer I pass installation without any problems.

Issue #1: Can not setup permissions for root folder.

1&1 hoster provides web and ftp access to folder where can be uploaded DNN files. I successfully did it. When I try to setup DNN I got problem with permissions. Root folder permissions, where placed all DNN files, can not be changed. All sub-folders permissions can be changed easily. After some playing with hosting settings, I place DNN files into subfolder dnn-v5.02.02, setup sub folder permissions, setup DB connection string... So now my folder structure looks like:

  • \ [root]
  • dnn-v5.02.02
    • DNN files....
  • logs

My questions are:

  1. Can be DNN setuped without changing root folder permissions? Maybe DNN can be configured  to apply all file system changes into subfolder instead of root folder?
  2.  I try to change web domain home folder to dnn-v5.02.02, but all the time got error (error text below).
    1. When I try access by full path everything starts works: http://**.com/dnn-v5.02.02 - OK; Looks like domain home directory means something differ for 1&1 then I expecting.

The resource cannot be found.

Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /default.aspx

  1. And question related to this error - can someone give me a small example of minimal URLRewriter.config and web.config that will redirect all my domain requests to dnn subfolder (best solution will be to hide subfolder existance)? How i understand into root folder should be placed web.config, urlrewrite.config and bin folder with urlrewriter assembly.

 Issue #2: DNN hangs on Sql server database installation wizard step.

What to do? SQL Server web console shows that tables, views etc were created...

 


-- Tech Admin "Шлюбні Узи" http://www.shlubnioozi.com
 
New Post
2/3/2010 10:20 AM
 

1)  No, you need to have the proper security in the root of ythe application, so wherever DNN files are, the security has to be set properly.

2)  There are no problems in stalling in a folder off the site root, but you still need to have the right permissions.

1)  There is no way to redirect to the subfolder, you must include the subfolder in the URL path if DNN is not installed in the root of the site.

2)  You didn't configure the database correctly.  Since you provide no details or error messages, that's all that can be said about this issue.

Jeff 

 
New Post
2/6/2010 1:25 PM
 

I am also on 1and1 hosting and am just getting started.  Do you happen to have a step by step tutorial for which buttons on admin.1and1.com that you could offer?  It took me forever to find the "application settings" under webfiles!  I've still got a few errors and am sure I missed something.  On my local computer, I know exactly where to push the buttons adn make the changes, but the interfaces with 1and1.com limit administrative abilities.

Thanks...

 
New Post
2/7/2010 11:10 AM
 

My steps:

  1. check that enabled MS Package for your hosting
  2. download install package of DNN
  3. enter 1&1 control panel (Adminisntration tab - use IE or Mozilla only):
    1. enter "FTP Account" page. Setup default ftp user account password. Wait 10 minutes - 1&1 configuration done for very slow people :).
    2. enter "MS SQL Administration". Create empty Database there. Don't forget specify password.
  4. Upload DNN files over FTP (I place my files into sub folder: dnn). Use ftp://youdomain.com for access. I use Filezilla and Far Manager ftp clients.
  5. enter 1&1 control panel - WebFiles page (use IE or Mozilla only)
    1. select dnn subfolder in list (NOT in tree)
    2. Select from menu -- File -> Application settings -- create application on dnn subfolder
    3. select dnn subfolder in list
    4. Select from menu -- Edit -> Security -- Give full access for NETWORK USER
  6. edit over FTP web.config file in DNN subfolder (specify there MS SQL Server connection string)
  7. enter "http://www.yourdomain.com/dnn" - and you got DNN setup wizard. pass it.

Notes: setup of empty database on 1&1 takes 30-45 minutes, why so long I can not understand? SQL Server doing such things in a milliseconds.

This what I got for today. I can find proper solution for removing "sub-folder" from URL. I am now trying to configure URL Rewriter for this taks, but still no luck...

 

 


-- Tech Admin "Шлюбні Узи" http://www.shlubnioozi.com
 
New Post
2/17/2010 5:20 PM
 

Folder redirection solution found! Tested today on IIS7 (Windows 7) and IIS5.1 (Windows XP).

Easy installation steps:

  1. goto FTP root folder
  2. create there empty files:
    1. default.aspx
    2. web.config
  3. create folder App_Code
    1. create inside App_Code folder empty file: HostRootUrlRedirector.vb

Web.config content:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <!-- THIS PART FOR IIS6 ONLY -->
  <system.web>
    <httpModules>
      <add name="HostRootUrlRedirector" type="HostRootUrlRedirector"/>
    </httpModules>
  </system.web>
  <!-- THIS PART FOR IIS 7 ONLY -->
  <system.webServer>
    <modules>
      <add name="HostRootUrlRedirector" type="HostRootUrlRedirector"/>
    </modules>
  </system.webServer>
</configuration>
 

HostRootUrlRedirector.vb content:

Imports System
Imports System.Web

Public Class HostRootUrlRedirector
  Implements IHttpModule

  Public Sub Init(ByVal TheApp As HttpApplication) Implements IHttpModule.Init
    AddHandler TheApp.BeginRequest, AddressOf Me.Application_BeginRequest
  End Sub

  Public Sub Dispose() Implements IHttpModule.Dispose
  End Sub

  Private Sub Application_BeginRequest(ByVal Source As Object, ByVal e As EventArgs)
    Dim oApp As HttpApplication = CType(Source, HttpApplication)

    Dim strRequestUri As String
    strRequestUri = oApp.Request.Url.AbsoluteUri.ToLower()

    If Not strRequestUri.Contains("/dnn/") Then
      oApp.Response.Redirect("~/dnn/Default.aspx")
    End If
  End Sub
End Class

Now a little update web.config inside DNN folder:

        <httpModules><remove name="HostRootUrlRedirector"/> ... </httpModules>

And into one more section

    <system.webServer>
        <modules>
          <remove name="HostRootUrlRedirector"/> ...
        </modules>
    </system.webServer>

Description:

  • solution use http module technic of ASP.NET
  • web.config on root level attaching our own http handler that implements redirection
  • due to inheretence nature of web.config's we have to update web.config inside DNN. We remove in it inhereted handler, which after first redirection not needed to us.
  • Difference between IIS6 and IIS7 is in sections that attaching httpmodule. Only one section needed for each iis version. So simply choose according to own server configuration.

Solution works for me. Enjoy.


-- Tech Admin "Шлюбні Узи" http://www.shlubnioozi.com
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...5.02.02 setup problems on 1and1.com hosting5.02.02 setup problems on 1and1.com hosting


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out