26 February 2018

WFFM Web form for marketer fail to submit in Sitecore

I have setup a standard form using WFFM in Sitecore 8.2. It always fail when submit. Error as below,


Exception: System.Data.DataException
Message: Error executing SQL command: SELECT df.Dropouts, df.Failures, df.Submits, df.Success, dv.Visits FROM
(SELECT [dbo].[Fact_FormStatisticsByContact].[FormId] AS FormId, 
SUM([dbo].[Fact_FormStatisticsByContact].[Submits]) AS Submits, SUM([dbo].[Fact_FormStatisticsByContact].[Failures]) AS Failures,
SUM([dbo].[Fact_FormStatisticsByContact].[Dropouts]) AS Dropouts, SUM([dbo].[Fact_FormStatisticsByContact].[Success]) AS Success
FROM [dbo].[Fact_FormStatisticsByContact] WHERE [dbo].[Fact_FormStatisticsByContact].[FormId] = @FormId
group by [dbo].[Fact_FormStatisticsByContact].[FormId]) df INNER JOIN

(SELECT Count(distinct [dbo].[Fact_FormEvents].[InteractionId]) AS Visits,
[dbo].[Fact_FormEvents].[FormId] AS FormId 
  FROM [dbo].[Fact_FormEvents]
  WHERE FormId = @FormId
  GROUP BY [dbo].[Fact_FormEvents].[FormId]  ) dv ON df.FormId = dv.FormId

Nested Exception

Exception: System.Data.SqlClient.SqlException
Message: Invalid object name 'dbo.Fact_FormStatisticsByContact'.
Source: .Net SqlClient Data Provider
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
   at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
   at System.Data.SqlClient.SqlDataReader.get_MetaData()
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
   at 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)
   at 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)
   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 Sitecore.Data.DataProviders.Sql.DataProviderCommand.ExecuteReader()

I just realized this is what I missed:

After run the .sql , the submit works!


  1. Every marketer wants to spread their brand name but you should not overdo by pasting your brand name all over everything. In fact, make your content educational that focus on your audience problems and needs. Michael Rayburn SEO

  2. Another reason is the low-cost, engagement of customers allowed by the media, availability of the channel to businesses of any size and it is helpful for any owner of a new business.Calgary search engine optimization experts

  3. Although, it's required to place keywords in your content, Google's priority always lies in providing reach user experience and relevancy of content. Google has nothing to do with how many times your site shows the keyword like "Digital Marketing Strategy."Best Digital Marketing Agencies in America

  4. Two of the more common methods for promoting your website are by guest posting on other blogs and submitting articles to article directories.submit a guest post technology

  5. Off page optimization involves factors that are beyond the control of your website. The primary goal of link building is to get other websites links to yours to improve SEO. Business Mailing List

  6. Do not make the mistake of falling into the trap where you assume that Probieren Sie es aus you have to have a ton of internet marketing experience in order to make it work for you.

  7. Email marketing keeps on to be a fundamental correspondences channel to draw in with clients is as yet a significant system that each independent company ought to execute. Every single email that a b2b advertiser conveys purposes to create more qualified leads. It is savvy and a moderate. CBT Mass Email Sender

  8. All things being equal, designers utilize rates which empower them to receive an unquestionably more liquid way to deal with delivering each page. Webdesignlab.be

  9. These days, it is hard to improve author, and in the event that you have a SEO organization close by, at that point it just resembles an answer for every single issue.

  10. To begin with, you must be sure about the thing you are attempting to achieve on the business side-center, center, center!

  11. Presently quick forward right up 'til today old enough and the web marketing preparing that I see is strange. Everyone has another mystery or another procedure. Seozoekmachineoptimalisatie.be

  12. Noteworthy: As a business person, Neil is constantly testing and growing new and bleeding edge Internet Marketing strategies, while working with probably the greatest brands on the planet. Leads genereren

  13. This comment has been removed by the author.

  14. Also, the best digital advertisers have a reasonable image of how every resource or strategy underpins their all-encompassing objectives. Webdesign bureau

  15. Their pamphlet is intelligent of this information and fills in as a manual for down to earth marketing experiences, exercises, viewpoints, and know-hows. Ebay Google SEO expert

  16. The membership will likewise keep you refreshed on the most recent news about nearby hunt marketing, including tips to help private ventures, establishments and local area areas be more noticeable in locally pertinent list items. Local Citations Building services

  17. Digidaze is a digital marketing organization in Maryland that offers digital marketing administrations to little to medium measured Maryland organizations. We are a full-administration digital marketing office in MD giving a large group of in-house digital marketing office administrations. agencia seo

  18. Do you know why many businesses fail to get ahead of their competitors? It's simply because they are not willing to adapt to the ever-changing world of digital media. Website Design


WFFM Web form for marketer fail to submit in Sitecore

I have setup a standard form using WFFM in Sitecore 8.2. It always fail when submit. Error as below, Error: Exception: System.Data.DataE...