Showing posts with label folder. Show all posts
Showing posts with label folder. Show all posts

Thursday, March 29, 2012

Seperate folder page Inheritance issue

Hi,
I have a page "Project Folder\Customers\Products.aspx" which I want to inherit from another page "Project Folder\Product.aspx". As mentioned both files are in seperate folder.
In the customer specific Product.aspx page I want to use some code of the main product page. How can I do this? How can I inherit from page in a different folder?
Thanks in advance.

(if this is 2005) the code files should be in the app_code folder then. The security model in 2005 makes it difficult to get at the other files.
I don't think you can actually inherit from an other page (aspx). You have to create a custom control (ascx) and put this control in each of your page. If you want to inherit the code, juste create a class which inherits from Page and your pages just need to inherit from this class.
Yes. I am using .net 2.0 and VS 2005. Sorry i didn't mentioned that.
or use master pages...that's what they are there for :}

Tuesday, March 13, 2012

Server Application Unavailable

Hi there!

I was installed .NET Framework in Window 2000. Create one New site, it's pointed to my .NET file folder. when i was run my asp.net programme I will get the following error in the browser.

Server Application Unavailable
The web application you are
attempting to access on this web server is
currently unavailable. Please hit the "Refresh" button in your web browser to retry your request.

Administrator Note: An error message detailing
the cause of this specific request
failure can be found in the system event
log of the web server. Please review this
log entry to discover what caused this error to occur.

I am using IE 6. Also aspnet_State.exe is running. How can i configure that.

Thanks in Advance
AbiFollow the link:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q315158