Invalid path?

N

Nick Z.

I have an index.html file that I want to edit.

It's path is "c:\Projects\C#\Website\index.html"
index.html is referencing "c:\Projects\C#\Website\home.html" in a frame.

Now here comes the problem, no matter what I do home.html is not
displayed in the frame when index.html is opened in frontpage.
In split view, where the frame should be, frontpage shows a message
"Could not open page file:///C:/Projects/home.html", which is first of
all the wrong path, it should be "file:///C:/Projects/C#/Website/home.html"

The problem is the '#' character in the correct path, if I move the
whole "Website" folder to lets say "c:\Website" and open index.html in
frontpage again everything works fine.

I REALLY have to keep the path though.
How do I overcome this problem?

Thanks in advance,
Nick Z.
 
S

Steve Easton

Open index.html in Notepad.
Change: file:///C:/Projects/C#/Website/home.html
to simply home.html.
Save the file and then open it.

Since both files live in the same folder, you only need a relative link
to home.html

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
B

Bob Lehmann

Well, you can't have it both ways.

Either lose the "#" or keep it broken; whatever works best for you is fine
with me.

Bob Lehmann
 
S

Steve Easton

What does iframe src="home.html"... etc
The path should simply be <iframe src="home.html">


That said, assuming C:\Projects means you working on a Visual Studio
project,
and assuming C# means a C Sharp project, why not just name the folder
CSharp instead of C#



--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
N

Nick Z.

I do have <iframe src="home.html">.
Becuase I have *many* references and many shared folders with different
permissions that require me not changing the path.
 
S

Stefan B Rusynko

Agree w/ Bob

You don't *have* to keep the path w/ C# (even though you may *want* to)
- it is an illegal URL since # it is reserved for anchors/bookmarks
- FP does not support any webs (server or disc based) under any folder ending w/ a # (or any punctuation)





|I *have* to keep the path, ie I have to keep the #.
|
| Bob Lehmann wrote:
|
| > It's the "#" which has meaning in a URL. Remove it.
| >
| > Bob Lehmann
| >
| > | >
| >>I have an index.html file that I want to edit.
| >>
| >>It's path is "c:\Projects\C#\Website\index.html"
| >>index.html is referencing "c:\Projects\C#\Website\home.html" in a frame.
| >>
| >>Now here comes the problem, no matter what I do home.html is not
| >>displayed in the frame when index.html is opened in frontpage.
| >>In split view, where the frame should be, frontpage shows a message
| >>"Could not open page file:///C:/Projects/home.html", which is first of
| >>all the wrong path, it should be
| >
| > "file:///C:/Projects/C#/Website/home.html"
| >
| >>The problem is the '#' character in the correct path, if I move the
| >>whole "Website" folder to lets say "c:\Website" and open index.html in
| >>frontpage again everything works fine.
| >>
| >>I REALLY have to keep the path though.
| >>How do I overcome this problem?
| >>
| >>Thanks in advance,
| >>Nick Z.
| >
| >
| >
 
Top