Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: my web server uses old version of aspx pages

Reply
Thread Tools

Re: my web server uses old version of aspx pages

 
 
Tim Stephenson
Guest
Posts: n/a
 
      10-15-2003
Do your pages have any form of caching enabled, or does IIS have page output
caching turned on in its config settings?

It sounds like maybe as you're only changing the ASPX files & not the .VB's
perhaps IIS is not realising that you've changed the page, and still serving
the cached version?

One place to start might be to try checking to see if your production
server's config matches the development machine....

Tim

--
Regards

Tim Stephenson MCSD.NET
Charted MCAD & MCSD.NET Early Achiever


"Francesca" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi, I'm afraid I've read your reply just now.
> The problem is the same on the server: I can see the old version of the

page
> even if I browse the page from IIS console!
> And the problem is the same if I make changes to the aspx page instead of
> the vb page.
>
>
> "Tim Stephenson" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Which version of the page is served if you browse directly on the

server's
> > console ?
> >
> > --
> > Regards
> >
> > Tim Stephenson MCSD.NET
> > Charted MCAD & MCSD.NET Early Achiever
> >
> >
> > "Francesca" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Hi everybody, I've a problem with my ASP.NET web application (version

> 1.1,
> > > language vb).
> > > The application seems to work fine, so I've brougth it to the

definitive
> > Web
> > > Server , using the "copy project" utility in Visual Studio 2003.
> > > After that, I had to modify something in one of the Site aspx pages

(the
> > top
> > > frame in the Home Page): it was such a stupid change what I did...just

a
> > > comment on a line of the codebehind...
> > >
> > > There was something like <<mylabel.text="hello">> that now is << '
> > > mylabel.text="hello">>. On my local server everything works.
> > >
> > > Ok, I've built the project, done a backup of the previous version on

the
> > > server, and then put on the new version (dll and aspx files): the

> problem
> > is
> > > that when I call the home page what I see is the old version yet,

with
> my
> > > label "hello"...
> > >
> > > Here is what I tried to solve the problem: delete everything, re-buil

> and
> > > re-copy the project, stop and restart IIS, clean the browser cache on

> the
> > > client (but the broblem is the same on each client), remove and create

> the
> > > web application again...
> > > The page continue showing the old message! But the page on server is
> > > correct, I'm sure...
> > >
> > > Any suggestion? I'm really going crazy with it...
> > > Ask me for more details, if needed.
> > >
> > > Thanks
> > >
> > > Francesca
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
 
Francesca
Guest
Posts: n/a
 
      10-15-2003
How can I check IIS config settings?
Here is the code in my webconfig: the only difference between thi production
and the development one is the connection string (and the debug mode).
Hope this helps.
************************************************** ********

<?xml version="1.0" encoding="utf-8" ?>

<configuration><appSettings>

<!--STRINGA DI CONNESSIONE AL DB DI PRODUZIONE--><add key="ConnectionString"
value="Network Library=DBMSSOCN;Server=DBTEMPES;DataBase=SitoTemp es;Connect
Timeout=30;uid=XX;pwd=XXX"/>



<!--STRINGA DI CONNESSIONE AL DB DI TEST <add key="ConnectionString"
value="Network Library=DBMSSOCN;Server=XXXX;DataBase=SitoTempes;C onnect
Timeout=30;uid=XX;pwd=XXX"/>->

<!--STRINGA DI CONNESSIONE AL DBDI SVILUPPO<add key="ConnectionString"
value="Network Library=DBMSSOCN;Server=XXXX;DataBase=SitoTempes;C onnect
Timeout=30;uid=XX;pwd=XXX"/>-->

<add key="DBType" value="SQLSERVER"/></appSettings>

<system.web><compilation defaultLanguage="vb" debug="false" />

<customErrors mode="RemoteOnly" defaultRedirect="/errorpage.aspx"/>



<authentication mode="Forms">

<forms path="/" name=".AUTHTEMPES" loginUrl="Home.aspx?Test=2"
protection="All" timeout="30"></forms>

</authentication>



<authorization><allow users="*" /> </authorization>








<trace enabled="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />

<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user id=sa;password="
cookieless="false" timeout="20" />

<globalization requestEncoding="utf-8" responseEncoding="utf-8" />


</system.web>

<location path="superutente"> <system.web><authorization><deny
users="?"/><deny roles="1,3,4,5,6,7"/><allow roles="2"/>
</authorization></system.web></location>

<location path="candidati"> <system.web><authorization><deny
users="?"/><deny roles="1,2,3,5,6,7"/><allow roles="4"/>
</authorization></system.web></location>

<location path="GestioneFormazione"><system.web><authorizati on><deny
users="?"/><deny roles="1,2,3,4,6,7"/><allow roles="5"/>
</authorization></system.web></location>

<location path="Partners"><system.web><authorization><deny users="?"/><deny
roles="1,2,3,4,5,7"/><allow roles="6"/>
</authorization></system.web></location>


</configuration>

************************************************** ********



"Tim Stephenson" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Do your pages have any form of caching enabled, or does IIS have page

output
> caching turned on in its config settings?
>
> It sounds like maybe as you're only changing the ASPX files & not the

