RegistrationURL cancel URL values not coming , Anyone can help on this please
I run the application and then click the link in email and I got the following error. The execution of an InstancePersist
enceCommand was interrupted because the instance '547a58c4-cf77- 41e9-8ed4-de65b d4f79aa' 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.
I get 3 compile error when I try to build this application. My setup Windows 8 PRO + VSTO2012 Ultimate. Target framework .NET 4.5... ERRORS: 1: Error - Assembly 'System.Drawing
, Version=126.96.36.199 , Culture=neutral , PublicKeyToken= b03f5f7f11d50a3 a' can not be resolved. Please add a reference to this assembly in the project that is being built. D:\****\C#\MVCR egistrationActi vities\AccountR egistration.xam l MVCRegistration Activities 2: Error XC1020: Build error occurred in the XAML MSBuild task: 'Could not load file or assembly 'file:///D:\*** *\C#\MVCRegistr ationActivities \bin\Debug\MVCR egistrationActi vities.dll' or one of its dependencies. The system cannot find the file specified.' D:\****\C#\MvcA pplication1\fil e:///D:\****\C# \MVCRegistratio nActivities\bin \Debug\MVCRegis trationActiviti es.dll MvcApplication1 3: Error Metadata file 'D:\****\C#\Mvc Application1\bi n\MvcApplicatio n1.dll' could not be found D:\****\C#\MvcA pplication1.Tes ts\CSC MvcApplication1 .Tests
'The type ‘InArgument(loc
al:Registration Data)’ of property ‘RegData’ could not be resolved.' Line number '19' and line position '32'.
Konstantin, I had the same issue on my Win8 VS2012 machine. This is the error that is displayed when you open up AccountRegistra
tion.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?
Well, when you publish you have to change the connection string to use SQL Azure.
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.Activ
ities.Extension s 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!