473,396 Members | 2,002 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.

constantly re-uploading (unchanged) DLL as site breaks (1.1)

I have a web application that continues to "break" on me after a random
amount of time. There doesn't appear to be a rhyme or reason, just out of
nowhere some of my error handling kicks in and users are displayed one of my
"friendly" error messages (or a friendly error page).

I am also sent an email when an error occurs but due to my newbie-ness I am
not sending myself enough details (I am working to fix this).

The strange part is that ALL I have ever done to resolve these errors is
open up VS 2003, re-build the solution, and upload the "new" DLL. I say
"new" because I don't actually make any changes to any of the codebehind
files. Once I do this, I refresh the application in my browser and the
errors disappear.

Any ideas on what could be happening?

* I should also note that the web application is hosted on a different
network than the database. My client opened up their firewall and gave me a
DB connection string to use from my hosting network. They have their own
proprietary tool that lets them make updates to their DB (MS Sql). My
thoughts are that they are changing something in the database that is
triggering an error in my web app. But why do I need to re-upload/refresh
the compiled codebehind files?

Many thanks in advance!

- Kevin
Mar 8 '06 #1
4 1158
Kevin D. wrote:
I have a web application that continues to "break" on me after a random
amount of time. There doesn't appear to be a rhyme or reason, just out of
nowhere some of my error handling kicks in and users are displayed one of my
"friendly" error messages (or a friendly error page).

I am also sent an email when an error occurs but due to my newbie-ness I am
not sending myself enough details (I am working to fix this).

The strange part is that ALL I have ever done to resolve these errors is
open up VS 2003, re-build the solution, and upload the "new" DLL. I say
"new" because I don't actually make any changes to any of the codebehind
files. Once I do this, I refresh the application in my browser and the
errors disappear.

Any ideas on what could be happening?

* I should also note that the web application is hosted on a different
network than the database. My client opened up their firewall and gave me a
DB connection string to use from my hosting network. They have their own
proprietary tool that lets them make updates to their DB (MS Sql). My
thoughts are that they are changing something in the database that is
triggering an error in my web app. But why do I need to re-upload/refresh
the compiled codebehind files?

Many thanks in advance!

- Kevin

Are you sure that uploading the dll doesn't just cause the app to
recycle? If so, then uploading the dll isn't solving the problem,
restarting it is.

Although all you are doing is treating the symptom but I can't see how
an new compile would sort out these issues.

--
Ray Booysen
rj********@rjb.za.net
Mar 8 '06 #2

"Ray Booysen" <rj***********@rjb.za.net> wrote in message
news:u5**************@TK2MSFTNGP12.phx.gbl...
Kevin D. wrote:
I have a web application that continues to "break" on me after a random
amount of time. There doesn't appear to be a rhyme or reason, just out
of nowhere some of my error handling kicks in and users are displayed one
of my "friendly" error messages (or a friendly error page).

I am also sent an email when an error occurs but due to my newbie-ness I
am not sending myself enough details (I am working to fix this).

The strange part is that ALL I have ever done to resolve these errors is
open up VS 2003, re-build the solution, and upload the "new" DLL. I say
"new" because I don't actually make any changes to any of the codebehind
files. Once I do this, I refresh the application in my browser and the
errors disappear.

Any ideas on what could be happening?

* I should also note that the web application is hosted on a different
network than the database. My client opened up their firewall and gave me
a DB connection string to use from my hosting network. They have their
own proprietary tool that lets them make updates to their DB (MS Sql). My
thoughts are that they are changing something in the database that is
triggering an error in my web app. But why do I need to re-upload/refresh
the compiled codebehind files?

Many thanks in advance!

- Kevin

Are you sure that uploading the dll doesn't just cause the app to recycle?
If so, then uploading the dll isn't solving the problem, restarting it is.

Although all you are doing is treating the symptom but I can't see how an
new compile would sort out these issues.

--
Ray Booysen
rj********@rjb.za.net


Thanks for the quick response...

I'm sure it's an application recycle/restart, as you mentioned. I'm just not
aware of any other way to do this other than to re-compile and upload the
dll. So, what can cause the app to require a restart? That sounds like it
would have to be a pretty harsh error to me...

- Kevin
Mar 8 '06 #3
Hey Kevin

Sorry, but I can't give any insight if you don't give any more
information. It does sound like something is definitely up with your
app. What do you mean by "break"? What exceptions are throwing?

Can you run the application on a dev machine, turn off friendly errors
and try to reproduce the error?

You can force an application restart by touching the web.config file.

I hope this helps

Kind Regards
Ray

