Freewheel

Reply
Member
jeb027
Posts: 5
Registered: ‎02-24-2010
Message 1 of 13 (1,058 Views)

404 - File not found

1058 Views, 12 Replies
02-24-2010 04:18 PM
Hello,

I'm sorry this is going to be a very elementary question for most of you. I am a new web developer that has been asked to incorporate Autodesk Freewheel into my client's website. I do not know much about Inventor and how it all works but I have someone there who does.
He has published a drawing to a DWFx file in our web directory.
I have used the code given on the Autodesk developers page to display it in Freewheel. The Freewheel framework shows up no problem but it doesnt seem to be able to find the DWFx file.
I asked him about DRM and he doesn't think that the file is protected.
I also checked the MIME types on the server and DWF is listed.
I have read over and over that the DWFx file has to have a public URL. As far as I can tell, it does. So I am asking...what have I missed? There seems to be something lost in translation here and it doesn't help that I don't really know much about the Autodesk products.
I am trying to get one file working and then once I do, I can attempt the thumbnail code for several files.
Please help.
*Scott Sheppard - Autodesk
Message 2 of 13 (1,058 Views)

Re: 404 - File not found

02-24-2010 09:57 PM in reply to: jeb027
What is the URL to the DWFx file?

wrote in message news:6343732@discussion.autodesk.com...
Hello,

I'm sorry this is going to be a very elementary question for most of you. I
am a new web developer that has been asked to incorporate Autodesk Freewheel
into my client's website. I do not know much about Inventor and how it all
works but I have someone there who does.
He has published a drawing to a DWFx file in our web directory.
I have used the code given on the Autodesk developers page to display it in
Freewheel. The Freewheel framework shows up no problem but it doesnt seem to
be able to find the DWFx file.
I asked him about DRM and he doesn't think that the file is protected.
I also checked the MIME types on the server and DWF is listed.
I have read over and over that the DWFx file has to have a public URL. As
far as I can tell, it does. So I am asking...what have I missed? There seems
to be something lost in translation here and it doesn't help that I don't
really know much about the Autodesk products.
I am trying to get one file working and then once I do, I can attempt the
thumbnail code for several files.
Please help.
Member
jeb027
Posts: 5
Registered: ‎02-24-2010
Message 3 of 13 (1,058 Views)

Re: 404 - File not found

02-25-2010 09:14 AM in reply to: jeb027
www.ijmetal.com/html/Drawings/6558-Main_Assembly.DWFx
*Sam M
Message 4 of 13 (1,058 Views)

Re: 404 - File not found

03-01-2010 04:15 AM in reply to: jeb027
dunno if you're still waiting for an answer, but that link you provided
doesn't work...
www.ijmetal.com/html/Drawings/6558-Main_Assembly.DWFx

from a little trial and error there is no "/html" folder, but there is a
"ijmetql.com/Drawings"

try this url instead:
www.ijmetal.com/Drawings/6558-Main_Assembly.DWFx

by the way, some web-servers are case-sensitive (known I've had problems in
the past with some), so you can get yourself into trouble by using capitals
in directory & file names and it's something so subtle that you can easily
miss/forget about it. In this case
http://www.ijmetal.com/drawings/6558-main_assembly.dwfx works just the same,
but might not if you change/upgrade server in the future. Sorry if I'm
mentioning something obvious & already known.


wrote in message news:6344210@discussion.autodesk.com...
www.ijmetal.com/html/Drawings/6558-Main_Assembly.DWFx
*Scott Sheppard - Autodesk
Message 5 of 13 (1,058 Views)

Re: 404 - File not found

03-01-2010 07:05 AM in reply to: jeb027
Thanks for the great detective work and meaningful tip to this user.

"Sam M" wrote in message
news:6346040@discussion.autodesk.com...
dunno if you're still waiting for an answer, but that link you provided
doesn't work...
www.ijmetal.com/html/Drawings/6558-Main_Assembly.DWFx

from a little trial and error there is no "/html" folder, but there is a
"ijmetql.com/Drawings"

try this url instead:
www.ijmetal.com/Drawings/6558-Main_Assembly.DWFx

