DNN Blog

Feb 11

Posted by: Vicenç Masanas
2/11/2006 2:52 PM  RssIcon

Let me first say it was my first attempt to use this new Plesk version. So my first look at it was WOW! Lots of features and great control over you hosted web. And best of all it includes a DNN version ready to install. Can a DNN developer be happier?
I was a bit deceived to see it was version 3.1.1 but thought it could be easily upgraded after the install (which in fact ended up being true), so I went with it.
(Keep in mind that the package installed is the one containing all the source files and development stuff. But you can remove all that files later on you if you want)

First step was to name the new database that will be created to hold your DNN instance. Done.

Then it asks you for a folder where to install. I got my first dissappointment then: you can only install DNN on a subfolder, the root folder of your web site cannot be used. Asked on the forums and yes, this is the only way to do it without you server administrators changing the permissions on the root folder.
Not that I cannot use a subfolder but heck!, everybody wants their main web site on the root (www.whatever.com/). So this forces you to put and html redirect on the root to point to your web site, mmm....

Ok, I created a new web folder under the root and selected that one to install DNN. A couple more clicks and voila! my new DNN web site was created. Since I'm a bit suspicious I looked at the newly created web.config to verify all was correct. And yes all was fine, it even created a new sql user (bit strangely named as dnusr_a4fd5420a4) and a good password (I'd better don't tell you my password...).

So I pointed a new window browser to the correct url, DNN started to install and finished without problems. Great!

But after my first access to the home page...all full of javascript errors! My server was not serving .js files! I pointed to www.myserver.com/webfolder/js/dnn.js and got a nice

Not Found

The requested document was not found on this server.

damn it, what's going on here? The file was there and correctly named. I tried changind the name without any luck but when I changed the extension it was sent to the browser. After bothering a couple DNN Core Team members (thanks everybody!) we agreed this should be a server problem.

Googled a bit and saw something about MIME types that remembered me something I've seen on the control panel. Went there, added a new MIME type for javascript files as .js = application/x-javascript, refreshed my web site and all errors were gone.

plesk.jpg

So if you ever see something similar you now see where to look at.

I don't know if this is a bad server configuration (I think so) or it's supposed to be normal, but I'm sure I don't like it. I'd be more than happy to get any feedback on this one.

Then it only was a matter to ftp the files for DNN 3.2.2 over the existing web and upgrade to latest version.

Tags:
Categories:

11 comment(s) so far...


Re: Installing DNN on plesk 7.5.6

Hi Vicenc,
I tried the same with Plesk 7.5.6, but it did not ask me to add any MIME types. Regarding the Subfolder and redirection from Root to subFolder, it is horrible, but then maybe I think if the site is not used much have a FrontPage site on root with link to the subfolder, at least that loads fast.
Just wanted to know if you used FrontPage to FTP the 3.2.2 files and if you already had a production site with loads of data and user modules?

By Nigam on   5/26/2006 2:12 PM

Re: Installing DNN on plesk 7.5.6

Nigam,
this upgrade to 3.2.2 was done using a simple ftp client, no frontpage, and it was a just installed dnn, so no previous data nor modules on it.
That said, 3.2.2 is backwards compatible with 3.1.1 so even if I had something installed there there would probably work as expected
(but as I always recommend, never do and online upgrade before having tried it first on a test server).

By vmasanas on   4/19/2006 8:57 PM

Re: Installing DNN on plesk 7.5.6

Yes but this is only the start. To get multiple domains to run on the portal there is a trick to the setting up of DNS and I searched in vain to answer this question. After much struggling and experimentation I figured out how to do it.. You have to have a dedicated IP address for each portal to achieve this and trick plesk. Refer to my blogg on the solution at http://www.whynotwebsites.com

http://www.whynotwebsites.com/Resources/BloggsDiary/tabid/604/EntryID/4/Default.aspx

cheers,

Conrad Woolston

By Conrad Woolston on   5/26/2006 2:13 PM

Re: Installing DNN on plesk 7.5.6

