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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Installation on a 1and1 shared hosting accountInstallation on a 1and1 shared hosting account
Previous
 
Next
New Post
3/18/2006 11:21 PM
 

I just went through the pain of trying to install DotNetNuke on a 1and1 shared hosting account (I think it’s called MS Business or something like that).  Probably could have figured things out faster if I wasn't a first timer with DNN and Asp.net.  After two weeks of searching the web for anyone else who has had problems and being on the phone a million times with tech non-support, I finally figured it out with the help of one of their techs who knew more than the others and painful trial and error.

Here are Buddha's instructions for configuring DNN with 1and1's hosting package…

First off, they are running ASP.Net 1.1 which means you can't run version 4.  1and1 claims that only 3.0.13 will work but once I figured things out and got 3.0.13 working, I deleted everything and installed 3.2.2 straight out of the box and it worked fine.

Create the folder in your root that you want to run DNN from.  I called mine "ftu.net".  After creating your folder, call 1and1’s support line and ask them to make this folder an application folder.  I don’t recommend calling late at night because I think this is the first place things didn’t go right.

 

Next, point the domain you want to run DNN on to the root of your 1and1 account.  Since my client still had an older site, I put a redirect page into the root as well.  This will come in handy later as well.  Below is mine as an example. 

 

<%@ language="VBSCRIPT" %>

<html>

<head>

<%EnableSessionState=False

host = Request.ServerVariables("HTTP_HOST")

 

if host = "buddhasparadise.org" or host = "www.buddhasparadise.org" Then

response.redirect("http://www.buddhasparadise.org/ftu.org/")

 

Elseif host = "myhostname.com" or host = "www.myhostname.com" Then

response.redirect("http://www.myhostname.org/ftu.com/")

 

Else

response.redirect("http://www.s123412341234.onlinehome.us/error.htm")

 

End If

%>

 

<title>Redirect Page</title>

</head>

<body></body>

</html>

 

Download the version of Dot Net Nuke you was to play with.

 

Unpack it and rename the release.config to web.config. 

 

Make the following changes (note:  this is straight from 1and1’s FAQ)

 

Change the database settings in the Web.config from
<add key="SiteSqlServer" value="Server=(local);Database=DotNetNuke;uid=;pwd=;" />
to
<add key="SiteSqlServer" value="Server=mssql01.1and1.com;Database=db123456789;uid=dbo123456789;pwd=xxxxxxxx;" />

 

Enable impersonation.
<identity impersonate="true"/> already exists in the Web.config file,
but it is commented out. Un-comment it by removing <!-- It should look as follows:

<identity impersonate="true"/>

<!--

 <authentication mode="Windows">

  </authentication>

-->

 

Disable changes in maximum file size. (Very important!)
The tag <httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" />
has to be commented out. Use <!-- and -->

 

Change database owner.
In the section <data defaultProvider="SqlDataProvider">, the string
databaseOwner="dbo" has to be replaced with databaseOwner="dbo123456789" (the
database username). 
On the line above this change I also added a qualifier of “ftu_” because my client requested multiple sites in the same DB.  This will help me keep things straight.

 

Now upload the whole folder on to your server using any FTP program. It may take
a while to upload as it is about 30MB in size.

 

Upload the Bin folder into the root of your 1and1 account.

 

You have to allocate write/modify(delete) permissions to the folders you uploaded.
So launch Webfiles and give write/modify(delete) permissions to "IUSR" and "NETWORK". 
Make sure you select "All Folder and files" from the drop-down menu)

 

They told me numerous times that you have to put the web.config into the root as well.  I found that this actually caused errors in DNN after the initial install because two different web.config files are being read and only one of them has your authentication key.  Since I fully plan on having multiple DNN sites, I deleted the one in the root and things have been working great since.   I don’t think I would put it in the root again.

 

Now you are ready to install DNN.  When you type in your address http://www.buddhasparadise.org, it is going to now point to the root.  So just add the folder name on the backend to where your .net is installed.   http://www.buddhasparadise.org/ftu.net.  If you have done everything correctly then the install will start going. 

 

