Events Registration Widget
Is the events registration widget comaptible with 6.x
Hi Mike,
I can confirm that Events Registration widget is compatible with 6.x version of Sitefinity. For versions 6.0.4100, 6.1.4300 and 6.1.4600 you can use directly the EventsRegistration.dll located in the Builds folder.
Regards,
Kaloyan
Telerik
Kaloyan,
I just download a copy of the registration widget and loaded it on one of my Sitefinity web sites. I am having one issue with this widget.
If you use this widget on an SSL connection it breaks. When the service queries for the forms and eCommerce items it fails to load because non secure content is loading on an HTTPS web site. Essentially the REST services need to call over HTTPS.
I may end up downloading the source code my self and work through the issues just to get around this issue for now, unless you have any great ideas. Thanks.
Craig
ALL,
I found the issue with the web services call. Inside the FormsControlCustom.cs file the property labeled "Host" uses the following code.
/// <summary>
/// Gets the host component of the Url.
/// </summary>
public
string
Host
get
Uri uri = HttpContext.Current.Request.Url;
return
"http://"
+ uri.Host +
":"
+ uri.Port;
/// <summary>
/// Gets the host component of the Url.
/// </summary>
public
string
Host
get
Uri uri = HttpContext.Current.Request.Url;
return
uri.Scheme +
"://"
+ uri.Host +
":"
+ uri.Port;
Just wondering why the Events Registration Widget is not part of Sitefinity 6.3 out of the box?
Markus
@Telerik
Any feedback on this question?
Markus
Hi Markus,
Events Registration Widget in not part of Sitefinity, because it is developed by our solutions engineers. This is the reason why it is offered only in the marketplace.
Regards,
Kaloyan
Telerik
Dear Kaloyan
That's exactely the reason why I am asking. If it would have been developped by any 3rd party I would not have asked, but since it was developped in house I thought it could make sense to include it.
Markus
Hi Markus,
I can agree that this widget is developed by Telerik employees, but they are not part from the Sitefinity development team. I will forward your feedback to our dev team and I hope that this kind of functionality will be included in one of our future releases.
Regards,
Kaloyan
Telerik
Tried this with a 6.2X version and got an error. How do I go about getting this to work with 6.2?
Error:
[FileLoadException: Could not load file or assembly 'Telerik.Sitefinity, Version=6.1.4600.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
EventsRegistration.Public.Helpers.WidgetInstaller.PreApplicationStart() +0
[InvalidOperationException: The pre-application start initialization method PreApplicationStart on type EventsRegistration.Public.Helpers.WidgetInstaller threw an exception with the following error message: Could not load file or assembly 'Telerik.Sitefinity, Version=6.1.4600.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).]
System.Web.Compilation.BuildManager.InvokePreStartInitMethodsCore(ICollection`1 methods, Func`1 setHostingEnvironmentCultures) +12881803
System.Web.Compilation.BuildManager.InvokePreStartInitMethods(ICollection`1 methods) +12881512
System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath) +240
System.Web.Compilation.BuildManager.ExecutePreAppStart() +152
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151
[HttpException (0x80004005): The pre-application start initialization method PreApplicationStart on type EventsRegistration.Public.Helpers.WidgetInstaller threw an exception with the following error message: Could not load file or assembly 'Telerik.Sitefinity, Version=6.1.4600.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12880948
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12722137
Hi Bryan,
That is because you are trying to run the two projects (Sitefinity and EventsRegistration) with non-matching versions. In your case, the Sitefinity website is on 6.2.4910, while the EventsRegistration widget is build against Sitefinity, version 6.1.4600.
The error message basically says, "I, the EventsRegistration widget, am looking for Sitefinity version 6.1.4600, but I cannot find it". In this case, you have 2 suitable options: