AccessViolationException after upgrade to 2008

I have just now upgraded from the crystal reports basic version that comes with visual studio 2008 to the full Crystal Reports 2008. On opening a project it came up with the upgrade adviser thing and I ran it through seemed to work and compiled properly on running the reports unfortunately I am getting an AccessViolationException.
CrystalRepSource.Report.FileName = report2;
                //CrystalRepSource.ReportDocument.SetDatabaseLogon(Application["user"].ToString(), Application["pass"].ToString(),
                //    Application["server"].ToString(), Application["db"].ToString(), true);
                //section fills the datasource sets the report title
                FillStudentRegistersDataTable(studentDataTable, reportSource
                                                , pfItem1, dcItem1
                                                , pfItem2, dcItem2
                                                , pfItem3, dcItem3
                                                , pfItem4, dcItem4
                                                , pfItem5, dcItem5
                                                , pfItem6, dcItem6
                                                , pfItem7, dcItem7
                                                , pfItem8, dcItem8
                                                , pfItem9, dcItem9
                                                , pfItem10, dcItem10, paramFields);
                //tidy up bind dataset refresh report...
                CrystalRepSource.ReportDocument.SetDataSource((DataTable) studentDataTable);
                CrystalRepSource.DataBind();
                CrystalViewer.ReportSource = CrystalRepSource;
                CrystalViewer.DataBind();
The above is a snippet of the code this is a push report so it first fills a student registers data table. The error comes up on th eline underneath CrystalRepSource.ReportDocument.SetDataSource((DataTable) studentDataTabel).
I thought it might be push reports so I tried another this failed on trying to set logon info:
TableLogOnInfo logOnInfo = new TableLogOnInfo();
logOnInfo = CrystalRepSource.ReportDocument.Database.Tables[0].LogOnInfo;
Any ideas what the problem is as the error is a bit generic suggests possible memory corruption but that is definately not it. The reports were definately working pre upgrade and I do have a backup but would like to resolve this ASAP as I want to use some of the powerful new features.
p.s. this has service pack 0 installed

