SSRS Execution Service Render Method stopped working

Hello SSRS Profis!
I'm having the following Problem:
I was trying to integrate SSRS in my Company-Software, and until today it went quite good:
Its an ASPMVC 5 project with WCF-Services, and in these i had methods to render reports with the help of the ReportExecution - Webservice (2005), the Version of the MSSQL Server we use is 2008R2, reports use stored procedures as data sets.
Everything worked fine, i could render all my reports in the services, gave the result back to the Frontendprojects to present it there, it worked fast and properly.
Until today: For some reason, the call of the ReportExection.Render() - Method gives no more results back.
Debugging shows me that it works approx. the same time as it did before for every report, but the result now is only "null" for every report i integrated until now:
Here is the code I use to execute the service (for network credentials i use a user with administrator privilegue who can access all the reports (tested in private session), Parameter constructio also should work properly because it did before, same
for the Report path...
Any Ideas would be helpful!
private byte[] getPDFFromReport(string ReportPath, Dictionary<string, string> parameterDicitionary)
ReportExecutionService rs = new ReportExecutionService();
// private method to set a user with enough permissions
rs.Credentials = SetServiceAccount();
// Render arguments
byte[] result = null;
string reportPath = ReportPath;
string format = "PDF";
string historyID = null;
string devInfo = @"<DeviceInfo><Toolbar>False</Toolbar></DeviceInfo>";
// Prepare report parameter.// mapping Parameters, gives back ReportExecution.ParamaterValue Array, still works as it should
ParameterValue[] parameters = SetReportParameters(reportPath, parameterDicitionary); DataSourceCredentials[] credentials = null;
string showHideToggle = null;
string encoding;
string mimeType;
string extension;
Warning[] warnings = null;
ParameterValue[] reportHistoryParameters = null;
string[] streamIDs = null;
ExecutionInfo execInfo = new ExecutionInfo();
ExecutionHeader execHeader = new ExecutionHeader();
rs.ExecutionHeaderValue = execHeader;
execInfo = rs.LoadReport(reportPath, historyID);
rs.SetExecutionParameters(parameters, "de-de");
// rs.Timeout = 300000;
String SessionId = rs.ExecutionHeaderValue.ExecutionID;
Console.WriteLine("SessionID: {0}", rs.ExecutionHeaderValue.ExecutionID);
try
result = rs.Render(format, devInfo, out extension, out encoding, out mimeType, out warnings, out streamIDs);
execInfo = rs.GetExecutionInfo();
Console.WriteLine("Execution date and time: {0}", execInfo.ExecutionDateTime);
catch (SoapException e)
Console.WriteLine(e.Detail.OuterXml);
// Write the contents of the report to an MHTML file.
return result;
Edit:
I tested the methods with the same user in an WindowsForms Project and got a result. In a former Version, it also still works. I changed nothing since the last deploy in this methods, so can't imagine why it suddenly stopped working....

Found the solution!
After checking team-foundation-changelogs of the last checkins, it turned out that somehow automatically some value in the reference.cs of the reportexecution - webservice was changed from:
        [return: System.Xml.Serialization.XmlElementAttribute("Result", DataType="base64Binary")]
to
        [return: System.Xml.Serialization.XmlElementAttribute("Value", DataType="base64Binary")]
After deleting and readding the webreference to the Project, it worked again.
The next Thing to Research for me is how it can be, that this value automatically changes. Possibly because of different Versions of VS in the dev-Team.. (Ultimate and premium) In any case, this issue is solved, thank you for reading :)

