ProcessRequest for vsd not working with visio 2013 RRS feed

  • Question

  • Hi, I have a problem and I hope someone can help me.

    I've implemented a custom IhttpHandler.ProcessRequest to get a .vsd file from a database. It Works, but only with visio 2010 installed. With visio 2013 the processrequest doesn't even fire. Why it doesn't work on visio 2013? can´t I use custom handlers? is there anything I can change to make the handler work?

    This is the handler code:

    Public Sub ProcessRequest(ByVal context As System.Web.HttpContext) Implements System.Web.IHttpHandler.ProcessRequest
         	Dim idFile as String = context.Request.QueryString("idFile")
    	Dim filedata() as Byte = getFileFromDB(idFile)
    	context.Response.OutputStream.Write(filedata, 0, filedata.Lenght)
    End sub

    This is the code form the aspx

    <object classid=clsid:279D6C9A-652E-4833-BEFC-312CA8887857  id=vviewer 
    codebase=vviewer.exe Width = 800 Height = 600 > 
    <param name=SRC value="VisioDoc.vsd?idFile=1234"> 
    <param name=HighQualityRender value=1> 
    <param name=BackColor value=#000000> 
    <param name=PageColor value=#000000> 
    <param name=PageVisible value=1> 
    <param name=AlertsEnabled value=1> 
    <param name=GridVisible value=1> 
    <param name=PropertyDialogEnabled value=0> 
    <param name=ScrollbarsVisible value=1>
    <param name=ToolbarVisible value=1>
    <param name=ContextMenuEnabled value=1> 
    <param name=CurrentPageIndex value=1> 
    <param name=Zoom value=-1> 
    visio is not installed

    Wednesday, July 3, 2013 7:23 AM

All replies

  • Hi,

    Thank you for posting in the MSDN Forum.

    I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.

    Sorry for any inconvenience and have a nice day!

    Best regards,

    Quist Zhang [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, July 4, 2013 9:51 AM