Having trouble opening Crystal Report files from a document library
I am trying to open Crystal Report .rpt files from a document library in either the native, client Crystal Reports software or in Crystal Reports Viewer. When I add the Crystal Report files to a document library and attempt to open them SharePoint displays
a prompt asking me to save the file locally instead of opening the file. I have done a lot of research online and found several sites discussing similar scenarios, however, I have not been able to get these solutions to work. Here is a short list of sites
I have referenced for possible solutions:
http://naadydev.blogspot.com/2013/03/crystal-report-viewer-sharepoint-2010.html?showComment=1383339860122
http://social.technet.microsoft.com/Forums/sharepoint/en-US/52aabf2d-10dc-424c-bd50-124fc972a9b9/crystal-report-viewer-integration-with-sharepoint-2010?forum=sharepointgeneralprevious
http://www.codeproject.com/Articles/42731/Crystal-Reports-WebPart-for-SharePoint
Here are the steps I have done to try to get the .rpt files to open:
Added the Crystal Report extension .rpt as a MIME type
Installed the Visual Studio 2012 Crystal Reports Viewer toolbar
Installed the 64-bit Crystal Reports runtime
I have also created a solution file based off the Code Project site which partially works, but not quite right. In this project I have created a document library called "Crystal Reports rpt Files" and deployed the solution file to a site. When
I open the Web Part Maintenance Toolbar I can see the selected .rpt file in the drop-down, but no Crystal Report file is displayed on the page itself.
I am not sure what I am doing wrong. Does anyone have experience working with Crystal Reports and SharePoint 2013 (or earlier versions) that could lend some advice?
Thank you,
Alex
We are having the exact same issue, has anyone resolved this yet?
Similar Messages
-
I am having trouble opening .nef raw files from a nikon d800 in elements 9.
I am having trouble opening .nef raw files from a nikon d800 in elements 9.
I have tried to update ACR to the latest version but can not tell if this has been successful
I just get the message "wrong type of file"For the D800 you have two alternatives:
(1) Upgrade to PSE 11. (2) Download and install the free Adobe DNG converter to convert your raw files to the Adobe universal Raw format and the files will open in all versions of PSE (keep your originals as backups and for use in the camera manufactures software)
Windows download click here DNG Converter 7.3
Mac download click here DNG Converter 7.3
You can convert a whole folder of raw images in one click. See this quick video tutorial:
You Tube click here for DNG Converter tutorial -
An user as part of the domain users tries to open an office file from a document library but he got an authentication prompt asking him to authenticate. Domain users has only access to this library and not to the whole site. This uses to work in SharePoint
2007 without any problem but not in SharePoint 2013, we didn't have a workflow on SP2007.
Domain users has read access to only this document library in the site, but he shouldn't get an authentication prompt since he is part of the domain users and he is not trying to modify the document, he can open the document but gets two prompts, he can't
also see the list using explorer view since nothings appears using the explorer view.
Now, when opening the file, we can see..Updating Workflow Status, but we don't have any workflow working on this site or library, event any feature related to workflow.
If we go to the event viewer in the server, we find this information,
I also checked this thread but I couldn't find this scenario.
https://social.technet.microsoft.com/Forums/sharepoint/en-US/91bc770b-bb70-4885-a4ad-a243edb88753/event-id-8026-workflow-soap-getworkflowdataforitem-failed-doc-library-no-workflow?forum=sharepointgeneralprevious
I also created another list with the same permissions and using other office files but got the same behavior.
Now, we have migrated this site from SP2007 to SP2013.
Any ideas?OK, I am going to throw out a lot of ideas here so hopefully they get you closer to a diagnosis. Hang on :)
Does it happen to work for some users but not others? If so, try logging in on the "good" computer with the "bad" username. This will tell you if the problem is related to the end-user's system. Also, once the user downloads a document
successfully can they open and work on it in Word? Also, does the document library have any custom content types associated with it or does it just use 'Document'?
I notice that there are other folks on the web that have run into this same problem and the similarity seems to be that they are either on SharePoint 2007 or have upgraded from 2007. Did this doc library start out as a 2007 library?
What you might want to do is this: Make a site collection from scratch in 2013 (or find one that you know was created in 2013). Choose team site (or whatever you want) for the root web and set up the security the same way you have it on the malfunctioning
library. Now, use windows explorer to copy and paste some of the documents to the new location. Be sure you recreate any needed content types. Now test it from the troubled user's computer.
I'm thinking there may be something that is different about the library since it was migrated through various versions and updates since 2007. I've sometimes found that there can be problems (especially with user profiles but that's a different story) with
things that go through this evolution. -
HHi having trouble viewing a downloaded file from a site my iPad is telling me I don have a app to open file . And have downloaded loads of apps and still no joy . Have tried this on my android phone to and still nothing. Please can anyone help as slowly going crazy. Thanks tim
What type of file? From what site? What Apps have you downloaded for it?
Perhaps if you provide details of what you are doing we can provide more precise help. -
Please Help? Having trouble opening camera raw files. Already downloaded Camera Raw update. I have a pc.
If the camera is fairly new then the version of ACR you have with CS5 won't be able to read those file. You'll need to upgrade to a newer version of Photoshop or use Lightroom 5.
Once a new version of Photoshop comes out Adobe does not support updating ACR from the older version of PS. -
I'm having troubles converting my raw files from Nikon D5200 (NEF) to DNG. I tried using Lightroom 4, but it didn't identify the folder containing the files. So i downloaded the latest DNG converter but that too didn't identify the files kept in the folder location. So I downloaded DNG converter v7.3 for D5200. It identifies the folder and files; but it is giving me parsing error on trying to convert files. I'm running Windows Vista Home Edition SP1. Kindly advise. Thank you.
I probably missed this detail in what you’ve posted, but do you see the thumbnails of the three cameras’ raw files in Finder if you don’t convert to DNG?
What has happened in the past is that the Apple raw interpreter doesn’t read thumbnails of DNGs it doesn’t like, where at least one thing it didn’t used to like was embedded lens corrections for mirrorless cameras. Are the Olympus and Panasonic mirrorless—meaning there is no optical viewfinder and everything is seen on an LCD screen or perhaps an electronic view finder? If so the reason these are different is that the camera is doing the lens distortion corrections automatically and this information is stored in the raw files and in the DNGs but Apple doesn’t know how to use these embedded lens corrections or doesn’t know how to read the newer DNG spec that does allow for this information to be embedded in the DNG, at least.
Apple could just extract the embedded jpg preview and ignore the other parts of the file it doesn’t understand, but it apparently doesn’t do this.
What I’m not sure about is if the Apple raw interpreter still has this problem or if you’re on an older system without the latest updates for camera raw decoding by Apple. -
Download older version of a file from SharePoint Document Library using CSOM and 404 error
Hi,
I am trying to download previous versions including Major and Minor versions of documents from SharePoint Online using CSOM. I get 404 error when I try to download the file. I found several posts on various discussion forums where people are getting same
error but none of those have any solution/answer. Below is one of the threads and sample code I have tried that results in 404 error. If I use the link in browser directly, I am able to download the file. Also I am able to download the current version of file
using CSOM without any problem, it is only the older versions that give me 404 in CSOM.
http://qandasys.info/how-to-download-the-historical-file-version-content-using-csom/
public int GetStreamFromFile(string docid, string lib, string fileurl, ClientContext clientContext, int iuserid, string Version, bool isCurrrent)
if(!isCurrent)
List LibraryName = clientContext.Web.Lists.GetByTitle(lib);
clientContext.Load(LibraryName);
clientContext.ExecuteQuery();
CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml = "" + fileurl +
Microsoft.SharePoint.Client.ListItemCollection collListItem = LibraryName.GetItems(camlQuery);
clientContext.Load(collListItem, items => items.Include(item => item.Id, item => item["FileLeafRef"], item => item["LinkFilename"],
item => item["FileRef"], item => item["File_x0020_Size"], item => item["DocIcon"], item => item.File.Versions));
//clientContext.Load(collListItem);
clientContext.ExecuteQuery();
foreach (Microsoft.SharePoint.Client.ListItem oListItem in collListItem)
//string fileurl1 = (string)oListItem["FileRef"];
//string filename = (string)oListItem["LinkFilename"];
foreach (FileVersion version in oListItem.File.Versions)
if (Version == version.VersionLabel)
//Added excutequery to get object one more time as per blog
//http://social.technet.microsoft.com/Forums/de-DE/sharepointdevelopmentprevious/thread/88a05256-8694-4e40-863d-6c77512e079b
clientContext.ExecuteQuery();
FileInformation fileInformation = ClientOM.File.OpenBinaryDirect(clientContext,version.Url);
bytesarr = ReadFully(fileInformation.Stream);
DarwaishHi,
According to your description,
I know you want to get older version of a file from SharePoint Document Library using Client Object Model.
The following code snippet for your reference:
public void GetVersions()
ClientContext clientContext = new ClientContext(“http://SPSite”);
Web site = clientContext.Web;
clientContext.Load(site);
clientContext.ExecuteQuery();
File file = site.GetFileByServerRelativeUrl(“/Shared Documents/mydocument.doc”);
clientContext.Load(file);
clientContext.ExecuteQuery();
ListItem currentItem = file.ListItemAllFields;
clientContext.Load(currentItem);
clientContext.ExecuteQuery();
FileVersionCollection versions = file.Versions;
clientContext.Load(versions);
clientContext.ExecuteQuery();
if (versions != null)
foreach(FileVersion _version in versions)
Console.WriteLine(“Version : {0}”,_version.VersionLabel);
More information:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.file.versions.aspx
Best Regards,
Dennis Guo -
View Crystal Report File from SDK
Hello All,
I want to View Crystal Report File (.rpt file) from SDK (using VB 6 )
I have already try following code on my Add On :
Public Sub RunCrystalReport()
Dim crlApp As New CRAXDDRT.Application
Dim crlRep As CRAXDDRT.Report
Set crlRep = crlApp.OpenReport("D:\ReportTest.rpt")
Dim CRAX2 As CrystalActiveXReportViewerLib12Ctl.CrystalActiveXReportViewer
Set CRAX2 = Form2.CRAX
CRAX2.ReportSource = crlRep
CRAX2.ViewReport
End Sub
But, nothing happen
Could some one help one for this ?
Thanks a lot
Regards,
Arie
SDK BeginnerAmazing Sir !!...
I could run my report through B1 SDK right now...
Many thanks to you Sir..
Just one more thing, The Horisontal and Vertivcal Scroll control wasn't appear. Do I have to add scroll object or someting like that
Many thanks again to you Mr. Porcelli
Arie -
Having trouble opening connections and reading from Bluetooth devices.
Hello,
As the title states, I am having trouble opening connections and reading data from a Bluetooth device. We are using a PDA to communicate with LabVIEW. First, the Bluetooth Open Connection VI displays a timeout error half of the time. Second, when it does open, it does not read what the PDA is sending. Third, if it does allow an open connection, it will not do it a second time unless the devices are turned off.
I also have another related question. I am using a Linksys Bluetooth USB adapter, and the driver is proprietary. Labview requires the use of a Microsoft driver, and we are having problems going back and forth between the drivers. What Bluetooth receiver would you suggest using? The reason I ask is the fact that you have Bluetooth examples of client VI's. Therefore, you must use a similar device. Thank you for your time.
-JonHi Jon,
I'm not sure what Bluetooth receivers were used to verify the functionality of the VIs. However, I still want to help you solve your issue. Please make sure that you are running the shipping examples and let me know what version of LabVIEW, what PC OS and what PDA OS you are using. Does the Microsoft driver work for your Bluetooth receiver if you uninstall the Linksys driver?
With your answers I'll do my best to help you out.
- Philip Courtois, Thinkbot Solutions -
I have a customer that is using Adobe Acrobat pro version 10.1. When they try and open a .pdf file from a SharePoint site, the user is prompted to check out and open the file or open the file. Is there a way to get Adobe Acrobat to open the .pdf file without prompting to check out or open?
Thanks
JimThis is mostly a lion thing, rather than a PSE thing. To disable applications opening where they left off last time for all the programs on your computer, go to system preferences>general and untick this box:
You can also do on a per-program basis, but it's more complicated and the best thing to do is to search around for directions on the web and see which way is least uncomfortable for you.
There's an odd little glitch in PSE that it opens the last image you had open, even if you closed it before quitting last time. Adobe says this is correct behavior, but of course it isn't. -
I have a requirement to move the documents from one document library to another document library.
Source Library - DocumentLib
Destination Library - Archive
Archive document library will have folders by fiscal year.
Source documentlibrary has files from year 2012 till date.
Archive folder will have folders by fiscal year -(fiscal year starts from July1st -June 30th )
If the document is created date between 1st July 2012 -June 2013 then move the document to Archive document library and in folder Fiscal Year 2013.
If the document is created date between 1st July 2013 -June 2014 then move the document to Archive document library and in folder Fiscal Year 2014.
The structure of destination document library folder should be same as source document library.
Please find attached the screenshot of the requirement.
Files Type - Excel,pdf,microsoft outlook item
Could we use Sharepoint designer workflow to achive this task?
Any help on this will be appreaciated.Hi Asritha,
According to your description, you want to create a workflow to meet the need.
Per my knowledge, there is no built-in action which can move the documents from the current library to a folder in another library.
I recommend to use the custom activity 'Copy List Item Extended' which need to be downloaded from
http://spdactivities.codeplex.com/.
Please per the steps below to deploy the custom activity to SharePoint:
Download the activity form http://spdactivities.codeplex.com/
Open Dos command prompt.
Browse to the directory that you can access stsadm.exe. The default location in version 3.0 is C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\bin
Type the stsadm commands: stsadm -o addsolution -filename C:\UsefulSPDWorkflowActivities_0.5.0\DP.Sharepoint.Workflow.wsp (“C:\UsefulSPDWorkflowActivities_0.5.0\” is the file path)
Type the stsadm commands: stsadm -o deploysolution -name DP.Sharepoint.Workflow.wsp -allowgacdeployment -force -immediate
Open the Center Administration, Click System Setting->Manage Farm Solution-> dp.sharepoint.workflow.wsp->Deploy to the Web Application.
After that, we can create a workflow to meet the need.
Here is the detailed steps to create the workflow:
Create a workflow associated with the Source Library DocumentLib and set the workflow to start when an item is created.
Select If current item field equals value, change the settings to be If Current Item: Created is greater than 7/1/2012.
Select If current item field equals value, change the settings to be If Current Item: Created is less than 6/30/2013.
Select Copy List Item Extended, change the settings to be Copy item in Current Item to list at Fiscal Year 2013 folder url.
Select Delete Item, change the settings to be Delete Item in Current Item.
Select If current item field equals value, change the settings to be If Current Item: Created is greater than 7/1/2013.
Select If current item field equals value, change the settings to be If Current Item: Created is less than 6/30/2014.
Select Copy List Item Extended, change the settings to be Copy item in Current Item to list at Fiscal Year 2014 folder url.
Select Delete Item, change the settings to be Delete Item in Current Item.
Publish the workflow.
Best regards.
Thanks -
Having trouble opening content code file with code apple sent me
purchased apple computer in july, apple emailed code to open content code file to upgrade to moutain lion. Code is not being accepted. Anybody else having this problem?
We are having the exact same issue, has anyone resolved this yet?
-
How to filter the Files from SharePoint Document Library based upon cloumn value
Hi
I should filter the files from document library. I have column called "Print Status" for the document library the value would be either "Yes" or "No".
Now i should filter out the files which has "Print Status" as a "Yes".
I am using SPFolder and SPFile from SharePoint Object Model to traverse the file in doc library.
How could i do it?
My Sample code:
foreach (SPFolder childFolder in folder.SubFolders)
if (childFolder.Name != "Forms")
AspControls.TreeNode trn = new System.Web.UI.WebControls.TreeNode(childFolder.Name, "", "~/_layouts/images/itdl.gif", childFolder.ServerRelativeUrl.ToString(), "");
newNode = TraverseFiles(childFolder, trn);
// add the new node to the tree
rootNode.ChildNodes.Add(newNode);
// loop through the files
foreach (SPFile childFile in folder.Files)
// create a new node and add to the tree
AspControls.TreeNode childNode = new System.Web.UI.WebControls.TreeNode(childFile.Name + " (" + childFile.TimeLastModified.ToShortDateString()
+ ")", Convert.ToString(childFile.Item["ID"]), "~/_layouts/images/" + childFile.IconUrl, childFile.ServerRelativeUrl.ToString(), "");
rootNode.ChildNodes.Add(childNode);
Thanks
Poomani Sankaran.Why do you transvers the file an not use a camp query? In a CAML query you can filter the print status and are able to get all files and folder objects at once.
Check out the following post: http://social.msdn.microsoft.com/Forums/sharepoint/en-US/8c45b5e2-1fb8-435c-a97d-1d8c6d288d4c/caml-query-to-query-all-the-files-and-folders-in-document-library?forum=sharepointdevelopmentprevious
Kind regards
Stefan
http://www.n8d.at/blog
Follow me on Twitter: StFBauer |
n8design
Microsoft Community Contributor 2011 / 2012
MCTS - SharePoint / WSS Configuration and Development -
Unusual behavior when trying to open a .msg file within a document library
We are running SP 2010 service pack 2
We had a user who contacted us saying they were not able to open .msg files in their doc library. After playing with things a bit, two work around were found:
* if the item is checked out, then clicking on it opens the file in outlook
* if the doc library view is changed to explorer view, and the file is double clicked, the file opens in outlook.
Is anyone aware of a reason why these extra steps are necessary?
I don't see anything in the background info as to whether this is the case for all our users or only for some.The user is prompted with a File Save dialog to provide a place for the file to be saved.
-
Moving files from one document library to another
I want to move all files which are 30 days old, from one library to another.
What is the best way to do this?
Shall I create a workflow for this or a timer job? I am not sure if we can do this using workflow because I think it works on events and here I need a process that will work continuously (for e.g. every hour or every day etc) and check for files which are
30 days older, and move to different document library (this target library will be in another site collection).
What do you say?There are 2-approach I would recommend here,
Either Create SharePoint Timer Job OR Create Windows Service which runs every day and will check the document library for any documents satisfy the 30 days old criteria.
Personally I will always go for Windows service. Reasons are easy to build/install/less downtime and if you use framework like Topshelf then easy to debug. Also it allows you to have configuration for your SharePoint Site/Document library. Libraries like
Serilog allows you to have better structured logs created for your service easily. Multiple instances of the same service running on the same server.
There are few links I want to share with you for kind of similar discussion happened earlier,
http://sharepoint.stackexchange.com/questions/96089/when-should-we-use-sharepoint-timer-job-and-when-windows-task-scheduler
https://social.msdn.microsoft.com/forums/sharepoint/en-US/abd71245-8f64-40ba-8861-a852893cd8d5/timer-job-vs-custom-windows-service
https://social.technet.microsoft.com/Forums/sharepoint/en-US/c87abaec-7cf2-4697-bf2d-31d235541598/sharepoint-timer-job-vs-windows-schedule-to-consume-web-service?forum=sharepointadminprevious
Please remember to mark the replies as answers if they help and unmark them if they provide no help, this
will help others who are looking for solutions to the same or similar problem.
Maybe you are looking for
-
How do you delete songs on iTune that are NOT on the library?
I got a new computer few days ago, and I downloaded iTune on my new computer today. I want to delete all my songs that are in my iPod Touch now, and want to buy other songs. I don't have any songs in my library at the moment, since there's no song in
-
How do I Kick Start a 940 on a Diamond?
This setup works. MSI K9N2 Diamond AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ Corsair 1000wtt PSU Patriot PC2-6400 800mzh Nvidia 8800GTX x 2 WDC WD5000AACS-00G8B1 WDC WD3200AAJB-00TYA0 TSSTcorpCD/DVDW SH-S182D No hassle no problems I just plugge
-
Audio feedback on quiz buttons
Is there any way to add audio feedback to an automatically generated quiz button when it has been clicked e,g the submit button, undo button etc? I have put audio feedback on smart shape buttons via advanced actions but an advanced action cannot be a
-
Design issue: which is better?
In the situation like below public class Foo{ public Foo(){ Foo1 f1 = new Foo1(); //other code to start the thread //Foo1 class public class Foo1(){ public synchronized void setData(String s){ //codes that adds t
-
Statastics Gatharing take long time
Hi, can any one suggest me to improve the time for gathering statatics. OS version AIX 5.3 oracle 10.2.0.4 database in ASM. daily resoration dump size 110gb we are daily performing restoration and statatics gathering in UAT server. some time statatic