Re: Strange situation ---how is this happening?
- From: "Hannibal111111" <Hannibal111111@xxxxxxxxxxx>
- Date: 23 Aug 2006 06:30:13 -0700
Nick Malik [Microsoft] wrote:
As you know, your code behinds are compiled, not script like they were in
ASP. What you might not know: they are normally all compiled into one DLL.
So if you update the code-behind pages for two pages on the same site, and
compile, and deploy the dll, you've deployed both changes.
That is intentional.
--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik
Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Hannibal111111" <Hannibal111111@xxxxxxxxxxx> wrote in message
news:1156280327.230762.29910@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am getting a strange situation with a .NET 1.1 web application that
we have deployed. I have made an update to a code behind page in 1
file, and then made an update to another code behind page. After that
I rebuilt everything. This is all on my dev server. Now I move the 1
code behind page and the updated dll to the live server. But I did not
move the other code behind page to the live server. Now somehow I am
getting an error on the live server that is referring to the updated
code behind page that has NOT been moved to the live server. How is
this possible? How can it error out on code that hasn't been made live
yet?
Thanks,
Chris Green
So even if I don't move the code-behind page to the live server,
because I have updated the dll it will still run the updated code from
the code-behind page? Is the code stored in the dll? How do I prevent
the new code from running if I don't want it to but have to update the
dll because of a bug fix somewhere else on the site?
Chris
.
- Follow-Ups:
- Re: Strange situation ---how is this happening?
- From: Nick Malik [Microsoft]
- Re: Strange situation ---how is this happening?
- References:
- Strange situation ---how is this happening?
- From: Hannibal111111
- Re: Strange situation ---how is this happening?
- From: Nick Malik [Microsoft]
- Strange situation ---how is this happening?
- Prev by Date: Re: Adding rows to gridview
- Next by Date: Re: GridView Header
- Previous by thread: Re: Strange situation ---how is this happening?
- Next by thread: Re: Strange situation ---how is this happening?
- Index(es):
Relevant Pages
|
Loading