Kevin D. wrote:
"Ray Booysen" <rj***********@rjb.za.net> wrote in message
news:u5**************@TK2MSFTNGP12.phx.gbl...
Kevin D. wrote:
I have a web application that continues to "break" on me after a random
amount of time. There doesn't appear to be a rhyme or reason, just out
of nowhere some of my error handling kicks in and users are displayed one
of my "friendly" error messages (or a friendly error page).

I am also sent an email when an error occurs but due to my newbie-ness I
am not sending myself enough details (I am working to fix this).

The strange part is that ALL I have ever done to resolve these errors is
open up VS 2003, re-build the solution, and upload the "new" DLL. I say
"new" because I don't actually make any changes to any of the codebehind
files. Once I do this, I refresh the application in my browser and the
errors disappear.

Any ideas on what could be happening?

* I should also note that the web application is hosted on a different
network than the database. My client opened up their firewall and gave me
a DB connection string to use from my hosting network. They have their
own proprietary tool that lets them make updates to their DB (MS Sql). My
thoughts are that they are changing something in the database that is
triggering an error in my web app. But why do I need to re-upload/refresh
the compiled codebehind files?

Many thanks in advance!

- Kevin

Are you sure that uploading the dll doesn't just cause the app to recycle?
If so, then uploading the dll isn't solving the problem, restarting it is.

Although all you are doing is treating the symptom but I can't see how an
new compile would sort out these issues.

--
Ray Booysen
rj********@rjb.za.net


Thanks for the quick response...

I'm sure it's an application recycle/restart, as you mentioned. I'm just not
aware of any other way to do this other than to re-compile and upload the
dll. So, what can cause the app to require a restart? That sounds like it
would have to be a pretty harsh error to me...

- Kevin

--
Ray Booysen
rj********@rjb.za.net
Mar 8 '06 #4
"Ray Booysen" <rj***********@rjb.za.net> wrote in message
news:uL**************@TK2MSFTNGP11.phx.gbl...
Hey Kevin

Sorry, but I can't give any insight if you don't give any more
information. It does sound like something is definitely up with your app.
What do you mean by "break"? What exceptions are throwing?

Can you run the application on a dev machine, turn off friendly errors and
try to reproduce the error?

You can force an application restart by touching the web.config file.

I hope this helps

Kind Regards
Ray


Unfortunately my dev setup of this app isn't helpful in this instance since
the database I'm connecting to will only allow me to connect from the hosted
web server's IP (I suppose I could try to spoof my dev server's http header
information but that sounds too involved).

I (hopefully) enabled some additional details to be emailed to me the next
time an error occurs. I will be able to perform some more troubleshooting at
that time.

Thanks for your assistance and for the tip on how to restart the app in the
future.

- Kevin
Mar 8 '06 #5

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

Similar topics

3
by: Murat Tasan | last post by:
i asked something about java optimization before, but i gave a very poor example... leading to not much help... so here is a better situation. i have a Map, and i'm constantly picking entries...
68
D
by: Hans Aberg | last post by:
Is it not time to make a new language D drawing on the experiences from C and C++? Specifically, such a language should zip out the parts of C that are problematic and caused ambiguities and...
2
by: Glenn Davy | last post by:
Hi all I'm in the process of upgrading a job from .mdb to .adp->msde & am reconsidering some aspects of the design of me schema while I'm at it. One of the tasks of this job is to schedule the...
2
by: dskillingstad | last post by:
I'm trying to set up a parameter query based on an unbound form. This search form has about 5 text boxes where the user can type in values within each box and search a specific table based on the...
4
by: Patrick | last post by:
I'm writing a winforms database application in C#. I've come across a lot of stuff lately about "N-Tier" architecture. Can anyone give me a simple explanation of N-Tier? The descriptions that...
60
by: Julie | last post by:
What is the *fastest* way in .NET to search large on-disk text files (100+ MB) for a given string. The files are unindexed and unsorted, and for the purposes of my immediate requirements, can't...
104
by: fieldfallow | last post by:
Hello all, Is there a function in the standard C library which returns a prime number which is also pseudo-random? Assuming there isn't, as it appears from the docs that I have, is there a...
1
by: PJ6 | last post by:
I thought this was going to be a no-brainer. Instead of constantly re-rending with OnPaint, my plotter was going to render its entire image once to a bitmap OnResize as a way of caching its...
4
by: Andy_Khosravi | last post by:
I'm trying to build a search utility for users to find 'inquiries' in my database that involves several tables. This is normally easy to do with the query builder, but I have a unique situation...
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
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
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
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
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...

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.