473,322 Members | 1,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Pages inherit from base class fail but not those from System.Web.UI.Page

I just deployed using FTP to send .aspx and .cs files alike and discovered
the base class I use with Master Pages is apparently causing
problems --unidentified at the moment-- but a test page that inherits from
System.Web.UI.Page and its MasterPage loads fine.

I imagine this context may have occurred for others using a base class and
wonder if there is somewhere you might recommend I start to determine why
and how to resolve...

Sep 29 '08 #1
3 1365
Well if you have unidentified problem then we have an unidentified
solution....

Seriously..
I am using inheritance (when my pages inherit my own custom class) for my
aspx pages extensively and had problems occasionally but always was because
of my own bugs and they were never unidentified.

George
"Hillbilly" <so******@somewhere.comwrote in message
news:ey*************@TK2MSFTNGP06.phx.gbl...
>I just deployed using FTP to send .aspx and .cs files alike and discovered
the base class I use with Master Pages is apparently causing
problems --unidentified at the moment-- but a test page that inherits from
System.Web.UI.Page and its MasterPage loads fine.

I imagine this context may have occurred for others using a base class and
wonder if there is somewhere you might recommend I start to determine why
and how to resolve...
Sep 29 '08 #2
Yea I know what you mean and I did not explain much to go on because I was
really asking in general. Like maybe somewhere in the inheritance lineage or
whatever. This is my first project using a base class. I have however
figured out all on my own that its not possible to connect to the database
without a connection string :-)

"George" <no*****@comcast.netwrote in message
news:OO**************@TK2MSFTNGP02.phx.gbl...
Well if you have unidentified problem then we have an unidentified
solution....

Seriously..
I am using inheritance (when my pages inherit my own custom class) for my
aspx pages extensively and had problems occasionally but always was
because of my own bugs and they were never unidentified.

George
"Hillbilly" <so******@somewhere.comwrote in message
news:ey*************@TK2MSFTNGP06.phx.gbl...
>>I just deployed using FTP to send .aspx and .cs files alike and discovered
the base class I use with Master Pages is apparently causing
problems --unidentified at the moment-- but a test page that inherits from
System.Web.UI.Page and its MasterPage loads fine.

I imagine this context may have occurred for others using a base class
and wonder if there is somewhere you might recommend I start to determine
why and how to resolve...
Sep 29 '08 #3
Everything resolved I suppose. More black magic as I did nothing to the base
class but once I requested the site 3-4 times it decided to compile and
load.

"Hillbilly" <so******@somewhere.comwrote in message
news:e1**************@TK2MSFTNGP05.phx.gbl...
Yea I know what you mean and I did not explain much to go on because I was
really asking in general. Like maybe somewhere in the inheritance lineage
or whatever. This is my first project using a base class. I have however
figured out all on my own that its not possible to connect to the database
without a connection string :-)

"George" <no*****@comcast.netwrote in message
news:OO**************@TK2MSFTNGP02.phx.gbl...
>Well if you have unidentified problem then we have an unidentified
solution....

Seriously..
I am using inheritance (when my pages inherit my own custom class) for my
aspx pages extensively and had problems occasionally but always was
because of my own bugs and they were never unidentified.

George
"Hillbilly" <so******@somewhere.comwrote in message
news:ey*************@TK2MSFTNGP06.phx.gbl...
>>>I just deployed using FTP to send .aspx and .cs files alike and
discovered the base class I use with Master Pages is apparently causing
problems --unidentified at the moment-- but a test page that inherits
from System.Web.UI.Page and its MasterPage loads fine.

I imagine this context may have occurred for others using a base class
and wonder if there is somewhere you might recommend I start to
determine why and how to resolve...
Sep 30 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: PaulThomas | last post by:
I am fighting with XP-Pro and VS.Net trying to allow some of the pages in my application to be accessable by 'all' I am using <authentication mode="Forms" /> and if I Login - everything works...
4
by: Doruk | last post by:
The problem that we are experiencing is simple: We want to pass certain parameters from a page with several server controls to another page. We want to do this in a dotnet compliant manner,...
1
by: Ken Cooper | last post by:
I have just encountered a problem that was driving me nuts. Every aspx page in my web application gave the error "Cannot find server or DNS Error". I was multi-tasking at the time and was...
4
by: Grant Merwitz | last post by:
Hi Is there a way to add a control to my page through the Global.asax I would like to place this code in the Session_Start page so its only added to the first page the user visits. TIA
14
by: multiformity | last post by:
So I have been working on an opensource project for a while, and decided to really try to make it look better after focusing on the functionality most of this time. Up to now, I have simply used a...
2
by: Wade | last post by:
Hi all, We have created some "Base" class pages for our WebForms and UserControls. For instance, when we create a WebForm called "WebForm1.aspx", instead of inheriting from "System.Web.UI.Page"...
2
by: Gerry | last post by:
Without bothering with the details (though if you are curious, I'll be glad to explain!). This code functions perfectly under ASP.NET 1.1, but randomly fails under ASP.NET 2.0. More details after...
6
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
3
by: Rich | last post by:
Hi, I want to use 2 master pages, one for the main part of the site, the other for the admin pages. They are quite similar, with many shared elements. Ideally I would like to have a parent...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.