I have to do updates on a newsletter subscription page created by a colleague from me. When I try to submit the page on our dev and production environment I get following error:
Configuration error: Content is not allowed in prolog., Content is not allowed in prolog.
And this when using following line of code
Tridion.OutboundEmail.ContentDelivery.Profile.Contact contact = new Contact();
A part of the Stack Trace is
[IOException: Configuration error: Content is not allowed in prolog., Content is not allowed in prolog.] Codemesh.JuggerNET.NTypeValue.Throw(Int64 inst) +519 Codemesh.JuggerNET.JavaClass.ThrowTypedException(Int64 inst) +1258 Codemesh.JuggerNET.JavaMethod.CallObject(JavaProxy jpo) +583 Com.Tridion.Marketingsolution.Profile.Contact..ctor() +57 Tridion.OutboundEmail.ContentDelivery.Profile.Contact..ctor() +346
Tridion is upgraded more then a year ago from 2009 to 2011 SP1.
Is there someone who had the same issue and know how to solve this?