# Fel i fokus
Author: bjorsa

Just nu går de inte att lägga upp bilder på foto i fokus man får då detta felet

Server Error in '/' Application.

* * *


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

_Prepared statement '(@BinaryId uniqueidentifier,@SiteId uniqueidentifier,@UserId uni' expects parameter @Description, which was not supplied._
-----------------------------------------------------------------------------------------------------------------------------------------------

**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.Data.SqlClient.SqlException: Prepared statement '(@BinaryId uniqueidentifier,@SiteId uniqueidentifier,@UserId uni' expects parameter @Description, which was not supplied.  
  
**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:**  
  

\[SqlException (0x80131904): Prepared statement '(@BinaryId uniqueidentifier,@SiteId uniqueidentifier,@UserId uni' expects parameter @Description, which was not supplied.\]    System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +857306    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +734918    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188    System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +1838    System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +149    System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +886    System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +132    System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +415    System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +135    Se.iFokus.DataPersistance.StoredProcedureClass\`1.UpdateObject() +100    Se.iFokus.DataPersistance.GenericDataAccess.Update() +73    Se.iFokus.Web.Utils.AddSiteAttachment(FileUpload attachment, Guid& attachmentId, Guid siteId, Size size, ImageFormat imageFormat) +220    Edit\_aspx.AddAttachment() +412    Edit\_aspx.Publish\_Click(Object sender, EventArgs e) +431    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:

mvh/bjorsa

## Comment 1
Author: Pia

Samma sak inne på Katter...

## Comment 2
Author: johan

Det är förhoppningsvis fixat nu.

## Comment 3
Author: Pia

Okidoki.
