  | |  | RE: Anyone working with DotNetNuke? | RE: Anyone working with DotNetNuke? 2004-10-07 - By Tom Ward
Thanks again Tim and Ken. Please don't stop this discussion! I Really need to solve this soon.
Tim, I am sure they are configured as applications since the create button is not available. All other virtual directories that are not applications allow you to create one with that button. This has already been done in my case for these two applications however I did not use the create button to create them. I simply filled in the values by hand and applied them. Could this present a problem?
Ken and Tim, One of my applications is DNN 2.1.2 and the other is 1.0.10d. So one Web.Config has the SqlDataProvider and the other does not. The connection string in both web.config files points to the same server but unique databases. In fact the applications would not run if they were not finding the correct databases because they each have customizations that would fail because of missing tables and stored procs etc. They both run fine independently.
When I link from one application to the other, it does load the initial page correctly. This would be a blank page with the login link and tabs that unauthenticated users can view. In my case I do not have any tabs that unauthenticated users can view. When I click the login link I get the login control just fine. When I submit the login is when I get the cryptography error. Here is the stack trace.
[CryptographicException: Bad Data. ] System.Security.Cryptography.CryptoAPITransform._DecryptData(IntPtr hKey, Byte[] rgb, Int32 ib, Int32 cb, Boolean fDone) +0 System.Security.Cryptography.CryptoAPITransform.TransformFinalBlock(Byte [] inputBuffer, Int32 inputOffset, Int32 inputCount) +805 System.Security.Cryptography.CryptoStream.FlushFinalBlock() +40 System.Web.Configuration.MachineKey.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length) +139 System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) +114 DotNetNuke.Global.Application_AuthenticateRequest(Object sender, EventArgs e) +199 System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionS tep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
This is something I am looking at right now (DotNetNuke.Global.Application_AuthenticateRequest)
I really need to get to the bottom of this so if anyone has any other ideas I would appreciate them.
Thanks again
Tom
-----Original Message----- From: Tim Curtin [mailto:tjc_tek@(protected)] Sent: Wednesday, October 06, 2004 10:34 PM To: aspnet-admin@(protected) Subject: [aspnet-admin] RE: Anyone working with DotNetNuke?
sounds like they are each an application. You'll see a little box on the
folder on the left. perhaps they're pointing to the same DB.
>From: "Tom Ward" <TWARD@(protected)> >Reply-To: aspnet-admin@(protected) >To: aspnet-admin@(protected) >Subject: [aspnet-admin] RE: Anyone working with DotNetNuke? >Date: Wed, 6 Oct 2004 08:57:08 -0600 > >Tim Thanks for helping. > >In IIS each of the Virtual Directories have the property settings of >Application Name, Starting Point, Execute Permissions and Application >Pool populated. I assume that this means they have been configured as >an application. Am I wrong? If so, how do I perform the configuration? > >Thanks a million for the assistance. > >Tom > >-----Original Message----- >From: Tim Curtin [mailto:tjc_tek@(protected)] >Sent: Tuesday, October 05, 2004 11:32 PM >To: aspnet-admin@(protected) >Subject: [aspnet-admin] RE: Anyone working with DotNetNuke? > >is each vdir config'd as it's own application in IIS? > > >From: "Tom Ward" <TWARD@(protected)> > >Reply-To: aspnet-admin@(protected) > >To: aspnet-admin@(protected) > >Subject: [aspnet-admin] RE: Anyone working with DotNetNuke? > >Date: Tue, 5 Oct 2004 15:54:12 -0600 > > > >Jeff, > > > >Thanks for the reply. Yes, I create virtual directories for each, > >pointing to the appropriate code set on disk. Not sure what you mean >by > >separate sites as far as IIS is concerned. I thought this was separate > >sites in IIS. > > > >Thanks again. > > > >Tom > > > >-----Original Message----- > >From: Jeff Laughlin [mailto:jlaughlin@(protected)] > >Sent: Tuesday, October 05, 2004 11:09 AM > >To: aspnet-admin@(protected) > >Subject: [aspnet-admin] RE: Anyone working with DotNetNuke? > > > >okay... looking at your outline below you mention using IIS virtual > >directories rather than websites. is this your actual configuration? >i > > > >haven't tried it with that configuration myself (alwasy used different > >sites). if this is the case i'll try it out this evening at home and > >let you know how it goes.. > > > >jeff. > > > > > > > >Tom Ward wrote: > > > > >Thanks to everyone for responding to this. > > > > > >I have been out of the office for a few days so I did not respond >right > > >away. However, I do not want to loose your attention just yet since >I > > >am still not able to run two separate instances together with out the > > >"Cryptograph" error biting me. > > > > > >This is exactly my scenario and if I miss something let me know and I > > >will clarify: > > > > > >1) Single server 2 processor running Window 2003 Server. > > >2) SQL Server 2000 installed on same server. > > >3) Separate Databases created for each instance of DNN. > > >4) Separate code sets created for each instance of DNN. > > >5) Separate IIS Virtual Directories created for each instance >pointing > > >to separate code directories. > > >6) Separate Application pool created and used for each virtual > > >directory. > > > (Settings here are one concern of mine and I am researching) > > >7) <!-- Forms or Windows authentication --> > > > <authentication mode="Forms"> > > > <forms name=".DOTNETNUKE2" protection="All" > > >timeout="360"/> > > > </authentication> > > > <!-- > > > > > >If I clear my cookies I can run either application without an error > > >individually. > > > > > >If I try to link from one application to the other I get the > > >"Cryptography" Error. > > > > > >If I run one application and then close it and run the other > >application > > >I get the "Cryptography" error. > > > > > >I feel like I am missing something simple either in the IIS setup or >in > > >Web.config. > > > > > >Thanks again in advance for any input. > > > > > >Tom > > > > > > > > > > > >-----Original Message----- > > >From: Christopher Howell [mailto:chris.howell.ak@(protected)] > > >Sent: Friday, October 01, 2004 10:52 AM > > >To: aspnet-admin@(protected) > > >Subject: [aspnet-admin] RE: Anyone working with DotNetNuke? > > > > > >I have also ran multiple instances with multiple portals on the same > > >box without problems. > > > > > >NorthWest Data Solutions, Anchorage, Alaska > > > > > > > > >On Fri, 01 Oct 2004 10:38:17 -0400, Jeff Laughlin > > ><jlaughlin@(protected)> wrote: > > > > > > > > >>Greetings, > > >> > > >>I actually run a few instances of DotNetNuke on my systems and have > > >>never had any issues along these lines. Are all of your instances > > >>pointing to the same database or did you install a different >database > > >>for each one. also, are you using the same codebase or different > > >>codebases in different folders for each? > > >> > > >>jeff. > > >> > > >> > > >> > > >> > > >>Tom Ward wrote: > > >> > > >> > > >> > > >>>Another Issue that I have yet to resolve which is a thorn in my >side > > >>> > > >>> > > >is > > > > > > > > >>>running multiple DNN applications on the same server. I have DNN > > >>>implemented multiple times on the same server and I can not link >from > > >>>one DNN To the other. In fact if I run one application and close >it > > >>>then run the other application it will fail with a "System > > >>> > > >>> > > >Cryptography > > > > > > > > >>>error". I have to clear my cookies and files before it will run. >I > > >>>must fix this problem but so far nothing I have tried has worked. >I > > >>>will post the fix when I find it. > > >>> > > >>>Tom > > >>> > > >>> > > >>>Need SQL Advice? http://sqladvice.com > > >>>Need RegEx Advice? http://regexadvice.com > > >>>Need XML Advice? http://xmladvice.com > > >>> > > >>> > > >>> > > >>> > > >>Need SQL Advice? http://sqladvice.com > > >>Need RegEx Advice? http://regexadvice.com > > >>Need XML Advice? http://xmladvice.com > > >> > > >> > > >> > > > > > > > > > > > > > > > > > > > > > > > > >Need SQL Advice? http://sqladvice.com > >Need RegEx Advice? http://regexadvice.com > >Need XML Advice? http://xmladvice.com > > > > > >Need SQL Advice? http://sqladvice.com > >Need RegEx Advice? http://regexadvice.com > >Need XML Advice? http://xmladvice.com > >_________________________________________________________________ >FREE pop-up blocking with the new MSN Toolbar ? get it now! >http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ > > > >Need SQL Advice? http://sqladvice.com >Need RegEx Advice? http://regexadvice.com >Need XML Advice? http://xmladvice.com > > >Need SQL Advice? http://sqladvice.com >Need RegEx Advice? http://regexadvice.com >Need XML Advice? http://xmladvice.com
_________________________________________________________________ Check out Election 2004 for up-to-date election news, plus voter tools and more! http://special.msn.com/msn/election2004.armx
Need SQL Advice? http://sqladvice.com Need RegEx Advice? http://regexadvice.com Need XML Advice? http://xmladvice.com
Need SQL Advice? http://sqladvice.com Need RegEx Advice? http://regexadvice.com Need XML Advice? http://xmladvice.com
|
|
 |