CrystalDecisions.Enterprise.Desktop.ServerAdmin

Hello,
I'm trying to do something similar to: http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/en/BOE_SDK/boesdk_com_doc/doc/boesdk_com_doc/SampleCode70.html#160874 in VB.NET
Function GetFileServerSettings(IStore, FileServerId)
    Dim Servers   
    Dim FileServer
    Dim HTMLTable
    Dim MaxIdleTime
    Dim RootDirectory
    ' Query for the selected File Repository Server.
    Set Servers = IStore.Query("Select SI_NAME From CI_SYSTEMOBJECTS Where " & _
                                 "SI_KIND='Server' And SI_ID=" & FileServerId)
     ' Get the CrystalFileServerAdminLib plugin.
    Set FileServer = Servers.Item(1).PluginInterface("").ServerAdmin
    ' Get the current settings for the File Repository Server.
    MaxIdleTime = FileServer.MaxIdleTime
    RootDirectory = FileServer.RootDirectory
    ' Create the table for the File Repository Server settings.
    HTMLTable = "<TABLE BORDER=0 CELLPADDING=3 CELLSPACING=3>"
    HTMLTable = HTMLTable & "<TR><TD>Maximum idle time in minutes:</TD>"
    HTMLTable = HTMLTable & "<TD><INPUT TYPE=TEXT NAME='MaxIdleTime' VALUE='" & MaxIdleTime & "' SIZE=5></TD></TR>"
    HTMLTable = HTMLTable & "<TR><TD>Root directory:</TD>"
    HTMLTable = HTMLTable & "<TD><INPUT TYPE=TEXT NAME='RootDirectory' VALUE='" & RootDirectory & "' SIZE=50></TD></TR>"
    HTMLTable = HTMLTable & "</TABLE>"
    Response.Write HTMLTable
End Function
In my VB.NET app, I have a variable called serverAdmin that has a value of {CrystalDecisions.Enterprise.Desktop.ServerAdmin}, but when I drill down, the only thing I see inside is a method called "Interface" that has a value of {System.__ComObject}.  However, I can't figure out how to get to the FileServer.RootDirectory, any idea how to do this?
-Eric

Instead of trying to port the classic asp example, use the VB.NET examples at:
http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/d083c6e6-2981-2b10-efb1-cab90b299e6d
In particular the "HowToManageServers" one.
-Eric