Forgot here is the stack trace:
at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.get_ProductLocaleID()
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.get_ProductLocaleID()
   at CrystalDecisions.ReportSource.CachedObjectReportSource.GetReport(RequestContext context, Boolean bAddToCacheWhenCreated)
   at CrystalDecisions.ReportSource.CachedObjectReportSource.InternalGetReport(RequestContext context, Boolean bAddToCacheWhenCreated)
   at CrystalDecisions.Web.CrystalReportSource.get_ReportDocument()
   at RegisterReportViewer.ReportParameter(String report, String reportSource) in c:\Visual Studio 2008\WebSites\MIU_web\RegisterReports\RegisterReportViewer.aspx.cs:line 295
   at RegisterReportViewer.OnPreRender(EventArgs e) in c:\Visual Studio 2008\WebSites\MIU_web\RegisterReports\RegisterReportViewer.aspx.cs:line 16
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Similar Messages

  • 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

  • Mavericks use super high memory after upgraded from 2008 early

    I suffered this pain after I upgraded from 10.7 to 10.9 on my early 2008 MacBook Pro.
    Just as image shown above, I don't know what reason will cause this problem. It usually gets high with unknown operation.
    I only get 4G memory. After I start 10.9, its kernel process and finder process consume almost 2/3 memory, it is so reduclous.
    Is there any way I can reduse the memory usage of finder or prevent it eats memory so high ?

    arthur, thank you,
    I do worry about it, because 4G is not enough any more for these memory monster =.=
    They together eat almost 3.99 GB memory, so that Mac becomes slow and shows SBBOD a lot and not responsive for many many seconds. It slow down my daily work a lot.
    Here is the info from Etresoft:
    Hardware Information:
              MacBook Pro (15-inch Early 2008)
              MacBook Pro - model: MacBookPro4,1
              1 2.5 GHz Intel Core 2 Duo CPU: 2 cores
              4 GB RAM
    Video Information:
              GeForce 8600M GT     - VRAM: 512 MB
    System Software:
              OS X 10.9.1 (13B42) - Uptime: 0 days 2:0:16
    Disk Information:
              FUJITSU MHY2250BH disk0 : (250.06 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) /: 249.2 GB (24.95 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
    USB Information:
              Apple Inc. Built-in iSight
              Apple Inc. BRCM2046 Hub
                        Apple Inc. Bluetooth USB Host Controller
              Apple, Inc. Apple Internal Keyboard / Trackpad
              Apple Computer, Inc. IR Receiver
    FireWire Information:
    Thunderbolt Information:
    Kernel Extensions:
              com.eltima.ElmediaPlayer.kext          (1.0)
              foo.tap          (1.0)
              foo.tun          (1.0)
    Startup Items:
              CiscoVPN: Path: /System/Library/StartupItems/CiscoVPN
              tap: Path: /Library/StartupItems/tap
              tun: Path: /Library/StartupItems/tun
    Problem System Launch Daemons:
    Problem System Launch Agents:
    Launch Daemons:
              [loaded] com.adobe.fpsaud.plist 3rd-Party support link
              [loaded] com.eltima.ElmediaPlayer.daemon.plist 3rd-Party support link
              [loaded] com.google.keystone.daemon.plist 3rd-Party support link
              [loaded] com.ipvanish.helper.openvpn.plist 3rd-Party support link
              [loaded] com.ipvanish.helper.pppd.plist 3rd-Party support link
              [loaded] com.microsoft.office.licensing.helper.plist 3rd-Party support link
              [loaded] com.oracle.java.Helper-Tool.plist 3rd-Party support link
    Launch Agents:
              [loaded] com.google.keystone.agent.plist 3rd-Party support link
              [loaded] com.oracle.java.Java-Updater.plist 3rd-Party support link
    User Launch Agents:
              [failed] com.adobe.ARM.[...].plist 3rd-Party support link
              [loaded] com.google.Chrome.framework.plist 3rd-Party support link
    User Login Items:
              Android File Transfer Agent
              Google Chrome
              SpeechSynthesisServer
              VMware Fusion Start Menu
              Tunnelblick
    Internet Plug-ins:
              o1dbrowserplugin: Version: 4.9.1.16010 3rd-Party support link
              Google Earth Web Plug-in: Version: 6.0 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              Flip4Mac WMV Plugin: Version: 3.2.0.16   - SDK 10.8 3rd-Party support link
              OfficeLiveBrowserPlugin: Version: 12.3.2 3rd-Party support link
              RealPlayer Plugin: Version: (null) 3rd-Party support link
              Silverlight: Version: 4.0.60129.0 3rd-Party support link
              FlashPlayer-10.6: Version: 11.9.900.170 - SDK 10.6 3rd-Party support link
              Flash Player: Version: 11.9.900.170 - SDK 10.6 3rd-Party support link
              iPhotoPhotocast: Version: 7.0
              googletalkbrowserplugin: Version: 4.9.1.16010 3rd-Party support link
              npgtpo3dautoplugin: Version: 0.1.44.29 - SDK 10.5 3rd-Party support link
              AdobePDFViewer: Version: 8.2.4 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 3rd-Party support link
              JavaAppletPlugin: Version: Java 7 Update 45 3rd-Party support link
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 1.9 - SDK 10.9
              AppleAVBAudio: Version: 2.0.0 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    User Internet Plug-ins:
              CitrixOnlineWebDeploymentPlugin: Version: 1.0.105 3rd-Party support link
              fbplugin_1_0_1: Version: (null) 3rd-Party support link
              fbplugin_1_0_3: Version: (null) 3rd-Party support link
    3rd Party Preference Panes:
              Flash Player  3rd-Party support link
              Flip4Mac WMV  3rd-Party support link
              Growl  3rd-Party support link
              Java  3rd-Party support link
              MacFUSE  3rd-Party support link
              Perian  3rd-Party support link
    Bad Fonts:
              None
    Old Applications:
              /Library/Application Support/Microsoft/MERP2.0
                        Microsoft Error Reporting:          Version: 2.2.9 - SDK 10.4 3rd-Party support link
                        Microsoft Ship Asserts:          Version: 1.1.4 - SDK 10.4 3rd-Party support link
              Solver:          Version: 1.0 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
              /Applications/Microsoft Office 2011/Office
                        Microsoft Graph:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Database Utility:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Office Reminders:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Upload Center:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        My Day:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        SyncServicesAgent:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Open XML for Excel:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Alerts Daemon:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Database Daemon:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Chart Converter:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Clip Gallery:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
              /Applications/Microsoft Office 2011
                        Microsoft PowerPoint:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Excel:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Outlook:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Word:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        Microsoft Document Connection:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
              Microsoft Language Register:          Version: 14.3.9 - SDK 10.5 3rd-Party support link
                        /Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
              Microsoft AutoUpdate:          Version: 2.3.6 - SDK 10.4 3rd-Party support link
                        /Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
              RipIt:          Version: 1.6.2 - SDK 10.5 3rd-Party support link
    Time Machine:
              Skip System Files: NO
              Auto backup: YES
              Volumes being backed up:
                        Macintosh HD: Disk size: 232.09 GB Disk used: 208.85 GB
              Destinations:
                        TimeMachine [Local] (Last used)
                        Total size: 200.00 GB
                        Total number of backups: 53
                        Oldest backup: 2013-05-27 16:45:13 +0000
                        Last backup: 2014-01-11 18:12:03 +0000
                        Size of backup disk: Too small
                                  Backup size 200.00 GB < (Disk used 208.85 GB X 3)
              Time Machine details may not be accurate.
              All volumes being backed up may not be listed.
    Top Processes by CPU:
                  11%          AddressBookSourceSync
                   4%          WindowServer
                   2%          Google Chrome
                   1%          eclipse
                   1%          EtreCheck
    Top Processes by Memory:
              1.45 GB          Finder
              401 MB          eclipse
              135 MB          Google Chrome
              70 MB          Skype
              49 MB          WindowServer
    Virtual Memory Information:
              39 MB          Free RAM
              1.52 GB          Active RAM
              1.48 GB          Inactive RAM
              451 MB          Wired RAM
              1.65 GB          Page-ins
              12 MB          Page-outs

  • Can't queue a build after upgrading from 2008 to 2012 (TF246021)

    Hi,
    We're trialling an upgrade from TFS 2008 to 2012.4. New TFS has been set up on new hardware with new slq and build boxes. Then we imported 2008 backups and used TFSConfig to import / upgrade them. No errors or warnings where shown.
    Unfortunately we can't queue any builds on the collection. Even a brand new definition in a new team project building "hello world". Builds in other collections work OK.
    The error we're getting is 
    "TF246021: An error occurred while processing your request. Technical information (for administrator): SQL Server Error: 2601"
    Exception Message: Cannot insert duplicate key row in object 'dbo.tbl_BuildQueue' with unique index 'PK_tbl_BuildQueue'. The duplicate key value is (2, 1). (type SqlException)
    SQL Exception Class: 14
    SQL Exception Number: 2601
    SQL Exception Procedure: prc_iiQueueBuilds
    SQL Exception Line Number: 553
    SQL Exception Server: TFSSQL001\INST1
    SQL Exception State: 1
    SQL Error(s):
    Exception Data Dictionary:
    HelpLink.ProdName = Microsoft SQL Server
    HelpLink.ProdVer = 10.50.4000
    HelpLink.EvtSrc = MSSQLServer
    HelpLink.EvtID = 2601
    HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
    HelpLink.LinkId = 20476
    Exception Stack Trace:    at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.MapException(SqlException ex, QueryExecutionState queryState)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.HandleException(Exception exception)
       at Microsoft.TeamFoundation.Framework.Server.TeamFoundationSqlResourceComponent.Execute(ExecuteType executeType, CommandBehavior behavior)
       at Microsoft.TeamFoundation.Build.Server.DataAccess.BuildQueueComponent5.QueueBuilds(IEnumerable`1 requests, QueueOptions options)
       at Microsoft.TeamFoundation.Build.Server.TeamFoundationBuildService.QueueBuilds(TeamFoundationRequestContext requestContext, IList`1 requests, QueueOptions options)
       at Microsoft.TeamFoundation.Server.WebAccess.Build.ApiBuildController.QueueBuild(String definitionUri, String controllerUri, String whatToBuild, String shelveset, Nullable`1 checkin, String priority, String dropFolder, String msbuildArgs)
       at lambda_method(Closure , ControllerBase , Object[] )
       at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<>c__DisplayClass2a.<BeginInvokeAction>b__20()
       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)
       at System.Web.Mvc.Controller.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
       at System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
       at System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult)
       at System.Web.Mvc.MvcHandler.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult)
       at System.Web.Mvc.Async.AsyncResultWrapper.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar)
       at System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    I found a thread with similar error but it doesn't help us.
    http://social.msdn.microsoft.com/Forums/en-US/ec3f9a9d-0c93-422b-bbc4-959e1e6bfe59/tf246021-an-error-occurred-while-processing-your-request-technical-information-for?forum=TFService
    Any help will be much appreciated.

    Hi Rad,  
    Thanks for your post.
    Daniel provided us the helpful suggestion, please confirm that.
    If install the new Build Service cannot resolve this issue, and according the error message: Cannot insert duplicate key row in object dbo.tbl_BuildQueue with nique…, it seems that this issue relate to your TFS database,
    we suggest you contact a Professional Support Service at
    http://support.microsoft.com/common/international.aspx?RDPATH=gp;en-us;offerprophone to gain more support on this case.  
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Dynamic Parameter Problem after Upgrade to 2008 from XI

    Post Author: phpsmitty
    CA Forum: Crystal Reports
    I'm having a problem with a dynamic populated parameter options on a report. I open the report up in XI (where the report was developed) and it works as expected. If I open up the same report up in 2008 the parameter fields aren't populating or correctly displaying. If recreate the report from scratch in 2008 they work fine.  Has anyone else had this problem? Is there a fix, that will allow me run an XI report correctly in 2008? Thanks

    LOV's need to be updated in CR 2008

  • Error Starting Certificate Authority after upgrading in place from Server 2003 Enterprise (32 bit) to Server 2008 Enterprise (32 bit).

    Hope this is the place to seek help with Active Directory Certificate Services.  We recently upgraded in place an issuing CA in our lab from 2003 to 2008 and the upgrade of the OS was successful but the CA service now will not start. 
    The error is:
    Error 0xc8000222 (ESE: -546)
    More info.  We did stop the CA service prior to doing the upgrade.

    Answering my own question with the hopes to help someone else. 
    The problem has something to do with the logs for the certificate database.  There is some sort of a format conflict after upgrading to 2008.
    To get around this error, and get the Certificate Authority service to start, remove all the logs from the C:\Windows\system32\CertLog directory that should be where your .edb database file lives, leave the database file there
    This worked for us on three of four of our CA servers, the other one had a database that went down in a dirty state, so we had to use ESEUTIL utility to fix the database.
    NOTE: there is no ESEUTIL utility on the CA servers, so we had to copy our database to an Exchange server in our test lab, then run ESEUTIL /MH to see what the Status is, it may say Dirty or Clean, then we ran ESEUTIL / P (P for Repair, go figure I know
    right) anyway that fixed the database, so we copied it back over to the CA and started the service
    hope this helps some of you out, we have a case opened with Microsoft Technical Support on this issue and will update this thread with their feedback as well once they get back to us (it has been a week already)

  • 2008 Macbook pro left click not working properly after upgrading to 10.6.8

    I have a 2008 Macbook pro and a few months ago after upgrading to 10.6.8 my left click has been wonky.
    Using the trackpad the left click eventually gets "stuck" or stops responding and I have to push it multiple times before it does anything.  I have tried plugging in a mouse, but when I do so the mouse also behaves the same way.  The only way I seem to be able to get the clicking to work properly is to restart the computer with the mouse attached.
    I have seen threads about trackpads being messed up by swollen batteries, but my battery is brand new and looks fine, and the clicking problem extends to an external mouse, so I believe it is something with the preferences.
    I tried deleting  com.apple.driver.AppleBluetoothMultitouchTrackpad.plist   and restarting and the problem seemed to be fixed, but then after about a half hour it returned.
    Having to keep a mouse plugged into my macbook is driving me crazy, anyone know a solution?

    I started having the same issue after update.  I'm on a MacBookpro running 10.7.2
    ICalled apple and they did a remove battery reboot, a reload lion and a option/command/R/P reboot on startup and then the computer started working.  Two days later problem was back.  I then did a reboot and the computer was back to working.  Today the computer worked fine tell it went to sleep.  I had to do a hard reboot to get the Mac up and running and now no left click.  Please help. I can not use the Mac  with the trackpad, a mouse, a Bluetooth mouse, or a digital pad. All so signs of left mouse click not working.  One other item when you go to pick your user at startup the left mouse click works.  Help!

  • Database login failed after upgrade to VS 2008

    I am having trouble with one of my reports after upgrading a project from VS 2005 to VS 2008. All reports work fine except for one. The one that doesn't work has a subreport and I am assuming that the subreport is the cause of the problem.
    My configuration is  - using Crystal Reports Professional XI  (11.5.8.826)
    The web server has Crystal reports server install, but I know very little about it. When I installed it, I had so much trouble configuring it, I don't know what it is that I finally got to work on the server. I think I ended up installing one of the runtimes a while back to get it working.
    When I upgraded my project, I simply opened the project in VS 2008, set the target as .net 3.5, built it and everything works except for this one report.
    Can someone please tell me what I need to install, or change on the server to make this work properly?
    Is there a way that I can determine how my reports are being served up? As I said, I'm not very familiar with the CR server and I had a lot of trouble with it when I did the initial configuration.
    Thanks

    Thanks for the reply. I got the upgrade complete, but I am still getting the database logon error.  I am using Visual Studio 2008, C#, Crystal Reports 2008 (dll version 12.0.2), Sql Server 2000. All of my reports work fine except for this one. The difference in this one is that it has a subreport. The report and subreport are using stored procedures. I have tried using the sa account to login to them. They login to two different databases on the same database server.
    Here is the code that I am using to login to the database.
    public enum ReportDatabase{MGA, Brokers, Intranet, TimeClock };
            public void SetDBLogonForTables(Tables tables, ReportDatabase database)
                string _userid = string.Empty;
                string _password = string.Empty;
                switch (database)
                    case ReportDatabase.MGA:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.Brokers:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.Intranet:
                        _userid = "abc";
                        _password = "123";
                        break;
                    case ReportDatabase.TimeClock:
                        _userid = "abc";
                        _password = "123";
                        break;
                ConnectionInfo _connection = new ConnectionInfo();
                _connection.ServerName = "123.123.123.212";
                _connection.DatabaseName = database.ToString();
                _connection.UserID = _userid;
                _connection.Password = _password;
                foreach (Table table in tables)
                    TableLogOnInfo _logoninfo = table.LogOnInfo;
                    _logoninfo.ConnectionInfo = _connection;
                    table.ApplyLogOnInfo(_logoninfo);

  • Word 2008 with inserted objects crashes after upgrading to yosemite

    After upgrading to Yosemite I cannot open Word 2008 files with inserted objects. It crashes on launch or there will be the message that Word his not responding

    After upgrading to Yosemite I cannot open Word 2008 files with inserted objects. It crashes on launch or there will be the message that Word his not responding

  • 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

  • Field width alignment after 2006 to 2008 upgrade

    Field width alignment after 2006 to 2008 upgrade
    I've noticed that after upgrading from 2006 to 2008 all of the textarea type fields are no longer being displayed the same way they used to be.  In the 2006 version I would create text fields with a width of 50 and textarea fields with 37 columns, which would end up being displayed in the browser as the same width.  After the upgrade all of the textareas are smaller in width.  I tried changing the width of one to 50 and that made it match the width of the text field.  If a change was made to make it easier to keep the widths of different field types aligned, that is great for building future services, but I don't want to have to go update every service across every environment to make the forms display properly.  Has anyone else run into this? 

    Tylor,
    Here's the scoop directly from the man who runs our UI team.
    In 2006 we had a bug where the field sizes specified for “text” and “textarea” fields were rendered as different sizes. Therefore the customer would use a field with 50 for “text” and 37 for “textarea”. This has been fixed in 2008. So, in 2008 if 50 is specified for “text” and “textarea”, the rendered versions of these are aligned.
    To solve the problem two approaches can be taken.
    #1. Update all “textarea”

  • I have an early 2008 macbook pro that is running slow after upgrading to lion. Is there anything I can do? this is what I have,Processor  2.4 GHz Intel Core 2 Duo, Memory  2 GB 667 MHz DDR2 SDRAM.

    I have an early 2008 macbook pro that is running slow after upgrading to lion. Is there anything I can do? this is what I have,Processor  2.4 GHz Intel Core 2 Duo, Memory  2 GB 667 MHz DDR2 SDRAM.

    First, back up all data immediately, as your boot drive may be failing.
    Launch the usual set of applications you use when you notice the problem.
    Step 1
    Launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the page that opens.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for % User, % System, and % Idle at the bottom of the window.
    Select the System Memory tab. What values are shown in the bottom part of the window for Page outs and Swap used?
    Next, select the Disk Activity tab. What approximate values are shown for Reads in/sec and Writes out/sec?
    Step 2
    You must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way as above. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left.
    Post the 50 or so most recent messages in the log — the text, please, not a screenshot.
    Important: Some personal information, such as your name, may appear in the log. Edit it out before posting.

  • Does any one experience having slow performance after upgrading to lion? (I'm using an iMac early 2008 with 4gb memory)

    I'm having a problem on my iMac early 2008 (2.4GHz Core 2 Duo 4gb SDRAM) after upgrading to Mac OS X Lion.
    The animation such as mission control and full screen and especially, launch pad performs really slow.
    Sometimes, mission control doesn't even show the animation.
    This is terrible and I want Apple to fix these problems or otherwise this is just making my mac useless.
    Does anyone experience having similar problem?

    thanks for the reply!
    I've checked the activity monitor but nothing was taking up the space expect for Flash Player (Safari Internet plug-in, which takes up 29% of CPU)
    here's my screenshot. can you see any problems?
    and here's another

  • Can't find my microsoft 2008 after upgrading to lion

    can't find my microsoft 2008 after upgrading to lion

    Hi Rayhiggs,
    Welcome to the Apple Support Communities!
    To set up and use Personal Hotspot please use the attached article for the process. If Personal Hotspot is not showing as an option in Settings > Cellular, it may be necessary to contact your carrier as described in the article. 
    iOS: Understanding Personal Hotspot - Apple Support
    Cheers,
    Joe

  • Any known issues with SCOM 2007 R2 after upgrading to SP2 for SQL 2008 R2 ?

    Are there any known or reported issues in SCOM 2007 R2 after installing SP2 for SQL server 2008 R2 ?  Currently running RTM version of SQL Server 2008 R2.

    Hi There,
    As a testing purpose long time back i did this. I did this step by step
    I installed SCOM 2007R2 with SQL server 2008 with SP1 initially.
    Then upgraded to 2008 SP2.
    Then upgraded to 2008 SP3
    Then upgraded to 2008 R2.
    Then upgraded to 2008 R2 SP1
    Finally to SP2
    I dint find any issue.
    I just kept on adding service packs upon each other. Except for upgradation to 2008 to 2008 r2 i used the installation media then the SP1 & SP2 files. to upgrade to service packs.
    If you want to go to directly SP2 i would suggest you install SP1 and then install SP2.
    Every thing is fine in the LAB equipment i tried this.
    Gautam.75801

Maybe you are looking for