CAB file problem

Discussion in 'ASP.NET 2.0' started by Jugs0101, Dec 3, 2006.

  1. Hi there,

    I have an object I wish to use in a page on my discountasp.net site. The object in question is the XStandard WYSIWYG. I want to use a .cab file to install itself on the person's computer. I can't seem to make it work. At first I thought that it might be a path issue, but I have the cab file in the same directory as the aspx file it is being initiated from.

    If I was hosting on my own server I believe that it would not be a problem, so I'm wondering if there's anything special/different I need to be doing with the discountasp.net site I have.

    Any guidance would be most appreciated.

    Thanks,

    Jugs
     
  2. Bruce

    Bruce DiscountASP.NET Staff

    Do you get any error? What actually happens when you link to the cab file?


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  3. Thanks for replying Bruce.


    I get no error message. Just nothing and a blank space where the object should be.


    It works in my development environment. The line looks like this...


    <object type="application/x-xstandard" id="wysiEditor" style="width: 780px" height="200" codebase="XStandard.cab#Version=1,7,1,0">


    ....


    the .cab is in the same directory as the .aspx. I'm wondering if for some reason, when the page loads at this point, that the current directory is something odd. I'm probably wrong there, but it's the only thing I can think of.


    Thanks,


    Jugs
     
  4. Vikram

    Thanks very much. It certainly looks like a path to the .cab file problem, as your link worked finefor me.
    I'll try it later with the full web path to the file.

    Thanks again,

    Jugs
     
  5. I tried using the Xstandard CAB on DASP server and it works See: http://daspstaff00.web120.discountasp.net/WYSIWYG I also included the cab file in the same directory as the aspx page.If this link doesnt prompt you with an Active X component Installation,then its some kind of browser setting.

    Your Codebase should have the full path to the cab file,in my case it was :

    <object type='application/x-xstandard' id='editor1' width='600' height='400' codebase='http://daspstaff00.web120.discountasp.net/WYSIWYG/XStandard.cab#Version=1,7,1,0'>

    since the cab files were in 'WYSIWYG' subfolder.

    Vikram

    DiscountASP.NET
    www.DiscountASP.NET

    Post Edited (vvsharma) : 12/5/2006 12:49:40 AM GMT
     

Share This Page