Hi Bill,

On Thu, Oct 3, 2013 at 1:40 PM, Bill Stephens <[email protected]>wrote:

> I'm getting this error on a windows server when it's trying to compare 2
> files using gnuwin32 diff.exe.
>
> Debug: Executing 'C:\GnuWin32\bin\diff -u
> d:/AICS.CLAIMS.new/ASPX/App.config C:/
> Users/BSTEPH~1/AppData/Local/Temp/2/puppet-file20131003-4508-11k0jfs'
>
> Error: /Stage[main]/Claims/File[d:/AICS.CLAIMS.new/ASPX/App.config]: Could
> not e
> valuate: ReportEvent() failed: The parameter is incorrect.
>
>
Can you try running that with `--debug --trace`. Puppet is trying to write
the diff to the Application Event Log and the ReportEvent api is failing.
Presumably it doesn't like something in the diff content.


> However, when I try it comparing to a backup copy of the file, the diff is
> executing correctly:
>
> C:\Program Files (x86)\Puppet Labs\Puppet\bin>C:\GnuWin32\bin\diff -u d:/
> AICS.CL
> AIMS.new/ASPX/App.config d:/AICS.CLAIMS/ASPX/App.config
> --- d:/AICS.CLAIMS.new/ASPX/App.config  2013-10-03 14:06:15.400645000 -0500
> +++ d:/AICS.CLAIMS/ASPX/App.config      2013-10-01 01:21:56.000000000 -0500
> @@ -1,4 +1,4 @@
> -
> +<?xml version="1.0"?>
>  <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0
> ">
>    <configSections>
>      <section name="AICS.AppSettings"
> type="AICS.ARCHITECTURE.SERVICES.CONFIGURA
> TION.AICSConfigurationHandler,AICS.ARCHITECTURE.SERVICES"/>
>
> Any ideas what the issue might be?
>

>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>


Josh

-- 
Josh Cooper
Developer, Puppet Labs

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to