Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hai,

when we tried to upload a new site use an existing sit's space and the link is coming like this

http://www.omanesouq.com/omandomains/Oman_Yellow_pages/frmindex.aspx


when we tried to run this site.it shows the following error.but Common.master is there.why its showing like this?how to solve this?
Pls help

Thank you
Soumya


Line 1: <%@ Page Language="C#" MasterPageFile="~/Common.master" AutoEventWireup="true" CodeFile="frmindex.aspx.cs" Inherits="frmindex" Title="Untitled Page" %>
Line 2: <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"


Source File: /omandomains/Oman_Yellow_pages/frmindex.aspx Line: 1
Posted
Comments
Ankur\m/ 28-May-11 6:37am    
Where is your master file located?

1 solution

I bet Common.master is in /omandomains/ or /omandomains/Oman_Yellow_pages/

Change the MasterPageFile property in your @Page directive to be ~/omandomains/Common.master or /omandomains/Oman_Yellow_pages/Common.master, whichever is correct.
 
Share this answer
 
Comments
Manfred Rudolf Bihy 28-May-11 13:27pm    
Sounds very plausible!
Take my 5+
soumyaraj 29-May-11 12:51pm    
Hai,
Thank you for your response

it worked perfectly but in cs file again it showed the error like 'not found Businesslogiclayer' the below one


using Businesslogiclayer


have any solution to avoid the changes in all aspx pages?with out do this in godaddy for this 'omandomains' create it to iismanagement as a virtual directory? is it work perfectly?


pls help


Regard and Thanks,
Soumya

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900