Click here to Skip to main content
15,919,613 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Java script and updating the database Pin
Baran M27-May-09 18:18
Baran M27-May-09 18:18 
QuestionHow To Get AM and P.M is extension of this control Pin
axman_podili@yahoo.co.in27-May-09 5:23
axman_podili@yahoo.co.in27-May-09 5:23 
AnswerRe: How To Get AM and P.M is extension of this control Pin
padmanabhan N27-May-09 18:42
padmanabhan N27-May-09 18:42 
Questiongridview Pin
jainiraj27-May-09 5:17
jainiraj27-May-09 5:17 
AnswerRe: gridview Pin
_AK_27-May-09 6:06
_AK_27-May-09 6:06 
AnswerRe: gridview Pin
Baran M27-May-09 6:08
Baran M27-May-09 6:08 
Questionhow to navigate tabs in tabpanel Pin
axman_podili@yahoo.co.in27-May-09 4:35
axman_podili@yahoo.co.in27-May-09 4:35 
QuestionUsing a common Master page across various applications hosted in IIS Pin
Vipul Mehta27-May-09 4:34
Vipul Mehta27-May-09 4:34 
Hi,

I have created an Master Page that resides within my root folder. I wanted to resuse this Master Page across various applications hosted in IIS. But in doing so I get the below [1] error. I googled and found following link
http://weblogs.asp.net/dwahlin/archive/2005/11/16/430779.aspx

To be more specific here is what I wanted to achieve
I have a master page @ following location
C:\Inetpub\wwwroot\Common\TemplateMaster.master

I wanted to use this master page across various applications
i.e. I wanted this master page to be used by various .aspx pages of my below applications
C:\Inetpub\wwwroot\SampleApp1\Page1.aspx
C:\Inetpub\wwwroot\SampleApp2\Page1.aspx

Following is the code for Master Page implementation within the C:\Inetpub\wwwroot\SampleApp1\Page1.aspx web page
<%@ Page Language="C#" MasterPageFile="/intranet/Common/TemplateMaster.master" CodeFile="Page1.aspx.cs" Inherits="Page1" Title="Page 1" %> 


Now after the above implementation, when I try to build my SampleApp1 website, I encounter below [1] error

Is it possible to achieve this? If yes, then is there is any better way to achieve the above functionalities other than that shown in the above link?

[1]The virtual path '/intranet/Common/TemplateMaster.master' maps to another application, which is not allowed.

Regards,
Vipul Mehta

modified on Wednesday, May 27, 2009 11:03 PM

AnswerRe: Using a common Master page across various applications hosted in IIS Pin
Baran M27-May-09 18:31
Baran M27-May-09 18:31 
GeneralRe: Using a common Master page across various applications hosted in IIS Pin
Baran M27-May-09 18:52
Baran M27-May-09 18:52 
QuestionCan we assign control to validate as Label? Pin
Pawan Kiran27-May-09 4:29
Pawan Kiran27-May-09 4:29 
AnswerRe: Can we assign control to validate as Label? Pin
DJ Matthews27-May-09 6:31
DJ Matthews27-May-09 6:31 
GeneralRe: Can we assign control to validate as Label? Pin
Pawan Kiran27-May-09 23:06
Pawan Kiran27-May-09 23:06 
AnswerRe: Can we assign control to validate as Label? Pin
DJ Matthews28-May-09 3:07
DJ Matthews28-May-09 3:07 
GeneralRe: Can we assign control to validate as Label? Pin
Pawan Kiran28-May-09 22:40
Pawan Kiran28-May-09 22:40 
Questionhow to get the count Pin
Anjani Poornima27-May-09 3:24
Anjani Poornima27-May-09 3:24 
AnswerRe: how to get the count Pin
padmanabhan N27-May-09 3:35
padmanabhan N27-May-09 3:35 
GeneralRe: how to get the count Pin
Anjani Poornima27-May-09 3:46
Anjani Poornima27-May-09 3:46 
GeneralRe: how to get the count Pin
padmanabhan N27-May-09 3:53
padmanabhan N27-May-09 3:53 
GeneralRe: how to get the count Pin
Anjani Poornima27-May-09 4:04
Anjani Poornima27-May-09 4:04 
GeneralRe: how to get the count Pin
padmanabhan N27-May-09 4:07
padmanabhan N27-May-09 4:07 
GeneralRe: how to get the count Pin
Anjani Poornima27-May-09 5:18
Anjani Poornima27-May-09 5:18 
GeneralRe: how to get the count Pin
Baran M27-May-09 6:38
Baran M27-May-09 6:38 
GeneralRe: how to get the count Pin
padmanabhan N27-May-09 19:00
padmanabhan N27-May-09 19:00 
GeneralRe: how to get the count Pin
Anjani Poornima27-May-09 19:43
Anjani Poornima27-May-09 19:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.