Spotfire web player 5.0
Posted By: Doddy.Amijaya on February 22nd, 2014 in Spotfire
No Gravatar

I have done spotfire installation and integrate it with SalesLogix a handful of times now. I ran into some snags here and there. I’d like to share the 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:


{"waid":"c718177454d1766054b0f-c401","nodeId":"c718177454d1766054b0f-c401","callback":"Init","args":"{\"scrollbarWidth\":16,\"windowSize\":{\"width\":1280,\"height\":919},\"timezoneOffset\":480}"}


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.HttpServerProtocol.Initialize()
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 authenticatio instead….
Still not working.


THE FIX :

go to C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319
and run this command : aspnet_regiis -i

………

and it fixes it!!