I am getting following error in the latest CTP version of CCNET 1.5.0.6067
when sending email notification. I receive this error message in the email.
Email was working fine in CCNET v 1.4.4. See below my ccnet.config file and
complete error message. Any help in resolving the issue will be appreciated.
ccnet.config file is a valid file and i have validated in ccvalidator.
****************************************************************************************************************
<email mailhost="mail.thescooterstore.com" from="fwbuildproc...@***.com"
mailport="25" includeDetails="TRUE">
<users>
<user name="FWTeam" address="fwt...@***.com" group="developers" />
</users>
<groups>
<group name="developers">
<notifications>
<notificationType>Always</notificationType>
<notificationType>Failed</notificationType>
<notificationType>Fixed</notificationType>
</notifications>
</group>
</groups>
<converters />
<xslFiles>
<file name="xsl\header.xsl" />
<file name="xsl\modifications.xsl" />
<file name="xsl\compile.xsl" />
<file name="xsl\compile-msbuild.xsl" />
<file name="xsl\msbuild.xsl" />
<file name="xsl\MsTestSummary2008.xsl" />
<file name="xsl\MsTestReport2008.xsl" />
</xslFiles>
<attachments>
<file>C:\Build\CCNETTest\results.xml</file>
</attachments>
</email>
****************************************************************************************************************
error message in the email
****************************************************************************************************************
Unable to build email message: System.InvalidOperationException: This
operation is not supported for a relative URI. at System.Uri.get_Scheme() at
System.Xml.XmlDownloadManager.GetStream(Uri uri, ICredentials credentials)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type
ofObjectToReturn) at System.Xml.Xsl.Xslt.XsltLoader.CreateReader(Uri uri,
XmlResolver xmlResolver) at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler
compiler, Object stylesheet, XmlResolver xmlResolver) at
System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver
xmlResolver, QilExpression& qil) at
System.Xml.Xsl.XslCompiledTransform.CompileXsltToQil(Object stylesheet,
XsltSettings settings, XmlResolver stylesheetResolver) at
System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet,
XsltSettings settings, XmlResolver stylesheetResolver) at
System.Xml.Xsl.XslCompiledTransform.Load(String stylesheetUri, XsltSettings
settings, XmlResolver stylesheetResolver) at
ThoughtWorks.CruiseControl.Core.Util.XslTransformer.LoadStylesheet(XslCompiledTransform
transform, String xslFileName) at
ThoughtWorks.CruiseControl.Core.Util.XslTransformer.NewXslTransform(String
transformerFileName) at
ThoughtWorks.CruiseControl.Core.Util.XslTransformer.TransformToXml(String
xslFilename, XPathDocument document) at
ThoughtWorks.CruiseControl.Core.Publishers.BuildLogTransformer.TransformResults(IList
xslFiles, XPathDocument document) at
ThoughtWorks.CruiseControl.Core.Publishers.HtmlDetailsMessageBuilder.AppendHtmlMessageDetails(StringBuilder
message, IIntegrationResult result) at
ThoughtWorks.CruiseControl.Core.Publishers.HtmlDetailsMessageBuilder.BuildMessage(IIntegrationResult
result) at
ThoughtWorks.CruiseControl.Core.Publishers.EmailPublisher.CreateMessage(IIntegrationResult
result)
--
Thank you,
.NET Architect
Ammar Gangardiwala