473,626 Members | 3,974 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Errors when pre-compiling ASP.NET 2.0 site

Hello, I wonder if anyone can help with this.

I have an ASP.NET 2.0 site that runs correctly on the local machine inside
or outside of the IDE. When I build the site, it produces some warning
messages, but no errors. When I come to Publish the site, it fails during
precompilation with three "BC30182: Type Expected" errors. The output trace
is below:

*********** BEGIN TRACE

Building directory
'/ETrader/'.c:\inetpub\ww wroot\ETrader\S ecure\SaleCance lled.aspx(1):
Publication (web): C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary
ASP.NET
Files\etrader\f 7c42b9e\57554c2 c\App_Web_updat eprofile.aspx.7 a311ea4.0.vb(25 1):
error BC30182: Type expected.

C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET
Files\etrader\f 7c42b9e\57554c2 c\App_Web_updat eprofile.aspx.7 a311ea4.0.vb(25 1,0):
error BC30182: Type expected.

C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 \Temporary ASP.NET
Files\etrader\f 7c42b9e\57554c2 c\App_Web_updat eprofile.aspx.7 a311ea4.0.vb(25 3,0):
error BC30182: Type expected.

Pre-compilation Complete

*********** END TRACE

These error messages always refer to the same file updateprofile.a spx.
However the first message of the three referns to another file in the same
directory as updateprofile.a spx. This is not alway the same file.

The error message doesn't seem to make sense as all types used in the page
are defined. As I mentioned, there are no compilation errors when I build
the project, and I have both Option Explicit and Option Strict switched on.

Does anyone know what might cause these errors?

Paul
Nov 4 '06 #1
1 1776
After further testing, I discovered that these errors only happen when the
"Allow this precompiled site to be updatable" option is checked. That may
provide some clues.

Paul
Nov 4 '06 #2

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

Similar topics

89
5094
by: Radioactive Man | last post by:
In python 2.3 (IDLE 1.0.3) running under windows 95, I get the following types of errors whenever I do simple arithmetic: 1st example: >>> 12.10 + 8.30 20.399999999999999 >>> 1.1 - 0.2 0.90000000000000013
2
2420
by: Trev | last post by:
SQL Server 2000 BE, Access 2002 FE. I want to write a stored procedure, that will among other things log errors to a table, I want to be able to report a summary of work done and errors to the user and let them decide whether to commit or rollback. I so far foresee a couple of problems. 1. Inside a transaction, I write to the error log table, will I be able to read it back again before commit/rollback?
10
2198
by: william xuuu | last post by:
Actually, I also got linker errors with template functions and template classes. And I avoided both of them successfully, by pouring foo.cpp into foo.h, according to the C++ FAQ. (http://www.parashift.com/c++-faq-lite/containers-and-templates.html) And then, I pre-declared each template friend function above the definition of template class. But I still get template friends linker error. My compiler is gcc 3.3.3. Any hints? Thanks,
2
1551
by: GammaJoe | last post by:
I'm relatively new to C++, and so when I ran across these linker errors, I really didn't know how to fix them. I did a groups.google search, and found plenty of issues with parameterized classes, or using the wrong compiler, or a variety of other things that don't apply to my problem. So, if anyone could help me out, that'd be great. DummyTester.cpp: #include "DummyClass.h"; #include "CommunicatorImplementation.h";
4
4033
by: Sean C. | last post by:
Helpful folks, I've just migrated our test server from V7.2 -FP11 to V8.1.3, on WinNT 4.0. Everything went pretty darn smoothly, however I get the following errors when using the Control Center: Click on the 'Event Monitor' folder, and an error dialog box appears containing the following text: SQL0713N The replacement value for
24
2483
by: Massimo Soricetti | last post by:
Hello, I'm not a C newbie, but I'm teaching C programming (well... FIRST programming and then C) to other guys these days and it's driving me to some reflexions on the language. It's not uncommon to forget a } writing code, and at compiling time get an error 18956778 lines after the mistake, in an otherwise absolutely correct piece of code. Or, sometimes in my journeys I got errors reported in a file, checked and found it correct, and...
3
1721
by: fred bliss | last post by:
Hi All We have a new server running the latest framework, windows server 2003 & IIS 6.0, and we're getting the following error when we try to load the app in IE. Server Error in '/webreporting' Application. ----------------------------------------------------------- ---------------------
7
4494
by: Holger (David) Wagner | last post by:
Hi Group, I've searched the Web for precompilers that compile ASPX/ASCX pages just like it can be done with JSPs, but so far, I've only found approaches targetted at increasing the performance. What I'd like to do this for, however, is discovering compile-time errors during my normal build. Currently, just a typo in a Property name goes unnoticed until the page is hit the first time which is not particularly satisfying (this is like...
3
1685
by: Jim in Arizona | last post by:
I'm going insane! I don't know if it's just that the .net 2.0 framework is buggy or if it really is my code. This is pretty hard to explain since I can't even begin to nail down why this is happening. I have two text boxes. One is for the ID number, which when postback occurs, inserts into the related table as the foreign key. The other text box is for notes that go along side the foreign key of the the related table. Basically, the...
3
1384
by: Alan M Dunsmuir | last post by:
I'm using Kate in Linux (and UltraEdit when I have to drop back into Windows) for writing my PHP code. As a independent, self-employed developer, I cannot afford a commercial IDE for PHP such as is provided by Zend. I'm running PHP (with Apache) on my own machine for my development work. Is there some way ("strict" settings in the php.ini file, or whatever) by which I can cut down the time I'm wasting searching for, and recovering...
0
8266
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8365
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8505
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5574
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4198
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1811
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.