Issue with Opening Sharepoint document using editDocumentWithProgID2

HI,
We have a scenario where we dynamically generate a excel(xls) document, save it to document library and open it in edit mode.
To open the document in edit mode, we are using 'editDocumentWithProgID2' javascript function. But we are facing an issue here.
For some documents it is opening up in edit mode but for some 'open-save' dialogue box is poping up.
PLease, let us know how can we solve this issue.

Anusha
You have mentioned in your post that your are opening document in Edit mode, but i doubt the above code open the doc in Read mode.Can you try the below code once.
Dim strDocScript As String = "return editDocumentWithProgID2('" + documentPath + "', '', 'SharePoint.OpenDocuments', '1','<Replace here with your siteUrl>', '0');"
lnkDocumentGen.Attributes.Add("onClick", strDocScript)
'1' means that the document is being opened in Edit mode and '0' means read mode.

Similar Messages

  • I have an issue with some PDF documents   some MS Office documents, notably MS Word when received in eMail as attachments not displaying on iPhones, iPad 2s

    Hi,
    I have an issue with some PDF documents & some MS Office documents, notably MS Word when received in eMail as attachments not displaying properly on iPhones, iPad 2s & new iPads?
    PDF docs - areas of the doc only show as grey splotches regardles of viewer
    MS Word Docs -
    inserted graphics don't display at all,
    tables & lists especially with borders are broken &
    tables & lists missing the borders &
    tables & lists missing the 1st 1-2 lines of the lists/tables.
    This is replicated on iPhone 4s, iPhone 4Ss, iPad 2s, iPad new (x2)
    It certainly happens in iOS 5.1.1 & iOS 5.1
    We believe it all worked aok in iOS 5.0.1(?) & prior
    There is no problems reading/seeing these PDF & Word docs on anything other than iDevices.
    This is rather critical for us & if not quickly fixed/rectified will prevent us from further purchases of these devices
    Rolling back to iOS 5.0.1 or prior I believe isn't possible because of the BaseBand update(?) & isn't much of an option because of the quite noticeable Battery/Charging/WiFi improvements in 5.1 & 5.1.1

    Hi,
    I logged a call with AppleCare & have since had explained why this occurs (some time ago)
    I'll try to explain what was indicated to me.
    iOS has a limited Font Set & this affects what PDFs can display. You need to use iOS supported fonts in your PDFs to see/read them properly  
    These supported fonts are indicated here => http://support.apple.com/kb/HT4980
    Regards MS office docs, iOS doesn't have much of an API to work with MS Office documents at all so is stuck with 3rd Party Apps to try to do it.
    Unfortunately Mail in/on iOS uses the API to attempt to open/use MS Office attachments unless you tell it to use an App to open the attachment.
    I have had success opening & reading MS office docs now with CloudOn, but find it slow & very awkward to use.
    Not too sure if this helps others, but at least it explains why this is occurring

  • Issue with Opening a PDF file

    We have just completed an upgrade of one of our servers executing Reporting Services.   The upgrade was from 2005 to 2008.
    After we have rendered a report and have it saved in PDF format, we start having issues.
    If we try to open the PDF by double clicking on the file name in Windows Explorer, Adobe Reader starts, but sits unresponsive and consumes an excessive amount of CPU cycles.    It never completes the open and we have to kill the Adobe Reader process in Task Manager.
    If we start Adobe Reader, and then use the Menu to do FIle -> Open, the PDF file opens immediately.
    We have attempted both methods using several different versions of Adobe Reader.    The issue occurs on all versions prior to 9.3.
    Since we are a service organization, we are unable to force our clients to upgrade to a more current version of Adobe Reader without providing assurances that this will correct this issue.
    Has anyone else seen this type of issue with opening PDF files rendered by Reporting Services?   And if so, what is the cause and how did you correct it?
    Thanks
    Steve

    Hi there,
    Please find attached a word document which contains the error that comes up when I try to open the PDF file. This PDF was e-mailed to me from one of the Safety companies that I receive e-mails from on a regular basis. I believe I am running Windows XP and the version of Adobe is Adobe Reader X. I hope this is enough info for you.
    Janice Nadeau
    [signatue deleted by host]

  • Error An unexpected error has occurred. Troubleshoot issues with Microsoft SharePoint Foundation. Correlation ID: 65ef1cb8-1cbf-40ee-b79b-05db15ca6dbb

    Hi, 
    Since I installed a few updates, that I can't access the sharepoint the same way. I always get errors when trying to access the majority of the pages.
    I already removed the update suggested on other threads (KB2844286), but everything remains the same.
    I always receive errors like this one:
    Error
    An unexpected error has occurred.
    Troubleshoot issues with Microsoft SharePoint Foundation.
    Correlation ID: 65ef1cb8-1cbf-40ee-b79b-05db15ca6dbb
    what can I do? The Sharepoint 2010 is located on a virtual partition of our server, running Windows Server 2008 Standard edition SP1.
    When I try to access administration tools it happens the same error, and I don't know what I can do more. 
    Please help me.
    best regards,
    Jorge Guimarães

    I followed some tips, to trace the error, allowing some trace debug, and got this:
    Server Error in '/' Application.
    Object reference not set to an instance of an object.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
    Source Error: 
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace: 
    [NullReferenceException: Object reference not set to an instance of an object.]
    Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_ApplicationProperties() +134
    Microsoft.Office.Server.Administration.UserProfileApplicationProxy.get_PartitionIDs() +44
    Microsoft.Office.Server.Administration.UserProfileApplicationProxy.IsAvailable(SPServiceContext serviceContext) +329
    Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalAvailable() +44
    Microsoft.Office.Server.WebControls.MyLinksRibbon.EnsureMySiteUrls() +60
    Microsoft.Office.Server.WebControls.MyLinksRibbon.get_PortalMySiteUrlAvailable() +15
    Microsoft.Office.Server.WebControls.MyLinksRibbon.OnLoad(EventArgs e) +91
    System.Web.UI.Control.LoadRecursive() +65
    System.Web.UI.Control.LoadRecursive() +190
    System.Web.UI.Control.LoadRecursive() +190
    System.Web.UI.Control.LoadRecursive() +190
    System.Web.UI.Control.LoadRecursive() +190
    System.Web.UI.Control.LoadRecursive() +190
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2427
    Version Information: Microsoft .NET Framework Version:2.0.50727.5477; ASP.NET Version:2.0.50727.5479

  • Strange issue with rights of account, used by SSIS (Foreach Loop Container does not return file names without Admin rights on server)

    Hello everyone.
    Faced very strange issue with account, which is used to run SSIS package.
    The specific package uses Foreach Loop Container to retrieve file names within the specified folder, and put them into Import file task.
    The package is set up to run under specific service account. This service account is given all permissions (Full control) to the folder where source files reside.
    So the issue is: SSIS package fails to execute this task (Foreach Loop Container and then Import), and shows that no files are found in the directory (although files ARE there).
    Once we're adding the service account into local Administrators group on the SQL Server, it works! Removing - does not work again. We cannot leave the service account as SQL server's admin as it's prohibited by our IT policies, and is just a bad practice.
    Any ideas, please? 
    MCP

    Here's the real log output:
    Date 16.04.2014 12:47:09
    Log Job History (RU-BW: Update)
    Step ID 1
    Server Server
    Job Name RU-BW: Update
    Step Name bw_import_cust_master_data
    Duration 00:00:02
    Sql Severity 0
    Sql Message ID 0
    Operator Emailed
    Operator Net sent
    Operator Paged
    Retries Attempted 0
    Message
    Executed as user: service_account Microsoft (R) SQL Server Execute Package Utility  Version 10.50.4286.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  12:47:09  Error: 2014-04-16 12:47:11.45
        Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid characters.  End Error  Error:
    2014-04-16 12:47:11.47     Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid characters.  End
    Error  Error: 2014-04-16 12:47:11.48     Code: 0xC0202070     Source: bw_import_cust_master_data Connection manager "Input"     Description: The file name property is not valid. The file name is a device or contains invalid
    characters.  End Error  Error: 2014-04-16 12:47:11.48     Code: 0xC020207E     Source: Import file Flat File Source [1]     Description: The file name is not valid. The file name is a device or contains invalid characters.
     End Error  Error: 2014-04-16 12:47:11.48     Code: 0xC004701A     Source: Import file SSIS.Pipeline     Description: component "Flat File Source" (1) failed the pre-execute phase and returned error code 0xC020207E.
     End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  12:47:09  Finished: 12:47:11  Elapsed:  2.324 seconds.  The package execution failed.  The step failed.
    MCP

  • Mac Pro 6,1 STILL having issues with Open CL (4K scaling and SpeedGrade direct link grades)

    I've seen the staff responses to the issues of the new Mac Pro GPU saying that 10.9.4 fixes everything. For me, it has fixed my export issues, so I'm glad. I'm no longer getting lines and artifacts on my renders.
    That's great.
    However, I'm still having several issues, and they seem to be linked to Adobe and Open CL.
    Here's a video that shows what's going on:
    mac pro issues july 7 - YouTube
    Issue #1
    Like most of you probably, I'm doing 1080p exports of most things I'm working on. The first project shows a 1080p timeline with a mix of 4k, 5k, and 720p footage. Because zooming in so much on a 720p file in a 4k timeline looks so crappy, I'm doing 1080p timelines and scaling everything to the size it needs to be. I started in a 4k timeline then switched to 1080p because the 720p footage looked so terrible. However, in the 4k timeline, I didn't have any of the issues I'm showing in this first part of the video.
    When I switched to the 1080p timeline, I discovered a weird quirk: When I resize the 4k (or 5k) footage to the size it needs to be (which varies based on the frame I want), it goes back to the 100% view when I'm scrubbing through it. When I pause, the size of the video goes back to the way I set it. I show this in the video. Then I show what was my working solution for the time being: "scale to frame size", which brings all the videos to the size of the sequence frame size and works fine. Later, I turn off OpenCL in premiere and when I scrub through the video, it doesn't zoom back in or only stay at the size I set when stopped. For some reason all of these issues only happen at 50% scale or smaller. It doesn't happen at, say, 60%.
    I've tested this with raw R3D files and other 4K (or 5K) clips (even clips exported from After Effects) and the same thing happens. It doesn't seem to happen with 2.5k footage or 1080p footage.
    Issue #2
    This is the second project you'll see in the video.
    After grading in speedgrade (through direct link) I open my project back up in premiere and start playing it back. The video plays back with delays and frame drops. Now normally, this would be expected. But this is 1080p pro res footage, and this is just an effect added, and the yellow bar appears indicating that open CL should be accelerating the playback and it should do so smoothly.
    Maybe I was just wrong in assuming that a simple grade from speedgrade would be able to playback smoothly. I turn off the grade, and it plays normally.
    But then, when I turn off open cl and leave the grade on, the video plays back without ANY issues.
    So to me, it seems I'm still having issues with Open CL and adobe. I've found fixes that make it work temporarily, I don't need that kind of answer. However, I would like this to work. Is there something I'm doing wrong? Something I need to do to get this to work?
    Here are my specs:
    Mac Pro 6,1 (Late 2013)
    3 GHz 8-Core Intel Xeon E5
    64 GB 1867 MHz DDR3 ECC
    AMD FirePro D700 6144 MB (x2)
    OSX 10.9.4
    Firmware: 2.20f18
    What you're seeing is latest version of Premiere (CC 2014, v8.0.0 [169] Build)
    Everything here is ProRes 422, running from a Promise Pegasus2 R4 RAID (drives: 4x Seagate Desktop HDD 4 TB SATA 6Gb/s NCQ 64MB Cache 3.5-Inch Internal Bare Drive ST4000DM000) (that's thunderbolt 2).
    I've done everything: I've restarted my computer hundreds of times, I've reset NVRAM and PRAM and done power cycles.
    This isn't just some issue that started with 10.9.3 of OSX, the 4k issues happened when I first switched to a 1080p sequence back in February (2014) or so, which means it was an issue even with 10.9.2 and the previous firmware release.
    I've reported this issue to adobe.

    That crash appears to be casued by the Facebook plug-in.
    Create a new account (systempreferences -> accounts or Users & Groups on 10.7 and 10.8), make a new Library in that account, import some shots  and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.

  • Issue with opening .PDF files after recalling from Symantec Enterprise Vault

    Good Morning,
    I am having issues with opening PDF files that have been recalled from Symantec Enterprise Vault and some of the files are anywhere from 3-4 years old.  Some files open, while others return the error: Adobe Reader could not open filename.pdf because it is not a supported file type or might have been damaged.  It is inconsistent as to which files it occurs with.  I am not ready to believe that I have that many corrupt files out there.  I am opening them on a Windows 7 Enterprise SP1 x64 desktop. Adobe 10.1.7. I have already configured the registry setting for bValidateBytesBeforeHeader that I found in another article to no avail.
    The files are on a network share, but I also tried copying them to my local desktop and still received the error.
    I have seen other posts regarding this error, but do not see a definitive solution and am hoping that in recent days someone has come up with a solution.
    Thank You
    Brian Dougherty

    Not supported file type can (but not always) mean the PDF was created with an old enough version of Acrobat, that it isn't comaptible with reader X or XI.
    Might have been damaged is pretty cut and dried in its meaning and interpretation.
    There's a known issue with Mac OS and Safari Browser "breaking" PDFs as they download, but it's not so common for Windows. Since these are files you already had, it would be even less applicable.
    You can try downloading an older version of Reader to check if it's a compatibility issue, but you'd have to uninstall the latest to do it and it'd be a lot of bother if they still don't open. It would also mean they are "broken" and cannot be repaired, that I know of.

  • Problem with opening odf document

    Hello,
    I have some problem with opening pdf document (attached image). Any idea why ?
    Regards,

    Any idea why ?

  • Issue with Open Enrolment Link in ESS - Benefits

    Hi Experts,
    We are facing two issues with open Enrolment Link in ESS for benefits, Need your help in resolving this. Please find the details below :
    1.       Benefits cost is not appearing in open enrolment Screen
    Details : Monthly Contribution cost is not appearing against the Benefits Plan for which employees are already enrolled in Open Enrolment Screen, Because of this employees are not able see previous contribution before deciding on contribution amount for next Financial Year.
    2.       URL for Benefits plan Gets disappeared in Open enrolment Screen
    Details : When Contribution is removed for any Benefits Plan the corresponding URL link disappears, But this comes up when the page is refreshed.
    Could you please let us know if this is related to missing configuration or Java webdynpro code.
    Our Live system is ECC6.0 SP level A4 , Please let me know if you need more details.Looking forward for your response.
    Regards,
    Shilpa

    In regards to your first question, it could be a date issue for the infotype record.  If the records for open enrollment are set to be effective for a future date, and the current record is delimited, then you won't see it in the open enrollment screen. This is true for benefits like a flex account because they have to be re-elected every plan year.
    Let's say that any elections made in the current open enrollment period you are in take effect June 1, 2014.  If the current record has an end date before June 1, then in the enrollment screen the employee will not see the current record because SAP is looking at June 1.
    Take a look at the employee's record and at the benefit you want them to see and see what the end date is for the most recent record.

  • I have some issue with my bluetooth im using an iphone 5 its just keep on searching bluetooth devices it cannot detect other bluetooth device, any solutions to my problem?

    I have some issue with my bluetooth im using an iphone 5 its just keep on searching bluetooth devices it cannot detect other bluetooth device, any solutions to my problem?

    Hi miffyzoo,
    If you are having bluetooth pairing issues with your iPhone and your Mac, you may find the troubleshooting steps outlined in the following article helpful:
    iOS: Troubleshooting Bluetooth connections
    http://support.apple.com/kb/TS4562
    Regards,
    - Brenden

  • Issue with Opening Files using Multiple Actions

    I've noticed a strange issue when I attempt to use multiple actions in my Captivate 4 project.
    I have a button that does two things: open an HTML file in another window and make another button visible. Of course, for the Open URL or File action, I'm entering the name of the HTML file and select New from the drop-down list so it opens in a new window.
    Captivate doesn't seem to store that setting. When I click OK for that dialog box and then OK for the button dialog box, it reverts back to Current.
    Is this a bug or am I doing something wrong?
    Here I am, setting the property...
    ...and here's me checking Captivate 4 to see if the setting "stuck" and seeing that it didn't:

    Hi there
    I've recently encountered that behavior myself. I found it was a lot more reliable to avoid using the Multiple Actions for the Button click. Instead, configure an Advanced Action to do the work and you should have better results.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Indesign CC crashing while opening a document - using a exteral font program

    After a few days of terror and trying to find out why my Indesign crashed everytime i try to open a document i got pretty desperate.
    Reading forums and found a lot of people with this kind of issue i found out it had something to do with the font i used in that document.
    I found out Indesign CC keeps all fonts that you open before in the dropdownlist, even that font is deactivated. So when you open the document your indesign start to look for that font, also typekit does, and that's where the problem was...
    After trying a few things i found out, if you know what font u use in that document and you activate that font in your extern fontprogram (i use Universal type client),
    Open than Indesign, the document opens, if you want to open the font when Indesign is open it just crash.
    Just wanted to share this, hope it helps some people

    Check for Third Party plugins. Make sure that you only have plugins that come with InDesign application. Remove custom/sample plugins and try again.
    If the above doesn't work, delete InDesign preferences (at C:\Documents and Settings\...\Application Data\Adobe\InDesign).
    Regards,
    Narayan

  • Issue with opening pdf file from web browser

    I have Acrobat Pro ver 6 and Adobe Reader 9.1 on a computer.  when my user tries to open up a pdf from the web he is getting the following error message:
    "The Adobe Acrobat/Reader that is running can not be used to view PDF files in a WEb Browser.  Adbe Acrobat/Reader version 8 or 9 is required.  Please exit and try again."
    What also happens is that Acrobat Pro ver 6 opens up and nothing is there.
    I am not sure why he is getting that message since Reader 9.1 is installed.
    Can any one shed some light on this for me.
    This user needs to have Acrobat and Reader on his system.  I understand that there are issues with having both.
    Also he has it set up so that any PDF is opening using the Reader 9.1.
    Thanks,

    Your PC's default reader configuration for embedded PDFs has become confused, due to multiple Adobe PDF document solutions installed on one PC.
    Solution 1:
    Go to Start > Run
    Type regedit and click OK.
    Browse to the following key: HKEY_CLASSES_ROOT\Software\Adobe\Acrobat\Exe
    Make sure that the correct Default data value is set for the path where Adobe Reader or Acrobat are installed.
    The default installation values are:
    "C:\Program Files\Adobe\Reader 9.0\Reader\AcroRd32.exe"
    or
    "C:\Program Files\adobe\acrobat 6.0\acrobat\Acrobat.exe" (not sure about this path.  Check on your PC to be sure)
    depending on whether Adobe Reader or Adobe Acrobat is installed.
    Solution 2:
    Configure the browser to use Acrobat or Adobe Reader as a helper application.
    If you are using Firefox to browse the web, you can change this setting in Firefox by going to:
    Tools > Options
    Click on the "Applications" Tab.
    The first item in the list should be "Adobe Acrobat Document".  Under the Action list, click the drop down arrow and select the application you want to read PDFs within the web browser.  Click OK, and you should be done.
    If you're using Internet Explorer to view PDFs, try the below steps.
    After you configure Acrobat or Adobe Reader as a helper application, the browser starts the helper application in a separate window and displays PDF files within that window. Acrobat and Adobe Reader both include a preference that lets you specify Acrobat or Adobe Reader as the helper application.
    To configure Acrobat or Adobe Reader as a helper application:
    Start Acrobat or Adobe Reader.
    Choose Edit > Preferences.
    Select Internet on the left.
    Deselect Display PDF In Browser Using [Acrobat application], and then click OK.
    Quit Acrobat or Adobe Reader.
    The next time you select a link to a PDF file in the browser, a dialog box asks what you would like to do with the file. If you select Open It, the browser opens the PDF file in Acrobat or Adobe Reader (the helper application); if you select Save It To Disk, the browser saves the PDF file to your hard drive.

  • Minor issue with open parameters upon initial PDF load

    Hello, everyone.
    I am experiencing an odd issue with using open parameters to view a PDF in a browser window.
    We are using ColdFusion Server 9.0.1 (soon to upgrade to 10) and the Solr Collection Server that is bundled with it.  The server is updating the collections on a daily basis via Scheduled Tasks.
    When a user (okay.. it's me.. still in testing mode) uses the form to search the collection of PDFs for a specific keyword (let's use "petroleum"), the collections indicate that there are about 31 PDF files that contain the word "petroleum".  Most of them (when opened via "http://domain.com/pdf_file_a.pdf#search="petroleum"&zoom=100") will highlight the word "petroleum" in the document, every time.
    However, there are some PDFs that when opened will indicate that there are ZERO instances of "petroleum" in the document.  But if you refresh the browser, it suddenly finds three instances that it didn't see the first time.
    Is this a bug?  Has anyone else experienced this issue?  Is there a fix or work-around for it?
    Thank you,
    ^_^

    Anyone?

  • Issue with opening and closing 13 inch MBP

    I recently received a 13 inch 8gb memory Macbook pro for educational purposes. Although I believe it is overall a great product, I have noticed an issue pertaining to opening and closing the device. Occasionally when I attempt to open the device, I notice that the black mechanism which attaches the display and keyboard together fails, or locks up in an unusual manner which prevents me from opening the device fully. This causes me to have to close the device, and open it once more. Although it doesn't appear to be a huge issue, I was wondering if this should be something of concern, or something that is common and is nothing to be worried about.

    Although this isn't something that I've personally seen before, I probably wouldn't be too concerned if it doesn't look like anything is actually broken - assuming that it didn't cause issues with using the device, that is.
    What might be a good idea, though, is if you have a few minutes and have an ARS nearby, is to make a Genius Bar appointment and let Apple take a quick look at it. It looks like some piece of mind is all you want, and given the scenario, having someone physically able to see/feel the issue is probably your best bet. The appointments are 15 minutes, and free of charge. You can make an appointment here.
    Regards,
    Gnomish8

Maybe you are looking for

  • Using AX as wireless router, how to set up w/ security and airtunes on XP

    I previously had a Linksys wireless router. I just purchased an Airport express to use as the wireless router (and remove the Linksys router) as well as use the Airtunes functionality. After some trial and error, I have been able to wireless connect

  • Music library not displayed after iOS 6.0.1 update

    Okay so I updated to iOS 6.0.1 when it came out. Everything went smoothly however just a few days ago I thought I'd listen to some music. I opened up my music app and found that instead of my regular library of 3,000+ songs I had only 74. Before upda

  • External hard drive not recognized in imovie 09 - ! - in a yellow triangle

    i'm new to imovie and want to save space on my hard drive by saving files in an external drive - i'm only able to import to the computer hard drive... not to the external hard drive. - i can archive video files from the cam to the my external hard dr

  • How can I force the unlock of one  locked resource?

    I have locked a resource, how can I unlock the resource? I try to call unlock function but I receive an error (ORA-31108) Is there a way to force the unlock of a resource locked by other user? thanks

  • 2.0 Firmware Update Problem

    I downloaded the 2.0 Firmware and began the installation, but somehow during the process my network was momentarily disconnected (brief Wi-Fi snafu, happens occasionally). Now though, my phone is completely blank, and iTunes keeps giving me this aler