![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Problems running Team Builds with ASP.NET applications Hi guys, I have a test solution (called TP2) which is checked in to a Team Project (also called TP2). The solution contains: * DLL (containing a single test class) * Unit Test project (which trivially tests the class in the DLL) * ASP.NET application (which exposes simple web-service and a single ASPX page, both of which use the class in DLL) * Windows application (which calls the simple web-service above) The code compiles, the unit test passes and all the code in the solution has been checked in. I have set up a Team Build for the solution. It is configured to perform testing and code coverage. However, this doesn't work. The collection and compilation of the code works fine, but the build falls over when it gets to the 'Running tests' phase of the build. Strangely, it reports that the test passes. Here's a section from the BuildLog.txt file: ======== Results Top Level Tests ------- --------------- Passed (Main/)Tests.PersonTest.NameTest Run has the following issue(s): C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : Code coverage instrumentation warning while processing file DLL.dll: C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : Warning VSP2014 : The resulting instrumented image appears to be invalid, and may not run. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : . C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : Code coverage instrumentation warning while processing file WindowsUI.exe: C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : Warning VSP2014 : The resulting instrumented image appears to be invalid, and may not run. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : . C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : Cannot initialize the ASP.NET project 'WebUI'. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : Exception was thrown: The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://localhost:4834/ WebUI/VSEnterpriseHelper.axd' returned an error: The remote server returned an error: (500) Internal Server Error.. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : Cannot initialize post instrumentation for the ASP.NET project 'e:\tfs build\build \tp2\mainbuild\sources\tp2\WebUI'. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : Exception was thrown: Microsoft.VisualStudio.Enterprise.Common.AspNetHelperException: The web site could not be configured correctly; getting ASP.NET process information failed. Requesting 'http://localhost:4834/WebUI/ VSEnterpriseHelper.axd' returned an error: The remote server returned an error: (500) Internal Server Error. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error. C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : at System.Net.HttpWebRequest.GetResponse() C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : at Microsoft.VisualStudio.Enterprise.Common.BaseHelper.GetWorkerProcessInfo() C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : --- End of inner exception stack trace --- C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : at Microsoft.VisualStudio.Enterprise.Common.BaseHelper.GetWorkerProcessInfo() C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : at Microsoft.VisualStudio.Enterprise.Common.AspNetHelper.SetupListener() C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : at Microsoft.VisualStudio.Enterprise.Common.AspNetHelper.SetupInstrument(Type type) C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : at Microsoft.VisualStudio.TestTools.CodeCoverage.CoveragePlugIn.InitAspNetInstrumentation(TestRun testRun). C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild \Microsoft.TeamFoundation.Build.targets : warning : The code coverage data for this project may be incomplete. ======== Has anyone else experienced this problem? If so, how did you get the Team Build working? Thanks in advance, Steve. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Problems running Team Builds with ASP.NET applications "Steve" <steve_barker333@xxxxxx> wrote in message news:30deb2f0-4acf-4363-b2d5-491b3db08383@xxxxxx Quote: > C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild > \Microsoft.TeamFoundation.Build.targets : warning : Warning VSP2014 : > The resulting instrumented image appears to be invalid, and may not > run. with code analysis on 64bit team builds but I could be wrong. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Problems running Team Builds with ASP.NET applications On 9 Jun, 14:56, "Leon Mayne" <l...@xxxxxx> wrote: Quote: > "Steve" <steve_barker...@xxxxxx> wrote in message > > news:30deb2f0-4acf-4363-b2d5-491b3db08383@xxxxxx > Quote: > > C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild > > \Microsoft.TeamFoundation.Build.targets : warning : Warning VSP2014 : > > The resulting instrumented image appears to be invalid, and may not > > run. > Is the build server a 64-bit machine? As far as I remember there are issues > with code analysis on 64bit team builds but I could be wrong. Thanks for the suggestion! I'm afraid the TFS server is a 32-bit machine, so back to the drawing board again. It's worth pointing out that code analysis does work in non-ASP.NET projects. Thanks again, Steve. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: Cannot Uninstall Visual Studio 2005 Team Suite & Team Explorer | .NET General | |||
| Programs/Applications running | Vista performance & maintenance | |||
| applications Running very slowly in vista | Vista performance & maintenance | |||
| iis 7.0 - applications running under dot net framework 1.1 | Vista installation & setup | |||