Solved

cant find master file

Posted on 2011-02-11
6
306 Views
Last Modified: 2012-05-11
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???????



0
Comment
Question by:jagguy
6 Comments
 
LVL 9

Expert Comment

by:s_chilkury
Comment Utility
0
 

Author Comment

by:jagguy
Comment Utility
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
0
 

Author Comment

by:jagguy
Comment Utility
the clicks dont work and the code behind doesnt seem to work
http://www.mymrt.net/mbk/mbk/home.aspx
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 7

Expert Comment

by:meispisces
Comment Utility
what is the error that you are getting?
0
 

Author Comment

by:jagguy
Comment Utility
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.
0
 
LVL 11

Accepted Solution

by:
SAMIR BHOGAYTA earned 500 total points
Comment Utility
Hi, you have to put code like this.

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now