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

HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Multiple Portals on same server breaks host & admin logins.Multiple Portals on same server breaks host & admin logins.
Previous
 
Next
New Post
9/12/2007 11:55 PM
 

Yes, I am a newb and I suppose that the answer to this problem is posted somewhere very obvious.  But as a newb I declare my natural right to not see the obvious.  Here goes with the stupid question.

Having many domains to create portals for I attempted to setup individual installations of DNN 4.5.5 for three domains.  On the first installation I accepted the default user names of host and admin.  All was well.  On the second installation I modified those default account names on a whim.  All was well.  As fate was in a mood to  have its way with me, upon installation of the thrid portal I again used the default user names Admin and Host.  Oh whoa... I can no longer log into my first portal.  I could just blow it away and reinstall it but would much prefer to know how to fix it.

Any one?  Any one?

If you help ... Thank You.

 

 
New Post
9/13/2007 2:07 AM
 

You must have only ONE installation for all your domains or each installation should have its own database.

 
New Post
9/13/2007 3:57 AM
 

That puzzelled me too.  I searched the database tables looking for a hint as to how the passwords might be stored and found nothing.  I created seperate databases for each installation naming them slightly differently, i.e., dnnDomainName.  So, I knew that would likely not be the source of the problem, however; I did notice a database oddity.  I have SQL 2000 installed and create my databases there, however; I also have a trial version of SQL 2005 and it appears that the applications may be touching that installation?  I have no experience with any SQL systems beyond SQL 2000.  Does DNN access the SQL 2005 database in some way even though I have not instructed it to do so?  Nowhere have I specified an account or password giving it access to that database but I suppose it might be able to uses a system accout?

Can you tell me how the passwords are stored and how they might interfere with each other outside the SQL 2000 databases?  The connectionstrings for the databases are as follows (without the passwords of course)

Domain 1 - http://dotnetnuke.mcwhirter.info
  <!-- Connection String for SQL Server 2005 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2000/2005
    <add name="SiteSqlServer"  connectionString="Server=(local);Database=dnn_DotNetNuke_McWhirter_Info;uid=dnnUser01;pwd=*******;" providerName="System.Data.SqlClient" />
  -->

Domain 2 - http://publishing.McWhirter.US
  <!-- Connection String for SQL Server 2005 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2000/2005
    <add name="SiteSqlServer" connectionString="Server=(local);Database=dnn_Publishing_McWhirter_US;uid=dnnUser02;pwd=*******;" providerName="System.Data.SqlClient" />
  -->

As you see they use different databases.  So please explain how passwords are handled and how in this environment one installation might affect another.

Thank You.

 
New Post
9/21/2007 5:29 PM
 

I think the problem is related to your connection strings being commented out.  The "<!--"  starts a comment, and "-->" ends a comment, meaning that anything in between is not executed.   Soooo, looking at the connection strings you have, the first connection string is the one being executed/used, and that is referencing the same sqlexpress database.  What you need to do is comment out the first connection string and uncomment the second one that has your actual database connection info:

So this:

Domain 1 - http://dotnetnuke.mcwhirter.info
  <!-- Connection String for SQL Server 2005 Express -->
    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True" providerName="System.Data.SqlClient" />
    <!-- Connection String for SQL Server 2000/2005
    <add name="SiteSqlServer"  connectionString="Server=(local);Database=dnn_DotNetNuke_McWhirter_Info;uid=dnnUser01;pwd=*******;" providerName="System.Data.SqlClient" />
  -->

Becomes this:

Domain 1 - http://dotnetnuke.mcwhirter.info
  <!-- Connection String for SQL Server 2005 Express 
    <add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True" providerName="System.Data.SqlClient" />
-->
    <!--
Connection String for SQL Server 2000/2005 -->
    <add name="SiteSqlServer"  connectionString="Server=(local);Database=dnn_DotNetNuke_McWhirter_Info;uid=dnnUser01;pwd=*******;" providerName="System.Data.SqlClient" />

Hope that helps with the problem,

Rick


JOHN GIESY
DotNetNuke Hosting Expert

DotNetNuke 7 Hosting $70 /year
DNN4Less.com Team DotNetNuke  

New Post
9/23/2007 9:47 PM
 

They're not connected. The three separate installs should work independently and it should not matter at all what names you chose for host and admin. My feeling is that something else went wrong... blow it away and try again. Double-check the three connection strings, .Net app versions, domain pointers.. all the bits. It's easy to make a minor mistake.

Rob

 
Previous
 
Next
HomeHomeOur CommunityOur CommunityGeneral Discuss...General Discuss...Multiple Portals on same server breaks host & admin logins.Multiple Portals on same server breaks host & admin logins.


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