473,320 Members | 1,951 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

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\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : Code coverage
instrumentation warning while processing file DLL.dll:
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\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\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : .
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : Code coverage
instrumentation warning while processing file WindowsUI.exe:
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\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\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : .
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : Cannot initialize
the ASP.NET project 'WebUI'.
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\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\TeamBuil d
\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\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : Exception was
thrown:
Microsoft.VisualStudio.Enterprise.Common.AspNetHel perException: 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\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : at
System.Net.HttpWebRequest.GetResponse()
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : at
Microsoft.VisualStudio.Enterprise.Common.BaseHelpe r.GetWorkerProcessInfo()
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : --- End of
inner exception stack trace ---
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : at
Microsoft.VisualStudio.Enterprise.Common.BaseHelpe r.GetWorkerProcessInfo()
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : at
Microsoft.VisualStudio.Enterprise.Common.AspNetHel per.SetupListener()
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : at
Microsoft.VisualStudio.Enterprise.Common.AspNetHel per.SetupInstrument(Type
type)
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\Microsoft.TeamFoundation.Build.targets : warning : at
Microsoft.VisualStudio.TestTools.CodeCoverage.Cove ragePlugIn.InitAspNetInstrumentation(TestRun
testRun).
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\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.
Jun 27 '08 #1
2 1762
"Steve" <st*************@hotmail.comwrote in message
news:30**********************************@a70g2000 hsh.googlegroups.com...
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\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.

Jun 27 '08 #2
On 9 Jun, 14:56, "Leon Mayne" <l...@rmvme.mvps.orgwrote:
"Steve" <steve_barker...@hotmail.comwrote in message

news:30**********************************@a70g2000 hsh.googlegroups.com...
C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuil d
\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.
Hi Leon,

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.
Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: George McLean | last post by:
Hello, I am trying to isolate some performance issues. The database is DB2 v8.1 running on a Win2000 server with 4 processors and 1gb of RAM. The application is a GIS application that uses...
4
by: niv | last post by:
Hi, (1) I want to be able to return the programs running locally on MachineA in my network from MachineB. (2) I also want to be able to kill a process running on MachineA after I have...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
2
by: Praveen K | last post by:
I have a problem in communicating between the C# and the Excel Interop objects. The problem is something as described below. I use Microsoft Office-XP PIA dll’s as these dll’s were been...
4
by: Wayne Calvert | last post by:
Hello All I hope you can help with running web applications in VB.NET. I have just started working with ‘Visual Basic .NET Black Book’. I am at page 12 have created the web application...
10
by: Joe | last post by:
Based on what it says in the subscribers downloads for Team Suite I would think it would be there. Can it be downloaded separately or is it just the Workgroups one? Visual Studio Team System...
4
by: schneider | last post by:
Hello, Everyone We have 5 developers here using C#, developing Windows Forms apps and webservices, we currently use VS2005 Pro and Visual Source Safe 4, but have too many problems like Visual...
2
by: teddysnips | last post by:
One of our clients has reported a problem. Everything was working fine on Monday, but since Tuesday all is going wrong. The sysadmin assures me that there have been no changes to the network, or...
2
by: rustyc | last post by:
Well, here's my first post in this forum (other than saying 'HI' over in the hi forum ;-) As I said over there: ... for a little side project at home, I'm writing a ham radio web site in...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.