WebDAV: Excel 2013 truncates the encoded URL at # (%23)

(originally posted in Open Spec forum, but was asked to repost here)
We encountered a problem  on our existing WebDAV server with Office 2013. When a file name contains a number sign (aka hash, aka pound sign), Excel truncates the URL at that sign. Note that the URL is properly encoded, i.e. "#" is replaced
with %23.
Word and Powerpoint behave properly and have no issues opening files via URLs containing %23. E.g, for the URL http://server/otcsdav/nodes/1500722/doc1%23end.docx, Word first calls OPTIONS on  otcsdav/nodes/1500722, then HEAD otcsdav/nodes/1500722/doc1%23end.docx,
then eventually a GET.  The file opens successfully as "doc1#end.docx", gets locked, edited, updated and unlocked.
Excel, however, truncates the URL (http://server/otcsdav/nodes/1500722/excel1%23end.xls), and sends HEAD for /otcsdav/nodes/1500722/excel1, which, of course, returns 404.
Funny enough, double-encoding (i.e. to %2523) seems to work for Excel, but breaks everything else. I.e, with url = "otcsdav/nodes/1500722/excel1%2523end.xls" Excel sends HEAD for "/otcsdav/nodes/1500722/excel1%23end.xls", while Word will
send HEAD for the URL verbatim, i.e. "/otcsdav/nodes/1500722/doc1%2523end.docx"
Does anyone know it it's an Excel bug? is there anything we can do to circumvent this?
P.S.1 Excel 2010 works just fine, the issue first appeared in Excel 2013.
P.S.2 I know that Sharepoint doesn't support "#" in filenames. Our server is NOT Sharepoint, and "#" doesn't seem to be disallowed in WebDAV protocol.

Hi Maria,
This forum is used to discuss questions about Excel for developers, most probably the issue is related to code.
According to your description, it seems the issue doesn't meet the topic. It might be related to how the server analysis the URL and find the corresponding file.
I have moved this thread to "Where is the forum for" forum.
Thanks for your understanding.
Regards,
George.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Excel 2013 Data From Web not working with SharePoint 2013?

    In Excel 2013, on the ribbon select the 'Data' tab and 'From Web' to import data from a web page. Navigate to a SharePoint 2013 site with a table on the home page and you will not see the table import arrow on the table. With SharePoint 2010 you would have.
    Any suggestions on a workaround/fix?
    One thing to note, in SharePoint 2013 be sure to disable the Minimum Download Strategy feature on the site or you will get script errors in the New Web Query dialog.
    Also, I realize this may belong in an Office/Excel forum so I have posted it there also.
    Thanks, Fintan

    Hi Fintan ,
    According to your description, my understanding is that the Excel table import arrow   disappears  in the  SharePoint 2013 page.
    For your issue , I can reproduce your scenario in my SharePoint 2013 environment. It should be caused by the Excel  Data connection from web page feature cannot identify the page layout  which is
    used by SharePoint 2013 . For a workaround, you export the HTML table using jQuery:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/30fc097f-256c-48d9-8b6c-cb821a504045/problem-while-exporting-html-table-to-excelcsv-in-sharepoint-2010?forum=sharepointgeneralprevious
    http://community.office365.com/en-us/b/office_365_community_blog/archive/2013/07/31/how-to-use-power-query-for-excel-to-query-a-sharepoint-2013-list-grid-user-post.aspx
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Excel 2013 hangs while trying to open a file from network share

    Hi,
    I am having issue opening excel file from a network share. it happens randomly, the file opens and hangs abruptly. Nothing happens after that ( we can only move the cursor), if we click on the excel sheet we get a beep sound. after i kill the excel process
    and open it again ,it works fine.
    Where did the member use the Excel file? Local disk, SharePoint, File server, or network shared disk?
           Network shared file and sometime locally
    Does the issue occur in the special file or every file?
          it happens randomly and the whole excel freezes. i have to kill the excel session.
    Which Office version is the file created? Excel 2013 or early? If it is XLS format, please try to convert to XLSX to test.
         Network file server has office 2010 and the user is trying to open it in excel 2013
      Does the file have some macros?
     Yes, they have macros in some files 
    Does the issue occur recently? If it is, have you installed some programs or update before you encountered it?
           it happened before too.
    Do you get some error message when Excel crashed?
    Yeah. Attaching the error message from event viewer. We get file corrupt errors and below too.
    Please suggest

    Hi Suren424,
    Since your first image showed that "To see if more information about the problem is available, check the problem history in the Action Center control panel." Please go to this path (Control Panel\All Control Panel Items\Action Center\Problem Reports)
    to check the detailed information, and you might upload the screenshot or info here.
    Then, please try the following methods and check if they are helpful:
    1. File --> Options --> Advanced --> uncheck "Ignore other applications that use Dynamic Data Exchange (DDE)"
    2. Turn off "Protected View"  --> (File –-> Options –-> Trust Center --> Protected View --> Uncheck all options
    3. I notice that >>Network file server has office 2010 and the user is trying to open it in excel 2013 <<, it also might be caused by the Microsoft Office File Validation for Office 2010, please try to change setting in server with
    the link:
    http://support.microsoft.com/kb/2501584
    If you have any update , please feel free let us know.
    Regards,
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • Excel 2013 crash - related to digital signature?

    This is a cross-posting of a thread originally started in Microsoft Answers (Office- Excel) forum, advised to post in this forum by MS support engineer Mohan Suryanarayan (link to other forum: here).
    I have a VB macro in file A (which otherwise contains only several Excel Tables with named ranges). My digital signature (for signing code) is attached to file A.
    As the macro executes, the Open file dialog is called up so that the User can select a secondary file to open (file B or C).
    Files B and C contain several sheets with formulas and Excel Tables, and also their own extensive VB macros. My digital signature is also attached to files B & C.
    The remainder of the macro in file A simply executes an update of the Excel Tables in the secondary file, before saving & closing it.
    I have been finding that during execution of the file A macro, Excel crashes and closes all open Excel files.
    If I remove the digital signature from the secondary files then the macro in file A executes with no problem.
    The macro was written in Excel 2007 and on a different laptop, with different digital signature, and used to have no problem at all. When a new laptop was purchased a new digital signature was obtained and placed into all of the files.
    Execution of file A is a critical process - I need help with stopping the crash, while maintaining a digital signature in the secondary files (so that their own macros can execute).
    Event Viewer error shows the following:
    Faulting application name: EXCEL.EXE, version: 15.0.4667.1000, time stamp: 0x543d366c
    Faulting module name: mso.dll, version: 0.0.0.0, time stamp: 0x5447696f
    Exception code: 0xc0000602
    Fault offset: 0x011aafdd
    Faulting process id: 0x2d58
    Faulting application start time: 0x01d01e17eafcd0bb
    Faulting application path: C:\Program Files\Microsoft Office 15\root\office15\EXCEL.EXE
    Faulting module path: C:\Program Files (x86)\Common Files\Microsoft Shared\Office15\mso.dll
    JL Latham replied:
    Tom, all I can give you is relatively non-information.  I haven't experienced that type of behavior even in Excel 2013 with digitally signed macros in multiple workbooks.  But my digital signature is a commercial one from DigiCert, not
    self-cert.  I'm not even sure what piece of Excel or Office processes the digital signature (that is, whether it is mso.dll or not).  But your whole process has more moving parts than most of mine involving multiple workbooks do - I quite often turn
    off .EnableEvents when doing things like that just so event driven macros in the other workbook(s) do not execute.
    Do the macros in the 'B files' have to execute during all of this processing in file A?  If not, have you tried turning interrupts off:
    Application.EnableEvents = False
    before starting to work with the B-files?  Maybe something in them, such as a Worksheet_Change() or other event triggered process is messing things up?
    If you do use  Application.EnableEvents=False, remember that you MUST re-enable that later in the code with Application.EnableEvents=True to get responses to things like button clicks, changes in a worksheet or other event driven processes
    to run 'normally' again.
    Have you looked at this discussion:
    http://answers.microsoft.com/en-us/office/forum/office_2013_release-excel/excel-2013-crashing-immediately-when-attempting-to/ea2ab100-5525-4a0d-a3cf-6977319f954f
    Sounds very similar to yours - original signature created in 2007, and crashing in 2013.  Some suggestions were made, but whether they fixed the issue or not is unknown: OP never came back and said "fixed it" or "didn't fix it".
    I replied:
    In answer, the secondary B files don't execute any part of their macros during the A file process, and I hadn't included an EnableEvents = False within the file A code. However, I have just tried it to check if it made any difference and unfortunately it didn't.
    I had read the thread you gave a link to before posting, and also the sub threads given within that one, but didn't see anything I thought of immediate parallel other than an Excel 2013 crash.
    The way I read the linked thread was that a User added a signature in Excel 2007 and when they tried to open the file Excel (2007?) crashes, although other people using Excel 2013 can open it (not clear whether it means others can open the one with
    the 2007 signature or without it).
    Anyway, the differences in my situation are that:
    (1) my B-files were originally created in Excel 2007 on a different laptop to current and had their own signature attached. I maintain a 'stock' of B-file versions, some of which have the old signature and some the new. If I run the A-file macro
    on one of the B-files with the old signature then it executes ok;
    (2) I am able to open the B-files ok, no matter whether the signature in them derives from the old laptop with Excel 2007 or the new laptop with Excel 2013;
    (3) the macros within the B-files execute ok (this includes any versions of the B-files which still have an old signature attached, by removing the old signature and replacing with the new and executing on the new laptop);
    (4) the offending operation which triggers the crash (when the B-files have the new signature attached) is a Resize of the Excel Tables within the B-file. I understand that I may eventually have to find a workaround for this operation but initially
    I want to sort out the signature issue (I'm reasonably sure the signature issue is not a red herring where the Resize is the 'real' problem).
    Regards, Tom

    Hi,
    According to your description, this issue occurred with some particular files that stored in SharePoint site. Did the user  download the file to local disk to print?
    Based on the event log >>Faulting module name: EXCEL.EXE<<, it does not show the root Faulting module. Thus, please try to follow this KB to do general troubleshooting:
    https://support.microsoft.com/en-us/kb/2758592
    Then, if you have used "printer status application", please go to Device settings -> Installable options -> Printer Status notification and select disable.
    If this issue still exists, we may need to collect the App crash dump file:
    https://technet.microsoft.com/en-us/sysinternals/dd996900.aspx
    You can try to analyze dump by yourself if you would like to:
    How to analyze app crash dump file:
    http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Cannot insert object error using Power View in Excel 2013

    I created a short table in Excel 2013, positioned the cursor in the table and clicked Inset/Power View Report. I get a status window saying Excel is opening a Power View sheet but then I get a Power View error: Cannot Insert Object. I am able to insert new
    tabs in the workbook. When I try the insert again, I just get the Power View error. I looked at other threads with similar issues and did the following:
    Made the Formula bar visible - no change
    Tried to repair Office 2013 but that option is not available when I right click on the program in the Control Panel
    De-installed Silverlight - Tried to insert Power View Report. A Power View tab was created with the Power View picture and Power View ribbon. Got the message to install Silverlight and Reload. Installed Silverlight hit Reload and the Power View tab didn't
    change. Hit Power View Report and got the Cannot Insert Object error message again.
    Any help is appreciated.

    Hi,
    Did you use PowerView first time? I notice you had found a similar thread and tested the solutions.
    PowerView is an add-in in Excel2013, We must make sure that you check some option in the trust center and Add-in center.
    http://blogs.office.com/b/microsoft-excel/archive/2012/10/04/intro-to-power-view-for-excel-2013.aspx
    Location1: Excel Options>Add-in>Solver Add-in enable
    Location2: Excel Options> Trust Center> Add-in
    Then you said that you couldn’t repair the Excel 2013, please refer to the following link:
    http://office.microsoft.com/en-gb/outlook-help/repair-office-programs-HA010357402.aspx
    At last, we may test it in clean boot, please refer to the following link:
    http://support.microsoft.com/kb/929135
    Regards,
    George Zhao
    TechNet Community Support

  • Converting fromula in pivot tables in EXcel 2013

    I'm looking to convert to Formulas in Excel 2013. The Help function says that the functionality resides in the pivot table tools-> Analyze->in the Calculations group> click OLAP tools > click convert to formula
    This is grayed out in my worksheet and I am clicking on a cell within the Pivot table
    The pivot table source is an other excel worksheet in the same workbook that is not OLAP data (I don't even really know what that is)
    Is there something i need to do to ungray the OLAP tools icon? Or is this no longer possible. This functionality in 2007 was not tied to OLAP tools
    Thanks

    Hi,
    As far as I know, only the Online Analytical Processing (OLAP) PivotTable report by using converting formula.
    The data source must be imported from "Data tab>From other source>From Analysis Services" and then we could use the converting formula.
    http://office.microsoft.com/en-us/excel-help/convert-pivottable-cells-to-worksheet-formulas-HA010096303.aspx
    Regards,
    George Zhao
    TechNet Community Support

  • Help, PowerPivot in Excel 2013 is missing

    hi
    I recently change excel 2013 preview to excel profesional 2013 but PowerPivot is missing, what do I have to do, It`s not in the COM add-ins list, I tried too many ways, somebody can help me.

    Check this out - :(
    http://www.powerpivotpro.com/2013/02/hey-who-moved-my-powerpivot-2013-cheese/
    Update
    Find below the excerpt from MSFT employee
    "Hi all,
    We understand that this puts those of you who have less than ProPlus in a bad position where your previous Excel 2010 workbooks are concerned. You can't use them in Excel 2013 without updating the data model, and you can't update the data model without the
    add-in. If you know someone with ProPlus or an Enterprise SKU, you can always ask them to update the workbook and save it in 2013. From there, you should be able to use it.
    For basic PowerPivot functionality, you don't need the add-in. So you can also recreate your PivotTables in Excel 2013 using the new data model. The key is to select "Add this data to the data model" when you create the pivottable from one of your
    data sources. Then you can import other tables, and use the "All" tab on the field list to add the other information. On either the Data tab or the PivotTable tools Analyze tab, you can create the relationships you need.
    Hope this helps!
    Anita"
    Cheers,
    Jason | www.SqlJason.com
    P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)

  • Excel 2013 ExtensionHardening

    In Excel 2013 when exporting data to Excel from Microsoft Dynamics CRM I get the error:
    "The file format and extension of "FILENAME.xls" don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open the file"
    I got the same error when I had Excel 2010 but was able to find a registry key workaround that make the error go away. Now that I've upgraded to 2013 the error is back. The same registry keys don't look like they exist for 2013 and I've not been able to
    find anything online for a fix. Any advice?
    Here is the fix for Office 2010:
    Key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Excel\Security
    Value: (DWORD)"ExtensionHardening"
    = [0 = Disable check; 1 = Enable check and prompt; 2 = Enable check, no prompt deny open]
    Default setting if value not present is 1 (enable and prompt).

    Hi,
    I just tested in Excel 2013, and the same registry key works, though it isn't there by default. You may not remember this, but you had to create it for earlier versions as well. just create it:
    1. Go to
    HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Excel\Security
    2. Edit --> New --> DWord value
    3. Name it ExtensionHardening. It will be on 0 by default.
    The file has to have an XLS extension, the key won't work for XLSX and the file wouldn't open using it.
    Hope this helps,
    Anita

  • Excel 2013 Object Model - Conditional Formatting

    1) I'd like to understand the new Excel object model more thoroughly. Can anyone suggest a book?
    2) Are the formulas and/or format settings for conditional formatted cells stored in the object model or in the workbook?  I'm guessing the workbook.
    Thanks.
    Ross

    1) The object model for Excel 2013 is the same as that for earlier versions, with a few additions and omissions.
    See http://spreadsheetpage.com/index.php/books for lots of books about Excel, including programming.
    2) Conditional formatting is stored in the workbook, but you can manipulate it with VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Excel 2013 create 0 bytes files

    Hi,
    when I create a new file xlsx from right click->new - > spreadsheet Excel, it create me a file that cannot be opened with Excel 2013.
    The error that excel return me is: "Excel cannot open the file 'filename.xlsx' because the file format or file extension is not valid. Verify that the file has not been
    corrupted and that the file extension matches the format of the file."
    If I see the properties of this file it's 0 bytes.
    The problem return me after that I've make a windows update of the pc.
    The software installed is windows 7 and Office Professional Plus 2013.
    Thanks in advance

    If I do a repair of Excel 2013 yes it's work normally, this issue after the repair doesn't occur again.
    I've not installed any third-party programs.
    This is the list of the update that I've installed recently:
    http://support.microsoft.com/?kbid=2894844 Security
    Update KB2894844
    3/16/2015
    http://support.microsoft.com/?kbid=2918614 Security
    Update KB2918614
    3/16/2015
    http://support.microsoft.com/?kbid=2937610 Security
    Update KB2937610
    3/16/2015
    http://support.microsoft.com/?kbid=2943357 Security
    Update KB2943357
    3/16/2015
    http://support.microsoft.com/?kbid=2952664 Update
    KB2952664 3/16/2015
    http://support.microsoft.com/?kbid=2961072 Security
    Update KB2961072
    3/16/2015
    http://support.microsoft.com/?kbid=2966583 Update
    KB2966583 3/16/2015
    http://support.microsoft.com/?kbid=2968294 Security
    Update KB2968294
    3/16/2015
    http://support.microsoft.com/?kbid=2970228 Update
    KB2970228 3/16/2015
    http://support.microsoft.com/?kbid=2971850 Security
    Update KB2971850
    3/16/2015
    http://support.microsoft.com/?kbid=2972100 Security
    Update KB2972100
    3/16/2015
    http://support.microsoft.com/?kbid=2972211 Security
    Update KB2972211
    3/16/2015
    http://support.microsoft.com/?kbid=2972280 Security
    Update KB2972280
    3/16/2015
    http://support.microsoft.com/?kbid=2973112 Security
    Update KB2973112
    3/16/2015
    http://support.microsoft.com/?kbid=2973201 Security
    Update KB2973201
    3/16/2015
    http://support.microsoft.com/?kbid=2973351 Security
    Update KB2973351
    3/16/2015
    http://support.microsoft.com/?kbid=2976897 Security
    Update KB2976897
    3/16/2015
    http://support.microsoft.com/?kbid=2977292 Security
    Update KB2977292
    3/16/2015
    http://support.microsoft.com/?kbid=2978668 Security
    Update KB2978668
    3/16/2015
    http://support.microsoft.com/?kbid=2978742 Security
    Update KB2978742
    3/16/2015
    http://support.microsoft.com/?kbid=2979570 Security
    Update KB2979570
    3/16/2015
    http://support.microsoft.com/?kbid=2984972 Security
    Update KB2984972
    3/16/2015
    http://support.microsoft.com/?kbid=2984976 Security
    Update KB2984976
    3/16/2015
    http://support.microsoft.com/?kbid=2984981 Security
    Update KB2984981
    3/16/2015
    http://support.microsoft.com/?kbid=2985461 Update
    KB2985461 3/16/2015
    http://support.microsoft.com/?kbid=2993651 Update
    KB2993651 3/16/2015
    http://support.microsoft.com/?kbid=2994023 Update
    KB2994023 3/16/2015
    http://support.microsoft.com/?kbid=3000483 Security
    Update KB3000483
    3/16/2015
    http://support.microsoft.com/?kbid=3004361 Security
    Update KB3004361
    3/16/2015
    http://support.microsoft.com/?kbid=3004375 Security
    Update KB3004375
    3/16/2015
    http://support.microsoft.com/?kbid=3006121 Update
    KB3006121 3/16/2015
    http://support.microsoft.com/?kbid=3006137 Hotfix
    KB3006137 3/16/2015
    http://support.microsoft.com/?kbid=3006625 Update
    KB3006625 3/16/2015
    http://support.microsoft.com/?kbid=3008627 Update
    KB3008627 3/16/2015
    http://support.microsoft.com/?kbid=3013410 Update
    KB3013410 3/16/2015
    http://support.microsoft.com/?kbid=3014406 Update
    KB3014406 3/16/2015
    http://support.microsoft.com/?kbid=3019215 Security
    Update KB3019215
    3/16/2015
    http://support.microsoft.com/?kbid=3020338 Update
    KB3020338 3/16/2015
    http://support.microsoft.com/?kbid=3020388 Security
    Update KB3020388
    3/16/2015
    http://support.microsoft.com/?kbid=3020393 Security
    Update KB3020393
    3/16/2015
    http://support.microsoft.com/?kbid=3021674 Security
    Update KB3021674
    3/16/2015
    http://support.microsoft.com/?kbid=3021917 Update
    KB3021917 3/16/2015
    http://support.microsoft.com/?kbid=3022777 Security
    Update KB3022777
    3/16/2015
    http://support.microsoft.com/?kbid=3030377 Security
    Update KB3030377
    3/16/2015
    http://support.microsoft.com/?kbid=3031432 Security
    Update KB3031432
    3/16/2015
    http://support.microsoft.com/?kbid=3032323 Security
    Update KB3032323
    3/16/2015
    http://support.microsoft.com/?kbid=3032359 Security
    Update KB3032359
    3/16/2015
    http://support.microsoft.com/?kbid=3033889 Security
    Update KB3033889
    3/16/2015
    http://support.microsoft.com/?kbid=3033929 Security
    Update KB3033929
    3/16/2015
    http://support.microsoft.com/?kbid=3034344 Security
    Update KB3034344
    3/16/2015
    http://support.microsoft.com/?kbid=3035126 Security
    Update KB3035126
    3/16/2015
    http://support.microsoft.com/?kbid=3035131 Security
    Update KB3035131
    3/16/2015
    http://support.microsoft.com/?kbid=3035132 Security
    Update KB3035132
    3/16/2015
    http://support.microsoft.com/?kbid=3036493 Security
    Update KB3036493
    3/16/2015
    http://support.microsoft.com/?kbid=3039066 Security
    Update KB3039066
    3/16/2015
    http://support.microsoft.com/?kbid=3046049 Security
    Update KB3046049
    3/16/2015

  • How can I download MS Excel 2013 onto my iMac?

    I'm a college student taking a MS Excel 2013 Specialist class. I tried to download Excel 2013 from the MS 365 subscription that was provided with my workbook, but I have learned that I cannot download it onto my iMac.  For some reason it's not available for a Mac???  Is there a workaround for this?  I was told by a Microsoft technician that if I had a Windows License I could then "boot the computer to bootcamp to use the Windows environment ."  Is that possible?  If so, will it hurt or be detrimental in any way to my iMac?

    1. Excel 2013 is a Windows product. You may be able to use Excel 2011 instead.
    2. Yes, that's possible.
    3. Setting Boot Camp up will require partitioning the internal drive. Back your computer up first.
    (114384)

  • A wierd problem while encoding URLs

    Hi all,
    I'm facing a wierd problem with the java.net.URLEncoder class. The encode function in this class is used for encoding URL based on standards like "UTF-8" etc..
    I need to encode the URLs, because i have to send this information in a XML to another server.. Here's what the URLEncoder is doing if i give it the URL
    http://mydomain.com:80/myServlet?_fileName=filename.mp3&_useStreaming=true
    its encoding this as
    http%3A%2F%2Fmydomain.com%3A80%2FmyServlet%3F_fileName%3Dfilename.mp3%26_useStreaming%3Dtrue
    but, all I wanted is to encode only '&' character ( as XML misinterprets this character with schemes ).
    So, my question is .. is there any way that i can selectively encode the characters in the URL?
    Any help wud be appriciated in this regard. :-)

    I accept what you are saying.. URLEncoder encodes any string that's passed to it..
    I infact have two different problems in hand.. The reason i mentioned only one above is because the solution to the first problem cud as well solve the second.. Anyway, here's the second problem ...
    I'm recieving an XML from a server, where i get the URL info and i have to download the CONTENT from that URL.. Sample xml is given below
    <Music>
    <Singer>Tata Young</Singer>
    <contentURL>http://myMusic.com/sexy naughty.mp3</contentURL>
    </Music>
    if you see the URL in the xml, that infact contains spaces in it.. I have my logic which checks if the given URL is a absolute URL or relative URL
    if( relative URL)
    I append "http://domain name:" stuff to make it absolute
    else
    i connect to the URL directly to get the Content
    I'm using
    URI i = new URI(str);
    i.isAbsolute() method to determine whether its a absolute URL or not..
    but this method doesn't seem to work for URLs that have spaces in them.. So, i encoded the URL and tried passing it to the method.. but it still doesn't work..
    I probed into URI class itself and found out to my amazement that URI class assumes that URL contains only alpha numeric characters and few special characters like '+' , '/' , ':' etc..
    Since the encoded URL has '%' character in it.. its not able to say that its a absolute URL.. Tht's the reason I asked for selective encoding.. ( say, which encodes only [space] character)..

  • Selection.PasteSpecial Paste:=-4163, Operation:=-4142, SkipBlanks:=False, Transpose:=False for Excel 2013

    I use the above statement to paste from one excel file to another in Access application.
    It works for machine installed with Excel 2007 and Excel 2010 but not for Excel 2013.
    The error message is "Error Number 9, Subscript out of range".
    Kindly advise. 
    Thank you.
    TS Lim

    Hi,
    For the error message:
    << Error Number 9, Subscript out of range
    About this error, it often implies that you are trying to refer to an object that doesn’t exist. Usually it caused by name which is not existing in the workbook. You can get more detailed information about this error in the following link.
    https://msdn.microsoft.com/en-us/library/aa264519(v=vs.60).aspx
    Have you checked the sheet name in you code, does it match the name in your workbook? If it still doesn’t help, can you share the sheet or post your code for us to reproduce this issue if it is convenient?
    Best Regards
    Lan
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Xi Pro wont convert all sheets of an Excel 2013 to pdf

    When using the "combine files in Acrobat" only sheet #1 of the spread sheet is converted.  However, this only happens on our machine that has Excel 2013.  The same documents are converted flawlessly when the feature is used on a machine that has Excel 2010.

    Hi,
    Kindly post your query in Adobe Acrobat forum:Acrobat
    Regards,
    Florence

  • Activeworkbook keeps changing in Excel 2013

    In my Excel
    vsto in 2013, I am finding that the vsto code is not sure what the active
    workbook is if the vsto code opens a new workbook. Everything works fine
    in Excel 2010 and 2007 however.
    It seems that
    in Excel 2013 globals.thisaddin.application.activeworkbook is specific to the
    class/module that the code is currently in.
    For example:
    I am in
    Workbook1 and I select a button that starts my code:
    In Sub1 I
    call another subroutine, Sub2 which is in another class object 
    In Sub2 I
    open a new workbook: workbook2
    At this point
    the Watch shows that globals.thisaddin.application.activeworkbook.name is the
    same as the workbook I have just opened: workbook2. This is correct
    When sub2
    finishes, control passes back to Sub1, now the globals.thisaddin.application.activeworkbook.name
    is now back to displaying workbook1 - although I have done nothing to change
    the activeworkbook
    Because the
    rest of the code in Sub1 should apply to the activeworkbook, in Excel 2013
    it updates workbook1 whereas in Excel 2010 and 2007 it updates workbook2.
    Currently my fix is to check I am in the workbook I think I am before I can do anything.
    Public Sub ActivateWorkbook(ByVal strName As String)
    For Each wkbk As Excel.Workbook In app.Workbooks
    If wkbk.Name.ToUpper = strName.ToUpper Then
    wkbk.Activate()
    Exit For
    End If
    Next
    End Sub
    For example when
    I use wks.select  I now have to first check whether the activeworkbook is
    the parent object of wks.
    Am I doing something wrong or will I have to rewrite my vsto for Excel 2013, ensuring the
    activeworkbook is always set back to the one I thought it was?

    Just to clarify, as I initially misread your response, you have quoted an extract from my question, rather than make the assertion that  "the
    activeworkbook is specific to the class/module"
    By control passing back I mean that  part way through the code in Sub1 there is a line call Sub2 and when Sub2 finishes  the rest of the code in Sub1, below the call Sub2 line, is executed.
    At the end of Sub2 I have a line:
    System.diagnostics.debug.print  g(lobals.thisaddin.application.activeworkbook.name) 
    and this returns Book2
    But the first line of code in Sub1, below the call Sub2 is also System.diagnostics.debug.print  (globals.thisaddin.application.activeworkbook.name)  
    and this returns Book1
    So the activeworkbook appears to be different in different subs which are in different classes
    Unfortunately if I create a simple vsto application level addin and try to create an example by having code that opens a new workbook, I cannot recreate the issue as the activeworkbook behaves as expected, so there must be something I do in my main
    vsto that causes this issue
    My Excel vsto in which I get this issue is over 100,000 lines of code and I can't really upload the full application.
    I will try to work on my example vsto to see if I can recreate the circumstances that switches the Globals.thisaddin.application.activeworkbook as the running code moves between classes/modules.

Maybe you are looking for

  • Installing Leopard 10.5.6 in a MAC PRO

    Hello, I hae an issue installin this new Leopard 10.5.6 into my Mac Pro, everytime I insert the CD so i can install it I start getting a bunch of lines and color all over the screens and right after that it freezes, now im installing it in a brand ne

  • Unable to verify Digital Signature in workspace

    Hi All, I m trying to use VerifyPDFSignature DSC from Digital Signitures. The process works fine when i invoke it from the workbench but i am unable to get it working from the workspace. So i guess that must have something to do with the rendering se

  • Display problem in reports

    Hi, i am running TEST and development instance on same hardware(one server) OS is hp ux 11.11 EBS on TEST is 11.5.10.2 Database on test is 10.2.0.3 EBS on Development is 11.5.10 database on development is 9.2.0.5 i having trouble in viewing out put o

  • Some records not transfer from ODS to infocube

    Hello BW folks , We have an ODS which stores the various sales doc. types. We are transfering all the data from this ODS to infocube. We do not have any routine or filter conditions while loading data from ODS to infocube. In the update rules of info

  • My Video Quality worries me.

    Hello everyone pliz help me out I am trying to attain high quality video after exporting from adobe cs4 I record using a Sony fx1 hd bt recording in dv and capture to my pc with 1394 firewire on NTSC which gives me good quality bt when I am done I ex