By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,853 Members | 1,563 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,853 IT Pros & Developers. It's quick & easy.

Deleting an aspx panel control but online page still uses it.

P: n/a
I have done a fair amount of programming of ASP.NET 1.1 without
poroblem

I am now involved in my first project with ASP.NET 2.0 and I am having
difficulties with understanding the compilation or 'build' arrangement
or perhaps I am overlooking something else.

I am developing a project using the IIS local host configuration.

My actual problem is :

I put in a panel control and used it for a while, then decided to take
it out. Having deleted the panel control in the aspx page and carried
out many further 'build' operations and at varying times 'rebuild
website' and 'build website' operations the page concerned is still
in some respects acting as if the original panel was still there. It
is as if the browser is using a different aspx page to that in the
Visual WEb Developer Express application I am using to develop the
site. Or possibly using a different compiled dll file.

I have tried looking for a bin file but there was not one there. I
have now added a bin file using the 'Add ASP.NET folder' facility but
nothing goes into it and I cannot find anything to click to include it
in the project. In VS 2003 there was such a facility.

I would be grateful for any help anyone can give,

Best wishes, John Morgan
Jan 22 '07 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Firstly, there are no dll files in ASP.NET 2.0. The files under App_Code
will get dynamically compiled by IIS. If you want to do "old style" web
applications then you can download a plugin for VS 2005 from Microsoft (goto
www.asp.net).

I cannot make an educated guess on the panel control issue since I do not
have enough details.
By "taking it out" do you mean to say that you programmatically deleted it
or did you remove the control in design view? If you removed it using the
design view, then it *should* work unless you have not deployed the changed
web page to your web server.

Hope I have helped.

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"John Morgan" <jf*@XXwoodlander.co.ukwrote in message
news:t7********************************@4ax.com...
>I have done a fair amount of programming of ASP.NET 1.1 without
poroblem

I am now involved in my first project with ASP.NET 2.0 and I am having
difficulties with understanding the compilation or 'build' arrangement
or perhaps I am overlooking something else.

I am developing a project using the IIS local host configuration.

My actual problem is :

I put in a panel control and used it for a while, then decided to take
it out. Having deleted the panel control in the aspx page and carried
out many further 'build' operations and at varying times 'rebuild
website' and 'build website' operations the page concerned is still
in some respects acting as if the original panel was still there. It
is as if the browser is using a different aspx page to that in the
Visual WEb Developer Express application I am using to develop the
site. Or possibly using a different compiled dll file.

I have tried looking for a bin file but there was not one there. I
have now added a bin file using the 'Add ASP.NET folder' facility but
nothing goes into it and I cannot find anything to click to include it
in the project. In VS 2003 there was such a facility.

I would be grateful for any help anyone can give,

Best wishes, John Morgan

Jan 22 '07 #2

P: n/a

Thanks Shailen ,
I am grateful for your help.

The panel control has been deleted in design view and every reference
has been deleted in the code behind page I am using.

My appCode folder only contains vb class files. Should there be
anything else in there?

The page file giving the problem is in the root directory of the
project eg http://localhost/mydomain/webpage.aspx , to-gether with its
code behind file webpapge.aspx.vb

I have of course refreshed the page on each occasion after building
and have often also closed the browser and then reopened it .

I have checked that I am not using the wrong file eg opening up one
file in the browser whilst amending something different in the Visual
Web Developer.

The page seems to have worked as expected during development up until
to-day when my panel control deletion has given rise to the problem I
have described,

Best wishes, John Morgan

On Tue, 23 Jan 2007 09:56:00 +1100, "Shailen Sukul"
<sh***@ashlen.net.auwrote:
>Firstly, there are no dll files in ASP.NET 2.0. The files under App_Code
will get dynamically compiled by IIS. If you want to do "old style" web
applications then you can download a plugin for VS 2005 from Microsoft (goto
www.asp.net).

I cannot make an educated guess on the panel control issue since I do not
have enough details.
By "taking it out" do you mean to say that you programmatically deleted it
or did you remove the control in design view? If you removed it using the
design view, then it *should* work unless you have not deployed the changed
web page to your web server.

