I have done spotfire installation and integrated it with SalesLogix a handful of times now. I’ve run into some snags here and there. I’d like to share an issue that I ran into recently when installing and integrating Spotfire with SalesLogix.
I have installed the Spotfire server, the fat client, webplayer and the deployment. I also installed the latest hotfix and patch for the server and the application.
For some reason I kept getting the following error in the AJAX request:
System.InvalidOperationException: Spotfire.Dxp.Web.Response cannot be serialized because it does not have a parameterless constructor.
at System.Xml.Serialization.TypeScope.GetTypeDesc(Type type, MemberInfo source, Boolean directReference, Boolean throwOnError)
at System.Xml.Serialization.ModelScope.GetTypeModel(Type type, Boolean directReference)
at System.Xml.Serialization.XmlReflectionImporter.ImportTypeMapping(Type type, XmlRootAttribute root, String defaultNamespace)
at System.Web.Services.Protocols.XmlReturn.GetInitializers(LogicalMethodInfo methodInfos)
at System.Web.Services.Protocols.HttpServerType..ctor(Type type)
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
I thought maybe because I haven’t installed the ASP.NET 2.0 AJAX extension, so I installed that but still no luck.
Next step I undo the custom Java Authentication and Authorization Service (JAAS) and using spotfire db authentication instead….
Still not working.
THE FIX :
go to C:WINDOWSMicrosoft.NETFramework64v4.0.30319
and run this command : aspnet_regiis -i
and it fixes it!!