Query engine error after upgrading from vs2003 to 2008

Hi,
I had crystal reports installed and working with visual studio 2003 using .Net. After upgrading to visual C# 2008 Express, When I attempt to create a report at runtime, I get the error "Query Engine Error. <filelocation>\report1.rpt"
If I attempt to edit a report at design time, I get the following error: "There is no editor available for <fileLocation>\report1.rpt. Make sure the application for the file type (.rpt) is installed.
Can anyone point me in the right direction??
Thanks,
Dittimon

Crystal Reports is not supported with the Express editions of Visual Studio.
If you are going to use VS.NET 2008 you will need to use the Professional Version or higher.
This is noted in the following help file: [CR 2008|http://help.sap.com/businessobject/product_guides/boexir31/en/crsdk_net_dg_12_en.chm ]
Under Supported Versions of Visual Studio
Jason

Similar Messages

  • Query Engine Error after upgrade from CR for VS2003 to CR for VS2008

    Three CR reports were built in CR 8.5, loaded into VS2003 (C#), and converted. Each report worked fine for the past three years. Each report users the same odbc connection direct to the Sybase 12.5.3 database and each is based on a stored procedure. Each report has input parameters. Recently we did an upgrade to VS2008. We installed the CRRedist2008_x86.msi on the development machine running Windows XP and on the server running Windows 2003. No changes were made to the design of the reports, the parameters, or to the database stored procedures.
    Several other reports run just fine since the update to VS2008, however, two reports are now raising an error message "Query Engine Error: 'An internal error has occurred. Please contact Business Objects technical support.' Failed to open a  rowset." This error message occurs just after ReportViewer.ShowDialog() method is called (login has already been successfully achieved) I verified that with the parameters being passed to the reports are correct and that these should indeed be returning data.
    One additional report is also now raising the error "Query Engine Error at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.GetLastPageNumber(RequestContext pRequestContext) at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext) ". It can be described as above, odbc connection to Sybase 12.5.3, achieves a successful login, based on a stored procedure that is unchanged. The rpt itself is unchanged.
    I would appreciate your assistance with getting these reports working again. Any suggestions welcome!

    I forgot to mention that I had already done a 'Verify Database' on each of these reports, with no success. However, I have now repeated the 'Verify Database' on each report and they all work. Not sure why it had to be done a second time, but I am very happy that it works. Thank you for your response.
    In answer to your question - why does the Crystal Reports runtime have to be installed on the development machine? This is because our process includes an installation of the application on the development machine, independent of the debug environment, and a test of that application instance before deploying to the application server.

  • Error after upgrading from  sap b1 pl 35 to pl 49

    hello sap experts 
    iam getting the following error after upgrading from  sap b1 pl 35 to pl 49 this error is coming if we have given round off or discount in the below cell
    "Discount deviates from authorised ranges (sales oreder-discount%for document) [message 439-15] pls make it as soon as possible an i will be thankful to those guys .
    regards
    Jenny

    Hello Jenny,
    You may check by supreuser account first to see if you got the same error.  If not, it probably just related to user authorization.  If yes, it must be a bug.
    Thanks,
    Gordon

  • Asset query execution performance after upgrade from 4.6C to ECC 6.0+EHP4

    Hi,guys
    I am encounted a weird problems about asset query execution performance after upgrade to ECC 6.0.
    Our client had migrated sap system from 4.6c to ECC 6.0. We test all transaction code and related stand report and query.
    Everything is working normally except this asset depreciation query report. It is created based on ANLP, ANLZ, ANLA, ANLB, ANLC table; there is also some ABAP code for additional field.
    This report execution costed about 6 minutes in 4.6C system; however it will take 25 minutes in ECC 6.0 with same selection parameter.
    At first, I am trying to find some difference in table index ,structure between 4.6c and ECC 6.0,but there is no difference about it.
    i am wondering why the other query reports is running normally but only this report running with too long time execution dump messages even though we do not make any changes for it.
    your reply is very appreciated
    Regards
    Brian

    Thanks for your replies.
    I check these notes, unfortunately it is different our situation.
    Our situation is all standard asset report and query (sq01) is running normally except this query report.
    I executed se30 for this query (SQ01) at both 4.6C and ECC 6.0.
    I find there is some difference in select sequence logic even though same query without any changes.
    I list there for your reference.
    4.6C
    AQA0FI==========S2============
    Open Cursor ANLP                                    38,702  39,329,356  = 39,329,356      34.6     AQA0FI==========S2============   DB     Opens
    Fetch ANLP                                         292,177  30,378,351  = 30,378,351      26.7    26.7  AQA0FI==========S2============   DB     OpenS
    Select Single ANLC                                  15,012  19,965,172  = 19,965,172      17.5    17.5  AQA0FI==========S2============   DB     OpenS
    Select Single ANLA                                  13,721  11,754,305  = 11,754,305      10.3    10.3  AQA0FI==========S2============   DB     OpenS
    Select Single ANLZ                                   3,753   3,259,308  =  3,259,308       2.9     2.9  AQA0FI==========S2============   DB     OpenS
    Select Single ANLB                                   3,753   3,069,119  =  3,069,119       2.7     2.7  AQA0FI==========S2============   DB     OpenS
    ECC 6.0
    Perform FUNKTION_AUSFUEHREN     2     358,620,931          355
    Perform COMMAND_QSUB     1     358,620,062          68
    Call Func. RSAQ_SUBMIT_QUERY_REPORT     1     358,569,656          88
    Program AQIWFI==========S2============     2     358,558,488          1,350
    Select Single ANLA     160,306     75,576,052     =     75,576,052
    Open Cursor ANLP     71,136     42,096,314     =     42,096,314
    Select Single ANLC     71,134     38,799,393     =     38,799,393
    Select Single ANLB     61,888     26,007,721     =     26,007,721
    Select Single ANLZ     61,888     24,072,111     =     24,072,111
    Fetch ANLP     234,524     13,510,646     =     13,510,646
    Close Cursor ANLP     71,136     2,017,654     =     2,017,654
    We can see first open cursor ANLP ,fetch ANLP then select ANLC,ANLA,ANLZ,ANLB at 4.C.
    But it changed to first select ANLA,and open cursor ANLP,then select  ANLC,ANLB,ANLZ,at last fetch ANLP.
    Probably,it is the real reason why it is running long time in ECC 6.0.
    Is there any changes for query selcection logic(table join function) in ECC 6.0.

  • Error after upgrading from SOA 10.1.3.1 to 10.1.4.1 (commons-loging.jar)

    After upgrading from SOA 10.1.3.1 to 10.1.4.1 , I cant run any Struts 1 pages from my web application.
    I used to have "commons-logging-1.0.4.jar" under j2ee\<INSTANCE_NAME>\applib, and it worked fine before the upgrade, but after I upgraded I get this exception in the application log
    11/02/20 18:50:17.31 ClientWeb: Error initializing servlet
    java.lang.ExceptionInInitializerError
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2315)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4830)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    at com.evermind.server.Application.getHttpApplication(Application.java:586)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: No suitable
    Log constructor [Ljava.lang.Class;@1c06a6d for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError
    : org/apache/log4j/Category) (Caused by org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang
    .Class;@1c06a6d for org.apache.commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category
    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
    at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
    at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
    at org.apache.struts.action.ActionServlet.<clinit>(ActionServlet.java:209)
    ... 20 more
    Caused by: org.apache.commons.logging.LogConfigurationException: No suitable Log constructor [Ljava.lang.Class;@1c06a6d for org.apache
    .commons.logging.impl.Log4JLogger (Caused by java.lang.NoClassDefFoundError: org/apache/log4j/Category)
    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:413)
    at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
    ... 24 more
    Caused by: java.lang.NoClassDefFoundError: org/apache/log4j/Category
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
    at java.lang.Class.getConstructor0(Class.java:2640)
    at java.lang.Class.getConstructor(Class.java:1629)
    at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:410)
    ... 25 more
    11/02/20 18:50:17.31 ClientWeb: Error preloading servlet
    javax.servlet.ServletException: Error initializing servlet
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4857)
    at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4754)
    at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4942)
    at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1144)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:741)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:431)
    at com.evermind.server.Application.getHttpApplication(Application.java:586)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:643)
    at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:290)
    at com.evermind.server.http.HttpServer.setSites(HttpServer.java:270)
    at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:177)
    at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2493)
    at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1042)
    at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:131)
    at java.lang.Thread.run(Thread.java:595)
    11/02/20 18:50:17.31 ClientWeb: 10.1.3.4.0 Started
    11/02/20 18:51:35.906 ClientWeb: Servlet error
    javax.servlet.ServletException: Error instantiating servlet 'action'. Servlet class org.apache.struts.action.ActionServlet not found
    in web-application ClientWeb
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.servletClassNotFound(HttpApplication
    .java:4886)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4852
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.findServlet(HttpApplication.java:4754
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpApplication.getRequestDispatcher(HttpApplication
    .java:2978)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler
    .java:738)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler
    .java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler
    .java:221)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor
    .java:303)
    at java.lang.Thread.run(Thread.java:595)
    I tried moving this jar inside my war module, but problem still occures.
    However, if I removed the jar "commons-loging.jar" from "OracleAS_1\webservices\lib", everything works fine!
    Any ideas how to solve this problem??

    It is an old post, but I want to add and ask something anyway:
    I had the same problem and solved it through similar steps (didn't get the same errors and added the log4j to my project also) but don't you have the navigation problem?
    Now that I have deployed the application the first page that appears after launching the application is my Home.jspx which is not the same page that comes up when I use embedded OC4J to run the application. The Home.jspx is blank and when I enter a link manually:
    http://farbod:8888/TestApp/faces/pages/Employees.jspx
    instead of http://farbod:8888/TestApp/faces/pages/Home.jspx
    I get this error:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    I also tried changing the initial address throughout the application:
    <% response.sendRedirect("faces/pages/Home.jspx"); %>
    but I still get the above error.
    Thanks,
    Farbod

  • Maxdb give Kernel error after upgrade from 7.3 to 7.5

    Hi, our DBA is running into problems after upgrading from 7.3 to 7.5. When we attempt to start the DB we get this error:
    dbmcli -d sd3 -u XXXXXX,XXXXXX db_online
    ERR
    -24994,ERR_RTE: runtime environment error
    1,Check knldiag! Kernel died before reaching ADMIN state
    The details of the error in knldiag are:
    2008-07-02 14:22:39    19     11554 COMMUNIC UKT8 attached big comseg at  0x700000060000000
    2008-07-02 14:22:39    19     11555 COMMUNIC UKT8 big comseg ends at      0x7000000601803F8
    2008-07-02 14:22:39    16 ERR 20152 RTE      UNIX change owner with chown(knltrace,964,202) failed: Not owner
    2008-07-02 14:22:39    16     11000 vdevsize 'knltrace', 666 failed
    2008-07-02 14:22:39    16 ERR 11202 vdiagini vdevsize of kernel trace file unsuccsessful
    2008-07-02 14:22:39    16 ERR 11599 BTRACE   -
    > Emergency Stack Back Trace <----
    As said, he performed the upgrade and now we can't start the DB, anybody that had the same issue?
    We run on AIX 5.3 and from the unix side, nothing changed. After 7.5 we plan on going to 7.6 but that is in the stars I guess...
    We posted a high message with SAP and since over 10 hours nobody picked the message up... we are getting kind of desperate... Any pointers are appreciated...
    thanks

    Hello Thomas,
    -> If you run the database update using the database update tool, the permissions/ownership will be set correctly for the database software & the permissions/ownership of the database log files will be also changed correctly.
         Please check the upgrade log in the /sapdb/data/wrk
    -> Please check the ownership of the files in the database RUNDIRECTORY.
    For example, if the database owner:group of your database is sdb:sdba, then
    -rw-rw----   1  sdb        sdba  u2026.     knltrace
    -> Please update the thread with the output of the following commands :
               sdbregview -l
               xinstinfo SD3
               id sdb
              ls -l <runditectory>
    < rundirectory is the database parameter value and by default is /sapdb/data/wrk/SD3 >
            more /etc/opt/sdb
    Thank you and best regards, Natalia Khlopina

  • "The query was cancelled" error after upgrade from 10.1.3.3.3 to 10.1.3.4.2

    Hi,
    I was using OBIEE 10.1.3.3.3 /. After upgrading to 10.1.3.4.2 , the queries are not running ( long running queries alone) as expected. and so all the campaigns iwh tlong running queries are cancelled and the error message is seen in the xml log in Marketing jobs management.
    We have upgraded the OBIEE version from 10.1.3.3.3 to 10.1.3.4.2 yesterday after which the connectivites have been checked with SQLPLUS and they are working fine. But when the campaign has been loaded, the Analytics have received the request for the segment query and after longer run, the task has been cancelled with the error message "The Query was cancelled as mentioned below in the Job Stats
    <jobStats>
    <jobID>2</jobID>
    <jobType>WriteListFiles</jobType>
    <jobUser>userid</jobUser>
    <jobState>Error</jobState>
    <jobTotalMilliSec>1h 41m 21s 160ms</jobTotalMilliSec>
    <jobStartedTime>2012-03-22T08:06:13Z</jobStartedTime>
    <jobFinishedTime>2012-03-22T09:47:34Z</jobFinishedTime>
    <jobIsCancelling>N</jobIsCancelling>
    - <exception>
    <message>Job request of type "WriteListFiles" failed.</message>
    - <exception>
    <message>Error executing the list generation SQL.</message>
    - <exception>
    <message>Error in executing cursor for WorkNode (Id:0)</message>
    - <exception>
    <message>The query was cancelled.</message>
    </exception>
    </exception>
    </exception>
    </exception>
    </jobStats>
    Please let us know the suggestions
    So far, the unaccessedtimingrunoutminutes tag has been tried to set 50 under ODBC tag in instanceconfig.xml. and the defaulttimeoutminutes has been tried to set to 150 in the same instanceconfig.xml.
    along with that the rpd changes are done. For all the users apart from the Administrator, the timeout has been changedfrom 10 minutes to 150 minutes. But still that way is not working.
    The segments was fired with the Administrator login. So , if the timeout for admin login can be set, i assume that the problem might be solved. Please let us know ur suggestions here too.
    If that is the case, when we open rpd , only for Administrator user and group, the Permissions button is disabled. So i want to know how to change for Admin user settings in rpd..
    Please advice us on the same.
    Regards,
    Madasamy M.
    Edited by: Madasamy Murugaboobathi on Mar 26, 2012 1:40 PM

    The issue has been resolved by setting the following parameters
    <UnaccessedRunningTimeoutMinutes>120</UnaccessedRunningTimeoutMinutes>
    <DefaultTimeoutMinutes>120</DefaultTimeoutMinutes>
    <ClientSessionExpireMinutes>120</ClientSessionExpireMinutes>
    <ConnectionExpireMinutes>120</ConnectionExpireMinutes>
    <UIDefaultTimeoutMinutes>1440</UIDefaultTimeoutMinutes>

  • YC_GEN app engine failed after upgrading from EPM 8.9 to 9.1 Rev1

    we tried upgrading our EPM 8.9 + tools 8.49.23 application to EPM 9.1 + tools 8.53.08. After upgrading when we tried to run the YC_GEN app engine it failed with the below error.
    Error:
    17449 20.26.27 0.000111 321: &ln_1 = &lbi_1.Execute();
    17450 20.26.27 0.017373 ErrorReturn-> 2 - Interlink Definition: Execution failed. (122,2) DERIVED_CG_BAT.CG_BATCH_PRV.FieldFormula Name:LoadDepends PCPC:27203 Statement:321
    Called from:YC_GEN_TBLS.MAIN.GBL.default.1900-01-01.UpdDpnds.OnExecute Statement:2
    17451 20.26.27 0.000080 <<< end-ext Nest=01 LoadDepends DERIVED_CG_BAT.CG_BATCH_PRV.FieldFormula Dur=2.480543 CPU=1.190000 Cycles=94840
    17452 20.26.27 0.000028 <<< end Nest=00 YC_GEN_TBLS.MAIN.GBL.default.1900-01-01.UpdDpnds.OnExecute Dur=2.486408 CPU=1.190000 Cycles=94874
    17453 20.26.27 0.008761 Database Options: override_connection_reset: 0
    we tried using libpsfidrvr.so file which delivered with EPM as well as with tools both is not working.

    I resolved my issue. Renamed search.sqlite and reinstalled Firefox 9.0.1
    All default search engines are now available.

  • Login Error after Upgrading from BW 3.5 to BI 7.0

    Hi Experts,
    We have carried out an upgrade from BW 3.5 to BI 7.0.
    After Upgrade we are not able to login using SAP GUI. we are getting an error saying..
    Username or Password not Valid..
    During the upgrade (in Netweaver 2004s ) is there procedure necessary to be followed, which we could have missed..
    Your response will be greatly appreciated.
    Regards
    LRaghunahth

    Hi
    Thanks a lot for your reponse.
    Basically I am able to login thru sap* / ddic and can unlock the users / reset the password.
    But the customer wants to know why the user is getting locked and it happened because of any procedure miss whil performing the upgrade..
    if it is usual that users get locked during upgrade, any SAP Notes to refer..
    Thanks a lot for helping in this community.
    Best Regards
    L Raghunahth

  • Build error after upgrading from 8.2.1 to 8.5 "Error 1055 occurred at Invoke Node..."

    After upgrading to 8.5, I'm getting the following error when trying to build an EXE:
    Visit the Request Support page at ni.com/ask to learn more about resolving this problem. Use the following information as a reference:
    Error 1055 occurred at Invoke Node in AB_Source_Library.lvclass:Close_Reference.vi->AB_Build.lvclass:Copy_Files.vi->AB_Application.lvclass:Copy_Files.vi->AB_Build.lvclass:Build.vi->AB_EXE.lvclass:Build.vi->AB_Engine_Build.vi->AB_Build_Invoke.vi->AB_Build_Invoke.vi.ProxyCaller
    Possible reason(s):
    LabVIEW:  Object reference is invalid.
    I have been building this application for both Windows and Mac OS, and I even get the same error when building the .app on an Intel Mac.
    Things that I've already tried:
    * Mass-compiling all my code
    * Created the project from scratch
    * Enabled each panel of the "diagram disable structure" one at a time and compiled again
    Any ideas?

    Hi Travis,
    Ben’s advice if definitely the best place to start. Error 1055 is a very general LabVIEW error for “Object reference is invalid.” The cause is usually a bad install where important LabVIEW function aren’t placed in the right directory or aren’t installed at all.
    Charlie M. CLD

  • SQL query is slow after upgrading from SQL 2008 to SQL 2008 R2

    Hello
    We were using SQL 2008 Standard, but after upgrading to R2, following query is much slower (takes 5 seconds instead of less than 1 second), how is this possible?
    Regards, Hennie
    SELECT
     P.BSN,
     P.Persnr,
     P.Roepnaam,
     P.Tussenvoegsels,
     P.Achternaam,
     P.Geslacht,
     COALESCE (P.Achternaam + ', ' + P.Roepnaam + ' ' + P.Tussenvoegsels, P.Achternaam + ', ' + P.Roepnaam, P.Achternaam) AS naamvolledig,
     P.Telmobiel,
     P.Telvast,
     P.Postcode,
     G.groep,
     COALESCE (RM.nieuweDag, GR.Dag) AS dag,
     COALESCE (RM.nieuweDatum, GR.datum) AS datum,
     DATEPART(ww, COALESCE (RM.nieuweDatum, GR.datum)) AS weeknummer,
     DATEPART(yyyy, COALESCE (RM.nieuweDatum, GR.datum)) AS jaar,
     CONVERT(VARCHAR(8),
      CASE WHEN GR.ID_lokaties = 3 THEN COALESCE (RM.nieuweBegintijd,
       CASE WHEN GR.Tijdspan = 2 THEN R.begintijd2 ELSE R.begintijd END)
      ELSE COALESCE (RM.nieuweBegintijd, GR.begintijd) END, 108) AS begintijdberekend,
     CONVERT(VARCHAR(8),
      CASE WHEN GR.ID_lokaties = 3 THEN COALESCE (RM.nieuweEindtijd,
       CASE WHEN GR.Tijdspan = 2 THEN R.eindtijd2 ELSE R.eindtijd END)
      ELSE COALESCE (RM.nieuweEindtijd, GR.eindtijd) END, 108) AS eindtijdberekend,
     CASE WHEN GR.ID_lokaties = 3 THEN
       CONVERT(NCHAR(5), COALESCE (RM.nieuweBegintijd,CASE WHEN GR.Tijdspan = 2 THEN R.begintijd2 ELSE R.begintijd END), 108) + '-' +
       CONVERT(NCHAR(5), COALESCE (RM.nieuweEindtijd, CASE WHEN GR.Tijdspan = 2 THEN R.eindtijd2 ELSE R.eindtijd END), 108)
      ELSE CONVERT(NCHAR(5),COALESCE (RM.nieuweBegintijd, GR.begintijd), 108) + '-' + CONVERT(NCHAR(5), COALESCE (RM.nieuweEindtijd, GR.eindtijd), 108)
      END AS Tijdspanne,
     CASE
      WHEN GR.ID_lokaties = 3 AND R.id_relaties = 9 THEN 'Werk Intern'
      WHEN GR.ID_lokaties = 3 THEN R.relatienaam
      ELSE L.lokatie END AS Lokatieberekend,
     R.relatienaam AS relatie,
     L.IntExt,
     RA.Omschrijving AS roosteractiviteit,
     A.instroomdatum,
     A.uitstroomdatum,
     TT.trajecttype,
     W.Naamvolledig AS Werkcoach,
     A.ID_groepen,
     T.ID_personen,
     A.ID_werkcoaches,
     CASE
      WHEN GR.ID_lokaties = 3 AND R.id_relaties = 9 THEN 20
      WHEN GR.ID_lokaties = 3 THEN R.id_relaties
      ELSE L.ID_relaties END AS ID_lokatieberekend,
     A.ID_relaties AS ID_relatie,
     R.nummer2 AS capaciteit,
     GR.ID_groepsroosters,
     CAST(CASE WHEN foto IS NOT NULL THEN 'Ja' ELSE NULL END AS char(2)) AS Foto,
     W.Email,
     W.TelefoonMobiel,
     W.TelefoonVast
    FROM
     dbo.personen AS P INNER JOIN
     dbo.trajecten AS T ON T.ID_personen = P.ID_personen INNER JOIN
     dbo.trajecttype AS TT ON T.ID_trajecttype = TT.ID_trajecttype INNER JOIN
     dbo.trajectactiviteiten AS A ON A.ID_trajecten = T.ID_trajecten INNER JOIN
     dbo.groepsroosters AS GR ON GR.ID_groepen = A.ID_groepen LEFT OUTER JOIN
     dbo.roosteractiviteit AS RA ON GR.ID_roosteractiviteit = RA.ID_roosteractiviteit INNER JOIN
     dbo.lokaties AS L ON GR.ID_lokaties = L.ID_lokaties INNER JOIN
     dbo.werkcoaches AS W ON A.ID_werkcoaches = W.ID_werkcoaches INNER JOIN
     dbo.groepen AS G ON A.ID_groepen = G.ID_groepen LEFT OUTER JOIN
     dbo.relaties AS R ON A.ID_relaties = R.ID_relaties LEFT OUTER JOIN
     dbo.roostermutaties AS RM ON P.ID_personen = RM.ID_personen AND GR.ID_groepsroosters = RM.ID_groepsroosters AND RM.aanwezig IS NULL
    WHERE
     (COALESCE (RM.nieuweDatum, GR.datum) BETWEEN GETDATE() - 1 AND GETDATE() + 13)
     AND (COALESCE (DATEDIFF(day, COALESCE (RM.nieuweDatum, GR.datum), A.uitstroomdatum), 0) >= 0)
     AND (DATEDIFF(day, A.instroomdatum, COALESCE (RM.nieuweDatum, GR.datum)) >= 0)
     AND ((SELECT COUNT(*) AS Expr1
      FROM dbo.roostermutaties AS RM2
      WHERE (P.ID_personen = ID_personen)
      AND (GR.ID_groepsroosters = ID_groepsroosters)
      AND (CONVERT(VARCHAR(8), begintijdafwezig, 108) = CONVERT(VARCHAR(8),
      CASE WHEN GR.ID_lokaties = 3 THEN COALESCE (RM.nieuweBegintijd,
      CASE WHEN GR.Tijdspan = 2 THEN R.begintijd2 ELSE R.begintijd END)
      ELSE COALESCE (RM.nieuweBegintijd, GR.begintijd) END, 108)) AND
      (CONVERT(VARCHAR(8), eindtijdafwezig, 108) = CONVERT(VARCHAR(8), CASE WHEN GR.ID_lokaties = 3 THEN COALESCE (RM.nieuweEindtijd,
      CASE WHEN GR.Tijdspan = 2 THEN R.eindtijd2 ELSE R.eindtijd END) ELSE COALESCE (RM.nieuweEindtijd, GR.eindtijd) END, 108))) = 0)

    We were using SQL 2008 Standard, but after upgrading to R2, following query is much slower (takes 5 seconds instead of less than 1 second), how is this possible?
    It is not uncommon to experience performance problems following an upgrade when there are issues with original query.  Non-sargable expressions like Olaf called out are often the culprit, as well as lack of useful indexes and statistics. 
    The optimizer cannot glean accurate row count estimates or use indexes efficiently so the resultant plan may not be optimal for the task at hand.  It is only by happenstance that old plan performed better; it could just as well be the other way around,
    but again only by chance since the optimizer is guessing.
    You might also try using EXISTS instead of SELECT COUNT(*)...= 0:
    AND EXISTS(SELECT *
    FROM dbo.roostermutaties AS RM2
    WHERE P.ID_personen = ID_personen
    AND GR.ID_groepsroosters = ID_groepsroosters
    AND CONVERT(VARCHAR(8), begintijdafwezig, 108) = CONVERT(VARCHAR(8),
    CASE WHEN GR.ID_lokaties = 3 THEN COALESCE (RM.nieuweBegintijd,
    CASE WHEN GR.Tijdspan = 2 THEN R.begintijd2 ELSE R.begintijd END)
    ELSE COALESCE (RM.nieuweBegintijd, GR.begintijd) END, 108)
    AND CONVERT(VARCHAR(8), eindtijdafwezig, 108) = CONVERT(VARCHAR(8), CASE WHEN GR.ID_lokaties = 3 THEN COALESCE (RM.nieuweEindtijd,
    CASE WHEN GR.Tijdspan = 2 THEN R.eindtijd2 ELSE R.eindtijd END) ELSE COALESCE (RM.nieuweEindtijd, GR.eindtijd) END, 108))
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

  • DFM Error after Upgrade from LMS 3.1 to LMS 3.2

    Hi Cisco Community,
    I have a big problem with the LMS  Application Device Fault Manager 3.2.0 after an Upgrade from LMS 3.1 to LMS 3.2
    The LMS upgrade finished without error.
    The Alerts and Activities Diplay encountered an error with the following message:
    "An exception occured.Please check the AAD.log file for further details"
    You find the "pdshow"  and "netstat" output and also the AAD.log, DeviceManagent.log, EPM.log, brstart.log and TISServer.log attached to this message
    Everything else works fine.
    A Cisco Daemon Manager restart doesn't fix this problem.
    Any ideas to fix this problem?
    Thanks for your help.
    Best regards
    Stephan B.

    The output of the command "brcontrol" was:
    Error attaching to broker: S25B2005:9002!
    I found a workaround for this error message at the release notes for the Cisco Unified Operations Manager.
    The workaround is:
    1.) net stop crmdmgtd
    2.) Wait 15 minutes
    3.) net start crmdmgtd
    After completion of this workaround, I got the following output:
    Broker is located at: S25B2005:9002      Started: May 07 11:08:47 2010
    Domain Host Name         Port     PID State   Last Change Time
    DFM    S25B2005.drv.bb  21900   18060 RUNNING May 07 11:08:55 2010
    DFM1   S25B2005.drv.bb  21903   13988 RUNNING May 07 11:08:55 2010
    You find this outputs attached to this message.
    Unfortunately the errors in the DFM application are the same as before.
    Also I get some error messages in the "Polling and Threshold" menu.
    You find this error message attached to this message.
    I already execute the following steps from the Cisco TAC to solve this problem.....without success.
    Stop Daemons >>> net stop crmdmgtd from CLI.
    Open windows explorer and go to \CSCOpx\databases\dfmFh. Delete dfmFh.log.
    Go to \CSCOpx\databases\dfmFh>  from CLI and run:
    dbsrv10.exe -f dfmFh.db from CLI.
    Similarly open windows explorer and go to \CSCOpx\databases\dfmEpm. Delete dfmEpm.log.
    dbsrv10.exe -f dfmEpm.db from CLI.
    Similarly open windows explorer and go to \CSCOpx\databases\dfmInv. Delete dfmInv.log.
    dbsrv10.exe -f dfmInv.db from CLI.
    Note : Please check a screen will pop up each time you execute these commands.
    Then, Start daemons >>> net start crmdmgtd from CLI.

  • Certificate errors after upgrade from 2008 r2 to 2012 r2

    After upgrading a DC from 2008 R2 to 2012 R2, Outlook will no longer connect to outlook.office365.com.  This appears to be a direct result of the upgrade, worked before and failed after.
    I get a flurry of message boxes when I launch Outlook, and it will run but not connect.  No path through the messages (granting permission to ignore the error, or installing the certificate) makes any difference.  Not seeing anything in the event
    logs, and have no idea how to fix this.
    In addition, IE is now raising cert complaints on every site, doesn't matter which.  Firefox seems to be managing okay, for the most part.
    Thanks for any guidance.

    Hi Michael,
    I am so sorry for the delay.
    I was trying to find more useful information about this issue, though there are very little information other than installing the trusted root certificate which is provided by the KB
    article above.
    I would suggest you download a
    certificate chain and install it.  
    If this method still couldn’t help you solve this issue, since you are using third party certificate (VeriSign) for your organization, you can get more efficient support by contacting
    third party support services.
    More information for you:
    Installing a Certificate Chain for Communicator Web Access
    http://technet.microsoft.com/en-us/library/dd441378(v=office.13).aspx
    Have a nice day!
    Amy

  • Excel file error after upgrade from 2010 to 2013

    Hi there,
    I did the upgrade from 2010 (Enterprise) to 2013. The excel files are not opening giving error.
    ULS Log: "Unexpected error when trying to access service settings in the configuration database. Make sure the proxy for this service application is a member of the default proxy group for the active web application. Error = ExcelServerWebServiceApplication.Local:
    Could not get the web application associated with this context. This indicates that the Excel Server service is not properly registered or provisioned.."
    Question : Do I need to create New Excel Service Application separately on SharePoint 2013 Server?
    I followed this link for upgrade
    http://technet.microsoft.com/en-us/library/jj839719.aspx but it doesn't say anything for Excel SA.
    Note: I have plan to configure separate Office APP Server to give user access the documents on iPad/iPhone. Should I need to do any configuration related to this error on Office App Server?
    Please advice.
    Thanks,
    Khushi

    Hi Khushi ,
    Yes, you need to create New Excel Service Application separately on SharePoint 2013 Server. Due to  only the following service applications have databases that can be upgraded when you upgrade from SharePoint
    Server 2010 to SharePoint Server 2013:
    Business Data Connectivity service application
    Managed Metadata service application
    PerformancePoint Services service application
    Search service application
    Secure Store Service application
    User Profile service application
    Attaching and upgrading these databases configures these service applications. Settings for other services will have to be reconfigured when you upgrade.
    Reference:
    Services upgrade overview for SharePoint Server 2013
    For configuring Office Web Apps Server , you can refer to the blog:
    http://stevegoodyear.wordpress.com/sharepoint-2013-build-guide/office-web-apps-2013-server-install-and-configuration/
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Compilation errors after upgrading from 8.1.6 to 10.2

    I recently upgraded a Weblogic Workshop application from version 8.1.6 to 10.2 using the Import wizard in Weblogic Workshop 10.2. However, I am getting the following compilation errors:
    Problem encountered finding XML Schema metadata for XML Bean
    com.ssmb.amps.workflow.projectionApproval.ProjectionApprovalDocument
    Does any one has any idea on it?
    Thanks,
    Albert

    Hi,
    Once upgraded from s.1 to 10.2, XML Schemes are converted to XMLBeans. So, during compiliation XMLSchemas are encountered. Try deleting XMLSchemas and compile. Hope it may help.
    Krishna

