473,833 Members | 2,087 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Compilation Exception and Misc Errors

I'm have 2 primary errors that seem to occur.

1.) In my ASP.Net application, I have 3 libraries (BLL, DAL, and Schema) that are
used for the 4th and 5th UI libraries. All of the dependant libraries (the first
3) are required for COM+ and therefore also require to be given a strong-name.
So we have. After reading on the MSDN site about how strong-named assemblies are
not supported outside the GAC, I'm wondering why, every so often, we get a
compilation error when we build and then execute (open the web page which
contains these libraries).

The libraries are not too complex, business logic wise, but make use of
transactions extensively. We've found that when we come across these compilation
errors, we can do 1 of 2 things to get it to work. Change the code (add a space
at the end of any non-commented line and recompile, or we just toggle the release
mode (Debug to Release or visa-versa). If we toggle the release mode, it works
fine and we don't even have to recompile.

When we deploy the application to the development web server (for Q&A), we get
the same compilation error. This happens every single time. We then have to
either change a line and compile, or change the release version. Once done, we
just redeploy again. So, this problem seems to be a caching problem where while
we have the original build, it doesn't over-write a cached file. When we change
a line, it does (only works if we open the page in the browser first for both
solutions).

That's my first problem.
My second problem is posted in a thread after this one to keep it on topic.

Thanks ;)

Mythran
Nov 20 '05 #1
0 1192

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

Similar topics

1
5796
by: Babu | last post by:
Hi, I am a Perl newbie and have a doubt on Perl exception handling. My understanding regarding exception handling is execute a piece of code, if any exception occurs, handle the exception and proceed as if the error never occurred at all. So code would look like Eval { # do something }; if ($@)
0
2342
by: gustavo-bartz | last post by:
Hello gusy!!! I'm trying to compile the latest version of usogres that I downloaded from the link: http://usogres.good-day.net/install.php3 But when I try to compile (see errors below). I even changed the gcc, but no sucess, same error. Well, I hope someone can help me, thanks! I'm using Red Hat 8.0, and gcc 3.2.2-5.
2
1471
by: Alfonso Morra | last post by:
Hi, I'm compiling a DLL from (ANSI C) sources. I have set my project code generation option to compile code as C. I have also disable C++ exception handling in my proj config. However, when I attempt to build, I get the syntax errors (from cstddef) and also the f error: c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\eh.h(32):
6
2910
by: Plat | last post by:
I've Googled this for a while, to no avail. Hopefully someone can help me. Maybe I'm using the wrong terminology. Here's the scoop! Let's say I've got a simple *.ASPX page that has a syntax error. For example, broken.aspx might only contain the following line of code: <% Dim x as %> When I visit this page from my Web browser, I see all the helpful ASP.NET Server Error information, including:
35
3061
by: mwelsh1118 | last post by:
Why doesn't C# allow incremental compilation like Java? Specifically, in Java I can compile single .java files in isolation. The resulting individual .class files can be grouped into .jar files. In C#, there appears to be no analog. I have to compile all my .cs files into a single .dll. This has serious drawbacks in terms of compilation. With Eclipse, I change a file and only that file is re-compiled. With Visual Studio, I
10
3597
by: John Nagle | last post by:
Here are three network-related exceptions. These were caught by "except" with no exception type, because none of the more specific exceptions matched. This is what a traceback produced: 1. File "D:\Python24\lib\socket.py", line 295, in read data = self._sock.recv(recv_size) timeout: timed out
2
3286
by: f0zzyNUE | last post by:
hi everyone, currently we are testing the performance our application (asp.net based CMS) ... for that reason we wrote a "spider" that starts webrequests for all relevant pages which results in filling the pageoutputcache on server side. so far so good. if we start one spider at once our application works fine, but if we run more than one spider tool at the same time the asp.net process works for a few minutes returning correct http...
1
2821
by: BSand0764 | last post by:
I'm getting an error that I can't seem to resolve. When I compile the Functor related logic in a test program, the files compile and execute properly (see Listing #1). However, when I incorporate the same logic within my simulation, the class that implements the functor logic has problems compiling. I get the following errors: -- Building myTest.cpp --
1
1339
by: abhishekgvyas | last post by:
Hi, can somebody tell me what is wrong with the following stored procedure code.. SQL> CREATE OR REPLACE PROCEDURE DEBIT_ACCOUNT(ACCT_ID IN NUMBER, DEBIT_AMOUNT OUT NUMBER) 2 IS 3 OLD_BAL_AMT NUMBER; 4 NEW_BAL_AMT NUMBER; 5 WITHDRAWN_AMT NUMBER; 6 BEGIN 7 SELECT BAL_AMT INTO OLD_BAL_AMT FROM ACCOUNTS
0
9796
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...
0
10500
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10543
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,...
1
7753
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
6951
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
5624
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...
1
4422
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3972
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3078
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.