ECC6.0 code download/upload with unicode

Hi, we have a need for on-going parallel code maintenance of 2 separate development instances.  In end effect we need to manually synchronize two development instances for a period of time.  We have before in the past used custom programs and some of the standard SAP utilities provided.  However I'd be surprised if there isn't a more comprehensive utility supplied by SAP by now for this purpose.  By now I mean with release ECC6.0 with unicode active.  Does anyone out there know of a utility that can download any program(WebDynpro, BSP, R/3 dynpro, report, program, function module, class, etc with all relevant textpools and documentation) to a file so that it can be uploaded in its entirety without great effort?  We currently have a custom program which downloads/uploads ABAP source and text but it only works with standard executable r/3 programs.
Thanks in advance,
Kevin

Here is the link for the google code site where you can download Saplink.
http://code.google.com/p/saplink/
Here is the direct link to the saplink installation zip file.  There should be some instructions within.
http://saplink.googlecode.com/files/SAPlink_install-0.1.3.zip
Once you have the base installation installed, you can then start adding plugins for other development objects.  The plugins have their own site.
http://code.google.com/p/saplink/wiki/pluginList
REgards,
Rich Heilman

Similar Messages

  • Peformance Turning for File Download / Upload with Enabled SharePoint Audit

    Greetings all, may I ask your help for Peformance Issues?
    Background:
    I tried to create a ASP.NET Web Page to download/upload/list SharePoint file and deployed to IIS website in same application server (will NOT use web part as some users are NOT allowed to direct access confidential workspace)
    Besides, for Audit Log record purpose, the page will impersonate (without password) the logged in user:
    SPUserToken userToken = web.AllUsers[user].UserToken;
    SPSite s = new SPSite(siteStr, userToken);
    For File Listing, the web service can provide fast response, and we are using service A/C for connection (as no auting for listing, but require audit for file download upload)
    Several implemeation options tested for File Downloiad / Upload, but issues occured and finding listed below:
    Issues
    1) SharePoint Object Model
    When I open Site (using new SPSite), it's too slow to respond. (under 1s for all operations, but require 10~50s for open SPSIte. e.g.
    using(SPSite s = new SPSite(siteStr) //50s
    How can I download/upload file without open SPSite object (using SharePoint object model, but user token should be kept to allow SHarePoint identifiy user actions. e.g. Updated by Tom, NOT system administrator)?
    2) SharePoint default web service
    For file download, I tried to use SharePoint Web Service for download file, it's quick but how can SharePoint record the audit log to downloaded user, and not service A/C? ( e.g. View by Tom, NOT system administrator)
    With Windows SSO solution, please note system should NOT prompt to ask user password for use impersonation
    3) HTTP Request API (for file download)
    As mentioned in point 2, if the system cannot get password from user, SharePoint also recorded service A/C in audit log... ><
    Thank you for your kine attention.
    .NET Beginner 3.5

    Thank you for prompt response, please find my reply with Underline:
    Hi,
    Maybe I'm not quite clear about the architecture you have now.
    Is your asp.net application deployed in separate IIS site but in the same physical server as SharePoint?
    Yes
    "we are using service A/C for connection", can you please explain the 'A/C'?
    Domain User, Local Admin and also SharePoint Service Admin A/C
    Opening SPSite is relatively slower but shouldn't take 50 sec. However it depends on your server hardware configuration. You should meet the minimum hardware requirements for SharePoint.
    Assigned double resources based on minimum hardware requirements.
    For details, 50s is the load test result. But for other SharePoint operation, it takes around/under 3s reponse time.
    Are you using SharePoint Audit log? Exactly If so then why don't you just put the hyperlink to the documents in your asp.net page. User maybe have to login once in SharePoint site but
    it depends on your security architecture. For example if both of your sites in local intranet and you are using windows integrated authentication, SSO will work automatically  User is NOT allowed
    to access SharePoint site/server (not implemented for sepreate server yet, as performance issues occured for
    separate site in same server)  directly from Internet, the
    middle server with web interface created for user request.
    Whatever I understands gives me the feeling that you download the file using HTTPWebRequest C# class. However regarding security it depends on how authentication is setup in asp.net web site and in sharepoint. If both site uses windows integrated security
    and they are in the same server, you can use the following code snippet:
    using (WebClient webClient = new WebClient())
    webClient.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials;
    webClient.DownloadFile("file ur in sharepoint", "download directory");
    Thanks, will try and reply later
    But still, as I've mentioned, not quite clear about the whole architecture.
    A) Request Handling
    1) User use browser to request file listing and/or download file (hereafter called: File Download Request) from custom ASP.NET page (Let's say In Server 1, IIS 1)
    2) ASP.NET page  or File Handler ashx (Server 1, IIS 1) call custom web service, SharePoint deault/OOTB web service or using SharePoint Object Model to access SharePoint Document Library (in Server 1,
    IIS 2)
    3) Both SharePoint and IIS Web Site
    (Server 1, IIS 1 & IIS2) using the same service A/C
    4) The web service , File Handler return file obeject to IIS1
    5) IIS 1 reply File Download Request to user
    B) Application Architecture (In testing environment)
    1) no load balancing
    2) 1 DB server (Server 2)
    3) 1 Application Server (with IIS 1 - ASP.NET, IIS 2, SharePoint Web Site with default SharePoint Web Service, IIS 3 SharePoint Admin Site & IIS 4 Custom SharePoint Web Service)
    4) Sepreate AD Server (Server 3)
    Thanks,
    Sohel Rana
    http://ranaictiu-technicalblog.blogspot.com
    .NET Beginner 3.5

  • Abap Program download/upload with selection Texts

    Hi Experts.
    I serached forum for the above subject.
    but no correct results.so I am posting in the forum.
    My requirement is ,We have two systems(Independent).I want to down one program , including selection texts & includes  from one system  and wanted to upload to other system.
    Please help me to sort this issue.
    Thanks in advance,
    Rahul

    Hello Rainer,
    create nugget
    add object to nugget
    Please enlighten :'(
    I feel stupid asking this, but think "Google" wont help. Will it ?
    Suhas

  • CSV file upload into interal table with unicode system.

    Hi everyone.
    I have a problem. I made a sample program to upload CSV file to server memory;iternal table i mean. if csv file has numeric and english data, it works well. but it's not work when i made a csv file with Korean. my code is below. how can i do??
    DATA: FILEUPLOAD TYPE REF TO CL_HTMLB_FILEUPLOAD.
    DATA: CONTENT_LENGTH TYPE STRING,
          FILE_CONTENT TYPE XSTRING ,
          FILE_LENGTH TYPE STRING ,
          FILE_MIME_TYPE TYPE STRING ,
          FILE_NAME TYPE STRING .
    DATA: CONTENT TYPE STRING.
    FILEUPLOAD ?= CL_HTMLB_MANAGER=>GET_DATA(
                           REQUEST = REQUEST
                           ID      = 'file1'
                           NAME    = 'fileUpload' ).
    FILE_NAME      = FILEUPLOAD->FILE_NAME.
    FILE_MIME_TYPE = FILEUPLOAD->FILE_CONTENT_TYPE.
    FILE_LENGTH    = FILEUPLOAD->FILE_LENGTH.
    FILE_CONTENT   = FILEUPLOAD->FILE_CONTENT.
    data: conv type ref to CL_ABAP_CONV_IN_CE .
    data: tmp type string.
    data: cnt type i.
        CONV = CL_ABAP_CONV_IN_CE=>CREATE( INPUT = FILE_CONTENT
                                           ENCODING = 'UTF-8' ).
        CONV->READ( EXPORTING N = cnt
                    IMPORTING DATA = CONTENT ).
        tmp = content.

    Hi,
    Pls check threads like
    File Download / Upload Question
    Eddy
    PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself!

  • How can I upload and download files with uiXML?

    I want to implement upload and download files with uiXML. In some previouse topic I got answare to look in AbstractPageBroker class in JavaDOC. I did it but this is a very-very little resolution description for this problem. I think for developers YOU (UIX Team) must in very quick time to put some examples on the NET because this is a nice technology but with adecvate samplase and developers guide it will be dead very soon. I digging this forum for information. I see many many people have same problems about this technology. They like it and want to use and try but documentation is very very poor.
    WE WANT EXAMPLES and separate forum for UIX. I think it deserve this.
    If You have any more detailed documentation would be nice to put on the net. I have uixdemo.zip file but this is in very early fase of development. I downloaded it before fwe months. And now I can't find it anymore on youre site. What happend?

    Attila -
    I went back and re-read the JavaDoc for AbstractPageBroker and MultipartFormItem and put together the following sample PageBroker based on the description from the JavaDoc:
    import java.io.File;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletContext;
    import oracle.cabo.servlet.BajaContext;
    import oracle.cabo.servlet.Page;
    import oracle.cabo.share.util.MultipartFormItem;
    import oracle.cabo.servlet.xml.UIXPageBroker;
    * An extension of UIXPageBroker which stores all uploaded
    * files in the temporary directory.
    public class UploadingPageBroker extends UIXPageBroker
    * Override of AbstractPageBroker.doUploadFile() which saves
    * all files to the temporary directory.
    protected String doUploadFile(
    BajaContext context,
    Page page,
    MultipartFormItem item) throws IOException
    // Get the location of the file to create in the temp directory.
    // Of course a real application probably wouldn't upload files to
    // the temp directory - just using this contrived example to
    // demonstrate basic uploading support.
    File file = _getFile(context, item);
    if (file != null)
    // Create a FileOutputStream. Of course, a real application would
    // probably want to buffer the output
    FileOutputStream out = new FileOutputStream(file);
    // Write out the file
    item.writeFile(out);
    // Close up the output stream
    out.close();
    // We can return a value here to add to the PageEvent
    // if so desired.
    return null;
    // Gets the File for the item that we are uploading
    private File _getFile(
    BajaContext context,
    MultipartFormItem item
    // Get the file name
    String name = item.getFilename();
    // If we don't have a file, bail...
    if (name == null)
    return null;
    // Get the path to the temporary directory
    File dir = _getTempDir();
    // Return the File object
    return new File(dir, name);
    // Returns the path to the temprary directory
    private File _getTempDir()
    // Get the temporary directory from the ServletContext
    ServletConfig sConfig = getServlet().getServletConfig();
    ServletContext sContext = sConfig.getServletContext();
    return (File)sContext.getAttribute("javax.servlet.context.tempdir");
    In this sample, each uploaded file is simply saved in the temporary directory. You'll want to replace the code that creates the FileOutputStream for the uploaded file to use whatever OutputStream makes sense for your application.
    BTW - I used the following UIX page to test this out:
    <?xml version="1.0" encoding="UTF-8"?>
    <page xmlns="http://xmlns.oracle.com/uix/controller">
    <content>
    <pageLayout xmlns="http://xmlns.oracle.com/uix/ui">
    <contents>
    <form name="uploadForm" usesUpload="true">
    <contents>
    <fileUpload name="uploadedFile"/>
    <submitButton name="upload" text="Upload"/>
    </contents>
    </form>
    </contents>
    </pageLayout>
    </content>
    </page>
    Hope this sample helps with the uploading part of your question. I'll see if I can provide a download sample in a later post.

  • Download/Upload Multi-valued property using Code

    We are developing program that will download document properties from one Portal Server and upload document properties to another server.
    Can someone provide a code snipplet on how to deal with multi-valued property for this download/upload requirement.
    1. How do we download property values for Multi-valued properties for document.
    2. How do we upload property values for Multi-valued properties for document.

    We were able to do this.  This bug is fixed by SAP in 7.0 ICE.

  • Basic Questions on ActionTec MI424-WR Router - problems with poor download/upload speed

    First, I will get to the point and ask my questions, then will explain what's happening - I'm interested in hearing whether the right actions are being taken to solve my problem.
    1) After perusing the forums, I see frequent reference to the "Rev" version of the ActionTec MI424-WR Router.  How do you find the Rev version?  I have logged into the Router and in the "System Monitoring" icon, the Router Status lists my Hardware version as 'A'.  Does this mean I have Rev 'A'?
    2) What is Verizon handing out these days for Routers?  Mine is being replaced, and I am wondering what to expect.  I have Verizon FIOS Phone, TV, and Internet service, and have the 25/25 Internet service.  Will they give me another MI424-WR?  If so, what Rev level are they likely to give me?
    Here's why my router is being replaced - opinions/comments/advice welcomed.
    For the past year or two, I've consistently measured (via speedtest.speakeasy.net) about 30Mbs download, and around 22-25 Upload.  Lately, I noticed that my downloads were quite slow, so I tested my speed at the above website, which I had not done in many months.  I measured only about 2-3 Download and 1-2 up.  Note all of what I am discussing hear takes place with hard-wired ethernet, NOT wireless.
    I tried testing from multiple computers, running XP, Vista, and Windows 7.  All getting consistently similar poor speeds.  I verified my account still is supposed to have 25/25/ service, which I verified online. 
    Tried rebooting the router, no change.  Then tried hard reset (pushing in the recessed button, holding it for about 20-30 seconds.  After it reconnected to the Internet, I tested speed again.  No change.
    Interestingly, I tested wireless speed on the laptop I have.  Speed is MUCH better, around 15 down, and 10-12 up.
    I tried the speed optimization tool on two of my PCs, it made no improvement.  Finally, got into an online chat with a Verizon Tech.  He did some tests on the line, we repeated some of the things I already tried, and then he asked how old my Router was...I am pretty sure it is the original one I received when I first signed up for FIOS, around 5-6 years ago, which is one of the reasons I asked how to tell which rev level I had.   So the tech concluded the problem was probably my Router.
    I TEND to agree, especially because I recently had an "anomaly" on my network.  My son complained one day that Internet was down.  When I got home, I found out my NetGear Gigbit switch was dead, and two of my hard-wired ethernet network printers could no longer talk to the network.  I replaced the switch, so now I am thinking perhaps the Router was damaged somehow.  I have no idea what the cause of this anomaly was - everything that connects to my network was plugged into Triplite ISOBAR surge protectors, but that only protects AC power. 
    I would think a hardware failure would completely kill the ethernet portion of the router, not simply reduce speed, but I could be wrong.  Anyone been through something similar to this before?  I expect to receive the new Router next Thursday, so hopefully I should know by then, but still - what should the next steps be if the new router does not fix the problem?
    Thanks for any comments, insight or shared experiences you might be willing to share...
    Solved!
    Go to Solution.

    This is embarrassing.
    Smith6612, you are absolutely correct, and you nailed it!
    When all this mess started, I checked my Verizon account to make sure I was signed up for 25/25 Internet.  I was.
    I don't know what has happened, but after reading Smith6612's response, I went back to recheck my account.  I was set up for 15/5!  So, the speedtest measurements I have been getting the last couple of days are exactly what I should be getting.  Two possibilities:
    1) My Triple-Play bundle must have expired in the past two weeks by coincidence.
    2) The Verizon tech may have changed my account profile when I worked with them online last week, although this was never discussed.
    At any rate, Smith6612 wins the prize.  It certainly explains the download/upload speeds I am getting.  I have logged into Verizon and signed up for a new bundle.  According to their website, my new profile should take effect Tuesday 1/10, so after that point, I should be measuring 25/25 again.
    Thanks to all who responded to this thread.  I will update this thread to confirm after Tuesday.  I get nervous whenever I have to change anything with Verizon - although everything has worked fine for the past few years, we have so many services with them - Cell Phone, TV, Internet, and Home Phone, that I worry something will go wrong with the billing, but we'll see.

  • I used a code i got with my moive to download the itunes version and i was watching the itunes extras, but now when i click on "play itunes extras" it plays the audio but the only thing it displays is the first frame (the movie is catching fire)

    i used a code i got with my moive to download the itunes version and i was watching the itunes extras, but now when i click on "play itunes extras" it plays the audio but the only thing it displays is the first frame (the movie is catching fire) i deleted the movie and reinstalled from my icloud backup and it still does the same thing. The actual movie works fine, its just the itunes extras

    Hi there MickeyDresaj,
    You may find the troubleshooting steps in the article below helpful.
    Troubleshooting iTunes for Windows Vista or Windows 7 video playback performance issues
    http://support.apple.com/kb/ts1718
    -Griff W. 

  • Can u please send me a sample code to upload and download a file using java

    Hi,
    Please can u send me a sample code to upload a file and to download the same file from a remote server using a java servlets. The file should be read byte by byte.
    Message was edited by:
    user461713

    Hi, Thank u.
    Sorry, I forgot to attach a code. Here it is.
    Actually i need to upload a file to a remote server and download it from a server to my machine. I'm trying it using servlets and using tomcat5.0 as a servlet container. Here i'm sening a code used to upload a file. Let me know whether it works. Only few lines are here.
    import java.io.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.lang.Object;
    import java.util.*;
    import java.lang.String;
    import com.oreilly.servlet.MultipartRequest;
    public class FileUpload extends HttpServlet{
         public void doPost(HttpServletRequest req, HttpServletResponse res)throws
         ServletException, IOException{
         MultipartRequest multi=new MultipartRequest(req);     
         String file="file1";
         byte[] b=file.getBytes();
         InputStream in=null;
         BufferedInputStream bis=null;
         FileWriter fw=null;
    try{
         in=multi.getInputStream("file1");
    bis=new BufferedInputStream(in);
         File output=new File("/fileuploadtest");
         fw=new FileWriter(output);
              int i;
              i=bis.read();
              while (i != -1) {
    fw.write(i);
    i = bis.read();
         catch(IOException e){
              System.out.println("Exception=" +e);
    finally{
         try{
              if(in!=null)
              in.close();
              if(bis!=null)               
              bis.close();
              if(fw!=null)
              fw.close();
         catch(Exception e){
              System.out.println(e);
    This code is giving error as: cannot resolve symbol: class MultipartRequest
    Why is this happening?
    Pls let me know whether this code works or no and also i have written form.html.
    Can u pls tel me whether there are ways in which i can write a code to upload a file using servlets without using third party packages. Pls help.
    Also how should be the servlet mapping for this code.?
    Regards
    Message was edited by:
    user461713

  • My MBA keep downloading and uploading with no obvious reason?

    Here is a link to the original post https://discussions.apple.com/thread/3015185
    I will go crazy over this one! The problem started almost 10 days ago .
    My Mac Book air keeps downloading and uploading KBs ranging from 2 KBsto 30 KBs Ups and Downs (see the attachment please ).
    I'm living currently in Amman/Jordan and using Orange 3G+ USB dongle and InternetEverywhere software to connect (check the screen shot).
    I also installed Protemac and there was no app I tracked which was the reasonbehind the constant download/upload during idle time .
    I did everything; formatted and clean installed Os X , installed antivirus(nothing found ),checked the USB dongle with Windows 7 operating system and tomy surprise everything is fine .
    I tried to reinstall the driver many times from http://www.orange.jo/en/software.php and again nothing has changed the same behavior again !
    I called Orange tech support and they said if there is no  problem with Windows 7 there is nothing that we can do .
    What I have noticed is that when I connect to internet the Orange software only downoald 11 KBs and then stopped ,the preoblem start when I open a page on firefox or Safari and then after seconds the activity monitor start to regestier upload and downalod activity (both ways) ranging from 3 KBs ups and 3 KBs downn to 25 KBs Ups and 25 KBs down , this is just like a loop activity .
    Should I leave this problem to eat all my bandwidth threshold ,is their something wrong with my MBA ( I hope not )
    Please help me with this .

    Here is a snap shot of CPA - Cocoa Packet Analyzer,the thing is that I don't know how to translate the packets being sent or received

  • Download/Upload Limit with Shaping

    I have a network with 8-10 PC's both wireless and wired.
    I am looking for an ADSL 2+ Modem with Router that will -
    - Designate IP addressess based on MAC addresses.
    - Allow me to set a download/upload limit based on amount not speed (ie give everyone 20GB download/upload each month) for each IP Address.
    - Allow me to shape the speed if they go over their 20GB limit, so they are not cut off from the internet, but will get a slower speed.
    - Has a phone port so an Analog phone can be connected for VOIP, and SIP settings for voip connection. (Not a big requirement)
    Does Cisco have any product (Even if it is only a Router) that fully or partially does the above - However it must be able to allocate blocks/amounts of traffic to each IP address on the network, so download/upload limits can be shared equally. (Even if a more expensive router is avaible/designed for larger operation, I would be willing to look at it)
    Note I would prefer something where the "firmware" has the necessary options to set the above.
    Thank you
    John

    my signal indicator on the menu bar shows all bars.
    As you have probably guessed by now, the "bars" are there pretty much for show, as they tell you very little about the actual strength of your signal, and nothing about the noise.
    My Mac is on the floor just above the AP and a total of about 30 feet away.
    A typical wall constructed of sheet rock and 2 x 4s in a home will on average, absorb 15-25% of the signal. A ceiling is much thicker, and typically will absorb 45-60% of the signal.
    What about different channels, taking it off "automatic" and choosing a particular channel?
    The "Automatic" setting will scan all frequencies and select the "best" channel that is available at the time. You can set the channels manually, but which channel to choose? 
    You just have to experiment as no particular channel is really "better" than another. It all depends on what channels are in use at any particular time, and that is hard to know, even with good scanning equipment.
    A lot of networks are "invisible". You cannot "see" them, so there are more around you than you might think.
    Is ridding the house of cordless phones the only answer?
    The cordless phones may or may not be causing problems for the wireless network. The only way that you will know is to pick a time when you can turn them and their base stations off for a few hours and then restart your entire network.  Keep an eye on things to see if you notice any difference in performance.
    Moving the AP location is not possible, as the cable modem can't be moved.
    Perhaps the modem cannot be moved, but you can move the AirPort Extreme anywhere that an Ethernet cable will reach from the modem. You can use virtually any length of cable you want in a home.

  • Download Error with TI DSP Toolkit with Code Composer

    I have used TI DSP Toolkit with Code Composer to interface with code composer and LabVIEW. I am able to open the project, build the project etc. When I am downloading my binary to the DSP, the application is throwing error saying memmory address could not be validated. I am using emulator to download the code. I am able to download the code when I am using flash programmer option available with the code composer IDE. Any help to resolve the issue is highly appreciated.
    Best Regards,
    Anurag

    Hi Anurag,
    The DSP toolkit is only compatable with a few pieces of hardware.  You can find that information at this link.  If you are not using the mentioned hardware then there is no guarantee that it will work.  The reason you get the memory error is because MAX, and hence LabVIEW, does not recognize the device.  It makes sense that it works when you use your own software to flash the program because you are bypassing the NI software that is not compatable with that device.  Unfortunately, unless you are using one of the specific pieces of supported hardware there isn't much more we can do.  I would recommend that if you are able to get your program to work using the flash mode, then just continue to do that way instead of trying to download it with the emulator.  Thanks and have a great day. 
    Stephen S.
    National Instruments
    1 Test is worth 1000 expert opinions

  • Slow downloads, fast uploads with WRT160N/macbook

    I posted this on the Apple support forum and never heard anything, so I hope you guys can help me...
    I had AT&T DSL and used their wireless modem, then recently switched to cable and got the WRT160N.  I am using a white macbook from early 2008 (pre-aluminum) OS X 10.5.6, 2.4 GHz, 4GB RAM, and my roommate has a similar white macbook (not sure on the stats), though his is a year or two older.  While on DSL, I never noticed much problem with speed, but now that I've got cable, pages seem to load slower than DSL.  
    So, I did some testing and found on www.speedtest.net that my downloads are usually in the 900-1200kb/s range, while uploads are 6,000-8,000kb/s (upload FASTER than download).  There have been occasions where I have gotten faster (up to 14,000ish for download), but >99% of the time it's in the slow range I listed.  However, when I use a wired connection, it is fast (14,000+ download), my roommate using his macbook wirelessly  is fast (I think he got 12,000+ download speed the one time I had him do the test), and when I took my macbook to another wireless network (at a hospital I was rotating at), it was downloading at about 10,000.  My upload speeds are relatively consistent throughout.  I also tried the cnet download speed page once or twice and saw similar results.
    So, brief summary: It seems that only my download speed is affected, and only when it's MY macbook and MY home wireless network.
    Thanks in advance! 

    Yeah, laptop to router via cable is very fast, at times >20,000 kbps dowloads.  
    The only thing that seems to be problematic is the:
    -download speed
    -with wireless to
    -(only) my laptop
    -only on that router/network.  
    Upload speeds are fine throughout, downloads are fine when it's wired, it's fine when I take it somewhere else and use wireless, and my roommate's macbook works great on this network...so I'm guessing it's some combination of those variables that's causing this?

  • VB ActiveX User Control fails to install on Windows 8 using IE10 with Code Download Error: (hr = 80070005) Access is denied.

    I have a VB VS2008 (.Net 2.0) ‘pure’ .NET based user control which used to be hosted in Internet Explorer.
    Because that approach is no longer possible in VS2013 (.Net 4.5) I have converted it to an VB ActiveX user control.
    This process involves digitally signing the user control DLL.
    Creating a setup project resulting in a setup.exe and MyUserControl.msi.
    Digitally signing both those components and then producing a cab file (which again is digitally signed).
    IE10 should then be able to install this using an object tag as follows
    <object id="editor" height="100%" width="100%"
     classid="clsid:EA47DB16-9272-4CB3-A800-C369A479396A" codebase="cab\MyUserControl.cab#Version=6,0,11,1" VIEWASTEXT>
    If I use the setup.exe and MyUserControl.msi directly on the client windows 8 machine before starting IE10 then the control is already installed (shows up in Programs and Features) and it works.
    If I don't do this and let IE install the control then it doesn't work.
    What I see is the IE prompt
    This website wants to install the following add-on: 'MyUserControl.cab'
    Clicking on install produces the User Account Control MsgBox
    Do you want to allow the following program to make changes to this computer
    Clicking yes doesn't install the control as expected
    The inf file that I'm using is currently
    [version]
    signature="$CHICAGO$"
    AdvancedINF=2.0
    [Add.Code]
    setup.exe=setup.exe
    MyUserControlSetup.inf=MyUserControlSetup.inf
    MyUserControlSetup.msi=MyUserControlSetup.msi
    [setup.exe]
    file=thiscab
    [MyUserControlSetup.inf]
    file=thiscab
    [MyUserControlSetup.msi]
    file=thiscab
    [Setup Hooks]
    RunSetup=RunSetup
    [Deployment]
    InstallScope=user
    [RunSetup]
    run="%EXTRACT_DIR%\setup.exe"
    I have defined the registry setting ForceCodeDownloadLog
    Examining the temporary internet files location after trying to install using IE10 I can see the following
    *** Code Download Log entry (15 Jan 2015 @ 11:49:18) ***
    Code Download Error: (hr = 80070005) Access is denied.
    ERR: Run Setup Hook: Failed Error Code:(hr) = 80070005, processing: %EXTRACT_DIR%\setup.exe
    LOG: Reporting Code Download Completion: (hr:80070005 (FAILED), CLASSID: ea47db16...,

    The problem here was the cab file.
    Using ProcessMonitor I found that the following entry was generated at the time of failure
    16:48:00.9222751            2920      IEInstal.exe         CreateFile              
    C:\Users\Jim\AppData\Local\Temp\IDC2.tmp\setup.exe             NAME NOT FOUND               Desired Access: Read Attributes, Read
    Control, Synchronize, Dis, Options: Synchronous IO Non-Alert, Non-Directory File, Disallow Exclusive, Attributes: n/a, ShareMode: None, AllocationSize: n/a
    Analysis of the contents of the cab file using PeaZip indicated that it didn't contain setup.exe which confused me for a while as the makecab /f MyUserControlSetup.ddf produced no errors.
    The MyUserControlSetup.ddf contained
    .Set DiskDirectoryTemplate=cab
    .Set CabinetNameTemplate=DocEditor.cab
    MyUserControlSetup.inf
    MyUserControlSetup.msi
    setup.exe
    Using makecab /f MyUserControlSetup.ddf /v3 I saw that the output was being written to 3 'disk' files but only one was present in explorer after it finished.
    So I guessed that the output was for floppy disks and changed MyUserControlSetup.ddf to contain
    .Set MaxDiskSize=CDROM
    .Set DiskDirectoryTemplate=cab
    .Set CabinetNameTemplate=DocEditor.cab
    MyUserControlSetup.inf
    MyUserControlSetup.msi
    setup.exe
    PeaZip now indicated that the cab file contained the 3 files I expected and using that cab in the codebase attribute installed my ActiveX control

  • Importan Topic. Bigger File Dowload/Upload with resume feature

    Hi All
    How do I download/upload bigger files(like 10 GB) using servlet. For example if I try upload 10 GB file and if I got disconnected around 1GB, I would like to know how do I resume the upload from where I got disconnected. Is anybody got sample code for upload/dowload with Resume feature.
    Thanks
    Dhamo

    Where do you want to upload it to?
    A ftp server?
    http://www.javaworld.com/javaworld/jw-04-2003/jw-0404-ftp.html

Maybe you are looking for

  • 2012 imac led backlight up and down?

    I notice the backlighting on my brand new 2012 27" iMac goes up and down now and then, even when the screen is not changing... Why? Is this a flaw? Can it be controlled?

  • How to determine FPGA code size ?

    Hi! Designing my application, I would like to have an estimation of the memory space it will take into the FPGA ... Is that possible ?

  • Backward compatible fillable forms

    Hi, Testing the trial version of Acrobat 9 and when I use the Form Wizard to create a fillable form it appears it can only be opened using Acrobat Reader 9 as its an XML form. How can I make a form using the Form Wizard to create a form compatible wi

  • Problems with the shortcut keys... possible programming defect

    I have a white MacBook '09. All keys work except zero key. But, my shortcut functions don't work. I.e. command and c, to copy something. But the command and c work independently. Also, what's weird is that other short cut functions involving command

  • Library indirect jump bug?

    I wanted to get oratcl running and experienced "core dumps" all the time. A bit of investigation indicated that the small code snippets that essentially do jumps to the real code via jumptables (in the client object libraries) will be relocated with