Once you are all the way done configuring and ready to go live, change your redirect page to point to the DNN folder.

           

if host = "buddhasparadise.org"or host = "www.buddhasparadise.org" Then

response.redirect(http://www.buddhasparadise.org/ftu.net/)

 

 

Please feel free to add/remove from these instructions if anyone has found a better way… 

 

 


Punk Buddha
_______________________________________
All the answers!!???
Heck, I don't even have all the questions!
 
New Post
3/19/2006 7:09 PM
 

This is very helpful.  Thank you.  I tried what you suggested in my other thread and here.  I am close to getting it working but it is still not quite there.  (You know I used to think I was pretty good with computers until I started messing with DNN.)  Anyhow, I am not quite clear on what you are doing with your bin folder.  You said upload my dnn folder and then you said upload my bin folder to the root.  So will I have two bin folders with the same thing?  For example:

s12345678.onlinehome.us/bin

s12345678.onlinehome.us/dotnetnuke

s12345678.onlinehome.us/dotnetnuke/bin

Right now I have my bin folder within my dnn directory.  There is a bin folder in my root but it has none of the dnn .dll's in there and existed before i did the install.  I have your redirect script located at s12345678.onlinehome.us/index.asp.  What happens now is that when I try to browse to any of my other domains they always end up at my default portal.  I have gone into 1and1 control panel and forwarded all of my domains to the root ("/.") like you said.  I think I am screwing up something when I create the additional portals and aliases.  I don't know whether or not to create them as parent or child and I am probably messing up the settings.  I also don't know if I am supposed to change the Home Directory when creating the alias.  Searching the forums and google is confusing me more because of all the different suggestions.  I can't even get the default portal to display as just a domain name.  It always displays as s12345678.onlinehome.us/dotnetnuke.

If there is any chance you could explain how to set up my secondary portals I would be very grateful.  Assume that I can get to my default portal at s12345678.onlinehome.us/dotnetnuke and I have no other portals installed and no aliases other than s12345678.onlinehome.us/dotnetnuke.  If you are willing to accept a phonecall to help me get this running I swear to God I will pay you.  I'll send you a check, I'm not kidding.  Otherwise I will make due with whatever advice you are willing to give me here.  Tonight is one week solid I have been fighting this and I'm at my wits end.  1and1 support is useless...at least the people I could talk to that spoke enough english for me to understand.  I appreciate your help.

 

 

 

 
New Post
3/21/2006 4:38 PM
 

I have gotten it to work and here is what I discovered.  Hopefully this will help some other poor soul who is frustrated to no end getting this up and running.

First of all...nothing I did was able to get rid of appending the "/dotnetnuke" to my domains.  If I managed to get to my domain it showed up as www.myDomain.com/dotnetnuke.   Note that if this is how you installed dnn, you must have your alias as www.myDomain.com/dotnetnuke as well.

I came to the same conclusion as you, which is that you must install DNN to the root of your account and not a subfolder.  I have live customer sites running on my account and I'm afraid to break anything so what I did was get another 1and1 Business package.  I installed directly to my root first thing.  Guess what...IT WORKED.

Here are some conceptual pointers that I have finally been able to understand that does not seem to be documented anywhere:

  • There is only one HOST account that controls all of your portals.  You can login to that host account from any portal but it is the same account.  I was under the impression that each portal had its own host account.
  • Each portal has its own Admin account.
  • I set all of my customer domains to point to the root of my web package.  In 1and1's control panel you do this by choosing Existing Folder and picking "/.".  I don't believe forwarding will work since it changes the header.  DON'T USE anything like http://... it won't work right.
  • I left my default portal alone as far as aliases.  I created a new PARENT portal.  For the alias I typed www.myDomain.com.  I did not mess with the HomeDirectory setting.  I left it as Portals/[PortalID].  By creating the portal as a parent and only giving it one alias, you will only be able to edit that portal once all DNS servers have your domain name pointed correctly to the root of your package.  I think what may have worked as well is to create a new child domain in order to still be able to get to it without a domain.  For example, root/myDomain2.  Then when you are ready simply add www.myDomain2.com as an alias and you can get to the portal either way.

The way I am running now I can get to my default portal by going to s123456789.onlinehome.us.  I get to my customer sites by using the domain name.  I only have two domains up and running and I will transfer customer sites once I am fully confident that this is going to work.  What I will do is bring all of my domains to my new package and then cancel my old package.

If any of the DNN development team reads this please keep in that those of us just starting out do not understand the general concepts like you do.  You have a great piece of software that is still rough around the edges when it comes to getting started.

If anybody has anything to add please keep this thread going.  Thanks.

 

 

 
New Post
3/29/2006 9:39 PM
 

I've been trying to get 3.2.2 up and running on a shared 1and1 account for two weeks now. I tried the directions 1and1 provides (here) three times and I just tried punkBuddha's variation above. Here is my problem.

It appears to install fine, the install runs, everything says success and no errors. The first hint at something not being right is not all of the core modules install, and each one has a similar error to this one in the log files.

AssemblyVersion: 03.02.02
Method: N/A - Reflection Permission required
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: -1
PortalName:
UserID: -1
UserName:
ActiveTabID: -1
ActiveTabName:
AbsoluteURL: /Dot/Install/Install.aspx
AbsoluteURLReferrer:
ExceptionGUID: 6474d163-ba99-4036-b62e-12572befa3b3
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Access is denied: 'DotNetNuke.Modules.Announcements'.
Message: System.IO.FileLoadException: Access is denied: 'DotNetNuke.Modules.Announcements'. File name: "DotNetNuke.Modules.Announcements" at System.Type.GetType(String typeName, Boolean throwOnError) at DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey)
StackTrace:
Source:
Server Name: NTXPWUS07

