caching?

G

Guest

When I make changes to an aspx.vb file in an application running on our web server the change isn't effected, nor does it appear in "view source". However when I open the file on the web server I see the change that I made

Why aren't changes made to the code-behind in a running application taking effect even in a new session

Thank you

jbh
 
I

Ian

You may need to stop and then start the web publishing service


jbh said:
When I make changes to an aspx.vb file in an application running on our
web server the change isn't effected, nor does it appear in "view source".
However when I open the file on the web server I see the change that I made.
 
C

Curt_C [MVP]

are you using SRC tags and the "code-behind" method or are you using a
pre-compiled site?
If it's a pre-compiled then the .VB/.CS shouldn't even be on the site.
If it's the compile-on-demand method with the .VB/.CS on the server then you
may have to restart the site (or let it flush from the cache) since IIRC it
only re-compiles when first loaded

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


jbh said:
When I make changes to an aspx.vb file in an application running on our
web server the change isn't effected, nor does it appear in "view source".
However when I open the file on the web server I see the change that I made.
 
G

Guest

Thank you for your suggestions. We are using the "compile on demand" model. Could I hurry things along by setting the "Enable Content Expiration" to "Expire Immediately" in the "Http Headers" tab of the Properties settings in IIS for that application?

Thanks again for your help.

jbh
 
C

Curt_C [MVP]

Not sure but I dont think so but you can try.
Otherwise just restart the site.

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com


jbh said:
Thank you for your suggestions. We are using the "compile on demand"
model. Could I hurry things along by setting the "Enable Content Expiration"
to "Expire Immediately" in the "Http Headers" tab of the Properties settings
in IIS for that application?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top