Page view counter

Autodesk DWF Viewer no longer working in my VS2005 app!

Last post 10-26-2007 5:32 AM by MrBala. 6 replies.

Sort Posts:

  • Autodesk DWF Viewer no longer working in my VS2005 app!

    08-17-2006, 10:26 AM
    • Loading...
    • jwelsh
    • Joined on 02-13-2004, 9:30 AM
    • Posts 173
    • Points 494

    Hi,

     

    I’m having issues using Autodesk’s DWF Viewer in a VS2005 ASP.NET application.  The problem started around the time I upgraded from VS2003.  I don’t know the exact timing of the problem, because the DWF file viewing is just a part of a fairly large system, so it took me a while to come across this problem.

     

    The DWF files are stored in BLOB fields in an Oracle database.  The application retrieves the files from Oracle and displays them in a new browser window, using the Autodesk software.  This was working fine in my VS2003 application, but now it only opens the new browser window.  Nothing else happens; no errors, no Autodesk software, nothing, just an empty window.

     

    The DWF MIME type is registered on my PC and our server.  I can open DWF files by double clicking on them, or even by directly opening them through Internet Explorer.  The application runs successfully under Firefox, which tells me the problem is related to IE.

     

    I have had several other people test this problem.  Out of that group, the application works fine for everyone, except for two other developers that also have VS2005 installed on their PCs (they are the only two out of my test group with VS).  They are having the exact same problem that I’m experiencing.  I’ve tried reinstalling both Autodesk and IE, but the problem still occurs.  I’m running IE 6, and I’ve tried both Autodesk 6.5 and 7.

     

    I’d appreciate any help on this issue.  Thanks!

  • Re: Autodesk DWF Viewer no longer working in my VS2005 app!

    08-18-2006, 5:47 PM
    Answer
    • Loading...
    • samsp
    • Joined on 08-08-2002, 5:35 PM
    • Posts 330
    • Points 1,680
    • AspNetTeam
    The problem is that vs2005 registered a file type for .aspx and thats causing the problem. See the last post in http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=152498&SiteID=1
  • Re: Autodesk DWF Viewer no longer working in my VS2005 app!

    08-21-2006, 8:49 AM
    • Loading...
    • jwelsh
    • Joined on 02-13-2004, 9:30 AM
    • Posts 173
    • Points 494

    That was exactly the problem.  I renamed the key and it is working fine again.

    Is it safe to assume that deleting or renaming this key will not cause me other problems?

    Thanks for your help!

  • Re: Autodesk DWF Viewer no longer working in my VS2005 app!

    10-23-2007, 6:52 AM
    • Loading...
    • MrBala
    • Joined on 01-22-2007, 5:11 AM
    • Posts 5
    • Points 10

     Hi,

        I'm new .net . How to open a dwf file in Asp.Net? How to edit that file(it means, i want to add some remarks in that files where ever i click on that file) & Save it in SqlServer Database. How shall I do it? Can you explain?

        1. I want to show the dwf in ASP.Net web page.

        2. I want to edit it , where ever i click on the dwf file.

        3. I want to save it in the SqlServer database.

    Kindly reply me!. I'm waiting for your reply !... 

    By

    Bala.R


     


     

     

  • Re: Autodesk DWF Viewer no longer working in my VS2005 app!

    10-23-2007, 12:20 PM
    Answer
    Thanks

    ------------------------------------------------------------

    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Autodesk DWF Viewer no longer working in my VS2005 app!

    10-23-2007, 12:36 PM
    • Loading...
    • jwelsh
    • Joined on 02-13-2004, 9:30 AM
    • Posts 173
    • Points 494

    Hi,

    I'm not sure that I can answer all your questions, but here goes.

    1.  In order to get the DWF files to show on my pages, the DWF file extension had to be registered on our web server (our server administrator did that for me).  Next I had to write some .NET code to retrieve the file from the database and display it.  To display a document, I used the following code:

                Dim msDoc As System.IO.MemoryStream

                      (Insert code to retrieve your DWF file as a memory stream into msDoc)Session("Action") = ""            Response.Clear()            Response.Buffer = True            Response.ContentType = "drawing/x-dwf"            If msDoc.Length = 0 Then                  (If here, you had an error retrieving the DWF file)            Else                  Response.BinaryWrite(msDoc.ToArray())            End If

    2.  I don't know if there is a way to edit a DWF file this way.  We are using the free DWF viewer to view and print the files.

    3.  I'm using Oracle, and storing the DWF file in a BLOB field.  I assume you will need to do something similar in SQL Server.

    I hope this helps!

  • Re: Autodesk DWF Viewer no longer working in my VS2005 app!

    10-26-2007, 5:32 AM
    • Loading...
    • MrBala
    • Joined on 01-22-2007, 5:11 AM
    • Posts 5
    • Points 10

     Hi,

     I'm new to .Net. I want to store a flash file in sql server 2000 & How to retrive it & display in aspx page.

    I don't know how to store that file in sql server 2000 using .Net

    Please help me.


    Thanks & Regards,

    Bala.R 

Page 1 of 1 (7 items)