Similar Messages

  • Adobe CEP Service Manager has stopped working

    I had repeated problems installing Creative Cloud for the desktop, after it asked me to upgrade.
    After renaming OOBE and using the cleaning tool several times, i got Creative Cloud to finally install.
    But when I tried to run it, I get "Adobe CEP Service Manager has stopped working".
    So I'm still dead in the water. This is just the latest of a string of problems I've had in installing
    Creative Cloud for the desktop on my several PCs.
    Any suggestions?

    Hi Ken,
    Does right click run and Administrator when launching the Creative Cloud for desktop make any difference?
    -Dave

  • Ui:hyperlink and ui:button "action" methods stopped working in IE

    Hi
    I'm developing my application for few months, but few days ago all ui:hyperlink and button action methods stopped working in IE. They are not invoked at all... No javascript errors, everything works fine in Firefox. Can anybody tell me where to look as I'm sitting 6h in front of screen and cannot find anything wrong...
    The only thing I have changed was adding a filter which changes encoding to UTF-8. Class below:
    * CharsetFilter.java
    * Created on 17 maj 2007, 11:18
    package tools.filter;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.text.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletContext;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    * @author  Michal
    * @version
    public class CharsetFilter implements Filter {
        public CharsetFilter() {
        private String encoding;
        public void init(FilterConfig config) throws ServletException {
            encoding = config.getInitParameter("requestEncoding");
            if( encoding==null )
              encoding="UTF-8";
        public void doFilter(ServletRequest request, ServletResponse response, FilterChain next)
             throws IOException, ServletException
    //          request.setCharacterEncoding(encoding);
              next.doFilter(request, response);
         * Destroy method for this filter
        public void destroy() {
    }

    anyways, it can't be a problem becasue new application is facing the same problem and there's no filter. I'm using tomcat 5.5.18 on jboss 4.0.5.

  • Ui:hyperlink action methods stopped working in IE

    Hi
    I'm developing my application for few months, but few days ago all ui:hyperlink action methods stopped working in IE. They are not invoked at all... No javascript errors, everything works fine in Firefox. Can anybody tell me where to look as I'm sitting 6h in front of screen and cannot find anything wrong...

    anyways, it can't be a problem becasue new application is facing the same problem and there's no filter. I'm using tomcat 5.5.18 on jboss 4.0.5.

  • CS6 Service Manager has stopped working?

    Installed trial version and it seems to download but then when I try to use the program a pop up box that says Adobe CS6 Service Manager has stopped working keeps popping up.  How to fix?

    Which Adobe software in specific is giving you this error message?  Which operating system are you using?  Did you receive any error messages during the installation process?

  • Intel Bluetooth Service View has stopped working

    I have a Windows 7 laptop model dv4t-4000 CTO Entertainment Notebook PC (product number LH989AV) and I get this error message ("Intel Bluetooth Service View has stopped working") every time I try to connect to my Bluetooth Earbuds. The pairing seems to work fine, but there is NO SOUND in the earbuds, the sound continues to play from my PC speakers instead. Can anyone help? Please tell me how to fix this error message "Intel Bluetooth Service View has stopped working." Thank you!!!

    Hello CathyJo
    I am sorry to hear you are having issues with your Bluetooth not working. I would like to offer my assistance in this matter. I would recommend that you try the steps I have outlined below"
    Step 1. Go to device manager
    Step 2. Right click on "Bluetooth Peripheral Device" that you want
    Step 3. Select "Update Driver Software..."
    Step 4. Choose "Browse my computer for driver software"
    Step 5. Choose "Let me pick from a list of device drivers on my computer"
    Step 6. Select "Ports (COM & LPT)"
    Step 7. Select "Microsoft" at "Manufacturer" list
    Step 8. Finally select "Standard Serial over Bluetooth link"
    If the above steps do not work I would recommend you read this thread concerning this issue on the Intel Forums.
    I hope I have been able to provide you with the assistance you need. Thank you for posting on the HP Forums. Have a great day!
    Please click the "Thumbs Up" on the bottom right of this post to say thank you if you appreciate the support I provide!
    Also be sure to mark my post as “Accept as Solution" if you feel my post solved your issue, it will help others who face the same challenge find the same solution.
    Dunidar
    I work on behalf of HP
    Find out a bit more about me by checking out my profile!
    "Customers don’t expect you to be perfect. They do expect you to fix things when they go wrong." ~ Donald Porter

  • DISM Image Servicing Utility has stopped working

    Hello.
    I'm on windows Server 2012 R2.
    I'm using DISM.exe to deploy .NET 3.5 framework from the commandline.
    When I enter my command I get this error in a popup window:
    DISM Image Servicing Utility has stopped working.
    In the Even log I get the following info:
    Faulting application name: Dism.exe, 
    Faulting module name: Dismprov.dll
    Exception code: 0xc0000005
    Faulting process id: 0x232c
    Faulting application path: C:\Windows\system32\Dism.exe
    Faulting module path: C:\Windows\system32\Dismprov.dll
    Can someone please provide some support on this?
    Things to note: This is a server in a closed environment, has no connectivity to internet and is a WSUS server primarily, it gets its database from a higher level enterprise database which i do not have direct access to.
    I do have the 2012 R2 installation media available to me.

    Hi
    Copy Dismprov.dll from another Windows 8/8.1 or Windows Server 2012/2012 R2, and re-register it with command:
    regsrv32 Dismprov.dll
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/b9c85837-11f5-4645-98c9-6db2063e47b1/dismexe-crashes?forum=winserver8gen

  • Render Queue stopped working

    I have done about 50 comps in the past few days when all of a sudden it stops working. I hit render and nothing happens. But it does start rendering and a blank file appears but it's not correct. In fact the render once started never ends. So it's a bug with cc 14. I tried re-starting, creating a new project. But I'm stuck. I might have to do a re- install.
    {windows 7 hp z800}

    What changed? Software update? Settings? Destination drive or folder? Source footage or file type? Plug-ins used? 
    Try rendering a project that worked before. If that is successful, start digging into the changes in the projects that are having problems. If nothing works then see the first question. Something did.

  • After Service, Airport card stops working randomly on macbook pro 17" early 2009

    Hi,
    So after the last time my computer was serviced, the airport card stops working randomly on moving the screen.
    Upons restarting the computer, it sometimes says wi-fi hardware not installed. Then, if I move my machine around,
    lift it up, turn it around, place it back on the table and restart it, it works again. I don't understand this.
    And all this started happening the moment my warranty ran out. Extremely frustrating!!

    It may be possible that one of the following may be the issue:
    The internal AirPort Extreme card is not seated properly.
    The internal Wi-Fi antenna connector is not seated properly in the AirPort Extreme card.
    The internal AirPort Extreme card's connector is faulty or damaged.
    The internal AirPort Extreme card is faulty.
    To get an idea on how the Extreme card is installed, please check out the following iFixit article.

  • SQL 2012 Management Studio Remote Servers Service Status Slow/Stops Working

    This is a huge annoyance.  I manage about 50 SQL instances of SQL Server versions 2005-2012 and I noticed that it takes 1-2 seconds to load the service status (green arrow) on each individual server.  If you then connect to a server, you have to
    wait for all the statuses to be loaded first in the Registered Servers list before it loads the statuses for servers in the Object Explorer.  This happens whether the servers are registered in Local Server Groups or Central Management Servers, and whether
    I have access to all servers (as windows local administrator and sa), or not.  It also happens regardless of whether I run as Administrator or normally on my instance of SSMS (which is SQL 2012 Development on Windows Server 2008 R2).
    These servers are also registered in alphabetical order by group and server name, which means that if I have "DEV" groups, they will be registered before "PROD", unless I rename accordingly.  It sometimes takes a few minutes, if
    I'm lucky, to get a server I connect to to load, which means I can't use SSMS to really manage any remote servers and start/stop/pause/resume/restart services.
    Worse, sometimes due to a server becoming unavailable (due to updates/patches/failovers), SSMS is unable to load the service statuses anymore for any new server connections made to object explorer, resulting in the loss of ability to view/change service statuses. 
    In this case, there is no way to recover (Refresh of Central Management Servers does nothing), except to close SSMS and open it again, and then wait again for all the statuses to load.
    I have lived with this since first installing SQL, and regardless of the Windows Updates and SQL patches applied, the problem has never gone away.  This also happens if I load SSMS in Windows Server 2012.  Its starting to become a huge issue now
    that I have to patch several servers each month.
    I have already checked WMI permissions, GPO, firewall, etc. as per all the suggestion on the internet, including this post
    http://www.sqlservercentral.com/Forums/Topic825246-146-1.aspx.  None of these suggestions have made a difference, as my real problem is one of connectivity and performance, and
    not security, which most of these suggestions apply to.  Of note, all servers are in the same domain, firewall is disabled across the board, correct permissions for local administrators exist for remote registry settings, WMI, GPO, etc, and all service
    accounts and windows accounts that are used are local admins and sysadmins.
    My work-around has been to delete the Central Management Server and any local server group registered servers, close and re-launch SSMS, and then connect to a server I'm interested in via Object Explorer.  Otherwise, close and re-launch will take forever. 
    My other alternative is to RDP into the remote server and manage services via SQL Configuration Manager locally.
    If anyone has any ideas on how to fix this, or make it go faster, I'd really appreciate it.
    Diane

    Hi Satish,
    Thanks for taking the time to reply.  Yes, I actually am already using work-arounds (i.e. methods other than SSMS) to accomplish my tasks.  My issue is that this is supposed to be working and provide a nice GUI so that you can easily visualize
    any issues, and address them directly, without having to hodge-podge access via scripts or 3rd-Party tools.
    Since no one else has any comments, I guess there are no plans to make remote server administration work with SSMS properly then, and that kludge methods are the only ones being advocated.
    Diane

  • Excel Services Refresh method not working in Sharepoint 2013

    Hi,
    In our application, we open excel services workbook in sharepoint 2013. Using sessionid of the workbook, we called Refresh and CalculateWorkbook methods in that order. After Calculateworkbook method, I see time stamps in LastUpdatedTime for each connection
    in 'Connections' tab of excel workbook. When Refresh method is called again after CalculateWorkbook  method, the LastUpdatedTime for the connections becomes blank.
    When I use sharepoint 2010, the temstamp is not becoming blank after refresh.
    I think due to this reason we see blank data on our reports. Can somebody tell whether there is a problem with Refresh method in sharepoint 2013? Or is there somebody facing problem with excel services in sharepoint 2013? Any pointers can help.
    Thanks,
    Pranava

    Hi,
    For your issue, verify if Excel files are rendered by Office Web Apps:
    When Office Web Apps is responsible for the rendering the URL will look something like this:
    https://server/_layouts/15/WopiFrame.aspx?sourcedoc=/Documents/excel.xlsx&….
    And when Excel Calc is rendering the document it should look like the following:
    https://server/_layouts/15/xlviewer.aspx?id=/Documents/excel.xlsx&…
    Here is an article about how to enable pdf preview with OWA:
    http://www.wictorwilen.se/sharepoint-2013-enabling-pdf-previews-with-office-web-apps-2013-march-2013-update
    Besides, refer to configure Office Web Apps for SharePoint 2013:
    https://technet.microsoft.com/en-us/library/ff431687.aspx
    Best Regards,
    Lisa Chen
    TechNet Community Support
    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]

  • FB3B2 services-config.xml stopped working

    My App worked fine in FlexBuilder3 (Beta 1 I suppose –
    yes, I'm sure it wasn't FlexBuilder2).
    I upgraded to FB3B2 and I now get the compiler error:
    Invalid endpoint port '' specified for channel definition
    'my-amfphp'
    I've attached my services-config.xml
    if I take out -services "services-config.xml" from my
    compiler options in flexbuilder my app compiles fine and runs
    (though of course it can't retrieve data from the server).
    What can I do to resolve this problem? I'm using Cairngorm
    2.2.1 Beta and CairngormEnterprise 2.2.1 Beta (though I'm not sure
    I really need that)

    Ok, this is not good at all...adding the port as I described
    works great if you have the new Flash Player, but breaks the flash
    remoting connection on Firefox if you have Flash Player 9.0.47.0!!!
    This is not good since this is the shipping flash player and the
    one that most of our customers are currently using!!!
    To fix this problem for our customers I had to go back to
    Flex Builder 3 Beta 1 so that I could build my product without the
    port!
    Is this just a "strict" compiler issue? If so, can you please
    make this error go away? My app has been working without strictly
    naming the port in the URL for a long time!
    Thanks

  • Refactor rename method stopped working - 10.1.3.1.0

    Selected Refactor -> Rename to rename a method. The preview log shows up, but when i click on the green arrow to "do refactoring", nothing happens. I have been using 10.1.3.1.0 since it was released but I just ran into this problem.
    I re-installed jdeveloper 10.1.3.1.0 but I still have the same problem.

    Frank,
    I thought that my JDev install had become unstable and that is why I re-installed. However that is not the case.
    I tried to isolate the problem a little further. The refactor/rename method works in the other projects in my application. In the project that I have a problem, I tried renaming methods in other classes and this worked.
    What is different about the class that I have a problem with is that:
    1) it is an abstract class (say abstractFoo)
    2) I am renaming a method that is not abstract in abstractFoo
    3) Foo is a subclass of abstractFoo
    4) I have a JUnit test FooTest that contains a few anonymous inner classes (that subclass Foo) and override the method to be renamed.
    The preview window shows the changes to be made in abstractFoo & FooTest but does nothing.
    Have you tested this scenario out?

  • IMFMediaSession::Start method stops working on second intance

    I have created a test app modeled on the playlist example in the vista sdk. I modified it a bit to play video and loop with the skip function. I then set it up to create two windows with a player in each. Now with one window it plays just fine and loops
    as expected. When I add a second window with another playlist something strange begins to happen. The first window plays and loops just fine, but when it comes to the second window, when it gets to the end of the sequencer source, it triggers the MEEndOfPresentation
    event. The code is set to call the skip function, which it executes fine. Then the player just goes black. It must still be playing or something, because if I wait the player will start playing again. If I wait even longer it will go black again. Now the whole
    time the first window is running fine.
    I have built this test app with the following example
    https://msdn.microsoft.com/en-us/library/ms697285(v=vs.85).aspx
    I could post the code for the test app, but it is quite a bit. I am hoping someone might have a clue to what the problem is before I fill this thread with code. I would appreciate it if someone could help me work through this problem.
    Edit: I have put the code, sample files I used, and a mftrace file here
    https://onedrive.live.com/?cid=C549C64FC840D296&id=C549C64FC840D296%21109
    Thank You

    uploaded the code^^^^^

  • Adobe Flash Player Update Service 11.6r602 stopped working and was closed

    Not sure why this is suddenly come up.

    I have found the application causing these pop-ups C:\Windows\System32\Macromed\Flash\FlashPlayerUpdateService.exe
    But I can't seem to delete it - it always says "in use". I've downloaded multiple applications (like Unlocker, Lockhunter, Vob and FileASSASSIN) and they all seem to have a problem with this file. I've even tried die cmd route (disabling explorer.exe for the moment) but it says "Access denied". I've also tried deleting it in Safe Mode - that seemed to work until I rebooted in normal mode and it was back! Even deleting it with FileASSASSIN (the more effective of the lot) only works for a minute and then it magically reappears. I'm not sure if there is a program that is recreating it or whether the fact that it doesn't appear in Recycle Bin means it wasn't really deleted...
    UPDATE: I looked at the "date modified" on the file and found something I had downloaded at that day and time. I deleted the downloaded app and then the file (using FileASSASSIN) but it still came back... =(   Any suggestions?

Maybe you are looking for

  • Value not getting set in NETValue field in Oppurtunities

    Hi, I have requirement to make the "Net value"  field in Products assignment block  of new Oppurtunity editable. method GET_I_NETVALUE.     rv_disabled = 'TRUE'. endmethod. by making rv_disabled = "FALSE" i am able to make it to editable, but i have

  • How to manage oracle 8i db

    I have the next question: I am testing different databases. At the first time I install an oracle 8 standard database, then I becomes a lot of database management tools as Oracle enterprice manager. Now I have install the oracle 8i enterprice databas

  • Camera file generator timeout

    Time out came up on Camera File Generator Hi Recently I use Camera File Generator Version 2.1.1 to control a CamraLink camera through IMAQ PCI-1428. When I grab the image "Acquisition Timeout" message came up. I changed smaller image format, but it w

  • Moving outlook contacts to Mac

    Just bought a Mac and moved my contacts from a PC via an external hard drive. I was able to initially view the contacts but now they have converted to .msg format and I am not able to import to address book. Any advice on what to do? Thanks, Michael

  • Field Exits problem in Quality system after trasports

    Dear Freinds, We did Field Exit changes in Developement system and the changes are working perfect when we tested. Where as we transport the changes to QA(Quality system) the filed exit is not working. We checked the code, and the code was moved to Q