Published report will not run; works fine in VS2010 debug mode.

Have 64bit Visual Studio Ultimate installed, CRv13_1 and MSSQL 2008 R2.
The issue I am having is the report work like a champ when I run the web application in debug mode. IE I hit the run button in Visual Studio, However when I publish the application the report will not run. I get various errors depending on how I have connected to report to MSSQL. I have tried ODBC and OLE DB connections. I have tried Windows authentication and MSSQL user login. The results are the same. the report works fine in debug mode but will not work when published. The most common error message is :
Error
Database logon failed.
or
Login failed for user 'NT AUTHORITY\NETWORK SERVICE'
Depending on how I am authenticating. I have Google this issue and there are tons of posts about it but no solutions. Any help would be appreciated.

See if the article [Troubleshooting Guide to Database Connectivity Issues with Crystal Reports in Visual Studio .NET Applications|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0225775-88c4-2c10-bd80-8298769293de] helps.
I'd settle on the prefered connection method and troubleshoot that. Use the search box in the top right corner of this web page. It will bring up KBases, blogs, wikis, articles and more. Also, search these forums. There is lots of info here and lots of answers.
- Ludek

Similar Messages

  • Report will not run after upgrade to new Crystal server

    My company has been using Business Objects version 11.5 Central Management Console and InfoView for Crystal reports. We are upgrading to
    SAP BusinessObjects BI Platform 4.1 Support Pack 1 Version: 14.1.1.1036 Central Management Console and BI Launch Pad. I have one report that is using a sql command for nat2date of a database value that is running successfully on InfoView but will not run on BI Launch Pad. The nat2date function is converting a random number in our database to a date and then selecting the records for the report by using the LastFullWeek function.
    ({Command.NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME)} in LastFullWeek)
    Is there something I need to add to the new CMC to recognize this sql command?
    Thanks for any suggestions!

    Ok, with BI 4.1 you'll need to use Crystal 2013 instead of Crystal 11.5.  For the vast majority of your reports, you won't have to manually upgrade them because the 11.5 version will work fine in the new version of BO.
    I suspect the problem you're seeing is with the "{Command.NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME)}" syntax. is "NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME)" the field alias that you're returning for this function?  Or are you trying to call the function like this?  I would call the function and alias it in the "Select" clause of your command so that it looks something like this:
    Select
      ...<various fields>...,
    NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME) as FROZEN_DATE
    from
    where
    You could then change the selection criteria to something like this:
    {Command.FROZEN_DATE} in LastFullWeek.
    That will fix the report as is.
    However, when you use the Select Expert for reports that have a command, Crystal will pull ALL of the data from the query into memory and then filter it there - it will NOT push this selection criteria down to the database.  So, I usually recommend that you put all of the filter criteria in the Where clause of the command.  You could use something like this to get "LastFullWeek":
    NAT2DATE(PY_PAY_SEGMENT_T.FROZEN_TIME) between Trunc(Sysdate - 7, 'DAY')  and
    Trunc(Sysdate, 'DAY') - 1
    "Trunc(Sysdate, 'DAY')"  will give you the first day of the current week and "Trunc(Sysdate -7, 'DAY') will give you the first day of the previous week.
    If you do it like this in the where clause, you may not have to include the "Frozen_Date" in the select clause.
    -Dell

  • SCCM Reports Will Not Run - SQL Connection Issue

    We have SCCM 2012 R2 CU2 and SQL 2012 SP1 CU6. We used to build our SCCM suites with SQL on the site server and have never had this problem that we now have on a new suite but this time we hosted SQL on its own server (SQ01) separate from the site server.
    SCCM made the SQL server a component server (makes sense) and forced us to put Reporting Services on the SQL server (when trying to put it on the site server it would not find the instance-CM01, as that one has SSRS on it). The site server is ABC01. We've
    already fixed a couple errors in regards to this issue.
    The Reporting Services installed on SQ01 fine. When you go to reports in admin console it loads the 419 default SCCM reports just fine. But none of them will run properly. They open up but a popup appears with this error in the error details popup:
    "An error has occurred during report processing....AbortedException: An error has occurred during report processing...ReportProcessingException: Cannot create a connection to data source AutoGen__(many numbers). System exception..."
    If you go to SQ01, open Reporting Services Config Mgr, connect to instance SC01, click the URL under Report Manager URL, it prompts you for a logon (but should not do so) and you can log in with the service account selected when the Reporting services were
    installed in SCCM Admin Console, drill down into ConfigMgr_ABC, click on the default created data source named {bunch of numbers}, and herein there are two more problems....1) it doesn't save the pwd for the service account, when clicking test connection we
    often have to reenter it, and 2) the ConnectionString has this entry for Source="ABC01.fqdn/CM01" but it will never connect with that. If we change it to just "CM01" and it is currently holding the pwd, it will test connect successfully
    but after just a few minutes it won't because something has reset the connection to "ABC01.fqdn/CM01" and forgotten the pwd. It is apparent that something is overwriting the settings in a way SQL currently doesn't like.
    Also, we have an alias within SQL in this format "SQ01.fqn/CM01" when SQL already has a "CM01" alias. This seems to be a problem too.
    Any input appreciated.
    Ben JohnsonWY

    OK, I'm duly web-embarrassed. Apparently due to some firewall blockage, my Admin Console on my workstation (which is in a different VLAN from these servers), could not save the changed Reporting Services configs to SQL. When we made the changes using the
    Admin Console on ABC01, it all started working.
    Ben JohnsonWY

  • FR and Web Analysis reports will not run in workspace

    I have configured both FR and Web Analysis and then re-configured workspace to pick them up. 'Reporting and Analysis shows up in my foundation metadata under workspace. All my related ports are enabled.
    Database connection manager, import financial reporting reports, preferences financial reporting, tools/link to web analysis, do not appear in workspace.
    get 'required application context analyzer is missing. please contact your adminstrator.' error when try to run a web analysis or financial reporting report from workspace.
    Web analysis as a client with reports is working fine.
    Financial reporting allows me to create a database connection, create a report, pdf preview from the client but web preview breaks with generic page not found error.
    Any suggestions would be most appreciated.

    Hi,
    You can use panel while creating reports and put all the graphs on it .
    Panels color can be changed.
    Thanks
    Yashwant

  • Google chrome will not run Adobe flash in windows 8 mode now, why?

    My windows 8 dell laptop can use Google Chrome in desktop mode and windows 8 app mode, Google Chrome Version 29.0.1547.66 m. I was using adobe flash in windows 8 mode when al of the sudden it told me that flash could only be used in desktop mode and kicked me into desktoop mode. I have adobe flash version11,8,800,97 installed. please help I would really like to know if there is something wrong.

    I have the same problem.  I was using Google Chrome without any problems until two days ago, when suddenly a bar started popping up accross the top of the page saying "Adobe Flash Player only works on the desktop" and give me the options "Relaunch Chrome" or "Don't ask again."  It can be very frustrating to have to relaunch chrome, especially if you're in the middle of streaming, or downloading, or halfway through something extremely long (and usually boring in my line of work) and it starts you back at the beginning because you have to relaunch.  Is there anyway to make Adobe work in the Windows 8 mode again and not just on the desktop?  I have Adobe Flash Player version 11,8,800,97 and Google Chrome version 29.0.1547.66 m.  Thanks.

  • My 6th generation Ipod Classic will not eject, works fine otherwise and properly goes thru sync cycle.  A message shows files are in use and device can't be ejected.  If I close my internet browser it will eject properly every time.

      I have a new HP Pavilion running Windows 7 with lots of memory and a terabyte of storage, using iTunes 11 with a 6th generation Ipod Classic.  Have used my current iPod for years with no problem until today; when I try to eject the device iTunes stops responding, there is a delay of about 10-15 seconds until a message box pops up: "the ipod cannot be ejected as there are files in use."  It also won't eject from the windows taskbar, same type of message appears. iTunes remains unresponsive until I click "ok" on the message box. I've reset the ipod twice and disabled the "enable disk use" button for the ipod -- with no change in symptom.
      I am not certain as to the fix but am 100% sure that the problem does not occur if I close my open browser; it occurs only when I have an Internet browser open.  I experimented with Google Chrome that I normally use, and also with Internet Explorer -- when either browser is being used the ipod cannot be ejected.
      I've used iTunes 11 for about 3-4 weeks and this problem had not occurred until today.

    I have had similar issues with mine, happens mainly if I transfer songs and then decide to disconnect my iPod to listen to them with my IEMs (I use Interenet Explorer in my case and it is not neccessarely up when this happens, so I seriously doubt it is an issue conencted to the web browser). I have no patience for this so my trick is I try to eject it from iTunes, if that does not work, then I bring Windows explorer up, right mouse click on the iPod mounted drive and select Eject. It gives me the same warning but there is a third button selection called Continue. When I choose that it just disconnets the drive anyway and the iPod is finally disconnected. It seems to work each and every time I do it so this solution is fine for me. Would be intersting to see what the real root cause of this is because I started getting this problem with the newer iTunes 11.

  • Run time error elements 10 tried everything on web help pages, rename reload still does not run, works fine with edit

    How do i fix it

    Hi 8tharmy,
    It's hard to tell what this error triggered,  Best approach will troubleshooting the issue and narrow down to the root cause. Best KB provided by Adobe you find here.
    Windows: https://helpx.adobe.com/x-productkb/global/troubleshoot-system-errors-freezes-windows.html
    Mac: Troubleshoot system errors, freezes | Mac OS 10.x | Adobe software
    If you like help please share some additional information in this topic or share the result and the issue statement with Adobe support. Learn & Support

  • ITunes 11 will not run on on windows 7 normal mode or safe mode

    I am at my witts end here. I don't know what to do anymore. Let me first start off by saying I hadn't updated itunes in months so I'm sure that probably has something to do with this. Finally upgraded and now itunes won't do a **** thing. I've gone through the troubleshoot guides and done everything step by step and nothing works. I've uninstalled quicktime. I uninstalled itunes, rebooted, and reinstalled (with no quicktime) still nothing. I tried opening it while holding down shift + ctrl so it would open in safe mode and still nothing. I tried removing pref files and still nothing. Tried creating a library, still nothiing. Removed the SC file. Again nothing. I did discover one thing. I tried creating a new user and once I did that it opened up fine, so I do know that it has everything to do with my main user. I don't know what else to do. Does anyone know something I haven't tried. I'm guessing there is a file or files that are messing it up. (Oh i tried repairing too, nada there as well) I'm desperate for a solution so I can use itunes again. Help!!!

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (Later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    See also HT1925: Removing and Reinstalling iTunes for Windows XP or HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Should you get the error iTunes.exe - Entry Point Not Found after the above reinstall then copy QTMovieWin.dll from:
    C:\Program Files (x86)\Common Files\Apple\Apple Application Support
    and paste into:
    C:\Program Files (x86)\iTunes
    The above paths would be for a 64-bit machine. Hopefully the same fix with the " (x86)" omitted would work on 32-bit systems with the same error.
    tt2

  • The Elements 12 Mac disk works fin - I also have a Dell, and the Windows disk will not run at all, sounds like it's grinding, and is almost impossible to remove from the hard drive.  I cannot find any place to tell me who to CALL to ask for a replacement!

    The Elements 12 Mac disk works fine - I also have a Dell, and the Windows disk will not run at all, sounds like it's grinding, and is almost impossible to remove from the hard drive.  I cannot find any place to tell me who to CALL to ask for a replacement!

    Hi Samcat,
    You can use a download instead of the disk as an alternative: Adobe - Download free trial version Adobe Photoshop Elements 12 | Adobe you can license with your serial
    Please test the disk in another windows machine to check if it's caused by the drive or the disk. If you tested with 2 drives please start a support case, i assume Adobe will only provide downloads at this point. They are the same as the trials. If you still need a disk you can burn the trial to a disk as a backup disk. Good luck!

  • After an upgrade from Power mac G5 to iMac and PS will not run... Error - 150:30.  Seems to be a Licensing issue.  Any ideas? Works fine on the old Powermac...

    Delighted with the new iMac but I have had an old version of CS4 for years now and it will not run on the new machine.  I have tried Adobe customer care chat but it seems that nobody is available right now.  Can anyone help?

    I cannot locate the Flexnet folder by the way.... and the License recovery tool tells me that ....
    You can’t open the application “LicenseRecoveryLauncher” because PowerPC applications are no longer supported.
    Where do I go from here please?

  • Bridge CC on opening gives "Adobe Bridge CC has stopped working" Uninstalled, re-installed same error, will not run. "check online for a solution" does nothing.

    Bridge CC on opening gives "Adobe Bridge CC has stopped working" Uninstalled, re-installed same error, will not run. "check online for a solution" does nothing.
    Bridge worked great for a while then started to fail when starting. Old Bridge CS6 still works fine. HELP ... please.

    You problem is in the Fault Module MSVCR80.dll
    Do a web search for this.  Here is one LINK

  • After configuring SSL, cannot run Report Manager but ReportServer works fine

    I'm using SSRS 2014 as part of SQL Server 2014 Express. I've configured both the Web Service URL and the Report Manager URL to use a Certificate and only allow port 443 traffic. I did this by removing the port 80 identity and adding an SSL Identity.
    All is working well for https://myserver.com/ReportServer. But when I try and access report manager, I get the following error when running remote:
    The underlying connection was closed: Could not
    establish trust relationship for the SSL/TLS secure channel.
    When running directly on the server, the server, it just rejects my passwords and asks for it again.
    If I remove the SSL Indentity and add back in port 80, it works fine over https.
    Any ideas of what might be causing this problem?
    Thanks,
    Glenn
    Please mark this post as Answered if it solved your problem, otherwise you can click Vote if it helped you out. -Glenn Thimmes

    Hi Glenn,
    Per my understanding that you have added an SSL Identity and you got some errors "The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel." when you logging remotely to the report manager,
    but which work fine when login report server, and it also asked for credential when you login report manager locally, right?
    The issue can be caused by many factors. Please check below points one by one to help you clarify:
    In rsreportserver.config file(Path like this:C:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer), ensure that SecureConnectionLevel is set to the value 2 or 3. If disable the SSL value is set to 0.  Corrected
    line in your rsreportserver.confiog file should look like:
    <Add Key="SecureConnectionLevel" Value="3"/>
     In rsreportserver.config, add the correct value to the <URLRoot> element. the ReportServerUrl value must be the name of the server that is registered for that certificate. with a hostname that is valid for your certificate. For example, if the
    certificate is registered to https://adventure-works.com.onlinesales, the report server URL would be
    https://adventure-works.com.onlinesales/reportserver.
    <UrlRoot>
    https://adventure-works.com.onlinesales/reportserver.
    </UrlRoot>
    Ensure that your certificate exists in Trusted Root Certification Authorities in certmgr for the local machine.
    http://www.c-sharpcorner.com/uploadfile/anavijai/could-not-establish-trust-relationship-for-the-ssltls-secure-channel/ 
    This is very important. In rsreportserver.config file, add the same value to the <ReportServerUrl> element the same as that you added in step 2. 
    <ReportServerUrl>
    https://adventure-works.com.onlinesales/reportserver.
    </ReportServerUrl>
    Then restart your report server (stop & then start in Report Server Configuration Manager).
    Article related to this issue also contain the troubleshooting for your reference:
    http://msdn.microsoft.com/en-us/library/ms345223(v=sql.100).aspx
    Similar threads for your reference:
    Could not establish trust relationship for the SSL/TLS secure
    channel
    SSRS 2008- Underlying connection
    was closed – could not establish trust relationship for SSL/TLS
    If your problem still exists, please try to provide us snapshopt about the setting for the SSL Identity and also the Report Manager URL,etc.
    Regards
    Vicky Liu

  • Bridge 6.1.0.115 will not run on Mac OS 10.6.8. Unfortunately, I upgraded to the new version. How do I revert to the older version that works with Mac OS 10.6.8?

    Is there a way to download the previous or older version of Bridge CC. The current version will not run on Mac OS 10.6.8. Thanks for any assistance.

    The current version will not run on Mac OS 10.6.8. Thanks for any assistance.
    The easiest way would be to update to at least 10.7.5 (supported on most older Macs) but maybe you have strong reasons not to do so, however it will put you in to more trouble in the future because newer applications have more often the habit of not being able to support older OS versions due to limitations of this old OS.
    Here is the announcement of Adobe:
    http://blogs.adobe.com/creativecloud/moving-ahead-with-mac-os-x-10-7-and-higher/
    However PS CC should still work on your system and otherwise CS6 should. As a cloud subscriber you still have access to both CC and CS6 on the Adobe CC download pages. But only PS is a major upgrade (changed to version 2014) and Bridge has just a minor update and should still work on 10.6.8 I would think?
    Installing the updates and upgrades did not remove or uninstall the CC versions of PS, otherwise use CC application to install CC again.

  • Installed CS6 and all working except Photoshop. Says application will not run on this mac despite my having the necessary system requirement of OSX 10.6.8. Can anyone help please?

    installed CS6 and all working except Photoshop. Says application will not run on this mac despite my having the necessary system requirement of OSX 10.6.8. Can anyone help please?

    Hi - I have opened a second log with the same date and name and am now tracking down the problem.
    This seems to be the problem for me: Error "Exit 6" or "Exit 7" | Install log | Read, write, system file errors | CS5, CS5.5

  • I'm trying to sync Outlook calendar (office 2010?win 8) with my iphone 4s. All works well when running control panel manually but it will not run automatically after that. Anyone got any ideas

    I'm trying to sync outlook calendar and contacts via icloud control panel. Everything works when control panel is run manually but it will not run automatically after that. Anyone got any ideas

    I am having a very similar problem. Until 12 hours ago, I was using my recently replaced 4s (with iOS7) flawlessly, receiving emails and calendar info from Exchange (Outlook 2010). But starting last night, it all stopped. I have deleted and added the account several times, tried making simple changes (considering whether the username is case sensitive, or not, etc.) and cannot fix it. I have iOS 7.04. Interestingly, the first time I changed the case to lower case, it seemed to respond immediately, and downloaded many emails with no sender, no content, and with a 12/31/69 date. Yes, 1969. And then nothing happened. Help please!

Maybe you are looking for

  • How to run a batch file using tigger....

    Hi, i am trying run a batch file using a trigger on a table. say i have a table XYZ(col_1 varchar2 primary key, col_2 varchar2) the values of col_2 keeps changing and col_1 are constant whenever the value of col_2 in any row changes from "on" to "off

  • Cannot drag and drop in finder

    I am running the latest version of OS X Lion 10.7.2 and I can drag windows, drag to highlight files on the desktop.  I just cannot drag a file to a folder. What gives?

  • Is it possible to use Remote SharedObjects with the LCDS server?

    Hello, The ActionScript documentation for Remote SharedObject RSOs are created using the static getRemote function.  This returns a reference to an object that can be shared across multiple  clients by means of a server, such as Flash Media Server. I

  • SQLite in Flash, not Flex. For Android/iOS.

    Help please people, I can't figure out how to use an SQLite database within Flash Professional. There are plenty of tutorials on how to in Flex, but not so much in Flash. Could someone explain how or point me in the right direction? Thanks, Charles.

  • SAP Netweaver Developer Studio SP16 - download

    Please let me know where I can download SAP Netweaver Developer Studio SP16 - is it available on SDN or do we have to be a SAP partner to get this version? I tried the full SP16 Java Edition (4 files) but it doesn't contain Studio. The only version o