473,402 Members | 2,072 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,402 software developers and data experts.

Website won't build -- build failed with no errors, warnings or messages (VS2005)

I'm having a problem finding the cause for this problem. I have a solution
in Visual Studio 2005 that contains two projects -- a Web Site and a Class
Library. The web site references the class library.

After the project became larger, the build process would sometimes fail with
no errors. The "quick fix" for this was to rebuild the whole solution and
things seemed ok. When this didn't solve the problem any longer, I went to
the property pages and changed the build action (F5) to Build Page and not
Web Site. After running it once successfully, I changed it back to Web Site
and then the build process did not fail. Great!

Still, this leaves me with no answer since I didn't actually find the cause.
What happened?

Any advice appreciated!

---
Kenneth
Aug 2 '06 #1
1 4223
Hello Kenneth,

Based on my understanding, you will encounter some problem on web
application building/compiling (ASP.NET 2.0/VS2005) when the project grow
large. As for ASP.NET 2.0 web project( web site application), it has been
much different from the original 1.1/vs 2003 one. In VS 2003/asp.net 1.1
web project, when we build the project, it will compile all the codebehind
files and generate a main project assembly(the same as other .net project
such as winform or console project).

While in ASP.NET 2.0/VS 2005, this is not the case, the 2.0 web project use
dynamic compilation by default, so it do not require us to precompile a
website at development time. When we use "build" command to build the web
site application in VS 2005(or use ctrl+F5 to start a page), it actually
perform all the dynamic compilation which will also be done at runtime
(after deployment). And if there is any error during the whole web
application's dynamic compilation, it will report error. (when we only
select one page in the solution explorer to view, it will be opened in
webbrowser and only this certain page and the resource such as ascx it
references will be dynamic compiled). This is the difference between "view
a page" and build the whole project(or use ctrl+F5 to start a page).

Here are some articles which are helpful on clarify the build/compilation
of ASP.NET 2.0 web project:

http://odetocode.com/Blogs/scott/arc...1/15/2464.aspx

http://www.odetocode.com/Articles/417.aspx
For your problem here, I'm wondering the detailed symptom and behavior when
you get the error:

==============
After the project became larger, the build process would sometimes fail
with
no errors.
==============

I know it may be difficult for you to create a simple reproduct project
since it occurs when the project grow large. So you can provide us some
detailed info on how the problem occurs, for example, after the silent
build error, will it cause a page display incorrect or report a compilation
error on the browser screen?

Also, ASP.NET 2.0 project support precompilation, through the
aspnet_compiler.exe or the "Build--->Publish Web Site" IDE menu item. Will
these precompilation options also behave incorrectly when that problem
occurs?

BTW, there is an add-on project for precompile ASP.NET 2.0 web application
which provide more customization options. Here is the link to is in case
you haven't had a chance to have look:

#Visual Studio 2005 Web Deployment Projects
http://msdn.microsoft.com/asp.net/re...structure/wdp/

Please feel free to post here if you have any other finding or any other
information you wonder.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead
This posting is provided "AS IS" with no warranties, and confers no rights.


Aug 3 '06 #2

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

Similar topics

5
by: dharmadam | last post by:
I am trying to build a simple SQL stored procedure in DB2 Stored Procedure Builder V7. It gives me the following message. Can someone help me to identify the problem. ...
19
by: Swaregirl | last post by:
Hello, I would like to build a website using ASP.NET. I would like website visitors to be able to download code that I would like to make available to them and that would be residing on my...
10
by: Amelyan | last post by:
It takes VS 2005 1, 2, and somtimes 3 MINUTES to compile ASP.NET 2.0 website when external DLL is modified. As a matter of fact, when I click 'Build', it looks like VS 2005 hangs for most of that...
5
by: NoNickname | last post by:
Basically, how do I know that the release versions of all components are being published? The Build | Configuration Manager is confusing me a little in VS2005. I have three projects in my...
3
by: musosdev | last post by:
Hi guys Okay, I've setup my projects to open and compile fine in VS2005 using FPSE and remote web, but it's *really* slow. So I thought I'd have a go at doing it the normal way, by loading from...
9
by: guy | last post by:
VB2005 ASP.NET the application i have been working on for some time has just started to give me a 'Build failed' but it does not display the errors window. if i display the errors window manually...
3
by: Paul Lennon | last post by:
Hi, I hope I have selected the right group for this question, I am looking for assistance with using VS2005 to create a simple website on my ISP. Using VS2005 I have created a Website project...
1
by: craigkenisston | last post by:
I can't believe what is happening on my computer right now. I have a web project, file-system based on something like c:\Projects\ProjectX\www\. I had to make some changes and testing in a...
1
by: sshankar | last post by:
Hi, New to Stored procedure. Basically just installed DB2 v8.1.0.36 Was trying to build a stored procedure.. It is giving following error.. Looks like some error related to configuration...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.