Hope I have helped.
Jan 22 '07 #3

P: n/a
Please verify that the deleted version of the page is in the IIS directory
by checking the modified date on the file in the App_Code folder.

I still think that IIS is displaying an older page.
Also try an iisreset.
Also make sure that you are not using web controls in which case you will
need to deploy the acsx file as well.

Let us know how it goes.

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"John Morgan" <jf*@XXwoodlander.co.ukwrote in message
news:4j********************************@4ax.com...
>
Thanks Shailen ,
I am grateful for your help.

The panel control has been deleted in design view and every reference
has been deleted in the code behind page I am using.

My appCode folder only contains vb class files. Should there be
anything else in there?

The page file giving the problem is in the root directory of the
project eg http://localhost/mydomain/webpage.aspx , to-gether with its
code behind file webpapge.aspx.vb

I have of course refreshed the page on each occasion after building
and have often also closed the browser and then reopened it .

I have checked that I am not using the wrong file eg opening up one
file in the browser whilst amending something different in the Visual
Web Developer.

The page seems to have worked as expected during development up until
to-day when my panel control deletion has given rise to the problem I
have described,

Best wishes, John Morgan

On Tue, 23 Jan 2007 09:56:00 +1100, "Shailen Sukul"
<sh***@ashlen.net.auwrote:
>>Firstly, there are no dll files in ASP.NET 2.0. The files under App_Code
will get dynamically compiled by IIS. If you want to do "old style" web
applications then you can download a plugin for VS 2005 from Microsoft
(goto
www.asp.net).

I cannot make an educated guess on the panel control issue since I do not
have enough details.
By "taking it out" do you mean to say that you programmatically deleted it
or did you remove the control in design view? If you removed it using the
design view, then it *should* work unless you have not deployed the
changed
web page to your web server.

Hope I have helped.

Jan 23 '07 #4

P: n/a
I would clarify that-- actually there "are" dll (assembly) files compiled
under ASP.NET 2.0 (Web Site project model, not Web Application Project model).
They would either end up in the bin folder, or in the Temporary ASP.NET
Files folder under the Framework directory. Yes, there is no
"myApplicationName.dll" assembly in the /bin folder as there would be under
VS.NET 2003 or the new 2005 Web Application Project model.
Peter

--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Shailen Sukul" wrote:
Firstly, there are no dll files in ASP.NET 2.0. The files under App_Code
will get dynamically compiled by IIS. If you want to do "old style" web
applications then you can download a plugin for VS 2005 from Microsoft (goto
www.asp.net).

I cannot make an educated guess on the panel control issue since I do not
have enough details.
By "taking it out" do you mean to say that you programmatically deleted it
or did you remove the control in design view? If you removed it using the
design view, then it *should* work unless you have not deployed the changed
web page to your web server.

Hope I have helped.

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"John Morgan" <jf*@XXwoodlander.co.ukwrote in message
news:t7********************************@4ax.com...
I have done a fair amount of programming of ASP.NET 1.1 without
poroblem

I am now involved in my first project with ASP.NET 2.0 and I am having
difficulties with understanding the compilation or 'build' arrangement
or perhaps I am overlooking something else.

I am developing a project using the IIS local host configuration.

My actual problem is :

I put in a panel control and used it for a while, then decided to take
it out. Having deleted the panel control in the aspx page and carried
out many further 'build' operations and at varying times 'rebuild
website' and 'build website' operations the page concerned is still
in some respects acting as if the original panel was still there. It
is as if the browser is using a different aspx page to that in the
Visual WEb Developer Express application I am using to develop the
site. Or possibly using a different compiled dll file.

I have tried looking for a bin file but there was not one there. I
have now added a bin file using the 'Add ASP.NET folder' facility but
nothing goes into it and I cannot find anything to click to include it
in the project. In VS 2003 there was such a facility.

I would be grateful for any help anyone can give,

Best wishes, John Morgan


Jan 23 '07 #5

P: n/a

I have stopped and restarted IIS but that seems to make no difference.

