Thanks Dan! I shouldn't have got so anxious and read your comments in the merge file.
I'm also having a problem with the calendar module. Whenever I add a forum post with a date associated with it (e.g., [cal]01/10/2007[/cal]) it shows up in the database as 1753 date. It appears the dates are not translating properly. However, the birthdays were added to the calendar successfully during the install. I'm running CS 2.1 sp1.
Also, how do you get the new freetextbox wrapper to work properly?
Thanks.
User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Geck Path: /cs/calendar/default.aspx as HTTP GET Referrer: /cs/ Message: Invalid object name 'dbo.db_CalendarItems'. System.Data.SqlClient.SqlException: Invalid object name 'dbo.db_CalendarItems'. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlDataReader.ConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at DanBartels.CS.Calendar.CalendarSqlDataProvider.GetCalendarItemsForDates(DateTime fromDate, DateTime toDate, Int32 eventsToReturn, Int32 settingsID) at DanBartels.CS.Calendar.CalendarSqlDataProvider.GetCalendarItems(DateTime fromDate, DateTime toDate, Int32 settingsID) at DanBartels.CS.Calendar.CalendarItems.GetMonthItems(DateTime monthBegins, Int32 settingsID) at DanBartels.CS.Calendar.Controls.AggregateCalendar.InitializeChildControls() at DanBartels.CS.Calendar.Controls.AggregateCalendar.AttachChildContro
Any help is greatly appreciated!!!!!! (Yes I read the post about ensuring the .Net 2 files are uploaded)
Todd
Athel:I posted this to another site of mine and cannot get the Calendar to work at all. I've followed everything exactly (I know I did it right cause it works fine on the other site). However, I cannot figure this one out...the only difference between the two is where I have it hosted. (www.orangelinkshell.com is hosted on godaddy and works perfect www.lostagesls.com is hosted at aspnix.net and cannot get it to work). Any ideas?
Actually I finally got something to show in Mozilla (Firefox) this is what my error is:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
[FileLoadException: Could not load file or assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] DanBartels.CS.Calendar.Controls.AggregateCalendar.AttachChildControls() +0 CommunityServer.Controls.TemplatedWebControl.CreateChildControls() +90 DanBartels.CS.Calendar.Controls.AggregateCalendar.CreateChildControls() +4 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.PreRenderRecursiveInternal() +41 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
Duh, I screwed up the edit on the communityserver.config file
It's working great now!!
Athel: Athel:I posted this to another site of mine and cannot get the Calendar to work at all. I've followed everything exactly (I know I did it right cause it works fine on the other site). However, I cannot figure this one out...the only difference between the two is where I have it hosted. (www.orangelinkshell.com is hosted on godaddy and works perfect www.lostagesls.com is hosted at aspnix.net and cannot get it to work). Any ideas?Actually I finally got something to show in Mozilla (Firefox) this is what my error is:Server Error in '/' Application. Could not load file or assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: Could not load file or assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Assembly Load Trace: The following information can be helpful to determine why the assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' could not be loaded. WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Stack Trace: [FileLoadException: Could not load file or assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] DanBartels.CS.Calendar.Controls.AggregateCalendar.AttachChildControls() +0 CommunityServer.Controls.TemplatedWebControl.CreateChildControls() +90 DanBartels.CS.Calendar.Controls.AggregateCalendar.CreateChildControls() +4 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.PreRenderRecursiveInternal() +41 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
Server Error in '/' Application. Could not load file or assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: Could not load file or assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Assembly Load Trace: The following information can be helpful to determine why the assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' could not be loaded. WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. Stack Trace: [FileLoadException: Could not load file or assembly 'ComponentArt.Web.UI, Version=2006.1.1109.1, Culture=neutral, PublicKeyToken=9bc9f846553156bb' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)] DanBartels.CS.Calendar.Controls.AggregateCalendar.AttachChildControls() +0 CommunityServer.Controls.TemplatedWebControl.CreateChildControls() +90 DanBartels.CS.Calendar.Controls.AggregateCalendar.CreateChildControls() +4 System.Web.UI.Control.EnsureChildControls() +87 System.Web.UI.Control.PreRenderRecursiveInternal() +41 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Control.PreRenderRecursiveInternal() +161 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1360
You can try having support at ASPnix re apply the network service user permissions or recycle your application pool?
Are both site using the same version of asp.net?
Rick Reszler
The Wizard:You can try having support at ASPnix re apply the network service user permissions or recycle your application pool?Are both site using the same version of asp.net?
Yes, both are 2.0
Athel: The Wizard:You can try having support at ASPnix re apply the network service user permissions or recycle your application pool?Are both site using the same version of asp.net? Yes, both are 2.0
By chance did you forget to take the files from the bin\framework2 folder and place them directly in the bin folder?
Dust: I'm still having issues using the custom FTB for the calendar with my CS install. Using build CS_2.1.60809.935 (.net 2.0) Get error:Could not load file or assembly 'FreeTextBox, Version=3.1.6.34851, Culture=neutral, PublicKeyToken=5962a4e684a48b87' Obviously, the 3.1.6 that community server is now using is far newer than 3.1.2 that the Calendar appears to be built against. Damn these hard dependancies... I feel myself falling into .net's own verison of DLL Hell :(
I'm still having issues using the custom FTB for the calendar with my CS install.
Using build CS_2.1.60809.935 (.net 2.0)
Get error:Could not load file or assembly 'FreeTextBox, Version=3.1.6.34851, Culture=neutral, PublicKeyToken=5962a4e684a48b87'
Obviously, the 3.1.6 that community server is now using is far newer than 3.1.2 that the Calendar appears to be built against. Damn these hard dependancies... I feel myself falling into .net's own verison of DLL Hell :(
Dust....did you ever get a resolution for this issue? I'm in the exact same boat.
The (what seems to be as best I can tell) latest version of the FTB wrapper for CS2.1 comes with the following DLLs:
I noted that the file versions that ship with the (what seems to be as best I can tell) latest version of Dan's calendar control are older. When I replace the FreeTextBox.dll noted above with the v3.1.2.18187 version from the framework2 directory in Dan's control I get the following error when ever the post editor attempts to load:
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load file or assembly 'FreeTextBox, Version=3.1.6.34851, Culture=neutral, PublicKeyToken=5962a4e684a48b87' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)Source Error: Line 1: <%@ Control Language="c#" %> Line 2: <%@ Register TagPrefix="FTBW" Namespace="CommunityServer.FreeTextBoxWrapper" Assembly="CommunityServer.FreeTextBoxWrapper" %> Line 3: <FTBW:FreeTextBoxEditor runat="server" id="Editor" /> Line 4:
Line 1: <%@ Control Language="c#" %> Line 2: <%@ Register TagPrefix="FTBW" Namespace="CommunityServer.FreeTextBoxWrapper" Assembly="CommunityServer.FreeTextBoxWrapper" %> Line 3: <FTBW:FreeTextBoxEditor runat="server" id="Editor" /> Line 4:
Source File: /Themes/default/Skins/Skin-Editor-FTB.ascx Line: 3 Assembly Load Trace: The following information can be helpful to determine why the assembly 'FreeTextBox, Version=3.1.6.34851, Culture=neutral, PublicKeyToken=5962a4e684a48b87' could not be loaded.
Also not sure what to do with the Telligent.FreeTextBoxWraper.dll that ships with Dan's calendar as the latest version of the FTB wraper changed the name of this file to CommunityServer.FreeTextBoxWraper. I copied Dan's file into the bin directory anyways....not sure if it matters.
If I replace the original 3.1.6 version of the FreeTextBox.dll my editor works fine again and I can still make calendar entries by manually adding the cal and /cal tags to a post....but I'd like to be able to see what the editor control looks like and see how it works.
Anyone know how to fix this?
I know there have been previous posts regarding problems with the calendar displaying that arise as a result of deleting a post that contains the calendar tags in it. I've been toying around with ways to possibly remedy this and came up with something that I do not believe has been mentioned here to this point and it seems to work well enough....though it's some extra steps.
I initially tried to play around with building cascading delete relationships within the database between the cs_posts and db_calendaritems tables. This worked in the sense that when a post was deleted the corresponding entry was also deleted out of the calendar table....but CS would display an error after the post was deleted and I have yet been able to figure out a way around the error.
I then stumbled upon something in testing and playing around with this further. As I said earlier, I don't recall this being mentioned as a work around, but it's something that could be a tad easier than trying to manually edit the database tables (especially if you are in a spot where you can't access the database directly for some reason). Anyways, I found that if you edit a post that has the cal tags in it, and delete the cal tags and then save the post, the entry will be removed from the database table and you can then safely delete the post without causing the calendar to not display properly.
Dan,
Will you be modifying (if it needs it) your Calendar module to work with CS2007? I was kind of dissapointed that a Calendar wasn't part of the new version, so I hope you can shed some light on whether your module will work or if you guys are secretly working on an official Calendar module.
Thanks,
Jimmy
Nice control Dan. It was very easy to integrate into the CS. I wanted to pass along a 'simple' yet required tip. I was formatting the [cal] MM-DD-YY[/cal]. Small thing, but it requires a 4 year date formatting. I looked around and didn't find something so I wanted to pass my info along, hopefully this helps someone.
Steve Schofieldsteve@orcsweb.comMicrosoft MVP - IIS
txice: Also not sure what to do with the Telligent.FreeTextBoxWraper.dll that ships with Dan's calendar as the latest version of the FTB wraper changed the name of this file to CommunityServer.FreeTextBoxWraper. I copied Dan's file into the bin directory anyways....not sure if it matters. If I replace the original 3.1.6 version of the FreeTextBox.dll my editor works fine again and I can still make calendar entries by manually adding the cal and /cal tags to a post....but I'd like to be able to see what the editor control looks like and see how it works. Anyone know how to fix this?
Although you wouldn't call it a fix, I developed a plugin for TinyMCE that does basically the same thing as Dan's FTB changes.
You can download it here: http://www.atgi.com/jeffesp/download.html There are instructions for install in the Readme.txt, but it is really just copying over a few files. There wasn't much to it.
If you want info about how it works, I wrote this post: http://jeffesp.blogspot.com/2007/03/cs-date-chooser-tinymce-plugin.html
Please reply here (or email) with any questions.
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com