|
| |
default.aspx page not picking up image/links from master page
View related threads:
(in this forum
| in all forums)
|
Logged in as: Guest
|
|
|
maverickinparadise
Posts: 9 Joined: 6/24/2007 Status: offline
|
default.aspx page not picking up image/links from maste... - 6/24/2007 21:33:53
Hi - I'm new to expression web and ASP files; wondering if anyone has had this happen: I created a master page. On this page there is one image up at the top. From this master page I created a home page titled 'default.aspx' as it should be named. However on the default.aspx page, the image at the top is missing. I get the blank box with the X in the upper left corner -looks as if its coming up as a broken link. It also appears that this default page is not successfully linking to other pages created off the same master page in the site. All the other pages created off the master page turned out just fine - the image at the top and all other info is where it should be. Why did this happen? Any suggestions on a fix? Thanks - MIP
< Message edited by maverickinparadise -- 6/25/2007 0:35:35 >
|
|
|
|
coreybryant
Posts: 2479 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: default.aspx page not picking up image/links from m... - 6/25/2007 10:33:43
Did you check the path to the image to make sure it is correct? Also, from time to time the image itself could potentially be corrupted and you might need to "convert" the image to the same file format again
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
maverickinparadise
Posts: 9 Joined: 6/24/2007 Status: offline
|
RE: default.aspx page not picking up image/links from m... - 6/25/2007 10:46:58
The path is correct and pages and relevant image file are in fact in the same directory which makes the broken image link even more perplexing. I've continued to work on the challenge since my post yesterday. I was surprised to find this: this is a simple site I've built. It has 6 pages. However I discovered that the default.aspx page which I know has to be in the root directory for the site to load does not seem to have any code to it! In the design view, it shows as it should - all components, text even the missing image are present after creating it from the master page (I select create from master page and do a 'save as' naming the file default.aspx). For all other pages created from that master, all the lines of code that should be there in the split or code views are showing up fine. However the default.aspx page which was also created from my index.master master page shows just one single line of code. This line: <%@ Page masterpagefile="index.master" language="C#" title="home services products Submit Y" %>. The error message I was getting after attempting to publish the site to the web host indicated an error with the 'master reference. This was that error message: "Parser Error Message: The directive 'Master' is unknown." In testing, I created a default page from master as above several times - sometimes the default page appears in the folder list with the 'home' icon indicating its a home page which is what I want, and others it does not - it shows an icon just as the other 5 aspx pages in the site. The other 5 pages I created off the master page has full code showing in the split and code views. I don't get it. I don't see another way to create a default.aspx page, but can you confirm the process for correctly creating a default.aspx home page file for me please? Thanks much in advance, MIP
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|