I have drilled down into the ASP.NET 2.0 folder through Temporary
ASP.NET down through further directories to a file called
App_Web_fbokafxv.dll which bears the same time as I last compiled it,
just now.

Whilst following up both of your helpful messages I have discovered
that :
1. If I access the file using my local IIS address
http://jfm/orlando/webpage.aspx I seem to be accessing an older
version of the file. (Using firefox browser)

2. If I access the file using the browser icon on Visual Web Developer
then I seem to be accessing the updated file as it is responding as
expected. with no panel.

I am not sure what this implies.

I reallly am grateful to you for your help,

best wishes, John Morgan
On Mon, 22 Jan 2007 16:25:52 -0800, Peter Bromberg [C# MVP]
<pb*******@yahoo.yabbadabbadoo.comwrote:
>I would clarify that-- actually there "are" dll (assembly) files compiled
under ASP.NET 2.0 (Web Site project model, not Web Application Project model).
They would either end up in the bin folder, or in the Temporary ASP.NET
Files folder under the Framework directory. Yes, there is no
"myApplicationName.dll" assembly in the /bin folder as there would be under
VS.NET 2003 or the new 2005 Web Application Project model.
Peter
Jan 23 '07 #6

P: n/a
Seems like firefox is caching it.
Try and clear its cache.

Also try other browsers and see if you get the same behaviour.

--
With Regards
Shailen Sukul
..Net Architect
(MCPD: Ent Apps, MCSD.Net MCSD MCAD)
Ashlen Consulting Services
http://www.ashlen.net.au
"John Morgan" <jf*@XXwoodlander.co.ukwrote in message
news:t7********************************@4ax.com...
>
I have stopped and restarted IIS but that seems to make no difference.

I have drilled down into the ASP.NET 2.0 folder through Temporary
ASP.NET down through further directories to a file called
App_Web_fbokafxv.dll which bears the same time as I last compiled it,
just now.

Whilst following up both of your helpful messages I have discovered
that :
1. If I access the file using my local IIS address
http://jfm/orlando/webpage.aspx I seem to be accessing an older
version of the file. (Using firefox browser)

2. If I access the file using the browser icon on Visual Web Developer
then I seem to be accessing the updated file as it is responding as
expected. with no panel.

I am not sure what this implies.

I reallly am grateful to you for your help,

best wishes, John Morgan
On Mon, 22 Jan 2007 16:25:52 -0800, Peter Bromberg [C# MVP]
<pb*******@yahoo.yabbadabbadoo.comwrote:
>>I would clarify that-- actually there "are" dll (assembly) files compiled
under ASP.NET 2.0 (Web Site project model, not Web Application Project
model).
They would either end up in the bin folder, or in the Temporary ASP.NET
Files folder under the Framework directory. Yes, there is no
"myApplicationName.dll" assembly in the /bin folder as there would be
under
VS.NET 2003 or the new 2005 Web Application Project model.
Peter

Jan 23 '07 #7

P: n/a
I have now tried MS Explorer and I get the expected updated modified
pages. As I said previously I also get the expected modified pages
when clicking the browser icon in Visual Web Developer.

I have cleared the cache in Firefox, cllosed the applicatio and then
reopened it and I still get the old page turning up. I have tried
entering the url that I get in the Visual Web Developer Browser
(http://localhost/....) and this too gives the old page.

I suppose I can proceed using the Visual Web Developer browser or
Explorer but it is puzzling as to Firefox behavious - and it reduces
one's conficence somewhat if one cannot get to the cause,

Anything further you can add would be appreciated but I realise you
cannot devote too much time to my own particular problem.

By the way I you mentioned earlier >If you want to do "old style"
web
applications then you can download a plugin for VS 2005 from Microsoft
(goto
www.asp.net).<<

Do you think that would be a retrogade step? What do I lose by that?

Best wishes, John Morgan

On Tue, 23 Jan 2007 14:06:02 +1100, "Shailen Sukul"
<sh***@ashlen.net.auwrote:
>Seems like firefox is caching it.
Try and clear its cache.

Also try other browsers and see if you get the same behaviour.
Jan 23 '07 #8

This discussion thread is closed

Replies have been disabled for this discussion.