Link to home
Start Free TrialLog in
Avatar of jagguy
jagguyFlag for Australia

asked on

cant find master file

IN asp.net

I have created a virtual dir on my host and my website project cant find the masterfile which is in the same dir as the home.aspx file.

<%@ Page Language="vb" MasterPageFile="~/MasterPage2.master" AutoEventWireup="false" CodeBehind="~/home.aspx.vb" Inherits="mbk.home" %>


>>The file '/mbk/MasterPage2.master' does not exist. but it does exist???????



Avatar of s_chilkury
s_chilkury
Flag of United States of America image

Avatar of jagguy

ASKER

ok now i can get it to work by getting rid of path references like "
~/ mydir/myfile"

but it doesnt load the code behind when i take out  inherits tag as
suggested. if i leave it in i get an error?
Inherits="mbk.thread"

on my PC i need the inherits tag
Avatar of jagguy

ASKER

the clicks dont work and the code behind doesnt seem to work
http://www.mymrt.net/mbk/mbk/home.aspx
what is the error that you are getting?
Avatar of jagguy

ASKER

no error (click the link above)
it isnt running the code behind files as i was told by the host to omit the inherits tag in the aspx file to stop an error.
ASKER CERTIFIED SOLUTION
Avatar of SAMIR BHOGAYTA
SAMIR BHOGAYTA
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial