CR2008:Failed to open the connection. Failed to open the connection. Report
Hi,
I've just upgraded from Crystal XI R2 to Crystal 2008. All my reports open happily in Crystal 2008. I have also deployed the Crystal 2008 runtime to a Windows 2003 SP2 R2 server running ASP.NET 1 and ASP.NET 2. Before the Crystal 2008 runtime was installed on top of the already present Crystal XI R2 Runtime I could view RPT files via the .NET report viewer (version XI). Now that Crystal 2008 runtime is installed I receive an error message when I try to view the reports, again, via the .NET report viewer (version 12), although no code has changed apart from all references changed from XI to 2008.
Code is:
CrystalDecisions.CrystalReports.Engine.ReportDocument oReportDocument = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
oReportDocument.Load(sReportFilename);
Tables oTables = oReportDocument.Database.Tables;
foreach (CrystalDecisions.CrystalReports.Engine.Table oTable in oTables)
TableLogOnInfo crTableLogOnInfo = oTable.LogOnInfo;
crTableLogOnInfo.ConnectionInfo.IntegratedSecurity = true;
crTableLogOnInfo.ConnectionInfo.DatabaseName = "DB" ;
crTableLogOnInfo.ConnectionInfo.ServerName = "server" ;
oTable.ApplyLogOnInfo(crTableLogOnInfo);
CrystalReportViewer1.ReportSource = oReportDocument;
this.DataBind();
Error message is: 'Failed to open the connection. Failed to open the connection'.
Any help would be great.
Regards
Tony
You are correct in that there are no database connectivity changes in CR 2008.
If you do not have SP0 for CR 2008, download it from here:
https://smpdl.sap-ag.de/~sapidp/012002523100007528552008E/cr2008_sp0.zip
If that does not help, I'd like to check if the correct dlls are loading when using CR 2008. To do that, download the modules utility from here:
https://smpdl.sap-ag.de/~sapidp/012002523100006252802008E/modules.zip
Then do the following:
1) unzip the download
2) Run the app with the CR 2008 references
3) get the error. leave the error on the screen
4) Start modules
5) Go to the File menu, select New List -> Memory Modules
6) Expand "By process"
7) Find the app exe (or the .NET dev env)
8) Click on that
9) Go to the View menu and select Details
10) Look to see if there are any dlls loading form the CR XI r2 directory (c:\Program files\Business Objects\Common\3.5\bin)
Ludek
Similar Messages
-
I have windows xp sp3, run Mcaffee security software- when I open I-Tunes it does open however it will not connet to the I-Tunes store. I-Tunes diagnostic indicates that it does connect to the internet but the secure ling to I-Tunes fails. I-Tunes diagnostic attached. Hope some one can help. Microsoft Windows XP Professional Service Pack 3 (Build 2600) Dell Inc. MP061 iTunes 11.0.2.26 QuickTime 7.7.3 FairPlay 2.3.31 Apple Application Support 2.3.3 iPod Updater Library 10.0d2 CD Driver 2.2.3.0 CD Driver DLL 2.1.3.1 Apple Mobile Device 6.1.0.13 Apple Mobile Device Driver 1.64.0.0 Bonjour 3.0.0.10 (333.10) Gracenote SDK 1.9.6.502 Gracenote MusicID 1.9.6.115 Gracenote Submit 1.9.6.143 Gracenote DSP 1.9.6.45 iTunes Serial Number 0012B5500B576CC8 Current user is an administrator. The current local date and time is 2013-04-28 10:27:11. iTunes is not running in safe mode. WebKit accelerated compositing is enabled. HDCP is not supported. Core Media is supported. Video Display Information ATI Mobility Radeon X1400 **** External Plug-ins Information **** No external plug-ins installed. iPodService 11.0.2.26 is currently running. iTunesHelper 11.0.2.26 is currently running. Apple Mobile Device service 3.3.0.0 is currently running. **** Network Connectivity Tests **** Network Adapter Information Adapter Name: {7282B8D2-078A-4414-82D6-A506F9C935D0} Description: WiMAX Network Adapter - McAfee Core NDIS Intermediate Filter Miniport IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0 Default Gateway: DHCP Enabled: Yes DHCP Server: 255.255.255.255 Lease Obtained: Wed Feb 13 12:30:29 2013 Lease Expires: Mon Jan 18 21:14:07 2038 DNS Servers: Adapter Name: {9CE46F79-8015-4C15-A074-B1ACA4388E56} Description: Sierra Wireless Network Adapter - McAfee Core NDIS Intermediate Filter Miniport IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0 Default Gateway: DHCP Enabled: Yes DHCP Server: Lease Obtained: Mon Jan 18 21:14:07 2038 Lease Expires: Mon Jan 18 21:14:07 2038 DNS Servers: Adapter Name: {1A876FC9-50B6-4101-8E4F-838AF1D1CB32} Description: Dell Wireless 1390 WLAN Mini-Card - McAfee Core NDIS Intermediate Filter Miniport IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0 Default Gateway: DHCP Enabled: Yes DHCP Server: Lease Obtained: Mon Jan 18 21:14:07 2038 Lease Expires: Mon Jan 18 21:14:07 2038 DNS Servers: Adapter Name: {E64A2DD8-7A18-4784-8DC0-08B143E504A7} Description: Broadcom 440x 10/100 Integrated Controller - McAfee Core NDIS Intermediate Filter Miniport IP Address: 0.0.0.0 Subnet Mask: 0.0.0.0 Default Gateway: DHCP Enabled: Yes DHCP Server: 10.0.40.20 Lease Obtained: Thu Aug 23 15:54:15 2012 Lease Expires: Thu Aug 23 17:54:15 2012 DNS Servers: Adapter Name: {2A9F97F5-D693-427F-BA40-9C3AA36937B1} Description: WAN (PPP/SLIP) Interface IP Address: 107.42.83.109 Subnet Mask: 255.255.255.255 Default Gateway: 107.42.83.109 DHCP Enabled: No DHCP Server: Lease Obtained: Wed Dec 31 18:00:00 1969 Lease Expires: Wed Dec 31 18:00:00 1969 DNS Servers: 66.1.77.7 68.29.73.7 Active Connection: Mobile Connected: Yes Online: Yes Using Modem: Yes Using LAN: No Using Proxy: No Firewall Information Windows Firewall is on. iTunes is enabled in Windows Firewall. Connection attempt to Apple web site was unsuccessful. The network connection timed out. Basic connection to the store failed. The network connection timed out. Connection attempt to Gracenote server was successful. The network connection timed out. Last successful iTunes Store access was 2013-04-16 10:14:47.
Hello cor-el, thanks for your reply. I changed my settings for downloads to desktop and it has appeared on there. When I double click I am asked which program I want to open file. I click firefox and another box "opening install" says I have chosen to open the file which is an application and do I want to save it. This is the only real option so I press save file. I get a box saying this is an executable file which may contain viruses - do you want to run. I press ok and the final box showing C drive file name and desktop appears stating application not found.
This happens the same whenever I try to install.
To my untrained eye the application is not being recognised as an application and I cannot work out how to get it to do that.
My plugin is still showing as out of date.
Is there anything you could suggest. Thanks for your time. -
Failed to open the connection. Error in the Designer when copying ...
I have two different systems I am developing an application on.
I copy the entire directory from one system to the other. Both systems have the same environment:
Visual Studio 2010
Crystal Reports for Visual Studio 2010 (the production release, or I think it is the vesion is 13.0.2.0 is the version on the assemblies)
SQL 2008 R2
Today, I started adding Crystal reports to this VS solution. I have a reportdriver class that exports all the reports to an HTTP Stream, but we can sit that aside for now. The problem I am having is strictly with the integrated designer.
I have a bunch of existing reports written for an old Sybase databse. I have ported them to SQL and the table structure matches. I simply add the report to my project, point it to the new datasource (using "Set Datasource Location" - OLE ADO SQL) and then preview the report to be sure it runs.
I am just using "localhost" as my server name for the OLE connection so I...in theory... don't have to change the data source to view it on the other system. Both systems have SQL 2008 R2 installed locally. For my login credentials, I use SQL Security and use the same database login/password on both development machines andthe production server.
Today, I copied my entire project to the other PC (as I do almost every day).. When I open any of the reports (in VS) and try to preview them I get:
Failed to open the connection.
Details: ADO Error Code: 0x80004005
Source: Microsoft OLE DB Provide for SQL Server
Description: [DBNETLIB][ConnectionOpen (Connect().]SQL Server does not exist or access denied.
SQL State: 08001
Native Error: 17 [Database Vendor Code: 17]
I can only guess that I am using two different OLE ADO drivers on the two systems or there is something embedded in the rport or somewhere in my solution that "knows" I am not really on the same system that I initially set them up on and previewd them with.
Am I on the right track? Any idea how I can fix this? Obviously, I don't want to have to setup the datasource for every report in my application (if I do that, the report works) when I copy it from the development to the production server.
I am in a real bind here and under a fast aproaching deadline. Any help is much appreciated!!!
ShayneDon't use localhost as your server name. It's a reserved name and should not be used in code.
Try this also [Kbase |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333533353333333433363339%7D.do] SAP Note 1553469 - How to enable Database logging in Crystal Reports for Visual Studio 2010
Edited by: Don Williams on Jan 30, 2011 6:02 AM -
Could not open connection to the host, on port 23: Connect failed
Can anyone please help with this telnet problem on CISCO 877 ADSL Router
I am trying to telnet into my ISP Router remotely using public IP which has been dynamically assigned to the router by the ISP.
I can Ping the Router and I can also go out to the internet on that router but, I can not telnet into that router from Inside the Network nor Outside the Network. There are no Firewalls involved.
I have tried to clear the config and reconfigure it again, it does not help, I have also applied same config on another CISCO 877 ADSL Router it still does not work.
ERROR i get on the Command Prompt: Could not open connection to the host, on port 23: Connect failed
I have shown some of the Show Run out put below if that helps,
ip nat inside source list 1 interface Dialer0 overload
access-list 1 permit x.x.x.x 0.0.0.7
dialer-list 1 protocol ip permit
line vty 0 4
password 7 ***********
login
Manny Thanks
PunitFind Below the Requested Sh run outputs
ADSL-ROUTER1#sh run | beg line vty
line vty 0 4
password 7 ***********
login
scheduler max-task-time 5000
end
I have removed the IP for security reasons
ADSL-ROUTER1#sh ip route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
x.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
S x.x.x.x/29 is directly connected, Vlan1
C x.x.x.x/32 is directly connected, Dialer0
x.0.0.0/32 is subnetted, 1 subnets
C x.x.x.x is directly connected, Dialer0
S* 0.0.0.0/0 is directly connected, Dialer0
I also keep getting the message below on the console done know if this is part of the problem
Mar 13 07:17:32.213: %IP_VFR-4-FRAG_TABLE_OVERFLOW: Vlan1: the fragment table h
as reached its maximum threshold 16
Hope this output helps
Thanks -
Telent:could not open connection to the host on port 23 connect failed
Hi,
How to run commands of OEL5 host OS from windows XPP virtual machine(Vmware Player) on standalone desktop PC?
While runing the telnet command on windows XPP virtual machine it's gives error
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>cd\
C:\>telnet 192.168.1.2
Connecting To 192.168.1.2...Could not open connection to the host, on port 23: Connect failed
C:\>
Thanks
Regard
GSMuser9230833 wrote:
Launcher means shortcut to execute any file which is inside folder in Linux.Launcher are created on desktop to execute by one click of mouse.You need to create a command file that contains the required instructions to run putty with whatever relevant command line switches in order to start the remote program/process on Linux.
For example, you have a trusted ssh connection (no password prompting) between your Windows account and the Linux vmware account. You need to execute command line +/home/vmware/bin/vmstart myVM+ on Linux.
Your command file in Window will look something as follows:
@echo off
"c:\program files\putty\pssh.exe" vmware@my-linux-server "/home/vmware/bin/vmstart myVM"Once you've create this command file (.cmd file extention), you can create a desktop shortcut for it and assign an icon to it.
However, first test the command file via an interactive console session to ensure it works. Also, I'm not sure you can script telnet using putty - but putty's ssh does support the standard ssh command line and one can execute programs/commands on the remote server in this fashion.
Setting up trusted ssh connections is also important as passwords is a weak security mechanism. It requires a secret to be used and coded into scripts/software that needs to be authenticated.
With ssh you generate a public/private key combination, and provide the public key as unique identifier for your o/s user and platform to a remote server (e.g. Linux). This now enables your platform and o/s user to be authenticated via the privatre/public key pair when your platform establishes a connection with the server.
In putty, generate a ssh key (RSA). Copy and paste the public key into the Linux server account's "+home/vmware/.ssh/authorized_keys+" file. Make sure that the +.ssh+ directory and key have user read/write permissions only. And that's it - no password needed by your account to ssh into the Linux server account. No secrets that need to be kept secret (and that can be stolen and used from any other platform to gain access). -
Can't open my Yahoo email. Message says "connection to the server failed". Any ideas to get there?
Hi saghd,
I have an article for you that will walk you through some troubleshooting steps regarding this issue:
iOS: Troubleshooting Mail
http://support.apple.com/kb/ts3899
Thanks for using the Apple Support Communities!
Cheers,
Braden -
Many times I find when I open mail box icon on my IPad it says connection to the server failed , what should do?
Hi Vidyasagar,
Thanks for visiting Apple Support Communities.
If you are seeing an error message when checking email on your iPad, the troubleshooting steps in this article can help:
iOS: Troubleshooting Mail
http://support.apple.com/kb/ts3899
Best Regards,
Jeremy -
When I try to open my mail I get The connection to the server failed message.
Message appears when I try to retrieve my mail: Cannot get mail. The connection to the server failed.
Delete mail account and setup account again.
-
Secure Connection Failed
The connection to the server was reset while the page was loading.
The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.Some security coding was remove as unsafe.
Please provide a link to a public page. -
Error "Connection Failed The server may not exist or is not operational..."
This is just FYI in case somebody else runs across this. On one user account, an error window would pop up every so often that said:
Connection Failed
The server may not exist or it is not operational at this time. Check the server name or IP address and try again.
It turns out that the problem was caused by Screen Saver. The error popped up whenever screen saver tried to launch. On the problem account I had the "Pictures" folder selected for the screen saver, and apparently there must be an alias in that folder pointing to something on a remote server, because as soon as I go to System Preferences and open the Screen Saver panel, I get the error.
It has been driving me crazy for months but finally I thought to look in Console, where I saw the error "afp_mount[5045] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x2d03, name = 'com.apple.afp_mount.ServiceProvider'"
Searching for that error led me to the Macosxhints forum at http://forums.macosxhints.com/archive/index.php/t-53209.html where a user had posted the same problem. Changing to a different screen saver or a different folder for pictures resolved the issue.
PowerMac G5 Mac OS X (10.4.6)
PowerMac G5 Mac OS X (10.4.6)Welcome to discussions leffjay. Good one. Cheers.
-
'"Connection Failed" : The server "rrnas01" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again' message keeps displaying whenever I try to open any Adobe CS5 applications (except for Adobe Acrobat Pro). It displays until I click "OK" about 15-20 times or so and then will finally let my program open.
I have tried deleting files within my Library/Preferences folder and turning off/deleting login items within my system preferences as other forums suggested but nothing happened. Spending 3.5 hours on the phone with Adobe and completely uninstalling and then reinstalling the entire CS5 Master Collection didn't work either.
Also, it may be helpful to know that my programs worked fine for about three weeks then when we got internet and changed the password (the join, not the adminstrative password) with the wireless network "ScubaSteve" (which I've used with no problems at my old apartment) it started acting up. I have never seen "rrnas01" before so I don't know at all where it came from. I also installed the free 30 day trial of Suitcase Fusion 3 recently, but thinking that could also be the cause I have uninstalled it, and still no help.
Please help me! And please keep in mind I don't know all the computer lingo that a lot of the people in these forums seem to know. Thanks in advance for ny help you can give me.It may not be possible .. there is a major bug between Mountain Lion and the TC where the TC disk goes off the radar of the computer.
Lion is also affected but not as badly.
7.6.4 seems worse than earlier firmware.. so back to 7.6.1 or 7.5.2 if that is possible.
Obviously that is not a solution for a later Gen5 TC.
Reset to factory after the firmware downgrade. .use all network names that are short, no spaces and pure alphanumeric.
If the TC is the main router set the dhcp to a very short lease time.. eg 30min.. and see how it goes, or try a longer lease like 99days.
I prefer the very short lease but response has been mixed.
Use ethernet not wireless.. ethernet is always more reliable and stable than wireless.
And last .. a nightly electric timer that powers off every night at midnight for 1min.. would not be the first device we have suggested a fix that amounts to beat the unit to the punch by forcing it to reboot since it is unstable. -
i have an internet connection but when i open app store it shows error message "cannot connect to app store".when i try to sign in with my valid apple ID and password it says "connection failed".i tried keychain access settings but it did not help.please help me!!
Open Sysem Preferences from your Apple () menu top left in your screen then select the Firewall tab.
Make sure the Firewall is turned off. -
I am trying to connect to a Odata Data feed from Excel 2013 Power Pivot
The datasource is in sharepoint site eg: https://sitename/Shared%20Documents/datafeed.atomsvc
getting below error
Error message:
Failed to connect to the server. Reason: The payload kind 'BinaryValue' of the given data feed is not supported.
============================
Call Stack:
============================
at Microsoft.Data.DataFeedClient.DataFeedODataReader.ValidatePayloadKind(ODataPayloadKind payloadKind, ODataMessageReader odataMessageReader)
at Microsoft.Data.DataFeedClient.DataFeedODataReader.InterceptODataException(Action action)
at Microsoft.Data.DataFeedClient.DataFeedODataReader..ctor(IODataResponseMessage responseMessage, Int64 maxReceivedMessageSize)
at Microsoft.Data.DataFeedClient.DataFeedODataReader.CreateReader(IWebResponse webResponse, Int64 maxReceivedMessageSize, Boolean applySlashUpdatingBaseUriResolver)
at Microsoft.Data.DataFeedClient.ODataHelper.GetCollectionsFromServiceDocumentUrl(Uri serviceDocumentUrl, DataFeedConnection connection)
at Microsoft.Data.DataFeedClient.DataFeedConnection.Open()
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.InitializeConnectionObject(String connectionIdentifier)
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open(String& connectionIdentifier)
at Microsoft.AnalysisServices.BackEnd.RelationalDataSourceConnection.Open()
at Microsoft.AnalysisServices.Common.DataSourceBasic.ClickTestConnection(Object progressControl)
Appreciate suggestions/answers
NOTE: The error is showing only while using Excel 2013 powerpivot
its working good with Excel 2010 powerpivotAnita,
Please look into using Power Query to use OData as a source in Power Pivot.
Thanks!
Ed Price, Power BI & SQL Server Customer Program Manager (Blog,
Small Basic,
Wiki Ninjas,
Wiki)
Answer an interesting question?
Create a wiki article about it! -
Hello,
I have configured BizTalk Services Hybrid Connection between Standard Azure Website and SQL Server 2014 on premise.
Azure Management portal shows the status of Hybrid Connection as established.
However, the website throws an error when trying to open a connection
<
addname="DefaultConnection"
connectionString="Data
Source=machine name;initial catalog=AdventureWorks2012;Uid=demouser;Password=[my password];MultipleActiveResultSets=True"
providerName="System.Data.SqlClient"
/>
(The same website, with the same connection string deployed on SQL Server machine works correctly).
I tried various options with the connections sting (IP address instead of machine name, Trusted_Connection=False, Encrypt=False, etc. the result is the same
[Win32Exception (0x80004005): The certificate chain was issued by an authority that is not trusted]
[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.
I tried various machines - on premise and a clean Azure VM with SQL Server and it results in the same error - below full stack
The certificate chain was issued by an authority that is not trusted
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception: The certificate chain was issued by an authority that is not trusted
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Win32Exception (0x80004005): The certificate chain was issued by an authority that is not trusted]
[SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.)]
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5341687
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +546
System.Data.SqlClient.TdsParserStateObject.SNIWritePacket(SNIHandle handle, SNIPacket packet, UInt32& sniError, Boolean canAccumulate, Boolean callerHasConnectionLock) +5348371
System.Data.SqlClient.TdsParserStateObject.WriteSni(Boolean canAccumulate) +91
System.Data.SqlClient.TdsParserStateObject.WritePacket(Byte flushMode, Boolean canAccumulate) +331
System.Data.SqlClient.TdsParser.TdsLogin(SqlLogin rec, FeatureExtension requestedFeatures, SessionData recoverySessionData) +2109
System.Data.SqlClient.SqlInternalConnectionTds.Login(ServerInfo server, TimeoutTimer timeout, String newPassword, SecureString newSecurePassword) +347
System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +238
System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +892
System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +311
System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) +646
System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +278
System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +38
System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +732
System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +85
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1057
System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +196
System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146
System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16
System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +94
System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +110
System.Data.SqlClient.SqlConnection.Open() +96
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +44
[EntityException: The underlying provider failed on Open.]
System.Data.EntityClient.EntityConnection.OpenStoreConnectionIf(Boolean openCondition, DbConnection storeConnectionToOpen, DbConnection originalConnection, String exceptionCode, String attemptedOperation, Boolean& closeStoreConnectionOnFailure) +203
System.Data.EntityClient.EntityConnection.Open() +104
System.Data.Objects.ObjectContext.EnsureConnection() +75
System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption) +41
System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable<T>.GetEnumerator() +36
System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) +369
System.Linq.Enumerable.ToList(IEnumerable`1 source) +58
CloudShop.Services.ProductsRepository.GetProducts() +216
CloudShop.Controllers.HomeController.Search(String SearchCriteria) +81
CloudShop.Controllers.HomeController.Index() +1130
lambda_method(Closure , ControllerBase , Object[] ) +62
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +14
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +193
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +32
System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +58
System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +225
System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +10
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +34
System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +23
System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +99
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +50
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +27
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +14
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +39
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +29
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +10
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +23
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +55
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +31
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +9
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9651188
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.36213
Regards,
Michal
Michal MorciniecSame issue here, looking for more information !
-
I have a web page that contains a ReportViewer control. I am trying to display a report, which is an .rdl file located on the SSRS server, in this ReportViewer control. I have set the ReportPath and ReportServerUrl correctly. I am
getting an error message.
Am I suppose to use an .rdlc file rather than a .rdl file? Does the web server configuration need to use a certain account?
I am getting the following error message:
The attempt to connect to the report server failed. Check your connection information and that the report server is a compatible version.
The request failed with HTTP status 404: Not Found.Hi bucaroov,
The error "The request failed with HTTP status 404: Not Found." means the ReportServerURL configured in the ReportViewer control is invalid.
Please follow these steps to solve the issue:
Logon the Report Server machine.
Open the Reporting Services Configuration Manager.
Copy the Report Server URL from 'Web Services URL'.
Logon the application server(in this case, it is the server that host the web page), check if we can use the URL we got from step 3 to access the Report Server. If so, please replace the ReportServerURL in the ReportViewer control with this URL. If it is
not available, could you please post the error message.
Additionaly, we don't need to provide the extension for a server report. The ReportPath should be like: /<reports folder>/<report name>
For more information, please see:
Walkthrough: Using the ReportViewer Control in Remote Mode:
http://msdn.microsoft.com/en-us/library/ms251669(VS.80).aspx
If you have any more questions, please feel free to ask.
Thanks,
Jin Chen
Jin Chen - MSFT -
I want to grant permissions to all domain users to view reports on our Report Server. Domain users are able to access our Report Server URL and folder, but when they click on a report item they get an error message:
"Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'"
I'm using windows authentication and configured the local service account in SSReportS Config Manager as the credentials to connect to the Report Server DB.
Can someone please help how I should properly do this step by step to give all domain users permissions to view a report in SSRS?
Thanks much! - Rookie DBAHi IWAR,
The error message "Cannot open database "ReportServer" requested by the login. The login failed. Login failed for user 'USER LOGON'" means the user 'USER LOGON' does not have permissions to access the "ReportServer" database.
To fix this issue, please verify that the user has a valid database user login. For more details, please refer to the following steps.
In SQL Server Management Studio, open Object Explorer and expand the Databases folder.
Expand the database in which to create the new database user.
Right-click the Security folder, point to New, and then click User.
On the General page, enter a name for the new user in the User name box.
In the Login name box, enter the name of a SQL Server login to map to the database user.
Click OK.
Reference:
http://technet.microsoft.com/en-us/library/ms156468(v=sql.105).aspx
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Maybe you are looking for
-
System is allowing to post the Adv Pmt amount more than the PO Value
Hi Experts, I am FICO Consultant. I facing one problem regarding Advance Payment. We have a process to for making advance payment with reference to Purchase Order and Purchase Order Line Item. But system is allowing to post the advance payment amount
-
How to reference to a relative group of cells in numbers for iOS ?
Hi, I'm trying to use numbers on my iPhone to track my daily work expenses, inputting my data through a formulary. What I've come up with so far is a 2-sheet, 1-formulary document. The first sheet contains the raw data : week number, date, place, exp
-
Write values to PLC addresses via MODBUS/TCP
I am trying to write values to some addresses on a PLC connected to my computer with MODBUS/TCP. I've mapped the addresses that I would like to write to on my project's MODBUS library as shared variables. However, I seem to neither be able to read fr
-
Livestream with multi language
I have tried to follow the steps in this article:Implementing late-binding audio with Adobe Media Server for HTTP Dynamic Streaming and HTTP Live Streaming | Adobe Devel- but i think i am doing something wrong. For a church, i am creating a livestrea
-
DirSync error after re-configure
Had an odd issue where our DirSync stopped working and we received an unhealthy sync e-mail. I couldn't determine what went wrong, so I ran through the configuration tool and specified the same creds for sync'ing and then synchronization resumed. S