DNN Blog

Jan 28

Posted by: Chris Hammond
1/28/2009 10:37 PM  RssIcon

So I had this bright idea, I'd setup VMWare on my desktop here at home and start playing with Windows 7, then I thought I would get a DNN website up and running in Windows 7, and record the whole thing with Camtasia. 24 hours later I've given up and am ready to go into manual labor! :)

VMWare's installation went great, Windows 7 installation went great, and was AMAZINGLY fast, under 20 minutes and the OS was installed in a new VM, and I was logged in. It went downhill from there. I downloaded Microsoft's Web Platform Installer to try and get the necessary prerequisites installed on the machine so that I could run the DotNetNuke application. IIS, SQL Express, .Net Framework, etc. This was the start of my troubles. The Web Platform Installer apparently installed IIS, but would choke when trying to install SQL Express, it would tell me it failed due to prerequisites. I think it was failing on the Windows Installer 4.5 requirement, though that was already installed based on my testing, read:attempt to download it from Microsoft.com and install it manually.

So I gave up on using the Platform installer for the remainder of the requirements and decided to install SQL Express manually with a download from Microsoft.com. That went even worse than the WPI. I attempted this 4 times last night, every time the installation process would lock up the Virtual Machine requiring a reset on the VM. I ended up giving up last night. Tonight I decided to try again, miraculously the installation process for SQL Express worked on the first attempt tonight, though I have no idea what was different from last night.

So I was happy at this point, progress was being made. I fired up Camtasia, configured my microphone, the recording window, and started to record the video. Download DNN, extract files, setup the permissions, setup an application in IIS, and then attempt to load the website. ERRrRrrrrrRrRrrrrr wrong, not gonna work. I got this nice error message

System.Security.SecurityException: Request for the permission of type 'System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

From searching around on the web this appears to be a common problem with IIS and UNC shares, the problem is this wasn’t a UNC share, it was on the C drive. After about an hour of trying to get it to work, changing the trust level, app pool settings, tons of permissions on the file system, I’ve given up. I have too many other things to work on to continue tracking down an error I’ve never received before! I’ve seen plenty of errors in my day, this one wasn’t an easy one to figure out. Perhaps I’ll come back to it another day, I’m likely just to setup a new VM with Vista on it and get that working, perhaps I’ll come back to Windows 7 again in a few months.

Tags:
Categories:
Location: Blogs Parent Separator Chris Hammond

5 comment(s) so far...


Gravatar

Re: The Adventures of VMWare, Windows 7, Web Platform Installer, SQL Server 2008 Express, IIS 7 and installing DNN, otherwise known as HELL

I too have set-up Windows 7 on a VM, however my experience was much better. You didn't mention what VMWare product you attempted using. In my case I use Infrastructure 3. Perhaps I can steer you in the right direction Chris.

I will say that at this point in testing Windows 7, I'm quite impressed. It is considerable faster than (gold) Vista at its current RC status, and not nearly as intrusive. Two major reasons why I still am an XP fan.

By CSmith on   1/29/2009 10:50 AM
Gravatar

Re: The Adventures of VMWare, Windows 7, Web Platform Installer, SQL Server 2008 Express, IIS 7 and installing DNN, otherwise known as HELL

Last time I saw that error it was because my IIS process was running using an account that did not have access to the directory that the DNN site was running in...

By Michael Washington on   1/29/2009 10:50 AM
Gravatar

Re: The Adventures of VMWare, Windows 7, Web Platform Installer, SQL Server 2008 Express, IIS 7 and installing DNN, otherwise known as HELL

How about opening a discussion on the forum so we can troubleshoot? I've tried a combination that was also doomed with VPC and WinXP. Now I only use the VM to develop. DNN connects to SQL on another VM and I have Fortress on a separate machine to save my work. The only caveat of VPC is that it cannot run on extended desktops (multiple monitors)

By Hooligannes on   1/29/2009 10:50 AM
Gravatar

Re: The Adventures of VMWare, Windows 7, Web Platform Installer, SQL Server 2008 Express, IIS 7 and installing DNN, otherwise known as HELL

I too run DNN in VPC...I have 2 images running...One with IIS and one with SQL. On a laptop no less....I do have to install the MS loopback connector so I can do this when I'm not connected to a network via LAN or Wireless. It works quite well...On your VM Ware, what are the prereq's that are failing? Is it hardware? Is that something you can adjust in the VMWARE settings? I know on VPC you can select what kind of processor you want to emulate. Would be very interested if a thread got started in the forums to keep tabs on this.

By Jerry Andersen on   1/29/2009 11:16 PM
Gravatar

Re: The Adventures of VMWare, Windows 7, Web Platform Installer, SQL Server 2008 Express, IIS 7 and installing DNN, otherwise known as HELL

I've started up a thread to discuss this.

www.dotnetnuke.com/Community/Forums/tabid/795/forumid/107/postid/284932/scope/posts/Default.aspx

I wish I hadn't deleted the VM last night in my frustration, so I could try and see if IIS was running under a different account as Michael points out.

By Chris Hammond on   1/29/2009 11:23 PM
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

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

Advertisers

r2integrated
Telerik JustCode Free
Exact Target Exec Alert

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. 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 the DotNetNuke Store where users purchase third party apps for the platform.