First of all, thanks for the great work!
I'm using your code and it works great on localhost, all the reminders are sent. The number of emails is corret and the timing too.
When I deploy it on Azure (it's a web app not shared and always running) the reminders are never sent.
I noticed that this project is built with several BETA versions of MVC components.
Just wondering if there is a version of this project for MVC 5 built with the RTM versions of the components.
Attempting to update all the packages leads into a lot more effort.
I get 3 compile error when I try to build this application. My setup Windows 8 PRO + VSTO2012 Ultimate. Target framework .NET 4.5...
1: Error - Assembly 'System.Drawing, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' can not be resolved. Please add a reference to this assembly in the project that is being built. D:\****\C#\MVCRegistrationActivities\AccountRegistration.xaml MVCRegistrationActivities
2: Error XC1020: Build error occurred in the XAML MSBuild task: 'Could not load file or assembly 'file:///D:\****\C#\MVCRegistrationActivities\bin\Debug\MVCRegistrationActivities.dll' or one of its dependencies. The system cannot find the file specified.' D:\****\C#\MvcApplication1\file:///D:\****\C#\MVCRegistrationActivities\bin\Debug\MVCRegistrationActivities.dll MvcApplication1
3: Error Metadata file 'D:\****\C#\MvcApplication1\bin\MvcApplication1.dll' could not be found D:\****\C#\MvcApplication1.Tests\CSC MvcApplication1.Tests
I run the application and then click the link in email and I got the following error.
The execution of an InstancePersistenceCommand was interrupted because the instance '547a58c4-cf77-41e9-8ed4-de65bd4f79aa' has not yet been persisted to the instance store.
my setup: window 7 64 bit + VS2012 + target framework .net 4.5 + iis 7.5 + SQL server 2012.
installed AppFabric and AppFabric shows 0 for persisted WF instance and idle.
also tried setup: window 7 64 bit + VS2012 + target framework .net 4.5 + iis 7.5 + SQL server 2008R2 and I got the same error.
no data in InstancesTable.
Konstantin, I had the same issue on my Win8 VS2012 machine. This is the error that is displayed when you open up AccountRegistration.xaml in Design mode. Compiling the application also gave me another error that that System.Drawing was not referenced in the project, so I added it and then I could open the file in Design mode.
I think the RegData error is related to the fact that the project is missing this reference to System.Drawing and does not compile correctly.
Ron, great article and sample! I do have a question though. I have the app running fine local (debug) using our network's SMTP and a SQL 2005 server. I can register/get emails without issue. When I publish the app to my Windows 7 IIS that is local it does not run properly. I am still pointing to the SQL 2005 server and SMTP as did in debug. IIS serves it up and I go to register, filling out the form properly, as I did in debug, but it now always displays 'Please correct the errors and try again. An unknown error happened'. I do get the user created in the membership table, but no email goes out. Thoughts?
I got it solved yesterday. I was not using Azure, just another SQL server on the network. For some reason VS 2012 was not publishing correctly. It was not publishing the Microsoft.Activities.Extensions dll to the bin folder with the rest of the project. It was the only project item not publishing. I used Firebug to finally figure that out and had to manually place it in the bin. Once I did that, the site is now registering user fine!
Help us improve MSDN.
Visit our UserVoice Page to submit and vote on ideas!