by the way, some web-servers are case-sensitive (known I've had problems in
the past with some), so you can get yourself into trouble by using capitals
in directory & file names and it's something so subtle that you can easily
miss/forget about it. In this case
http://www.ijmetal.com/drawings/6558-main_assembly.dwfx works just the same,
but might not if you change/upgrade server in the future. Sorry if I'm
mentioning something obvious & already known.


wrote in message news:6344210@discussion.autodesk.com...
www.ijmetal.com/html/Drawings/6558-Main_Assembly.DWFx
Member
jeb027
Posts: 5
Registered: ‎02-24-2010
Message 6 of 13 (1,058 Views)

Re: 404 - File not found

03-05-2010 09:43 AM in reply to: jeb027
Thank you for all your help so far.

It seems now that I get an "error rendering drawing".
This is the code I used and I tried it with and without "labs" being added, with the same result:

src="http://freewheel.autodesk.com/dwf.aspx?path=www.ijmetal.com/Drawings/Spiral_Stair.dwfx"


So what am I doing wrong now or is it something on my client's end with publishing the drawing file?

Edited by: jeb027 on Mar 5, 2010 5:43 PM Edited by: jeb027 on Mar 5, 2010 5:47 PM
*Scott Sheppard - Autodesk
Message 7 of 13 (1,058 Views)

Re: 404 - File not found

03-05-2010 12:54 PM in reply to: jeb027
Please try

src="http://freewheel.autodesk.com/dwf.aspx?path=http://www.ijmetal.com/Drawings/Spiral_Stair.dwfx"

wrote in message news:6349650@discussion.autodesk.com...
Thank you for all your help so far.

It seems now that I get an "error rendering drawing".
This is the code I used and I tried it with and without "labs" being added,
with the same result:

src="http://freewheel.autodesk.com/dwf.aspx?path=www.ijmetal.com/Drawings/Spiral_Stair.dwfx"


So what am I doing wrong now or is it something on my client's end with
publishing the drawing file?

Edited by: jeb027 on Mar 5, 2010 5:43 PM

Edited by: jeb027 on Mar 5, 2010 5:47 PM
Member
jeb027
Posts: 5
Registered: ‎02-24-2010
Message 8 of 13 (1,058 Views)

Re: 404 - File not found

03-06-2010 08:15 AM in reply to: jeb027
Thank you but that takes me back to the 404 - File not found.

Could this be server settings? Or a firewall problem?
*Scott Sheppard - Autodesk
Message 9 of 13 (1,058 Views)

Re: 404 - File not found

03-06-2010 08:38 AM in reply to: jeb027
Your URL is not correct. I typed
http://www.ijmetal.com/Drawings/Spiral_Stair.dwfx in on the browser command
line and got page not found. I was not using Freewheel - just my browser.
You should check the location of the file and see what the correct path is.

wrote in message news:6350087@discussion.autodesk.com...
Thank you but that takes me back to the 404 - File not found.

Could this be server settings? Or a firewall problem?
*Sam M
Message 10 of 13 (1,058 Views)

Re: 404 - File not found

03-08-2010 02:20 AM in reply to: jeb027
1) remove capitals in your web-links. As mentioned before on some servers
this can cause problems and is bad practise.

2) there is no "spiral_stair.dwfx" file in the /drawings/ directory...
Either the filename is wrong or it is in another directory. We are unable
to browse the /drawings/ dir to see what files there are there so can't help
you with this. The previous file "6558-Main_Assembly.dwfx" had that "6558"
(project/part?) number in front of it - is there a similar number before
"spiral_stair.dwfx"

Ftp into your website, browse to the drawings directory, do a print screen
and post the result here so we can see what files and their names - only
thing I can think of....



"Scott Sheppard - Autodesk" wrote in message
news:6350057@discussion.autodesk.com...
Your URL is not correct. I typed
http://www.ijmetal.com/Drawings/Spiral_Stair.dwfx in on the browser command
line and got page not found. I was not using Freewheel - just my browser.
You should check the location of the file and see what the correct path is.

wrote in message news:6350087@discussion.autodesk.com...
Thank you but that takes me back to the 404 - File not found.

Could this be server settings? Or a firewall problem?

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community