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 ...VISTA: IIS7 UsageVISTA: IIS7 Usage
Previous
 
Next
New Post
3/5/2007 7:56 AM
 

I've just installed Vista and, after a steep learning curve, installed DNN441.

The biggest problem I had was understanding that it seems that you can't use DNN in a standalone website on a local machine [please correct me if this isn't the case! :) ]

I set up a new website, changed the AppPool to Classic .net [from the DefaultAppPool], pointed to the directory in which I had deployed the DNN Starter kit. I created an SQL 2000 databse [on another machine as Vista doesn't apparently support 2000 but as my online database is SQL 2000 I see no reason to upgrade yet.....].

In order for the new website to work, I set it up with a new port number ie 42 so the address becomes http://Localhost:42/

At this stage I can either drop into VS2005 and cntrl-F5 from their - in which case I get a local IIS created webservice ie Localhost:54376// etc.... [not wanted...] or step into my browser, enter Localhost:42 and off we go.

The website successfully accesses the database [I set the connection string in the web.config or course] and creates the site.

I then press the 'Access your Portal from here' and get to the site front page.

I can't log in.

I can't log in because the PortalAlias table entry is set to Localhost - it doesn't appear to recognise the port number.

I set the Portal Table entry [directly, through the Server Explorer in VS] to Localhost:42.

Doesn't work. It doesn't work because it appears to be cycling forever. no idea what's happening here........

Any Suggestions?

=============

Switch tactics.
--------------

I go back to the IIS7 and add a virtual directory under the root default website, taking care to switch to the .net classic mode.

It all works.

===========

Question: How can I get the website option of the IIS7 to work?

 

Thanks
Duncan.

 
New Post
3/5/2007 9:38 AM
 
I'm running DNN as its own site under IIS7 and it seems to work fine. However, I started and created a whole new one rather than using localhost. Perhaps if you tried just stopping the "Default Web Site" and creating a new one with a different name it will work for you to.

Also, make sure you've got windows forms authentication and asp.net installled for IIS. I missed those when IIS was installed as they are not the defaults.

You did take the right steps by moving it into the Classic .NET app pool. That took me a while to figure out.

HTH,
Kevin Goff
 
New Post
3/6/2007 10:53 AM
 
  • I have the following:
  • Anonymouse Authentication enabled
  • ASP.Net Impersonation disabled and
  • Forms authentication enabled

When you say 'asp.net installed for IIS' I have to assume this is correct as I now have the site up and running.

=============

So my current position is this:

[Objective: to create an environment that will allow me to build and compile my [VB] DNN modules separately from the main website so that compile times are significantly reduced].

 

  • Standard DNN 441 webiste installed from the starter kit now up and running from a virtual Directory under the Default web site. [This is pretty much as I had it under XP].
  • Using VS 2005 I have created a solution and compiled this. All works fine.
  • Closed that solution and created a new solution and added a project, placing that project fileset under the Desktopmodules directory of the website. I used the standard Web Application Project then stripped out all the files that were produced, except the 'My Project' set.
  • Set this up in line with the excellent directions from Vladan Strigo [ http://vladan.strigo.net/derfault.aspx?tabid=76 ] - Thanks Vladan.
  • One thing to note here is to take care of the namespace issues. If I put In 'PM' for the Root Namespace in the Applications tab of 'My Project' and 'eCommerce' for the namespace in each of the files [where appropriate], hen for example, the Controller class that is called by the ascx code-behind might be: "PM.eCommerce.EC_Controller"
  • Added the following files:
    •  ViewModule.ascx
    • Controller.vb
    • DataProvider.vb
    • SqlDataProvider.vb  and
    • ModuleInfo.vb

I used the same framework that's used in the Dynamic Compiled  Module template. I didn't use that template as was getting a weird error from that That I never got to the bottom of: I would get an error on line 1 of the ascx HTML...

So. Got here and put a simple DropdownList control in t he ascx. added code in the Page_Load event to pull a a test set of entries from the database and compiled it all.

Compiled fine.

... But the Page_Load event doesn't fire! I put a break in the code and used the Cntrl-Alt-P [Attach to Process under Tools] to attach to the iexplorer .exe [this has changed from XP which used to be wp ]

  • The breakpoint doesn't break.
  • The application doesn't actually populate the dropdown.

I did a further test and put a label in the app, then changed the text of that label on the Databound event. Nothing happened.

The .dll is in t he right place [bin directory of the website] and the control renders OK So I'm currently stumped.

 

Any further ideas?

 
New Post
3/6/2007 11:35 AM
 

Duncan,

In the web.config for DNN add an appSetting called "usePortNumber" and set it to true.

Your site should then work just fine!


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...VISTA: IIS7 UsageVISTA: IIS7 Usage


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