..VB's
> perhaps IIS is not realising that you've changed the page, and still

serving
> the cached version?
>
> One place to start might be to try checking to see if your production
> server's config matches the development machine....
>
> Tim
>
> --
> Regards
>
> Tim Stephenson MCSD.NET
> Charted MCAD & MCSD.NET Early Achiever




 
Reply With Quote
 
 
 
 
Tim Stephenson
Guest
Posts: n/a
 
      10-15-2003
The easiest way is to open up the Internet Information Services
administration applet within your server's administration tools group
(either Start / Programs / Administration Tools or Start / Settings/ Control
Panel / Administration Tools).

From there, right click the webserver nodes and select properties. Have a
look through the major tabs, and see if there are any substantial
differences. You don't need to worry about minor settings, as these will
generally differ between servers.

If this doesn't resolve it, your best option will probably be to redeploy
all files within the project....

--
Regards

Tim Stephenson MCSD.NET
Charted MCAD & MCSD.NET Early Achiever

"Francesca" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> How can I check IIS config settings?
> Here is the code in my webconfig: the only difference between thi

production
> and the development one is the connection string (and the debug mode).
> Hope this helps.
> ************************************************** ********
>
> <?xml version="1.0" encoding="utf-8" ?>
>
> <configuration><appSettings>
>
> <!--STRINGA DI CONNESSIONE AL DB DI PRODUZIONE--><add

key="ConnectionString"
> value="Network

Library=DBMSSOCN;Server=DBTEMPES;DataBase=SitoTemp es;Connect
> Timeout=30;uid=XX;pwd=XXX"/>
>
>
>
> <!--STRINGA DI CONNESSIONE AL DB DI TEST <add key="ConnectionString"
> value="Network Library=DBMSSOCN;Server=XXXX;DataBase=SitoTempes;C onnect
> Timeout=30;uid=XX;pwd=XXX"/>->
>
> <!--STRINGA DI CONNESSIONE AL DBDI SVILUPPO<add key="ConnectionString"
> value="Network Library=DBMSSOCN;Server=XXXX;DataBase=SitoTempes;C onnect
> Timeout=30;uid=XX;pwd=XXX"/>-->
>
> <add key="DBType" value="SQLSERVER"/></appSettings>
>
> <system.web><compilation defaultLanguage="vb" debug="false" />
>
> <customErrors mode="RemoteOnly" defaultRedirect="/errorpage.aspx"/>
>
>
>
> <authentication mode="Forms">
>
> <forms path="/" name=".AUTHTEMPES" loginUrl="Home.aspx?Test=2"
> protection="All" timeout="30"></forms>
>
> </authentication>
>
>
>
> <authorization><allow users="*" /> </authorization>
>
>
>
>
>
>
>
>
> <trace enabled="false" requestLimit="10" pageOutput="false"
> traceMode="SortByTime" localOnly="true" />
>
> <sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"
> sqlConnectionString="data source=127.0.0.1;user id=sa;password="
> cookieless="false" timeout="20" />
>
> <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
>
>
> </system.web>
>
> <location path="superutente"> <system.web><authorization><deny
> users="?"/><deny roles="1,3,4,5,6,7"/><allow roles="2"/>
> </authorization></system.web></location>
>
> <location path="candidati"> <system.web><authorization><deny
> users="?"/><deny roles="1,2,3,5,6,7"/><allow roles="4"/>
> </authorization></system.web></location>
>
> <location path="GestioneFormazione"><system.web><authorizati on><deny
> users="?"/><deny roles="1,2,3,4,6,7"/><allow roles="5"/>
> </authorization></system.web></location>
>
> <location path="Partners"><system.web><authorization><deny

users="?"/><deny
> roles="1,2,3,4,5,7"/><allow roles="6"/>
> </authorization></system.web></location>
>
>
> </configuration>
>
> ************************************************** ********
>
>
>
> "Tim Stephenson" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Do your pages have any form of caching enabled, or does IIS have page

> output
> > caching turned on in its config settings?
> >
> > It sounds like maybe as you're only changing the ASPX files & not the

> .VB's
> > perhaps IIS is not realising that you've changed the page, and still

> serving
> > the cached version?
> >
> > One place to start might be to try checking to see if your production
> > server's config matches the development machine....
> >
> > Tim
> >
> > --
> > Regards
> >
> > Tim Stephenson MCSD.NET
> > Charted MCAD & MCSD.NET Early Achiever

>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Where to get stand alone Dot Net Framework version 1.1, version2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? MowGreen [MVP] ASP .Net 5 02-09-2008 01:55 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? PA Bear [MS MVP] ASP .Net 0 02-05-2008 03:28 AM
Re: Where to get stand alone Dot Net Framework version 1.1, version 2.0, version 3.0, version 3.5, version 2.0 SP1, version 3.0 SP1 ? V Green ASP .Net 0 02-05-2008 02:45 AM
passing variables from .aspx.cs code pages to .aspx pages RadioSignal ASP .Net Web Controls 7 10-21-2005 11:41 PM
Re: Again: my web server uses old version of aspx pages Tim Stephenson ASP .Net 1 10-16-2003 09:30 AM



Advertisments