473,545 Members | 2,056 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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
7 1847
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 programmaticall y 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*@XXwoodland er.co.ukwrote in message
news:t7******** *************** *********@4ax.c om...
>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

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.v b

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.n et.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 programmaticall y 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
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*@XXwoodland er.co.ukwrote in message
news:4j******** *************** *********@4ax.c om...
>
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.v b

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.n et.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
application s 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 programmaticall y 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
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
"myApplicationN ame.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 programmaticall y 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*@XXwoodland er.co.ukwrote in message
news:t7******** *************** *********@4ax.c om...
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

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_fbokafx v.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*******@yaho o.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
"myApplication Name.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
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*@XXwoodland er.co.ukwrote in message
news:t7******** *************** *********@4ax.c om...
>
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_fbokafx v.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*******@yaho o.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
"myApplicatio nName.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
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.n et.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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
9361
by: james | last post by:
I cannot get my UserControl's browsable properties to show up in the designer properties panel. I have then public virtual bool TestProp { {get return testProp; } set { testProp = value; } } but it doesn't show up in the designer. By the way, this used to work in the 2002 version, now in 2003 I am getting all kinds of problems like...
4
12847
by: William LaMartin | last post by:
Is there a way to place an aspx page on a panel contained on another aspx page? I can display an HTML page on the panel using a literal can figure no way to put and aspx page there.
7
1323
by: BoltonWolf | last post by:
Hi, I was wondering if someone could give me a bit of advice on achiving something. I have a page with a panel on it. Is it possible to then load content into the panel from a second aspx page. The web site I am writing is a reporting tool for a database, and I don't want to write a completely new web page for each report I
10
2417
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and load as a 3rd partial class. This would be handy so i can generate standard code into one of the partial classes, while having my custom code...
6
4547
by: Martin Bischoff | last post by:
Hi, I'm creating temporary directories in my web app (e.g. ~/data/temp/temp123) to allow users to upload files. When I later delete these directories (from the code behind), the application restarts and all active sessions are terminated. This error is also described in detail here:...
5
2671
by: George | last post by:
VB.net 2003 standard, XP windows home edition. Installed first application OK today. When I removed the application via Control Panel, there were no problems and the app folders were deleted. But when I installed the app from a CD-ROM (Release folder is in D:), when I remove the app in Control Panel these problems occur: Control Panel...
6
6116
by: Abel Chan | last post by:
Hi there, I am trying to use ASP.NET to populate list of files with hyper link from a specific directory. The following code works well but it populates the list to the top of the web page. I have header and footer defined on the web page. How could I write the list to the body session like a specific area, a table or a list box control?...
6
1351
by: Dan | last post by:
Hi again, I tried to create a second server-form in an aspx file, but there can be only one. Independantley of it's useful or not, why is it so? And why can't i create a form directly in vb.net (from the code-behind page) assuming i first deleted the form tag in the aspx file? Thanks
1
2353
by: Jai | last post by:
Hi All, As When I am displaying my html page which contains images also inside content placeholder with panel control.....it is only showing text and not the Images.....................please suggest me...how can i do this..... I want to display html page(with images) inside a panel,and that panel is in contentplaceholder(master...
0
7473
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7406
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7431
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7761
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5976
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
4949
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3457
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1888
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1020
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.