Objectmix
Tags Register Mark Forums Read

Master page Error ? : Sharepoint

This is a discussion on Master page Error ? within the Sharepoint forums in Microsoft Tools category; Hi, I am developing Custom workflow using Asp.net Forms. In forms i need to put refernce to my site master page . i used like .. Spweb nsite = SPControl.GetContextWeb(Context); this.MasterPageFile = _nsite .MasterUrl; i am getting error like The virtual path '/_catalogs/masterpage/default.master' maps to another application, which is not allowed. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException: The virtual path '/ _catalogs/masterpage/default.master' maps to another application, which is not allowed. any help ...


Object Mix > Microsoft Tools > Sharepoint > Master page Error ?

Sharepoint Microsoft sharepoint portal server development, administration and related discussions

Reply

 

LinkBack Thread Tools
  #1  
Old 01-24-2008, 12:17 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Master page Error ?

Hi,
I am developing Custom workflow using Asp.net Forms.
In forms i need to put refernce to my site master page .
i used like ..


Spweb nsite = SPControl.GetContextWeb(Context);
this.MasterPageFile = _nsite .MasterUrl;

i am getting error like

The virtual path '/_catalogs/masterpage/default.master' maps to
another application, which is not allowed.
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
information about the error and where it originated in the code.

Exception Details: System.ArgumentException: The virtual path '/
_catalogs/masterpage/default.master' maps to another application,
which is not allowed.

any help plz ??
Reply

Thread Tools



All times are GMT -5. The time now is 08:53 AM.

Managed by Infnx Pvt Ltd.