Forum  Community Devel...  Using the FCKEd...  Cannot validate website after adding FCKEditor module
Previous Previous
 
Next Next
New Post 8/27/2009 12:43 AM
  kenn.minear
422 posts
2nd Level Poster


Cannot validate website after adding FCKEditor module 

 Hello, I added the FCKeditor modules after watching the how to video.  I get the following error when rebuilding my website:

Error 1 Could not load type 'FredCK.FCKeditorV2.FileBrowser.Config'. C:\kwSched2Web\fckeditor\editor\filemanager\connectors\aspx\config.ascx 1

I can find nothing in your documentation about the FileBrowser components.  What am I missing?
 
Regards, Kenn
 


kenn@kennware.com
 
New Post 8/27/2009 12:58 AM
  kenn.minear
422 posts
2nd Level Poster


Re: Cannot validate website after adding FCKEditor module 

 Hello, looking at the FCK forums, I need to download 'FredCK.FckeditorV2.dll' and add it to my bin and create a reference to it.  The problem is I don't seem to be able to find the dll, it is not included in the downloads Gizmox directed me to.  Can you help me find where to download it from?

Regards, Kenn


kenn@kennware.com
 
New Post 8/27/2009 10:10 AM
  kenn.minear
422 posts
2nd Level Poster


Re: Cannot validate website after adding FCKEditor module 

Hello, I downloaded the FCKeditor.Net control from www.fckeditor.net and added the FredCK.fckeditorV2.dll to the bin directory of my website and added a reference to it.  The website now validates successfully when I rebuild it.  I just wondered why this step wasn't mentioned in the Using the FCKeditor tutorial on the Gizmox site.

However, now when I run my application I get a cannot load component error on the Gizmox.WebGUI.Common dll.  I was able to run the application successfully previously to adding the FCKeditor libraries, and now I cannot.

The error (I've cleared the cache and incremented the private version and still get this error, any suggestions would be helpful):

Server Error in '/kwSched2' Application.

Could not load file or assembly 'Gizmox.WebGUI.Common, Version=2.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6' 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 'Gizmox.WebGUI.Common, Version=2.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6' 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 'Gizmox.WebGUI.Common, Version=2.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6' 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 'Gizmox.WebGUI.Common, Version=2.0.5701.0, Culture=neutral, PublicKeyToken=263fa4ef694acff6' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64
   System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
   System.Type.GetType(String typeName, Boolean throwOnError) +59
   Gizmox.WebGUI.Common.Configuration.Config.6AAAA(String 0AAAA) +423
   Gizmox.WebGUI.Common.Configuration.Config.6AAAA(XmlNodeList 0AAAA) +143
   Gizmox.WebGUI.Common.Configuration.Config.5AAA1() +50
   Gizmox.WebGUI.Common.Configuration.Config.get_RegisteredControls() +121
   Gizmox.WebGUI.Forms.Skins.SkinCompiler.Initialize(String strTheme) +128
   Gizmox.WebGUI.Forms.Skins.SkinFactory.InitializeResources(IContext objContext) +270
   Gizmox.WebGUI.Server.Cache.2AAAA(Context 0AAAA, Boolean 1AAAA) +191
   Gizmox.WebGUI.Server.Cache.Generate(Boolean blnStaticResource) +364
   Gizmox.WebGUI.Server.Cache..cctor() +74

[Exception: Resource generator error.]
   Gizmox.WebGUI.Server.Router.GetHandler(HttpContext objHttpContext, String strRequestType, String strUrl, String strPathTranslated) +308
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +307
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

 


Version Information: Microsoft .NET Framework Version:2.0.50727.4016; ASP.NET Version:2.0.50727.4016


kenn@kennware.com
 
New Post 8/29/2009 7:16 AM
  palli
14298 posts
1st Level Poster




Re: Cannot validate website after adding FCKEditor module 

Hi Kenn,

That Video is a little old.

The most easy way I know of including FCKEditor in your project, knowing all versions are correct is by refreencing Gizmox.WebGUI.Forms.Extended to your project, which has the FCKEditor control.

In your Visual Studio Toolbox you will need to add the control, after recompiling your project.

This takes care of the control itself, but you still need the resources.

To get them, you can get the sources via SVN, you can download and install the Catalog sample app from the download area, or you can work with the "with sources" installation of the SDK. What ever path you choose, you need to get the FCKEditor resources folder on the Gizmox.WebGui.Forms.Catalog folder and paste that folder into your application folder on the root, so you have Yourapp\FCKEditor folder within it's virtual folder.

That's it. Just tested on 6.3.9a and works like a charm.

Let me know if you can't make this work and we'll try to help.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 8/29/2009 7:17 AM
  palli
14298 posts
1st Level Poster




Re: Cannot validate website after adding FCKEditor module 

Hi again

Of course you need to register the control within web.cofnig etc. etc.

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Community Devel...  Using the FCKEd...  Cannot validate website after adding FCKEditor module
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS