Server Error in '/' Application.

Procedure or function CRM_UpdateAsset has too many arguments specified.

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: Procedure or function CRM_UpdateAsset has too many arguments specified.

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): Procedure or function CRM_UpdateAsset has too many arguments specified.] System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +2585906 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +6039670 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +297 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +4477 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) +262 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +2698 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +1611 System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +390 System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +297 bpss.DAL.DbObject.RunProcedure(String storedProcName, IDataParameter[] parameters, Int32& rowsEffected) in C:\Users\tomer\Source\Workspaces\Workspace\vss\isranet\isranet\WebModules\DAL\DbObject.cs:59 bpss.DAL.Common.UpdateAsset(Int32 id, Int32 branchID, Int32 agentID, Int32 status, Int32 priority, String title, String subTitle, String abstractText, String description, Int32 type, Int32 purpose, Int32 category, Int32 assetType, Decimal rooms, Int32 areaID, Int32 cityID, Int32 neighborhoodID, String address, String appartment, Int32 floor, Int32 totalFloors, Boolean isPole, Decimal filedArea, Decimal builtArea, Int32 units, Boolean isBasement, Boolean isElevator, Boolean isAC, Boolean isPorch, Boolean isSafeRoom, Boolean isStoreRoom, Boolean isParking, Boolean isCrippleAccess, Int32 furnitures, Int32 isImmediateEntrance, DateTime entranceDate, Decimal price, Int32 currency, String adminUpdated, String adminNotes, Int32 fileID1, Int32 fileID2, Int32 fileID3, Int32 fileID4, String videoLink, Boolean isHot, Boolean isNew, Boolean isChance, Int32 fileID5, Int32 siteStatus, Int32 graphicStatus, Int32 views, String galleriesIDs, DateTime timerDate, Int32 userID, String ownerFirstName, String ownerLastName, String ownerPhone1, String ownerPhone2, String ownerAddress, String ownerEmail, Decimal dollarPrice, Decimal euroPrice, Decimal shekelPrice, String searchKeywords, String tourLink, Int32 innerStatus, String topGalleriesIDs, String MetaKeywords, String MetaDescription, Boolean isShowOnMobile, String friendlyURL) in C:\Users\tomer\Source\Workspaces\Workspace\vss\isranet\isranet\WebModules\DAL\Common.cs:426 bpss.BLL.Asset.Update() in C:\Users\tomer\Source\Workspaces\Workspace\vss\isranet\isranet\WebModules\BLL\Objects\Asset.cs:1081 bpss.Site.Assets.AssetPage.SetView(HttpCookie cookie) in C:\Users\tomer\Source\Workspaces\Workspace\vss\isranet\isranet\Site\Assets\AssetPage.ascx.cs:131 bpss.Site.Assets.AssetPage.SetAssetView() in C:\Users\tomer\Source\Workspaces\Workspace\vss\isranet\isranet\Site\Assets\AssetPage.ascx.cs:113 bpss.Site.Assets.AssetPage.Page_Load(Object sender, EventArgs e) in C:\Users\tomer\Source\Workspaces\Workspace\vss\isranet\isranet\Site\Assets\AssetPage.ascx.cs:73 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52 System.Web.UI.Control.OnLoad(EventArgs e) +97 System.Web.UI.Control.LoadRecursive() +61 System.Web.UI.Control.LoadRecursive() +134 System.Web.UI.Control.LoadRecursive() +134 System.Web.UI.Control.LoadRecursive() +134 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4676.0