473,395 Members | 1,577 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,395 software developers and data experts.

Weird build error

My aspnet web was working perfectly fine, then I added a second datalist to
a page. The datalist can be formatted in the designer and everything looks
fine. In the codefile, I can see the datalist after me. and intellesense
works for the control datalist2. Build\Rebuild all reports a failure, but
does not specify the errors. Running the page results in a message box
'There were build errors. Would you like to continue and run the last
successful build?'. There are zero errors shown on the error list. Weird,
right? AND, when I comment out lines in the codefile that reference the
datalist2, the web runs just fine. So we have
the control displays correctly in the designer
Intellesense shows the control's members and methods in the codefile
Rebuilding from the menu fails for some unspecified reason
Running the web fails
But all works correctly when the lines in the codefile referencing the
datalist (ie, datalist2.enabled = true, or anything else) are commented out.

Anyone less confused by this than me?
Nov 29 '05 #1
2 1509
Sorry, this is in VWD 2005 Express

"Lisa Calla" <sp*********@herplace.com> wrote in message
news:e_********************@eatel.net...
My aspnet web was working perfectly fine, then I added a second datalist
to a page. The datalist can be formatted in the designer and everything
looks fine. In the codefile, I can see the datalist after me. and
intellesense works for the control datalist2. Build\Rebuild all reports a
failure, but does not specify the errors. Running the page results in a
message box 'There were build errors. Would you like to continue and run
the last successful build?'. There are zero errors shown on the error
list. Weird, right? AND, when I comment out lines in the codefile that
reference the datalist2, the web runs just fine. So we have
the control displays correctly in the designer
Intellesense shows the control's members and methods in the codefile
Rebuilding from the menu fails for some unspecified reason
Running the web fails
But all works correctly when the lines in the codefile referencing the
datalist (ie, datalist2.enabled = true, or anything else) are commented
out.

Anyone less confused by this than me?

Nov 29 '05 #2
Viewing the compiler output shows the following error: (which again doesn't
make sense to me) 'DataList2' is not a member of 'EqsWeb'
EqsWeb.aspx is the name of the form. It's perfectly comfortable with
DataList1. DataList2 is clearly in the aspx source with the runat=server
attrib set and no obvious formatting errors (it also shows up just fine in
the designer). I'm just at a loss here.
"Lisa Calla" <sp*********@herplace.com> wrote in message
news:e_********************@eatel.net...
My aspnet web was working perfectly fine, then I added a second datalist
to a page. The datalist can be formatted in the designer and everything
looks fine. In the codefile, I can see the datalist after me. and
intellesense works for the control datalist2. Build\Rebuild all reports a
failure, but does not specify the errors. Running the page results in a
message box 'There were build errors. Would you like to continue and run
the last successful build?'. There are zero errors shown on the error
list. Weird, right? AND, when I comment out lines in the codefile that
reference the datalist2, the web runs just fine. So we have
the control displays correctly in the designer
Intellesense shows the control's members and methods in the codefile
Rebuilding from the menu fails for some unspecified reason
Running the web fails
But all works correctly when the lines in the codefile referencing the
datalist (ie, datalist2.enabled = true, or anything else) are commented
out.

Anyone less confused by this than me?

Nov 29 '05 #3

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

Similar topics

1
by: Matthew Paterson | last post by:
Ok - has anyone ever had this happen before? I have a SQL Insert statement. When I build the SQL and execute it in PHP I get the following error: Warning: (null)(): Invoke() failed: Exception...
13
by: Krzysztof Bartosiewicz | last post by:
Hi! I have a problem with an access database. The database which I designed and made using MS access works perfectly OK on my computer however it is not working at all on computers for which it...
2
by: keepyourstupidspam | last post by:
Hi, I have a strange build problem. I am building an exe, this exe links to a number of static libraries maybe 20 in all and all are built from my code. I am using the gmake build system...
1
by: Carl J. Van Arsdall | last post by:
Hey everyone, cPickle is raising an ImportError that I just don't quite understand. Before I paste the code, let me explain the application. Basically the part of the application that failed is a...
3
by: =?Utf-8?B?dmluY2VudHc1Ng==?= | last post by:
I have an ASP.NET 2.0 application. It is pretty basic. What it does is shows a gridview of data from a stored procedure. The user can also select a date filter. The problem is that sometimes an...
3
by: SevDer | last post by:
Hi All, I am recently experiencing a weird problem. I don't know what exactly is the cause of the problem but here is my scenario and symptoms. First of all here is my architecture 1. I have...
4
by: er | last post by:
hi, the code below generates the following behavior. cld someone please help understand it? 1) clean project + build project generates build errors (see bottom) 2) build a second time, errors...
2
by: TamaThps | last post by:
Hi, I'm using visual studio 2008 and normally when I get an error it shows what line it is on and which file etc. The error I'm getting I don't know how to solve or even what the problem is. This...
9
prn
by: prn | last post by:
Hi folks, I've come across a couple of the oddest behaviors that I have ever seen and wondered if anyone else has had anything similar, and if so, whether you have any suggestions for me. I warn...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...

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.