BO XI R2 Change design time database info

Hi,
I have created a report and deploy it in the developpement BO Enterprise server (with the "Use original database logon information from the report")
Now that this report is moving to the testing environnement I need to change those database info (with  "Use custom database logon information specified here")
It doesn't seem to work.
My databases are all sql server.
This problem seem to occurs when the report is based on a stored procedure (since the full sp name is keeped  databasename.dbo.spname)
Any idea?

Symptom
The Integration Kit for Baan driver displays incorrect time data in reports. The time is off by an hour between the dates marking the old Daylight Saving Time (DST) and the new DST change.
Cause
DST has been changed to occur earlier in the year. The Integration Kit for Baan does not pick the new settings up.
Resolution
There are files called ZONEFILES on the BAAN Server. These files must be already updated on the Baan server side.
The Integration Kit for Baan installs our own version of these files in the following folder:
\Baan\Native\lib\ZONEINFO
on the hard drive where the Integration Kit is installed.
Back up these files on the Crystal Reports/Business Objects XI computer, then put a copy of the ZONEFILES from the Baan Server to the computer where the Integration Kit for Baan is installed.

Similar Messages

  • How to change wait time-- Urgent

    Hi,
    In monitor screen, under status, I am seeing the wait time date as next month date.
    So the technical status is yellow in color though the data is loaded.
    Where can I change this time.
    Thanks in advance

    Hi,
    When changed Timeout time in Info package it will reflect to particular infopackage only .
    If u changed in RSMO tcoe and settings- menutab
    Waiting time upto status incorrect - it will reflect to all infopackages.
    We can maintain  the value in years, months, days,hours,minutes and second also.
    Regards,
    Krish

  • Infotype 0050 - Display Time Recording Info.

    Hello experts,
    I need to know if I unblock the "Time rec.ID no.". In order to chage the number if it's wrong.
    If I change the number ID, the history data (Time recording info) could be change? How could I change the number ID without changing the history data?
    Thanks in advanced!
    Edited by: carolina godoy on Dec 9, 2009 6:55 PM

    In your case, what you should not do is to go PA30 and click on the 'Change' button. If you did this, you are changing the Time Recording ID for the whole duration of the record validity.
    What you should do is to go PA30 on the infotype 50, click on 'Overview' button, select which record you want to maintained and click on 'Copy' button. In the detail screen, specify new effective date of the record. This way, you are not changing the Time Recording Info of the historical record.
    Alternatively, you can go PA30 on the infotype 50, and right away click on 'Copy' button. This way, the system will pick up the most recent record and you can specify new effective date.
    In short, using copy, you will retain historical record. Whereas using Change, no historical record is kept.

  • Does changing report connection at runtime require the same user/pwd used at design time?

    I've recently integrated Crystal 13 into a web service to provide HTML reports served up within our web application.  Sometimes reports would work and other times they would fail when attempting to connect to the database.  The ConnectionInfo associated with the tables referenced in the reports bore the account info used at design time (in the Crystal IDE), what ever connection was set as the Datasource Location, this would include the server name, database name, and other attributes of the connection.
    I found that any changes I make to table, sub-report connection info have no affect unless the UserID and Password match the UserID and Password saved with the report during design time.  While generally searching online, I came across several references to this being and issue or suggestion when database connection problems dynamically running reports.
    If this is by design?
    How would I support customers who want to use my reports, but also require that they manage the db access accounts?
    Thanks,
    Jeff

    Hi Brian, thanks for the response. 
    It does make sense that subreports would not necessarily be constrained to the same connection as the container report, and the designer would not persist a password for any stored connection.
    I'm on Windows 7 and up, Crystal 13 runtime, C# web service, sql 2008 r2 and up (native client).
    After loading the report source, I call ReportDocument.SetDatabaseLogon to set userId, password, serverName, and databaseName pulled from web.config.  I then pass the connection info and the ReportDocument to a recursive call that applies the connection info to each table in the report and each table in any subreport.
    Based on your description, it sounds like I may be missing, and require, the SetDatabaseLogon call on each subreport (ReportDocument).
    This seems to ring true and I think coincides with your description.  Would you agree?
    Thanks,
    Jeff

  • When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

    When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

    When I change the time zone of the clock, the "Date created" time information for my documents and image files in the Finder window (and in Get Info) is changed. Can I make the time info in "Date created" remain fixed regardless of the clock's timezone?

  • SDK - Possible to change Layout properties in design time?

    Hi guys,
    there are some layout properties you can change while you are in design time, top margin - left margin....
    I want to change them e.g on button press in additional properties.
    Is that possible?
    What I found is this.owner.oComponentProperties.margintop, but nothing happened after I set it to another value.
    best regards

    Hi Juri,
    If you simply want to provide the ability to change layout of standard or SDK components based on events such as a button click during run-time, this can be done with standard BIAL scripting as shown below:
    In design-time, the layout properties can be changed via the Standard Properties sheet.  Can you clarify why you need to be able to change the standard layout properties in the Additional Properties sheet?
    Regards,
    Mustafa.

  • Change server time will change database time?

    If a change my unix hour (because summer hour) the database will change without any commands or i need to do something?
    Tks,
    Elber.

    Yes, SYSDATE will pick up the underlying operating system's date and time.
    If you are changing the time zone in which the server resides, though, make sure that the operating system time zone and the database time zone are in sync if you are using any TIMESTAMP columns.
    Justin

  • TextInput style, change at design time.

    I am new to Flash, and am working on developing an iOS app.
    I have my first basic app running.
    My question is, how do I change the style of my TextInput at design time?
    I see how to do it in code, but I am hoping that I wont have to have a bunch of extra code, justto set the styles of the inputs.
    Thanks in advance,
    Clint

    One way you can probably do it is to doubleclick the component on the stage and manually edit the various pieces that comprise it by doubleclicking and editing them.
    If you are using a TextInput component and you have issues with having code for styling it, you might consider switching to just using an Input Textfield.  Components tend to be weighty little creatures, partly due to the various graphics they carry but moreso because of code that they lug around.  To see how much the TextInput contributes to the weight of a file, start a new file and place a TextInput on the stage.  Then, with the Flash Publish Settngs option set to Generate size report selected, publish the file and see the bytes contributed in the output panel.

  • Ver 4: Still no support for Includes or Design Time Stylesheets?

    Wow...well, without either of these I can't make use of this
    product. I guess I'm confused at what types of users this product
    may be marketed toward, although with the amount of focus put on
    Blogs and Blogging and lack of focus on requests already made in
    this forum for some time I'm getting a better idea. Hey, if they
    want to "dumb this down" and make it a price point product that
    purposely sits lower on the totem pole than Dreamweaver, then I
    think that ought to be made more clear in the marketing materials.
    I guess what's frustrating is that it's touted that it "uses the
    Dreamweaver HTML Engine" but can't implement a feature like Design
    Time Stylesheets? Would this put it too close to Dreamweaver in the
    product line? I certainly don't think so but if it did implement
    such a feature it would increase the demographic that could make
    use of such a great product as many users are not going to rewrite
    Includes OUT of their existing sites just to be able to use it.
    Most intermediate to advanced designers will almost always,
    and have been taught, to use includes to minimize page changes in
    multiple places...it's such a common thing to do. But unless an
    included page can be edited inline I have no way to turn my users
    loose with this app. It seems reasonable to implement Design Time
    Stylesheets like Dreamweaver does in which case, the users could
    edit the included page directly and at least see it like it should
    look with formatting which they can't do now because of the lack of
    an applied stylesheet when opening the include file directly.
    Do they expect that once we've written a site using includes
    we should have our content providers use Dreamweaver? I don't know
    about the rest of you but that's asking for a heck of a lot of
    trouble turning non-designer/developers loose with
    Dreamweaver...even using Templates.
    Sorry for the rant, I'm just a bit frustrated as I really
    need an app that can let me make use of "Content Providers" in our
    company. And don't get me wrong, I'm a long time Macromedia/Adobe
    supporter...just hoped something would happen with v4 that didn't
    and was pretty sure it would based on user input on this and other
    forums.
    If anyone has ideas on workarounds for this problem I'd love
    to hear!
    Thx,
    Mike

    Hi. I'm going to reopen this thread instead of starting a new
    one. Maybe someone here can help me figure out how Contribute can
    solve my client's editing woes.
    His site is built in ColdFusion, with template information
    that's stored in the database for each page. Currently this is what
    happens, simplified.
    1. User requests /foo.cfm
    2. Database looks up header, footer, and template to use for
    /foo.cfm, or the page can use "no template" in which case
    whatever's in the page gets put between the header and footer.
    3. The template or the page will contain one or more
    "editable regions", to use a Dreamweaver term. These blocks of HTML
    are pulled out of the database, and can currently be edited within
    the CMS by a browser-based WYSWYG editor.
    The problem is, the WYSIWYG editor in question isn't up to
    the task. Contribute seems to be, but I can't figure out how to fit
    it into a workflow compatible with this site!
    We don't use Dreamweaver and from what I've seen Dreamweaver
    templates aren't going to work in this application. It seems that
    if you make a change to the template, Dreamweaver has to go and
    update all 800 pages that use the template ... ??!? ... if so,
    lame.
    I don't mind pulling out all the HTML content snippets from
    the database and making a "database" on the filesystem of files
    that can be edited in Contribute. No problem. One of these snippets
    may be a "contact us" box or something that's used on 100 pages
    throughout the site, so I'm not going to put stuff like that
    separately on every page.
    If I do this, though, my snippets when I open them to edit
    them in Contribute are missing their CSS. This is because the CSS
    is set up in the header file, which is not included in the snippet
    HTML, obviously. The snippets also won't have the header and footer
    navigation and stuff, but I can live with that.
    How can I get the CSS to show up for my client when he edits
    the HTML snippets?
    The only solution I can think of is to put a stylesheet
    include into every snippet, and then pull that out with a regular
    expression from EVERY include at runtime whenever I display that
    HTML to the end user. Talk about a gross, ugly, non-extensible
    hack. Please tell me there's a better way...
    Thanks for reading,
    - Andrew.

  • SCEP date range reports change over time

    Not really sure how to title this, but here is the scenario. I have altered a canned report to run the first Monday of every month and dump a Word file w/links into a folder. The alteration of this report is simply changing the end date to be -30 from today.
    So I am getting a 30 day report of all computers that were infected. The report runs and looks to be accurate based on alerting I have setup. The problem comes when I take this report and start to drill down into the data using the links in the report. Let's
    say my report shows a virus name with an infection count of 3. I can click on 3 and see a list of PCs that were infected....well not so much. If between the time the PC was infected and the time I look at the report, any of the 3 PCs were cleaned of the infection,
    then they will not show up in the drilldown. So if a single PC was cleaned...the count still shows 3, but clicking on 3 only shows 2 computers now. This pretty much goes for any data on the main page.
    So essentially the report is pretty useless to go back in time and see detailed info on the incidents since the status of every bit of info in that report has changed over time. I am not a SQL person, but I did have one of SQL team look at the database and
    she can't see anywhere that she can pull archived data from. Any idea what direction I can point her in to get the type of reports I am looking for?

    Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Design time issues

    hi,
    i have some problems displaying my usercontrols with EF6 in design time
    first i had a connectionstring not found exception, so after some search i modified the dbcontext constructor to change connectionstring dynamically like this
    public partial class CardioEFEntities : DbContext
    public CardioEFEntities(String connString)
    : base(connString)
    string p = "metadata=res://*/CardioEFModel.csdl|res://*/CardioEFModel.ssdl|res://*/CardioEFModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string='character set=ISO8859_1;data source=localhost;initial catalog=C:\\Dev\\WPF\\Projects\\Cardio\\CARDIO.FDB;user id=SYSDBA;password=masterkey'";
    p = p.Replace("localhost", arr[0]);
    p = p.Replace("C:\\Dev\\WPF\\Projects\\Cardio\\CARDIO.FDB", arr[1]);
    context = new CardioEFEntities(p);
    now i have a blank empty page instead of the exception !
    i would say that everything work at runtime fine but not in design time,
    also i have my DAL in a separate class library project .
    any help is welcome
    thanks and goo day !

    Hi,
    yes i have installed EF and db provider both in my application and in my DAL project
    here the app.config of my app
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <configSections>
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    </configSections>
    <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.1" />
    </startup>
    <entityFramework>
    <defaultConnectionFactory type="FirebirdSql.Data.EntityFramework6.FbConnectionFactory, EntityFramework.Firebird" />
    <providers>
    <provider invariantName="FirebirdSql.Data.FirebirdClient" type="FirebirdSql.Data.EntityFramework6.FbProviderServices, EntityFramework.Firebird" />
    <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    <provider invariantName="System.Data.SQLite.EF6" type="System.Data.SQLite.EF6.SQLiteProviderServices, System.Data.SQLite.EF6" />
    </providers>
    </entityFramework>
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    <connectionStrings>
    <add name="CardioEntities" connectionString="metadata=res://*/CardioModel.csdl|res://*/CardioModel.ssdl|res://*/CardioModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string=&quot;character set=ISO8859_1;data source=localhost;initial catalog=C:\Dev\WPF\Projects\Cardio\CARDIO.FDB;user id=SYSDBA;password=masterkey&quot;" providerName="System.Data.EntityClient" />
    <add name="CardioEFEntities" connectionString="metadata=res://*/CardioEFModel.csdl|res://*/CardioEFModel.ssdl|res://*/CardioEFModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string=&quot;character set=ISO8859_1;data source=localhost;initial catalog=C:\Dev\WPF\Projects\Cardio\CARDIO.FDB;user id=SYSDBA;password=masterkey&quot;" providerName="System.Data.EntityClient" />
    </connectionStrings>
    <system.data>
    <DbProviderFactories>
    <remove invariant="FirebirdSql.Data.FirebirdClient" />
    <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient" />
    <remove invariant="System.Data.SQLite.EF6" />
    <add name="SQLite Data Provider (Entity Framework 6)" invariant="System.Data.SQLite.EF6" description=".NET Framework Data Provider for SQLite (Entity Framework 6)" type="System.Data.SQLite.EF6.SQLiteProviderFactory, System.Data.SQLite.EF6" />
    </DbProviderFactories>
    </system.data>
    <appSettings>
    <add key="AWSAccessKey" value="" />
    <add key="AWSSecretKey" value="" />
    </appSettings></configuration>
    and the app.config of my DAL project
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </configSections>
    <entityFramework>
    <defaultConnectionFactory type="FirebirdSql.Data.EntityFramework6.FbConnectionFactory, EntityFramework.Firebird" />
    <providers>
    <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
    <provider invariantName="FirebirdSql.Data.FirebirdClient" type="FirebirdSql.Data.EntityFramework6.FbProviderServices, EntityFramework.Firebird" />
    </providers>
    </entityFramework>
    <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
    <dependentAssembly>
    <assemblyIdentity name="FirebirdSql.Data.FirebirdClient" publicKeyToken="3750abcc3150b00c" culture="neutral" />
    <bindingRedirect oldVersion="0.0.0.0-4.5.0.0" newVersion="4.5.0.0" />
    </dependentAssembly>
    </assemblyBinding>
    </runtime>
    <system.data>
    <DbProviderFactories>
    <remove invariant="FirebirdSql.Data.FirebirdClient" />
    <add name="FirebirdClient Data Provider" invariant="FirebirdSql.Data.FirebirdClient" description=".NET Framework Data Provider for Firebird" type="FirebirdSql.Data.FirebirdClient.FirebirdClientFactory, FirebirdSql.Data.FirebirdClient" />
    </DbProviderFactories>
    </system.data>
    <connectionStrings>
    <add name="CardioEntities" connectionString="metadata=res://*/CardioModel.csdl|res://*/CardioModel.ssdl|res://*/CardioModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string=&quot;character set=ISO8859_1;data source=localhost;initial catalog=C:\Dev\WPF\Projects\Cardio\CARDIO.FDB;user id=SYSDBA;password=masterkey&quot;" providerName="System.Data.EntityClient" />
    <add name="CardioEFEntities" connectionString="metadata=res://*/CardioEFModel.csdl|res://*/CardioEFModel.ssdl|res://*/CardioEFModel.msl;provider=FirebirdSql.Data.FirebirdClient;provider connection string=&quot;character set=ISO8859_1;data source=localhost;initial catalog=C:\Dev\WPF\Projects\Cardio\CARDIO.FDB;user id=SYSDBA;password=masterkey&quot;" providerName="System.Data.EntityClient" />
    </connectionStrings>
    </configuration>
    now i have again this error
    System.Data.Entity.Core.MetadataException
    Schema specified is not valid. Errors:
    CardioEFModel.ssdl(2,2) : error 0152: No Entity Framework provider found for the ADO.NET provider with invariant name 'FirebirdSql.Data.FirebirdClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information.
    btw in my code i have a class that implement INotifyPropertyChanged wich get the data from database,
    in my usercontrol i have a reference for that class like this
    <UserControl.Resources>
    <local:ListeConsViewModel x:Key="ListeConsViewModel"/>
    </UserControl.Resources>
    <UserControl.DataContext>
    <local:ListeConsViewModel />
    </UserControl.DataContext>
    thanks for your help

  • Access 2003 - Repeated "You cant make changes to the database" error

    Hey all,
    Im having a very strange problem with Microsoft Access 2003, we work with old databases and when we open them up through Access 2003 we get the message "you cant make changes to the database objects" error, which is expected. However the laptop has started to repeat this message over and over about 8 times after the first time you click on it. Its very annoying to have to keep clicking to get rid of the error message. Its a very strange problem, any ideas on how to solve this or even to explain what might of happened will be appreciated.
    Thanks in advance
    P.S. It is not an option to update the database, we work with a program that uses an old 97 database and if you update the database the program will stop working.

    Hi
    Firstly it doesnt seem that this is a Toshiba notebook fault.
    This sounds more like a Microsoft issue.
    I would recommend checking the Microsoft knowledge base articles or/and contact the Microsoft support.
    I have investigated a little bit and found these pages. Maybe you will find useful infos.
    http://www.smartcomputing.com/Editorial/article.asp?article=articles/WebOnly/TechSupport/420w10/20w01.asp&guid
    http://support.microsoft.com/kb/824260/
    http://support.microsoft.com/?scid=kb;en-us;824278&spid=2509&sid=98
    Good luck

  • Processing changes in Syabse database table

    Can someone help me understand best way to process changes on a database table using XI?
    I'm crrently doing this using webmethods where webmethods generates a xml document whenever a row is inserted in a database using adapter notification mechanism. Then I can process this document by calling webservice.

    Thx Naveen,
    e.g. I insert a customer record in Sybase system, I would like that XI interface would insert same customer in SAP or another Database system and this should happen as a result in insert in Sybase table.
    Other way I can already achive this is by having XI look in a sybase table periodicaly and see if there are new rows of data added to the table since it last looked and then process those rows accordingly. I don't want to use this approach since it keeps looking at certain intervals and most of the time there won't be anything for it to process. Also when there is something to process, it will not be processed instanteneously but only when XI looks at the table next time around.
    This is whole debate about pushing data v/s polling for changes. I would like to push the info at the time data is inserted in sybase table instead of having to poll for it.
    appreciate your response.

  • Design Time and Dynamicall​y Created Controls

    I have a project written in VC6 as an MFC Dialog Box project. In a particular box, I dynamically create several (exact number depends on user entry) CNiGraphs. There are also a two CNiButtons that were created at design time using the resource editor. The problem I'm having is that when this dialog box is opened, a message pops up saying it's an eval version and the control will go inactive after 5 minutes. After waiting 5 minutes, the 2 CNiButtons go inactive (turn black), but the CNiGraphs continue to run. I have a valid licensed version of MStudio 8.1.6, but it appears that these 2 buttons don't recognize the license. There are also other design-time buttons in the project but those one's don't have a problem at all. When creating the dynamically creating the CNiGraphs I give them a valid license string, and I was wondering if there is a problem with having design time created and dynamically created controls in the same dialog box. Does anyone know?
    I can't remember, but I may have created those 2 CNiButtons when I was only using an eval license. (All the other were definitely create when I had a full license) Could that be affecting them? I seem to have a vague recollection of reading somewhere that design-time create controls check the license when they are created in the designer and store that license info in them. If that's the case does anyone know an easy way to update the license stored in the control? I'd rather not just delete it and re-add it as I'd like to avoid having to redo the tab order (unless someone knows how to easily insert something in the middle of the tab order instead of having to click through all the controls in the correct order?)
    Also, I'm not sure if this would affect anything, but the project was originally built with ComponentWorks 1.0, but we were forced to move to MStudio when we encountered some bugs in CW, so all the controls were originally CW Controls that have been converted to CNi Controls. I doubt this is it though as everywhere else we changed over the controls don't have a problem, but I'm willing to try suggestions.
    Solved!
    Go to Solution.

    Hi JC,
    I hope you had a good weekend!  I am glad to hear you are back up and running.  Adding the extra button was, in fact, what caused the updating of the license information for the other buttons, as you suspected.  After doing further research, I have found that the license information is stored wtihin the form for the control, and unless that control changes in any way (or in your case adding a new one to the project), it does not see any reason upon compiling to relink the license.  However, after changing the control and recompiling, it updates the linking of the license information, which resolved this issue in your case.  
    I hope this helps, JC.  Have a great day!
    Taylor G.
    Product Support Engineer
    National Instruments
    www.ni.com/support

  • Report does not print exactly same as it appears at design time

    Hello,
    I am using SAP Crystal report with VS 2010.
    I designed a report. At design time every thing appears fine. Margins are set to 0, printer is selected and page size is custom.(right click on report, design>pagesetup)
    When I use <reportname>.printtoprinter(), it dramatically changes the text size and margins of the report in hard copy. I tried literally everything for this. Especially It adds nearly 2 inches extra margin at top.Also , at run time it changes the font size to 8 or 9 points if i have set it to 12 at design time.
    I get the same problem if I do following:
      crystalReportViewer1.ReportSource = rptRcAbh;
       crystalReportViewer1.PrintReport();
    HOWEVER!!
    When I do this:
      crystalReportViewer1.ReportSource = rptRcAbh;
    AND when I manually click the print button of crystal report viewer, i get EXACTLY SAME result as design time. This is what I am expecting from printoprinter() method. But Its changing result dramatically.
    Why is this happening? Am I forgetting any setting?
    I must use reprot.printtoprinter() method here. Because I am printing the bill receipt. I dont want the user to go to printpreview then click print. AND I must get same result as design on printed page.
    Please help me. I am in urgent need.

    Hi Don,
    Firstly I am very very thankful to you for replying me.
    I know I must have irritated you a bit cuz I was expecting everything ready which I should have :P
    but I was in urgent need and there was no time for me to read everything. I must say a thing that I did not get good search results on printcontroller when I used search box of this website.
    Well Thanks again for helping me in deed.
    I am sure this must be the problem for many people across the globe, hence I am posting the exact code that helped me to print the document Accurately:
       rptReceiptAbhishek rptRcAbh = new rptReceiptAbhishek();
            //        rptRcAbh.Load("rptReceiptAbhishek.rpt", OpenReportMethod.OpenReportByTempCopy); i did't need this line
    //////// Directly Entering data to the fields of the report.
                    CrystalDecisions.CrystalReports.Engine.TextObject txtname;
                    CrystalDecisions.CrystalReports.Engine.TextObject txtaddress;
                    txtname = (CrystalDecisions.CrystalReports.Engine.TextObject)rptRcAbh.ReportDefinition.ReportObjects["txtRptName"];
                    txtname.Text = cboInitials.Text + " " + cboDonarName.Text;
                    txtaddress = (CrystalDecisions.CrystalReports.Engine.TextObject)rptRcAbh.ReportDefinition.ReportObjects["txtRptAdd"];
                    txtaddress.Text = txtAddess.Text;
                    rptRcAbh.PrintOptions.PrinterName = Properties.Settings.Default.PrinterName;
                    System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
                    CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions rasPROpts = new CrystalDecisions.ReportAppServer.Controllers.PrintReportOptions();
                    CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions newOpts = new CrystalDecisions.ReportAppServer.ReportDefModel.PrintOptions();
                    pDoc.PrinterSettings.PrinterName = Properties.Settings.Default.PrinterName;
                    pDoc.PrinterSettings.SupportsColor.ToString();
                    //if (pDoc.PrinterSettings.SupportsColor)
                    //    MessageBox.Show("Printer Supports Color", pDoc.PrinterSettings.SupportsColor.ToString());
                    rasPROpts.PrinterName = Properties.Settings.Default.PrinterName;
                    //   rasPROpts.PaperSize = (CrPaperSizeEnum)pDoc.PrinterSettings.PaperSizes[cboCurrentPaperSizes.SelectedIndex].Kind;
                    //rasPROpts.PaperSource = (CrPaperSourceEnum) pDoc.PrinterSettings.PaperSources[cboDefaultPaperTrays.SelectedIndex].Kind;
          //          rptReceiptAbhishek rpt = new rptReceiptAbhishek();
                    var rptClientDoc = rptRcAbh.ReportClientDocument;
                    rptClientDoc.PrintOutputController.PrintReport(rasPROpts);
                    MessageBox.Show("Printing in progress. Make sure that printer is not turned off.", "RAS", MessageBoxButtons.OK, MessageBoxIcon.Information);

