# fel
Author: bjorsa

Får fel när jag försöker skriva ett inlägg i makro och stillbilder så här blir det och de har varit så i några timmar lägger ut felet ifall det är något nytt fel ?

mvh/bjorsa

Server Error in '/' Application.

* * *


=========================================

_Unable to cast object of type 'Se.iFokus.Community.Board.SiteBinary' to type 'Se.iFokus.Community.Board.BinaryInfo'._
----------------------------------------------------------------------------------------------------------------------

**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.InvalidCastException: Unable to cast object of type 'Se.iFokus.Community.Board.SiteBinary' to type 'Se.iFokus.Community.Board.BinaryInfo'.  
  
**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.

  
**Stack Trace:**  
  

\[InvalidCastException: Unable to cast object of type 'Se.iFokus.Community.Board.SiteBinary' to type 'Se.iFokus.Community.Board.BinaryInfo'.\]    Se.iFokus.Community.Board.Message.CreateMessage(User user, Group group, Message parent, String subject, String body, String messageAbstract, ImageData data) +289    Se.iFokus.Community.Board.Message.CreateMessage(User user, Group group, Message parent, String subject, String body, String messageAbstract, FileUpload attachment) +97    Se.iFokus.Community.Board.BoardPost.PostMessage(User author, Group group, String subject, String body, FileUpload attachment) +28    Write\_aspx.Publish\_Click(Object sender, EventArgs e) +293    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107    System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7    System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11    System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102 

  

* * *

**Version Information:** Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727

## Comment 1
Author: bjorsa

De beror alltså på att man lägger in en bild för jag testade att lägga in en här å fick samma fel igen

mvh/bjorsa

## Comment 2
Author: charlie

Bjorsa, har precis rättat till problemet så nu ska du kunna lägga in en bild igen.

## Comment 3
Author: bjorsa

Va bra att de löste sig !

mvh/bjorsa