I have recently been using a host who uses plesk and am very happy with the way it works. Flattening and rebuilding a portal takes minutes, and the other management features it provides give me enough control over my portion of the server. The only problems I've run into have been to do with third party modules which expect the SQL Server user used by DNN to be DBO, when the rest of the portal installs under an autogenerated user ID. Fairly straightforward to solve with sp_changeobjectowner. I note that the aspnet_ tables still need to be owned by DBO though (or Plesk installs the portal this way). I imagine this may change with the 4.1 release, but as to when Plesk & my host will move on....who knows ?

By Varp on   5/26/2006 2:13 PM

Re: Installing DNN on plesk 7.5.6

I'm using 7.5.6 and see no DNN anywhere... It's pretty pointless anyway if you cannot install DNN on the root.

By PortVista on   7/14/2006 4:20 PM

Re: Installing DNN on plesk 7.5.6

I have been using plesk for a month now. Also a bit disappointed when i found out it was v3...

so.. i tried installing v 4... for a month... :)
Today was the big day: it finaly installed succesfull..

problem with plesk is the user dbo. Both installing and upgrading. With me the folowing worked:
- Standard install dnn 4.x
- rename release.config > web.config
- in web.config adjust the database connect in the web.config. 2 times! in connection string and in appsettings
- in the section dotnetnuke (after system.web) there is a section(search for "objectQualifier")
there i set objectQualifier = "" and databaseOwner="THEDBUSER" (and not "dbo"!) (THEDBUSER = the plesk database user)
This setting is used to replace the "{databaseOwner}" in the sql scrips..

so.. i'm happy...

By erikvanderheide.nl on   10/4/2006 8:24 AM

Re: Installing DNN on plesk 7.5.6

Hi,
I'm trying to apply Conrad Woolston's solution to my dnn application on Plesk;
only one question: once i have a dedicated IP address for my default portal, can i create all parent portals i need under this ip?

Thanks in advance and sorry for my poor english.

By Sirioz10 on   7/14/2007 6:56 AM

Re: Installing DNN on plesk 7.5.6

need help upgrading from 3.x to 4.x using plesk, thanks!

By dankennison on   7/14/2007 6:56 AM

Re: Installing DNN on plesk 7.5.6

Regarding
once i have a dedicated IP address for my default portal, can i create all parent portals i need under this ip?

Not sure what you mean here. But you can run as many websites (portal sites) under the one IP address. Ie you can run many websites under one ip address. Each PORTAL (DNN installation) requires a single IP address to work. Hope this answers your question?

cheers,Conrad Woolston

By conradwoolston on   7/24/2007 7:44 AM
Gravatar

Re: Installing DNN on plesk 7.5.6

I don't know if you will check this blog still or not. But if you do i really need help! I installed Blog 3.5 on my DNN which is installed on plesk. I get a SQL instance not found or no access error. I don't know what object to change the owner for. I tried sp_changeobjectowner on all the objects in the db that had the name blog in the table name but no luck. Thanks.

Quoting Varp:

I have recently been using a host who uses plesk and am very happy with the way it works. Flattening and rebuilding a portal takes minutes, and the other management features it provides give me enough control over my portion of the server. The only problems I've run into have been to do with third party modules which expect the SQL Server user used by DNN to be DBO, when the rest of the portal installs under an autogenerated user ID. Fairly straightforward to solve with sp_changeobjectowner. I note that the aspnet_ tables still need to be owned by DBO though (or Plesk installs the portal this way). I imagine this may change with the 4.1 release, but as to when Plesk & my host will move on....who knows ?

By hmaleki on   11/18/2008 10:30 PM
Gravatar

Re: Installing DNN on plesk 7.5.6

hmaleki:
it's a bit difficult to diagnose your problems without much more information. But if you found some issues after installing the blog module I suggest you to take a look a the blog team forum and post there. I think your issue is not related to plesk but to another item.

By Vicenç Masanas on   11/22/2008 11:27 AM
Attend A Webinar
Try An Online Demo
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft .NET. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates Snowcovered.com where users purchase third party apps for the platform.