I am able to load each of the missing modules and there are no additional errors. Things get worse when I try to install and use the DNNMasters content builder. It too will install just fine with no errors, but when I go to add content I get an error

A critical error has occurred.
Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.

and this in the log files

AssemblyVersion: 03.02.02
Method: N/A - Reflection Permission required
FileName:
FileLineNumber: 0
FileColumnNumber: 0
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 53
ActiveTabName: test
AbsoluteURL: /Dot/Default.aspx
AbsoluteURLReferrer: http://www.blahblah.com/Dot/test/tabid/53/Default.aspx
ExceptionGUID: 1cefd424-87d7-43e5-8f0e-104885a323cc
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
InnerException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed.
Message: DotNetNuke.Services.Exceptions.PageLoadException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. ---> System.Security.SecurityException: Request for the permission of type System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 failed. at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet grantedSet, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permToken) at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, StackCrawlMark& stackMark, PermissionType permType) at System.Security.CodeAccessPermission.DemandInternal(PermissionType permissionType) at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck) at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeValue(TextWriter output, Object value) at System.Web.UI.LosFormatter.SerializeInternal(TextWriter output, Object value) at System.Web.UI.Page.OnFormRender(HtmlTextWriter writer, String formUniqueID) at System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at ASP.Default_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Control.Render(HtmlTextWriter writer) at DotNetNuke.Framework.PageBase.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain() --- End of inner exception stack trace ---
StackTrace:
Source:
Server Name: NTXPWUS07

Chris from DNNMasters was nice enough to look at it with me and at least pointed me to the security error message, but that's where I am stuck. I've searched and read DNN and ASP.Net forums about "Request for the permission of type System.Security.." until my head is spinning but I can't seem to do anything right. I am new to DNN and .Net, but if someone can help me I would really appreciate it.

 

Thanks,
Jeremy

 

bump

 
New Post
4/1/2006 6:29 PM
 

After three weeks of fighting with getting a good, working DNN installation on 1and1, and dealing with poor support, I GAVE UP and tried another host.  Getting only moderate success there, but still having problems and still dealing with poor support, I GAVE UP AGAIN! 

Before my 30-day satisfaction guarantee was up, I checked out numerous hosts, looking for [first] good support, and knowledge of DNN.  Where possible, I contacted their support and asked questions to see if they had a clue about DNN. 

My best suggestion is to run away from 1and1!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Installation on a 1and1 shared hosting accountInstallation on a 1and1 shared hosting account


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