Maybe you are looking for

  • Using the same apple ID

    I've recently lost my iphone and the problem is that I was using the same apple Id of my friend. Is there anything I can do to bring my videos and photos back? As I never did any back up of them

  • Error while creating back up directory ....

    My TM has been working flawlessly for a year or so, but suddenly it is very slow to mount and I get a message saying "Unable to Complete Back Up. An Error Occurred While Creating a Back Up Directory." What do I do now? (Have tried rebooting. Unpluggi

  • More ports

    Is it possible to configure an Apache server to run on more than one port with virtual hosts option? <IfDefine misa> Port 2222 Listen ddd.ddd.ddd.ddd:2222 DocumentRoot /usr/iAS/docs/misa ErrorLog /usr/iAS/docs/misa/log/error_log TransferLog /usr/iAS/

  • Itunes from desktop to laptop

    my desktop has crash and now i purchase a laptop. what i want to do is beable to listen to my muisc on my laptop like i did with my desktop with out having to keep plugging in my desktop to get the library up. so is there a way that this can be done

  • Trackpad becomes unusable after about an hour

    II've recently been having a problem with the built in trackpad on MacBook Pro. Started one day randomly with the trackpad lagging in the middle of the pad. Chatted to a apple worker and started up in safe mode and did a PRAM reset, both helped but d