Maybe you are looking for

  • Macbook Pro running VERY slow- spinning wheel of death

    My 4 year old MacBook Pro has been running very very slow for quite some time and I'm fed up enough to ask for some suggestions. Upon reading some forums, I was advised to download EtreCheck... here are my results. Some things are in red and look bad

  • Error Installing with Package from CCP

    Hi, Apologies if there's a CCP board; I didn't see it in the menu. I used Creative Cloud Packager to make a package of apps for Mac. Installing the package using Apple Remote Desktop returns ".. could not be installed.  Error message: "Running packag

  • Everytime I open Aperture, the main photo appears in black

    Hi I don´t really know what I was doing with my aperture but something happened since I started editing some of my photos. And everytime I open aperture in the split view, the main photo appear in black&white while the rest of them are fine ( I mean

  • Error when running BDLS

    Dear expert, BDLS as the final steps of system refresh (ECC), i failed with error i scheduled it as the background job error: "Data inconsistency when running program RBDLSMAP, form routine PROCESS_SPECIAL_OBJECTS" And also i can't not run the BDLS a

  • CS 5.5 Install after Acrobat X

    Hi, I have installed CS 5.5 on a number of PCs but we are finding a number of them are coming up saying that they are trial versions even though the serial number was enterend correctly.  I followed the process of creating a deployment with AAMEE and