Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Ads  
Biz Modules provides professional business modules and solutions for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Install It!  Problem having parallel installations of DNN
Previous Previous
 
Next Next
New Post 6/17/2008 9:45 AM
User is offline vitorxavier
20 posts
10th Ranked


Problem having parallel installations of DNN 

Hello!

I have two parallel installations of DNN in the same machine (not two sub-portals).
I'm using separated folders, databases and even application pools.

The portals are for different companies and is working well.

But, looking as administrator of both portals I have a problem.
If I login in one of these portals, logoff and login on the another portal I get a Bad Data error:
Exception Details: System.Security.Cryptography.CryptographicException: Bad Data.

I have found some issues about and it is a cookie problem, if i clean them everything woks fine again. But obviously, this is not a good solution.

Does somebody have an workaround?

Regards,
Vitor

 
New Post 6/17/2008 10:49 AM
Online now... Sanjay Mehrotra
527 posts
www.acuitisolutions.com
8th Ranked




Re: Problem having parallel installations of DNN 

Vitor - change the name of the form in web.config as pertains to the cookies (on one of them) and your error should go away... I believe the default is .DOTNETNUKE...

 


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 6/17/2008 11:50 AM
User is offline vitorxavier
20 posts
10th Ranked


Re: Problem having parallel installations of DNN 

Hi Sanjay,

I tried this, but it stills not working...

If I login in the "Portal One", logoff and login in the "Portal Two" it works!
But, if I login in the "Portal 1" and try to login in the "Portal Two" without logoff first in the "Portal 1", the error occurs.

Any idea?

Thanks,
Vitor.

 
New Post 6/17/2008 1:44 PM
Online now... Sanjay Mehrotra
527 posts
www.acuitisolutions.com
8th Ranked




Re: Problem having parallel installations of DNN 

I'm assuming that your PortalAlias are not the same on both portals right? this "fix" has worked for me in the past but let me re-check to see if it's not working anymore. In my scenario I have several folders with different versions of DNN and I can run all of them side by side without any issues. Can you clear out your cookies and note what cookie names are being created for each of the sites?

Sanjay


AcuitiDP - Oracle Data Provider for DotNetNuke
 
New Post 6/17/2008 2:56 PM
User is offline vitorxavier
20 posts
10th Ranked


Re: Problem having parallel installations of DNN 

Sanjay,

The portal alias are different, and my DNN versions are 4.8.2 and 4.5.1.

I cleared the cookies and accessed the "Portal One". The following cookies was created:

- EventSelectedDate396
- DNNEventsCulture396
- EventsCategory-1
- DNNEvents396
- _DRMCategory467
- language
- portalroles
- portalaliasid
- DNNBSP (this is the new forms name for this portal, rather than .DOTNETNUKE)
- .ASPXANONYMOUS
- ASP.NET_SessionId

After that, I accessed the "Portal Two" and the following new cookies was created:
.ASPXANONYMOUS2 (i have changed this name in the web.config)
authentication
.DNNBCS (this is the new forms name for this portal, rather than .DOTNETNUKE)
portalaliasid
portalroles

Ok, the cookies "portalaliasid" and "portalroles" was created twice. Maybe the problem is here.

The content of both "portalroles" cookies is empty.
The content of the "portalaliasid" is different (something with cryptography).

What can I do now?

Thanks,
Vitor.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Install It!  Problem having parallel installations of DNN
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Get Smarter Mail, SmarterStats, SmarterTickets
Windows mail server, web log analytics, and customer service management software - Free Editions Available!
www.smartertools.com
DotNetNuke Modules, Skins, Training and Consulting
If you want DotNetNuke done right then look no further. Developed Solutions provides module development, skin design, user and developer training and consulting. Based in Adelaide, Australia, we offer our services worldwide.
www.developedsolutions.com.au
Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP