Thanks William.

The PEVerify came up good, telling me the tfsbuild.exe was fine. On the
application tier I had package load failures on Visual Studio 2008 Developer
Edition, so I thought it had something to do with that. Repairs would not
work because of the package load failures. I removed Team Explorer on the
Application tier and removed Visual Studio Shell.

I ran "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv"
/setup /log and checked the
%APPDATA%\Microsoft\VisualStudio\9.0\ActivityLog.xml and then removed the
registry entries for the broken packages at
HKLM\Software\Microsoft\VisualStudio\<version>\Packages\<Package GUID>.

I am wondering if this is because I installed Visual Studio 2008 Development
Edition after Team Explorer. I didn't realise at first that I required it on
the server, which is why is was installed later.

Repairing a few other installs got some things going, and I was able to
delete one build. I tried to delete a different one than before. The
difference was that I have since changed the name of the Build definition,
and was trying to delete the old named builds before. So thought that might
be where the issue lies. However, after deleting the one, I get the same
error trying to delete anymore.

I think the solution will be to build a new application tier box that is
clean, and see if the error still persists. This won't be happening for
about a month though.

Matthew Rowan

On 6/24/08, William Bartholomew <[EMAIL PROTECTED]> wrote:
>
> That's usual, that usually means that the MSIL is invalid. Try running
> PEVerify over tfsbuild.exe to make sure there isn't a problem with the .exe.
> Doing a repair of the Team Explorer installation may fix it.
>
> William
>
> On Tue, Jun 24, 2008 at 10:03 AM, Matthew Rowan <[EMAIL PROTECTED]> wrote:
>
>> Hi Guys
>>
>> I was wondering if anyone has come across this error. It happens when
>> trying to delete a build from the Build Explorer, and from the command line
>> using "tfsbuild delete". I think the error is also preventing my build
>> retention policy from working, hence the need to try and delete manually.
>>
>> Team Foundation Error
>> Common Language Runtime detected an invalid program.
>>
>> Cheers
>>
>> Matthew Rowan
>> OzTFS.com - to unsubscribe from this list, send a message back to the list
>> with 'unsubscribe' as the subject. View the web archives at
>> http://www.mail-archive.com/[email protected]/
>> Powered by mailenable.com, supported by www.readify.net
>
>
> OzTFS.com - to unsubscribe from this list, send a message back to the list
> with 'unsubscribe' as the subject. View the web archives at
> http://www.mail-archive.com/[email protected]/
> Powered by mailenable.com, supported by www.readify.net



OzTFS.com - to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject. View the web archives at 
http://www.mail-archive.com/[email protected]/
Powered by mailenable.com, supported by www.readify.net

Reply via email to