SSRS: Report Exists but is not visible on Page - ssrs-2012

I am trying to upload a newly modified report to a Folder on our Report Server.
If I Upload with 'Overwrite Item if it Exists' checked, the Upload appears to execute.
But when I go to the destination page, the report does not appear there.
If I then try the Upload again - with 'Overwrite Item if it Exists' NOT checked, I get a message saying: "The folder, report, resource, model or data source /Folder_Name/Sub_Folder/Report_Name already exists."
The one thing I may have done that I have never done before is I may have first deleted the existing report from the destination folder before attempting to upload the modified replacement for it.
I need the modified report to be visible on the destination page/folder for my Users.
I'd appreciate any help I can get.
Thanks!!

Though I was not able to figure out why the modified report refused to show in the existing folder every time I uploaded it, I created a new folder and was able to upload the modified report into it and move all the other reports into the new folder as well. Everything is working as expected in the new folder. I know this is not an 'answer per se but it has solved my problem. Thanks!

Related

Does Angular CLI prevent timestamp update for *.TS files?

After setting up an Angular 2 program using Angular CLI (following the procedure at https://angular.io/guide/quickstart) and using VS Code (https://code.visualstudio.com/) to work with the files I've noticed that the file timestamps for *.TS files do not get updated. Testing on Windows 10, the problem occurs even if I make a change to a TS file with Notepad and do so immediately after reboot. However, if I copy the TS files to another folder, they show updated timestamps.
When opening other folders, there is an instant display of files, but when opening the app folders with the TS files, there is a delay of several seconds, with a message "Working on it..."
The TS files had been associated with a video processing program ("transport stream" file), but I shifted the association to VS Code, but that didn't fix the problem.
I opened a bug report at https://github.com/Microsoft/vscode/issues/25569 but the VS Code folks could not reproduce the problem, suggesting that it is not seen for many VS Code users. That report is now is some sort of limbo in which it is listed as closed but one can still comment.
So I'm wondering whether the Angular CLI environment prevents timestamp update for the TS files.
Any suggestions on how to get the TS files in an Angular 2 project to show the current timestamp?
Addendum: the problem is not just for ts files. It extends to css files as well, as illustrated in this image in which the file system lists 19 April as the file date for styles.css, but the ToolTip for the file gives the more recent (correct) date:
Clearly some part of this environment is overruling one of 2 displays of the file date.
The problem is not the timestamp; it is the column displayed in Windows Explorer. Instead of the usual "Date Modified" column, "Date" was displayed. I don't think problem is caused by Angular CLI or VSCode. It looks like it is created by the video processing program ("transport stream") file type assignment; removing that file association and assigning *.ts to VSCode prevents the problem from occurring. However, this doesn't fix instances in which it occurred already; here is how to fix those:
In Windows Explorer click View on the menu, then "Add Columns". Uncheck "Date" and check "Date Modified". You may want to remove "Length" as well.

Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack windows app

I have created a C# windows application and after , and i have created my reports using crystal report .and it works fine ,
but now i need to upgrade my interface , so i have created another c# windows application , after finishing my application screens i need my old reports to be embedded on my new interface application ,
what i did was r.click on my application \ add existing item \ selecting the .rpt files ,
but when try to run my application and open the report , application raise an exception "Load Report Failed " .
The Inner Exception was "Unsupported Operation. A document processed by the JRC engine cannot be opened in the C++ stack" .
I have check these solutions :
report file path
rpt file property : Build Action as "Content"
rpt file property : Copy to Output Directory as "Do not Copy"
rpt file properties : Put Empty for Custom Tool and Custom Tool Namespace
Put application is still raise the previous error .
can someone help me to fix this proplem
Use runtime path for loadding report I.e
reportDocument.Load(Application.StartupPath + "\CrystalReport1.rpt");
Make sure report files are placed in specified folder which is directed by this path. use
string str = Application.StartupPath;
to be sure that which folder it refers to then place report files in this folder it will work fine. I faced similar problem like you and then I noticed this path indicates to bin\debug folder while report files in my project were somewhere else I just copied all files to debug folder and its working fine .... cheers
Crystal often gives you missleading error messages.
In my case I've set Copy to Output Directory of *.rpt file to "Do not Copy" (like you have it too) and I was passing the file path to the bin folder (where it doesn't exist) to ((ReportDocument)rpt).Load("[/bin/folder/path/report.rpt]");
->So check if the file(path) you want to load really exist
My Build Action is set to Embedded Resource (was default)
In my case, it was a problem with permission. Check if all users are allowed to access the file.

