COGNOiSe.com - The IBM Cognos Community

Legacy Business Intelligence => COGNOS ReportNet => SDK => Topic started by: kattaviz on 18 Apr 2006 11:20:42 PM

Title: Unable to access the services using SDK version 8
Post by: kattaviz on 18 Apr 2006 11:20:42 PM
HI,

Recently our organization had upgraded to Cognos8. I had tried to log into the Ccognos Connection but  getting an exception "Method not found" at XMLSerilaization.

Code
====
agentService  crn = new agentService ();
crn.Url = "http://localhost:9300/p2pd/servlet/dispatch";
====

Error message
===========
System.MissingMethodException: Method not found: 'System.Object System.Xml.Serialization.XmlSerializationGeneratedCode.get_InternalSyncObject()'. at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializerContract.get_TypedSerializers() at System.Xml.Serialization.XmlSerializer.FromMappings(XmlMapping[] mappings, Type type) at System.Web.Services.Protocols.SoapClientType..ctor(Type type) at System.Web.Services.Protocols.SoapHttpClientProtocol..ctor() at cognosdotnet.agentService..ctor() at _Default.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\7025\My Documents\Visual Studio 2005\CRNSDK\Default.aspx.cs:line 28


===========


thanks