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 ...problem in running site with iis 5.1problem in running site with iis 5.1
Previous
 
Next
New Post
3/7/2011 4:39 AM
 
hello everyone

i have a dnn 5.5.1 project that i'm working on in vs2008 with win xp and i just move the database from app_data
to sql server 2005 express.
all working fine when i'm running the project in visual studio asp environment.
i cant get it to work in iis , in iis i'm opening a virtual directory with the name Test and path to my project in C:\DotNetNuke
i set aspnet and iusr permissions to the dotnetnuke folder, to the aspnet i set modify and iusr i set read and execute.
when i'm trying to load the site with the address :
http://localhost/Test its navigating me to www.bing.com site that tells
me there are no resaults for my page.

what am i doing wrong?
if it was working ok what page would i see? the dotnetnuke installation or the site itself?

 
New Post
3/7/2011 8:54 PM
 
For starters - you need to get xp setup correctly and configured for asp.net.

By default running a website from inside vs2008 does not actually use iis
 - instead it uses its own a cut down webserver application.

Since you were up and running inside vs2008 - I assume asp.net 3.5sp1 is properly installed.
Next you need to actually assign it to is
Do a search on google for instructions on running aspnet_regiis to register asp.net with your iis server
.
You then need to make sure the default page name list contains default.aspx.

And finally, you need to set the folder that contains DNN to full permissions for network_service  not iusr or aspnet.

westa
 
New Post
3/8/2011 4:02 AM
 
hello wes thx for your reply

if i'm not mistaking i did the the thing with the aspnet_regiis to register
for exapmle if i'm openning a new web site in vs2008 and put it on iis its running fine.

when i put the dotnetnuke in wwwroot the default page is default.aspx.

what i didnt know i should do is set permissions for network_service, i read that in xp with iis 5.1 
you need to set the aspnet and above iis 5.1 to set the the network_service but i will try that.

i will ask again cause its confusing me , if everything should work fine should i see
the dnn installation wizard or the actual site like i see when i'm running in vs2008 enviourment.
my database already sits in sqlexpress 2005 and its obviously with more data and tables that i have added.
and in the installation wizard its creating a new database which i dont want and asking me again to fill
host and admin details when i already got those.
 
New Post
3/8/2011 9:26 AM
 
It sounds like you are now connecting successfully to the site via IIS. As I recall, ASPNET is the correct worker process account for IIS 5.1 (Windows XP). Network Service would be the default worker process account for IIS 6 and 7.

However, if you are seeing the Install Wizard come up when first browsing to the migrated site that is an indication that DotNetNuke is unable to connect to the existing database and thus thinks that this should be a new install.

When you say that you moved the existing database to SQL Server 2005, am I correct that when you first setup the site in VS you were using the user instance database file Database.mdf located in the App_Data folder and that you have now attached to the database file using a tool such as SQL Server Management Studio Express? If so, once you have attached to the database outside of DotNetNuke it will be necessary to change the two connection strings in the site's web.config. Please see the following blog post from Shawn Mehaffie for more information:
http://www.dotnetnuke.com/Community/B...

It that post doesn't help you to get going, please post the entire <connectionStrings> section of web.config as well as the first part of the <appSettings> section which contains the legacy connection string setting.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/8/2011 10:17 AM
 
hi william

i did exactly what you described, i first used the database in app_data and then moved it to sqlexpress with the attach method.
when i run my project in vs2008 enviourment its running fine and its reaching the database.

i did changed my connection string and its:

<add name="SiteSqlServer" connectionString="Data Source=ROY-DEVELOPMENT\SQLEXPRESS;Initial Catalog=DNN;
User ID=DNN;Password=*testing" providerName="System.Data.SqlClient" />

in appSettings:

 

<add key="SiteSqlServer" value="Data Source=ROY-DEVELOPMENT\SQLEXPRESS;Initial Catalog=DNN;User ID=DNN;Password=testing" />

i did another test and now when i reach the installation wizard it tries to install database scripts,
it ran about an hour and in the end i get failur like this:
Installing Database - Version 05.00.00...Success
undefined...Success
undefined...Success
undefined...Success
undefined...Success
undefined...Success
a lot more of these: undefined...Success
and then boom:
undefined...FAILURE  - 

y is that? is there somthing wrong with one of the tables?
if yes is there a way to see where it fails?

if its writing those lines undefined...Success does it mean that its not a clean install and its
actually trying to install by my attached database?

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...problem in running site with iis 5.1problem in running site with iis 5.1


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