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

can aspx files become corrupted?

VS2005, vb.net, ajax 1.0

I have a webform that used to work great. It has lots of controls. I added
some Ajax update panels to it and they worked great. But when I tried to
add new controls like textboxes (not in update panels), I would get error
bc30456 'textbox1' is not a member of 'webform1'. I messed around with it
and finally in desparation I copied the webform, and the copy worked fine!
(I corrected the partial class name in the code behind, and the inherits
statement in the form). The two webforms are identical, but the copy builds
without any problem while the original keeps giving me the bc30456 error.

Is the original corrupted some how? What is the best way to swap it with a
copy which works fine? I was going to check them both in to Sourcesafe and
then rename them in sourcesafe.

Did Ajax cause this problem? Is it buggy? should i avoid it?

Will I have more problems with the copied aspx file?

Bill
Apr 12 '07 #1
1 1453
Clear out the temporary ASP.NET files and attempt to build again. That will
likely solve your issues (it did mine).

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA
http://gregorybeamer.spaces.live.com

*********************************************
Think outside the box!
*********************************************
"BillE" <be****@datamti.comwrote in message
news:eD**************@TK2MSFTNGP04.phx.gbl...
VS2005, vb.net, ajax 1.0

I have a webform that used to work great. It has lots of controls. I
added some Ajax update panels to it and they worked great. But when I
tried to add new controls like textboxes (not in update panels), I would
get error bc30456 'textbox1' is not a member of 'webform1'. I messed
around with it and finally in desparation I copied the webform, and the
copy worked fine! (I corrected the partial class name in the code behind,
and the inherits statement in the form). The two webforms are identical,
but the copy builds without any problem while the original keeps giving me
the bc30456 error.

Is the original corrupted some how? What is the best way to swap it with
a copy which works fine? I was going to check them both in to Sourcesafe
and then rename them in sourcesafe.

Did Ajax cause this problem? Is it buggy? should i avoid it?

Will I have more problems with the copied aspx file?

Bill
Apr 12 '07 #2

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

Similar topics

12
by: Swede | last post by:
Hello, I am posting this rather lengthy description here in hope of getting at least some insight into a problem that is really hurting my business, since I have come to the conclusion that my...
27
by: Eric | last post by:
Assume that disk space is not an issue (the files will be small < 5k in general for the purpose of storing preferences) Assume that transportation to another OS may never occur. Are there...
1
by: steve | last post by:
I run some large databases on my Linux server, and every once in a while the MYI files get corrupted. Can someone tell me the probable causes of MYI corruption, and how I go about...
6
by: Joe Rattz | last post by:
I have a web page (aspx and aspx.cs) that I cannot debug for some reason. The breakpoint will have the little red dot with the question mark and the tooltip says "The breakpoint will not...
7
by: Bennett Haselton | last post by:
If you create a ASP.Net Web application in Visual Studio .Net, you apparently have to specify the target as a directory on a web server, e.g. www.hostname.com/dirname, with "dirname" being the name...
8
by: dagecko | last post by:
Hi I would like to know how to detect if a file is binary or not. It's important for me but I don't know where to start. Ty
4
by: Neil.Smith | last post by:
I can't seem to find any references to this, but here goes: In there anyway to parse an html/aspx file within an asp.net application to gather a collection of controls in the file. For instance...
1
by: antony hudson | last post by:
Hi I need to delete files via a UNC path such as \\xxx\documents and settings\username\yy.txt using vb.net. However some of the files seem to be locked, is there anyway round this? I have...
2
by: hharry | last post by:
Hello All, Does anyone know of a method to automatically detect if a file is corrupted ? Due to a failed backup process a number of files were corrupted. The files are mostly .xls, .doc, .pdf....
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.