Similar Messages

  • Could not load file or assembly CrystalDecisions.Enterprise.Desktop.User

    I had briefly looked into Crystal Reports within my Visual Studio 2008 solution. However since the project needed to be done quickly I removed the report and the references to Crystal.  Now I have deployed my application using Publish onto my QA server where I am getting the following error.  I checked my references, webconfig and imports to make sure the solution didnt have anything tied to Crystal and found nothing.  Why am I getting this error when I am no longer using the product?  Is there some way to remove the requirement for the assembly?  I also tried installing the Crystal Reports 2008 basic redistributable to my server with no luck.
    Error:
    Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    Stack Trace:
    [FileNotFoundException: Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
       System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
       System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +54
       System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +211
       System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +141
       System.Reflection.Assembly.Load(String assemblyString) +25
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +32
    [ConfigurationErrorsException: Could not load file or assembly 'CrystalDecisions.Enterprise.Desktop.User, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.]
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +596
       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +70
       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +177
       System.Web.Compilation.WebDirectoryBatchCompiler..ctor(VirtualDirectory vdir) +267
       System.Web.Compilation.BuildManager.BatchCompileWebDirectoryInternal(VirtualDirectory vdir, Boolean ignoreErrors) +39
       System.Web.Compilation.BuildManager.BatchCompileWebDirectory(VirtualDirectory vdir, VirtualPath virtualDir, Boolean ignoreErrors) +429
       System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +75
       System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +582
       System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93
       System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +111
       System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert) +54
       System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
       System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +40
       System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +139
       System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +128
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +161

    There has to be a reference to it somewhere in the project or it would not be throwing the error.
    You will have to recheck each page, references, web.config, compile options, etc, until you find it.
    Make sure you don't have it in a using statement or are referencing it directly in code.
    Best Regards,
    Jason

  • When are retirement dates for certification MCITP: Enterprise Desktop Support Technician on Windows 7 and MCITP: Enterprise Desktop Administrator on Windows 7?

    Hi,
    So what's the current situation with the MCIPT certifications in Windows 7?
    MCITP: Enterprise Desktop Support Technician on Windows 7
    MCITP: Enterprise Desktop Administrator on Windows 7
    The certifications had previously been scheduled to retire in July 31, 2013.
    Then that deadline was extended and they were due to retire in January 31, 2014
    Presently, the certifications are listed on the ever unhelpful Microsoft Learning website
    MCITP page and the
    windows certifications
    page.
    In typical Microsoft Learning unhelpfulness there is a bland, confusing and uninformative statement saying
    "Most MCITP certifications will be retired by July 31, 2014. Please check the
    retired certifications and
    retired exams pages for specific retirement dates."
    Naturally, Microsoft aren't being specific about which MCITP certifications are being retired.
    To be more obstructive and confusing, us poor learners are invited to check the retired certifications page, which only lists certifications that have already retired,  for information about when a certification
    will retire in the future. I have seen this done repeatedly in this forum and on borntolearn.mslearn.net in reply to questions about future certificate retirement, which is totally useless and perhaps deliberately deceptive, as the exam aren't
    being discontinued and there's no info about future certification retirement.
    There has previously been actual helpful information on the Microsoft learning webpages with statements explaining that whilst in a transistion between the older style MCITP and newer MCSA certification for Windows 7, that both certification titles will
    be awarded until x date, when the MCITP will be retired and the MCSA will be awarded only. I can't see anything like that on the site at the moment.
    I'd be most grateful if
    anyone can link me to a Microsoft press release / blog / webpage that announced the scrapping of the January 31, 2014 deadline (as I must of missed this announcement)
    anyone can give an update on the current Microsoft thinking about when this certificate will retire? Especially any links to announcements.
    are both MCSA and MCITP certifications still being awarded?
    advise what's the best way of staying up to date with multiple changes to exam and certification retirement announcement? (apart from borntolearn, which is awful and again, just directs back to the retired exams/certifications pages)
    Many thanks everybody!
    edit: formatting and spelling

    Why choose a near retiring credential ?  
    * Have ever you applied for a job with keyword requirements ?  Employers can be (and have been) insanely specific. (Then again that sort of gatekeeping for employment usually guarantees a fresh batch of pathological liars are your applicants, but I digress.)
    * Also could be on a time deadline, e.g. contract bid requires x number of people to be certified, CompTIA requirement deadline could be arriving, and so on.
    * Taking 2K08 exams when working in a 2K08 environment is probably easier than jumping into the next version without any access to it (other than building your own virtual servers or labs).
    My current employer uses 2K08 not 2K12.  There are also 2K03 servers still in production (eventually being phased out). 
    I don't know what the stats are today but (in 2012) 2K08 was leading over 2k12 in market share.  
    I thought that's what truly drives these exams' and certification's availability.

  • CrystalDecisions.Enterprise.Viewing PSReportFactoryClass gone in BO BI 4.0?

    The CrystalDecisions.Enterprise.Viewing namespace and PSReportFactoryClass was available in BusinessObjects Enterprise XI 3.1 and as far back as Crystal Enterprise 10 .NET according to the BOE XI 3.1 .NET API guide.
    But it is no where to be found in the BO BI 4.0 .NET API guide. Is using the RAS .NET SDK and the ReportAppFactoryClass the only alternative?
    I've avoided using RAS due to previous stability and memory leak issues and since I don't need report design features, using the Page Server I thought was the natural approach that was also more stable.
    Is this something that will be reintroduced in 4.1 or is there another approach?

    See .NET SDK for BI/BOE 4.0
    - Ludek

  • Com/crystaldecisions/enterprise/ocaframework/idl/PingerExHelper

    Using Crystal Report Server XI R2 and the included RAS SDK for report development in a web app.
    The web application is hoisted on a WebLogic server, below stack trace is shown in the server log
    after leaving the web application running for a while, ~ 15 minutes: 
    java.lang.NoClassDefFoundError: com/crystaldecisions/enterprise/ocaframework/idl/PingerExHelper
         at com.crystaldecisions.enterprise.ocaframework.aa.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.p.do(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.int(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.n.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    Exception in thread "ORBacus:Client:SenderThread" java.lang.NoClassDefFoundError: com/crystaldecisions/thirdparty/org/omg/CORBA/TRANSIENT
         at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded.senderRun   (GIOPClientWorkerThreaded.java:452)
         at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded$SenderThread.run(GIOPClientWorkerThreaded.java:57)
    What is causing these errors and how can we fix it?
    Thanks.

    Yes, double checked to make sure corbaidl.jar file is in WEB-INF/lib but still errors.
    12:05:29-ERROR-com.crystaldecisions.enterprise.ocaframework.ActiveScanner-(run:44):
    java.lang.NoClassDefFoundError: com/crystaldecisions/enterprise/ocaframework/idl/PingerExHelper
         at com.crystaldecisions.enterprise.ocaframework.aa.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.a(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.p.do(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.int(Unknown Source)
         at com.crystaldecisions.enterprise.ocaframework.n.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:595)
    Exception in thread "ORBacus:Client:SenderThread" Exception in thread "ORBacus:Client:SenderThread" java.lang.NoClassDefFoundError: com/crystaldecisions/thirdparty/org/omg/CORBA/TRANSIENT
         at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded.senderRun(GIOPClientWorkerThreaded.java:452)
         at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded$SenderThread.run(GIOPClientWorkerThreaded.java:57)
    java.lang.NoClassDefFoundError: com/crystaldecisions/thirdparty/org/omg/CORBA/TRANSIENT
         at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded.senderRun(GIOPClientWorkerThreaded.java:452)
         at com.crystaldecisions.thirdparty.com.ooc.OB.GIOPClientWorkerThreaded$SenderThread.run(GIOPClientWorkerThreaded.java:57)
    Any other ideas?
    Thanks
    Johnny

  • VerifyError: com/crystaldecisions/enterprise/ocaframework/idl/PingerEx

    Hi Export,
    Does anyone has any clue on why the following exception may occur? This exception occurs when reading BO document from BO server ...
    Thanks.
    java.lang.VerifyError: com/crystaldecisions/enterprise/ocaframework/idl/PingerEx
    Helper.narrow(Lcom/crystaldecisions/thirdparty/org/omg/CORBA/Object;)Lcom/crysta
    ldecisions/enterprise/ocaframework/idl/PingerEx;
            at com.crystaldecisions.enterprise.ocaframework.aa.a(Unknown Source)
            at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.a(Unknown Sou
    rce)
            at com.crystaldecisions.enterprise.ocaframework.p.do(Unknown Source)
            at com.crystaldecisions.enterprise.ocaframework.ServiceMgr.int(Unknown S
    ource)
            at com.crystaldecisions.enterprise.ocaframework.e.invoke(Unknown Source)
            at com.crystaldecisions.sdk.occa.ras21._BlockingDocumentConnectionProxy.
    post(Unknown Source)
            at com.crystaldecisions.sdk.occa.ras21.RASConnection.processRequest(Unkn
    own Source)
            at com.businessobjects.rebean.fc.internal.ras21.RAS21CPIConnection.proce
    ssRequest(RAS21CPIConnection.java:137)
            at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Encode.proces
    sRequestHelper(XMLviaRAS21Encode.java:680)
            at com.businessobjects.rebean.fc.internal.ras21.XMLviaRAS21Encode.prepar
    eRefresh(XMLviaRAS21Encode.java:1367)
            at com.businessobjects.rebean.fc.internal.ras21.RAS21DocumentComAdapter.
    prepareRefresh(RAS21DocumentComAdapter.java:403)
            at com.businessobjects.rebean.fc.internal.DocumentInstanceImpl.refresh(D
    ocumentInstanceImpl.java:802)

    My first guess would be that it's encountered a java.lang.VerifyError.
    But you knew that already.
    So first I'd eliminate Java jar file corruption by getting clean copies of the jar files.
    Sincerely,
    Ted Ueda

  • JavaFx Script for Development of Enterprise Desktop Applications?

    Hi,
    we are currentlich developing a rather complex business application using Swing. Now the JavaFx stuff seems to get up to speed and we are thinking about changing to build the Gui based on JavaFX.
    The enterprise frontend would be a more or less full-screen application, with many masks to enter data into. The backend is a glassfish bean architecture based on WebServices.
    Is it now the time to go that way? I dont see any usable design applications to integrate many Swing components - and JavaFx Components seems not existing to support all that listbox, treeviews, keyboard focusing stuff I need here...
    I am not very happy about coding all the dialoges per hand as it seems to be the way now...
    What do you guys suggest? Skip it for now? Or go the hard way as an early adoptor to find all the bugs and problems we somehow managed to get working already in Swing?
    Regards

    Hi,
    I've been trying to write a new desktop application using JavaFX and its pretty tough going with what's available in the API at the moment. The 1.0 release is obviously focused more on RIA, which is perfectly understandable considering the market space they are trying to enter and the fact that if you want to write a desktop application you can always use Swing. I think right now it would be suicide to recommend to your employers that you switch to JavaFX.
    The main problem is that JavaFX does not currently have all the standard components you would expect to be able to choose from in order to capture and display data. However, there is always the option of taking whatever Swing component you want to use (e.g. JTree) and wrapping it in the JavaFX SwingComponent class. There are some good examples of how to do that on this wiki page: [http://jfx.wikia.com/wiki/SwingComponents] . But my feeling is, if you're going to build your application out of Swing components wrapped in JavaFX classes then you might as well just write the application in Swing.
    I think that right now its too early for JavaFX enterprise desktops but I do believe that one day they will supersede Swing. JavaFX has so much potential. It will eventually be able to do everything Swing can do and then so much more. And I think Sun will have to start focusing on the desktop market quite soon. They are competing with Flex in the RIA space but Flex has good support for data tables etc and I see a lot of projects going with Flex when they might have otherwise gone with Swing.
    Cheers,
    Kevin

  • T430s + BIOS 2.02: Red Hat Enterprise Desktop 6.3 display problem

    Hi,
    Today I updated the BIOS on my T430s to 2.02 using the g7uj04uc.iso boot CD image from Lenovo's support site. After that the Red Hat Enterprise Linux Workstation 6.3 display is screwed up. It's shifted to the right and shows psychodelic false colours. With BIOS 1.11 everything (except the Panasonic battery issue) worked fine.
    Anyone else who has this problem and found a solution? I didn't find something with Google yet.
    Best regards,
    Bernd
    Solved!
    Go to Solution.

    Today I updated to Lenovo T430s BIOS 2.05. Issue persists. False colours and shifted to the right, even after applying the latest RHEL 6.3 workstation patches.
    With UEFI only boot and CSM disabled the system can't boot from the hard disk.
    Now the BIOS 1.11 can no longer be installed. The installer says: "The system program file is not correct for this system". It is the same CD which I used to reinstall BIOS 1.11 after update to 2.02.
    With "nomodeset" kernel option in /boot/grub/grub.conf the display is now correct, but after user logout from desktop or user switching a grey screen instead of the login manager is displayed

  • BusinessObjects.Enterprise.Desktop.Webi

    Hi,
    I'm trying to find out where I can find this class. I have already installed bo 4.1  .net sdk sp4 but it doesnt contain it.
    Thanks in advance.

    The SDK for Deski was deprecated in BI Platform 4.0. Please see the following:
    BI 4 How To: Desktop Intelligence and the BI4x Platform
    DeskI is not back... but here is something that will help you to move to BI 4
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow me on Twitter

  • Please Help! ERROR: Application Server failed. when Refreshing

    Please help on this below issue. Thanks.
    We have a requirement that using ASP.NET (C#), we need to open saved .rpt file (saved with data and the rpt file is assigned to the web page as query string) and let the users refresh themselves with latest data by clicking at refresh icon of the CrystalReportViewer. But it throws 'The Report Application Server failed' error message. What could cause this message. below is the piece of code we are using to configure the report.
    private void ConfigureCrystalReports()
    string reportPath = Server.MapPath("Reports
    SEMS0001_UBS.rpt");
    this.CrystalReportSource2.ReportDocument.Load(reportPath);
    CrystalReportViewer1.Visible = false;
    SetDBLogonForReport(this.CrystalReportSource2.ReportDocument);
    int i = 0;
    foreach (ParameterField field in this.CrystalReportSource2.ReportDocument.ParameterFields)
    field.HasCurrentValue = true;
    //this.CrystalReportSource2.ReportDocument.Refresh();
    CrystalReportViewer1.ParameterFieldInfo = this.CrystalReportSource2.ReportDocument.ParameterFields;
    CrystalReportViewer1.Visible = true;
    public void SetDBLogonForReport(ReportDocument reportDocument)
    Tables tables = reportDocument.Database.Tables;
    connectionInfo.ServerName = "server"; //ConfigurationManager.AppSettings["DBServer"];
    connectionInfo.UserID = "user"; //ConfigurationManager.AppSettings["DBUser"];
    connectionInfo.Password = "passwd"; //XsiteWinRpt.ConnUtil.GetOnlyPasswordOfConnString(); //ConfigurationManager.AppSettings["DBPassword"];
    //foreach (CrystalDecisions.Shared.IConnectionInfo connection in reportDocument.DataSourceConnections)
    // connection.SetConnection(ConfigurationManager.AppSettings["DBServer"], "", ConfigurationManager.AppSettings["DBUser"], ConfigurationManager.AppSettings["DBPassword"]);
    // connection.SetLogon(ConfigurationManager.AppSettings["DBUser"], ConfigurationManager.AppSettings["DBPassword"]);
    foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)
    TableLogOnInfo tableLogonInfo = table.LogOnInfo;
    tableLogonInfo.ConnectionInfo = connectionInfo;
    table.ApplyLogOnInfo(tableLogonInfo);
    //reportDocument.Database.Tables[0].ApplyLogOnInfo(tableLogonInfo);

    Attaching full code ... Our case is the RPT files are stored wih default parameters and saved data. We need to let users just refresh the rpt files with latest db data and overwrite with the same rpt files. But this code keep showing The application server failed mesg. when the refresh icon of viewer is clicked.
    Attaching the code as it is not properly attached in my previous reply ...
    =======================
    Begin - aspx.cs code
    =======================
    using System;
    using System.Data;
    using System.Data.OleDb;
    using System.Configuration;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Web.UI.HtmlControls;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.CrystalReports;
    using CrystalDecisions.Shared;
    using CrystalDecisions.Web;
    public partial class _Default : System.Web.UI.Page
        private ConnectionInfo connectionInfo = new ConnectionInfo();
        protected void Page_Load(object sender, EventArgs e)
            if (!IsPostBack)
                //ConfigureCrystalReports();
        protected void  CrystalReportViewer1_Init(object sender, EventArgs e)
            ConfigureCrystalReports();
        private void ConfigureCrystalReports()
            string reportPath = Server.MapPath(@"Reports\Report1.rpt");
            this.CrystalReportSource1.ReportDocument.Load(reportPath);
            CrystalReportViewer1.Visible = false;
            SetDBLogonForReport(this.CrystalReportSource1.ReportDocument);
            foreach (ParameterField field in this.CrystalReportSource1.ReportDocument.ParameterFields)
                field.HasCurrentValue = true;
            //this.CrystalReportSource1.ReportDocument.Refresh();
            CrystalReportViewer1.ReuseParameterValuesOnRefresh = true;
            CrystalReportViewer1.Visible = true;
        public void ReportDocument_RefreshReport(object sender, EventArgs e)
            try
    SetDBLogonForReport(this.CrystalReportSource1.ReportDocument);
    CrystalReportViewer1.ReuseParameterValuesOnRefresh = true;
                this.CrystalReportSource1.ReportDocument.SetDatabaseLogon("user", "passwd", "server", "");
                foreach (ParameterField field in this.CrystalReportSource1.ReportDocument.ParameterFields)
                    field.HasCurrentValue = true;
                    field.AllowCustomValues = true;
                    //field.EnableNullValue = true;               
                this.CrystalReportSource1.ReportDocument.Refresh();
                       this.CrystalReportSource1.ReportDocument.SaveAs(@"C:\Inetpub\wwwroot\XsiteRpt\Reports\Report1.RPT", true);
            catch (Exception ex)
                Msg.Text = ex.Message;
        public void SetDBLogonForReport(ReportDocument reportDocument)
            Tables tables = reportDocument.Database.Tables;
            connectionInfo.ServerName = "server"; //ConfigurationManager.AppSettings["DBServer"];
            connectionInfo.UserID = "user"; //ConfigurationManager.AppSettings["DBUser"];
            connectionInfo.Password = "passwd"; //XsiteWinRpt.ConnUtil.GetOnlyPasswordOfConnString(); //ConfigurationManager.AppSettings["DBPassword"];
            foreach (CrystalDecisions.CrystalReports.Engine.Table table in reportDocument tables)
                TableLogOnInfo tableLogonInfo = table.LogOnInfo;
                tableLogonInfo.ConnectionInfo = connectionInfo;
                table.ApplyLogOnInfo(tableLogonInfo);
    =======================
    End - aspx.cs.code
    =======================
    =======================
    Begin - Assemblies
    =======================
    <assemblies>
                        <add assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                        <add assembly="CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                        <add assembly="CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                        <add assembly="CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                        <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                        <add assembly="CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
                        <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/><add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
          </assemblies>
    =======================
    End - Assemblies
    =======================
    =======================
    Begin - aspx
    =======================
    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Xsite.aspx.cs" Inherits="_Default" %>
    <%@ Register Assembly="CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Refresh Report</title>
        <link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
            rel="stylesheet" type="text/css" />
        <link href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer3/css/default.css"
            rel="stylesheet" type="text/css" />
    </head>
    <body>
        <form id="form1" runat="server">
        <div>
            <asp:Panel ID="PanelMsg" runat="server">
            <br />
            <asp:Label ID="Msg" runat="server" Font-Bold="False" Font-Names="Verdana" ForeColor="Navy"></asp:Label>
            <br />
            </asp:Panel>
            <asp:Panel ID="PanelViewer" runat="server">
            <CR:CrystalReportViewer ID="CrystalReportViewer1" OnReportRefresh="ReportDocument_RefreshReport" runat="server" AutoDataBind="True"
                EnableDatabaseLogonPrompt="False" EnableParameterPrompt="False" ReuseParameterValuesOnRefresh="True" HasRefreshButton="True" Height="820px" OnInit="CrystalReportViewer1_Init" ReportSourceID="CrystalReportSource1" ShowAllPageIds="True" Width="1215px" />
            <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">           
            </CR:CrystalReportSource>
            </asp:Panel>
        </div>
        </form>
    </body>
    </html>
    =======================
    End - aspx
    =======================

  • Crystal Report Viewer Microsoft JScript runtime error

    When I use the crystal viewer control to render a report on the screen I receive the following error message:
    Microsoft JScript runtime error: Object doesn't support property or method 'isObject' ... and the following line is hilighted:
    if(!bobj.isObject(json)).
    Here is the markup for the test page I'm using
    {<body>
    <form id="form1" runat="server">
    <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
    AutoDataBind="true" ReportSourceID="crSource" />
    <CR:CrystalReportSource ID="crSource" runat="server">
    </CR:CrystalReportSource>
    </form>}
    I believe I set all info on crSource correctly (report path etc ...) because If I remove the Crystal reports viewer from the page and just use the crsource (i.e crptSource.ReportDocument.ExportToHttpResponse ...) I can export the report OK. Its only when I have the crViewer on the page Is when I recieve this error.
    Web Config
    <assemblies>
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304" />
    <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    <controls>
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagPrefix="CR" />
    <http handlers>
    <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
    appsettings
    <add key="CrystalImageCleaner-AutoStart" value="true" />
    <add key="CrystalImageCleaner-Sleep" value="60000" />
    <add key="CrystalImageCleaner-Age" value="120000" />
    I am using crystal reports 2008, visual studio 2008, windows 7 pro, MS Sql Server 2005, IE9
    I uninstalled crystal reports, and reinstalled crystal reports 2008 sp3 (Full build) - No help
    When I goto help about visual studio it says crystal reports 2008 (No specific version info)
    Assembly cache on the machine has
    12.0.2000.0 and 12.0.1100.00 as the vast majority ... a few (Design and Engine) have older 10.5.3700 and so forth (There are so many)
    I found this problem on the web with different solutions involving frame work folder or not having IIS setup to server the crystal reports viewer ... this is happening to me on my local development machine using the ASP.Net Develepoment server included with VS2008 ..
    Any help you could give me would greatly be appreciated
    Thanks in advance
    Kevin

    Hi Kevin,
    Take a look at below SAP Note.
    [1531003 - Error: bobj undefined - javascript error |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533333331333033303333%7D.do]
    I got this result just by searching 'bobj is undefined javascript' in the top right search box.
    Thanks,
    Bhushan.

  • Crystal Reports Server XI error in Infoview

    We have an old Windows 2000 server that was running Crystal Reports Server XI (not R2) and we recently reinstalled it on a Windows 2003 server and imported all the reports.  All scheduled reports work find however in Infoview if we click View Latest Instance I get the following error:
    "An error has occurred: File or assembly name CrystalDecisions.Enterprise.Desktop.Word, or one of its dependencies, was not found."
    In the Application Event log on the server I get the following 3 errors at the same time.
    "Failed to connect to server. Error: 0x80070005"
    "Detection of product '{5A5C2A47-52AC-4715-9A6C-E4433B2DDDEF}', feature 'DotNETSDK' failed during request for component '{90C1F7A4-6DFD-4F1F-A5D2-923F04D9D77B}'"
    "Detection of product '{5A5C2A47-52AC-4715-9A6C-E4433B2DDDEF}', feature 'DotNETSDK', component '{54EC1C27-1B41-4A53-8E89-8F8D13E78AB8}' failed.  The resource '' does not exist."
    it looks like a permissions issue.  Has anyone seen this before?
    Mike

    Post Author: krishna.moorthi
    CA Forum: General
    Hi,
    I am new in Crystal Report Server XI .
    I am facing the problem to passing dyamic parameters and connection information to the report in the ASP.Net and C# environment.
    can u give me the tips for dynamic passing parameters and connection to the report?
    waiting for your reply.
    thanks in advance

  • Load Report Failed - Report Application Server Failed error at runtime

    Hello, I'm pretty new to Crystal Reports so please bear with me.
    I just installed CR 2008 on my development box, which is running VS2005 .NET 2.0.  I changed over all of my assembly references in my web.config to the new version:
    <add assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Shared, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportSource, Version=12.0.2000.0, Culture=neutral,
    PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Framework, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.ReportAppServer.Controllers, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.CrystalReports.Engine, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    <add assembly="CrystalDecisions.Enterprise.Viewing.ReportSource, Version=12.0.1100.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304"/>
    Also the webpage that is displaying the ReportViewer object has this reference as well:
    <%@ Register Assembly="CrystalDecisions.Web, Version=12.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"
        Namespace="CrystalDecisions.Web" TagPrefix="CR" %>
    Now, in my code behind I am simply trying to open a pre-built crystal report that came in the sample pack
    When I try and do this in our already built website I get an error:
    "Load report failed"
    With the inner exception saying:
    "The Report Application Server failed"
    This same piece of code works perfectly if I build a new website, however when I try and impliment this into our existing code base I get the error shown above.  Also the samples I've used all use .NET 3.5 and the website is in 2.0.  I'm not sure if that is a factor or not but that is also another piece of information that could be useful.
    Any help on this matter would be greatly appreciated.  Thank you for you're time.
    Chris McMahan
    Edited by: Arithal on Aug 4, 2009 8:36 PM

    And finally the stack trace.  Sorry for the length of these posts.
    [COMException (0x800001f5): The Report Application Server failed]
       CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options) +0
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options) +126
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +575
    [CrystalReportsException: Load report failed.]
       CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened() +646
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob) +1374
       CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename) +169
       Report_Viewer_Crystal_CrystalView.ConfigureCrystalReports() in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:49
       Report_Viewer_Crystal_CrystalView.Page_Init(Object sender, EventArgs e) in c:\Inetpub\wwwroot\Report Viewer\Crystal\CrystalView.aspx.cs:33
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
       System.Web.UI.Control.OnInit(EventArgs e) +99
       System.Web.UI.Page.OnInit(EventArgs e) +9
       System.Web.UI.Control.InitRecursive(Control namingContainer) +321
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +834

  • Requesting standard basic build and deployment requirements

    Operational Data: 
    Microsoft visual Studio 2008
    Visual Basic Windows Forms Application
    Crystal Reports 12.0.2000.0
    Deploying on Windows Server 2003, Standard Edition
    I have been having difficulty deploying a WindowsForms CrystalReports application that I developed.  The specifics of my troubles all bottom out in the tangle of runtime and development redistribution files.  It has taken some time for me to get to the point where I can see what is going on.
    In order to save others from the pitfalls that I have encountered I wanted to give a short history. 
    I wrote a report.rpt that placed "Hello World!" in the header, no data, no dependencies.  I created a simple application that instantiates a CRViewer and places a new report based on the input report in that viewer.  Works great in house, and on most machines with the simple runtime.
    My first crack at this application failed miserably on a Windows XP environment.  When I launched the application nothing appeared to happen at all.  This was disconcerting, but a check of the Event Viewer (Control Panel/Administrative Tools), revealed that the application was failing to load the form initialization.  This was failing before my try catch block, which seems to be hitting other devs who have had troubles indicated on other forums.  To get past this I removed the CrystalReportViewer widget from my actual windows form, and instead wiffled one into existence on the fly in my form load code:
    try
       Dim viewer As CrystalDecisions.Windows.Forms.CrystalReportViewer
       Dim report As ReportDocument
       viewer = New CrystalDecisions.Windows.Forms.CrystalReportViewer
       report = New ReportDocument
    Catch ex As ApplicationException
                 MessageBox.Show("Could not start viewer. "&ex.ToString(), "ApplicationException: ",MessageBoxButtons.OK )        End Try
    This did not eliminate the trouble, but it did move the issue to inside an exception handler.  What I learned from my handler is that there were missing assemblies from my installation.  I began adding these assemblies into my installer one by one until I came to a working report.  The missing bits were:
    BusinessObjects.Licensing.KeycodeDecoder.dll
    CEReportSource.dll
    CrystalDecisions.CrystalReports.Engine.dll
    CrystalDecisions.Enterprise.Desktop.Report.dll
    CrystalDecisions.Enterprise.Viewing.ReportSource.dll
    CrystalDecisions.ReportAppServer.DataSetConversion.dll
    CrystalDecisions.ReportAppServer.Prompting.dll
    CrystalDecisions.ReportSource.dll
    CrystalDecisions.Shared.dll
    CrystalDecisions.Web.dll
    CrystalDecisions.Windows.Forms.dll
    I then tried to reinstall the runtime library, as well as the runtime from my particular version of Visual Studio.  I was able to remove the hand pulled libs from my deployment.
    So, this brings me to the question:  What should I do to create and deploy a simple application based on the CrystalReports development kit that I have purchased?  What needs to be redistributed to the client's machine?  Is there a common repository for licensed developers to get the missing bits?  Is it expected that I have to install the VisualStudio redist and a machine specific runtime?  Is there one thing that will get it done?
    I am using CRRedist2008_x86.msi and Crystal2008.exe, this seems like too much...
    Thanks in advance

    Joe,
    Your notes indicate that you are using Crystal Reports 12. I noticed that you mentioned you have been attempting to deploy your application with CRRedist2008_x86.msi and Crystal2008.exe.
    Please note those runtime packages are for Crystal Reports Basic for Visual Studio .NET. This version is the bundled version of Crystal Reports that comes with Visual Studio .NET 2008 (v 10.5).
    You should be using the version 12 merge modules or server install packages. For specific information on how to deploy an application that uses the CR .NET runtime please review our deployment procedures here - https://boc.sdn.sap.com/node/8546.
    You should be using these:
    http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/cr120_redist_msi.zip
    http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/cr120_redist_exe.zip
    http://resources.businessobjects.com/support/communityCS/FilesAndUpdates/cr120_merge_modules.zip

  • Exporting to PDF right hand text trunctation when using ForceLargerFonts.

    Hi,
    We are using Crystal Reports Basic .NET 2008 SP0 (10.5.3700.0) under ASP.NET.  We have decided to use the PDF printing option instead of ActiveX which works fine except for the font sizing issues.  After reading a few articles we resolved the font sizing issue by implementing the registry key ForceLargerFonts.
    HKEY_CURRENT_USER\Software\Business Objects\10.5\Crystal Reports\Export\PDF
    "ForceLargerFonts"=dword:00000001
    This has solved the problem of font scaling, however a new problem emerged relating to truncation on the right-hand side of textboxes, especially when the fonts are extremely small and the textbox is large (appears that crystal can't calulate the wrapping correctly). As described in this article - [http://ourchiwai.blogspot.com/2009/03/crystal-report-xi-service-packs-5-solve.html|http://ourchiwai.blogspot.com/2009/03/crystal-report-xi-service-packs-5-solve.html]
    We located an apparant fix in Crystal XI SP5 using these keys
    "UsePrecisePositioningForText"=dword:00000001
    "TruncationAdjustment"=dword:00000002
    however I can't seem to see any reference for this fix in Crystal Basic 2008.  Does anyone know if this fix is available in the Crystal Basic 2008 .NET version?
    Thanks
    Glenn

    Over 3 posts to avoid the 2500 formatting limitation.
    Sections of Web.Config
    <controls>
            <add tagPrefix="CR"  namespace="CrystalDecisions.Web" assembly="CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" />
    <assemblies>
            <add assembly="CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL"/>
            <add assembly="CrystalDecisions.Shared, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL"/>
            <add assembly="CrystalDecisions.ReportSource, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL"/>
            <add assembly="CrystalDecisions.Enterprise.Framework, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
            <add assembly="CrystalDecisions.Enterprise.Desktop.Report, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
            <add assembly="CrystalDecisions.CrystalReports.Engine, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL"/>
            <add assembly="CrystalDecisions.Enterprise.InfoStore, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
            <add assembly="CrystalDecisions.ReportAppServer.ClientDoc, Version=11.5.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
    <httpHandlers>
         <add path="CrystalImageHandler.aspx" verb="GET" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL"/>
        <handlers>
          <add name="CrystalImageHandler.aspx_GET" verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=11.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=MSIL" preCondition="integratedMode"/>

Maybe you are looking for

  • How to configure Queue and QueueConnectionFactory for a MDB

    Hi *, I want to send some messages from a session bean to a message driven bean. Therefore I'll use the default Queue (sapDemoQueue) and QueueConnectionFactory. In the ServiceLocator of my SessionBean I do the lookup with following methods:     publi

  • I can't save pictures from anywhere. When I click on save as, I'm getting them as .url page, not picture like jpg or whatever.

    I cant save pictures anymore as .jpg, .jpeg, .png.. when I click save picture, I get .url or some other format.

  • Dodgy download messing up mac software

    Hope you can help me. I have followed the instructions on a clip on youtube, http://www.youtube.com/watch?v=cocU_Mapgfg and it has - disabled spotlight, when I hover over writing it disappears and also the icons on finder and safari are no longer the

  • Transportation Info REQ??

    Hi I want to know the versions of the object in the TR no. Is there any way to chk the latest versions of the TR's attached with an object. Is there any way to see how may different TR are attached with an single object in SAP? Also i had a TR,with t

  • Group By one column

    I have one table as below CREATE TABLE [dbo].[emp](     [EmpId] INT,     [EmpName] VARCHAR(20),     [SAL] INT,     [DeptId] INT ) ON [PRIMARY] I want to select all column with group by one column SELECT EmpId, EmpName, SAL, DeptId FROM Emp GROUP BY D