How to get latest created subfolder

In VB Script how to get latest sub-folder?
C:\Automation\QTP\Branch\Test Results\UPDATE_CUSTOMER 017_QTP\EB\20140508_1210_PM
In the above path I know up to "C:\Automation\QTP\Branch\Test Results\UPDATE_CUSTOMER 017_QTP\EB\20140508_", for every few minutes new folder will be created with different time as suffix like 20140508_1213_PM. So here how to get the latest folder got created under "C:\Automation\QTP\Branch\Test Results\UPDATE_CUSTOMER 017_QTP\EB\"
Any suggestions will be appreciated.

Forcing PHPExcel file to be saved and downloaded

With one of my projects I have users 'export' information into Excel files using PHPExcel. When it works, it works perfectly. Other times, only some people can actually open the files.
Since I need to store the exports that are created, they are saved on the server and then the created file is downloaded using readfile(). When it doesn't work, (which is most of the time now) people get the 'wrong file format' error. The really odd thing is that since the file is saved, they can try downloading that same file again. Then it works.
Here is my final save and download code:
header('Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
header('Content-Disposition: attachment;filename="'.$Temp_Export_File_Name.'"');
header('Cache-Control: max-age=0');
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'Excel2007');
//$objWriter->save('php://output');
$objWriter->save('../project_files_images/created_exports/'.$Temp_Export_File_Name);
readfile('../project_files_images/created_exports/'.$Temp_Export_File_Name);
exit;
Is there something wrong with this code that I am missing? The problem tends to show itself most for users of the latest versions of Office (Mac or Windows)
Thanks for the input.
Mark's tip was correct. For anyone else that might run into this, here is what was happening.
PHPExcel, for some reason, requires a 'Creator' and 'Last Modified By' field and I am not using them. I simply commented out the 2 lines of code within the PHPExcel code which referred to these 2 items.
It still doesn't explain why it effected the forced file and not the saved file, but the theory I am running with is this.
The saved file was created by all the header information set and saved.
The forced file somehow included the printed errors on the head of the file.

QTP locked cells cannot modified

for whom using QTP(Quick Test Professional) do anyone of you face this issue on data table upon savin script on QC(Quality Center).
When you try to edit "DataTable" message box says that "locked cells cannot modified" displays.
kindly see the attached snapshot.
your help and support is highly appreciated.
Thanks,
Manaysah
I have found that the following procedure corrects this problem:
Open the test in QTP
Check it out
Right-click the datatable
Select File > Export…
Browse to the location where you want to save the export file
Enter a file name for the export file
Click Save
Right-click the datatable
Select File > Import
Browse to the location where you saved the export file
Select the export file
Click OK
Datatable should now be unlocked.
If you are using QC 10.0 to store/save your QTP 10.0 scripts ,then you can try following.
Verify what patch level your QC 10.o on if you are on patch 28 then you have to apply patch 29 on QC.
Defect ID: QCCR1J 24598
Problem: An automatic job runs every fifteen minutes that cleans the database of stale sessions and locks.
A regression prevents locks from being deleted if the Quality Center client was terminated abruptly.
This causes entities to remain locked even after the LOCK_TIMEOUT and the entities cannot be edited.
A workaround existed to physically delete the locked rows from the database

Resources