Pass sql server connection at runtime, CR XI, VB 6
I have been developing Crystal reports since version 4 using VB3, VB5 and VB6 and Access databases. I had al the routines built to modify the Acces table locations at runtime for easy deployment to client systems.
Now I have built an application using VB6 and SQL Server 2005. I used the OLE DB (ADO) connection. I built my reports hard coded to my development database connection. Now at runtime on my client pc with a different database name my report fails. I have looped through the tables collection and set the ConnectBufferString to the local sqlserver connection string. I tried setting the data source to my ado connection string in the VB code. (CrystalReport.Database.SetDataSource adoP21, 3)
What I get on the runtime pc is a "Cannot find table xxxx, do you want to remove....?". When I answer no, it pops a message box indicating that it is trying to find the table with the database named on my development pc. Indicates that my overrides have not worked.
Any thoughts or sample code appreciated.
John
From the error message: "Cannot find table xxxx, do you want to remove....?" I suspect you are using craxDDrt.dll as opposed to craxDrt.dll. This is fine as long as you actually need craxDDrt.dll and are aware that there are possible licensing issues to be aware of.
For now, I would suggest using craxDrt.dll and see if the following code will help (the same code should work with the craxDDrt):
rpt.database.tables(1).connectionproperties("data source") = "server name"
rpt.database.tables(1).connectionproperties("initial catalog') = "database name"
rpt.database.tables(1).connectionproperties("password") = "db password"
rpt.database.tables(1).connectionproperties("user id") = "user id"
Alternatively, you can completely strip out the dev database connections and create new ones as per below:
rpt.database.tables(1).connectionproperties.deleteAll
rpt.database.tables(1).connectionproperties.add "data source", "server name"
rpt.database.tables(1).connectionproperties.add "intial catalog", "database name"
rpt.database.tables(1).connectionproperties.add "User ID", "user id"
rpt.database.tables(1).connectionproperties.add "PASSWORD", "db password"
The following article also contains good info:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00635998-751e-2b10-9cba-f50ee1e4ef81
Ludek
Similar Messages
-
"[DBNETLIB] Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection"
After patches applied on patch Tuesday the database reports the above error.
All accounts are domain accounts and SQLServer uses Windows auth.
DCDIAG show no errors
All servers and DC have been restarted,
Message in db log confirms the connection is being denied due to trust.
Event log shows same rejection
Protocols enabled: named pipes, tcpip, memory
TESTS:
PortQry: "
TCP port 1433 (ms-sql-s service): LISTENING"
Connect with domain admin accounts works from multiple clients systems to DB.
Cannot connect with newly created domain admin account
Can connect if new admin account connect to server in terminal server session and uses UDL wizard or any other tool including isql.
New standard user also fails to connect.
NOTES:
I removed the SSL patch and the IE security update to see if that was an issue.
¯\_(ツ)_/¯Has someone left the company or has an account of some nature been dropped/replaced?
Please click "Mark As Answer" if my post helped. Tony C.
Hi Tony,
Srry but No. We just installed the monthly updates.
I went back and found I had missed removing a patch. I missed the rollup for Windows Server 2003:
Event Type: Information
Event Source: NtServicePack
Event Category: None
Event ID: 4382
Date: 3/12/2015
Time: 12:26:04 PM
User: NETTEST\admin
Computer: DATA1
Description:
Windows Server 2003 KB954920 was removed from your computer, and the previous Windows Server 2003 configuration was restored.
After I removed that is still didn't work but after about five minutes it started working.
I guess I ned to report that to MS after I research what might be changed to make the patch work.
Every time I get stuck and ask for help it seems to be just before I stumble on the solution.
Thanks for replying.
Well - maybe this will help someone else.
Thanks again for replying Tony
¯\_(ツ)_/¯ -
Passing SQL Server identity attributes values into adf entity objects
Hi all.
I'm using Jdeveloper 10g for developing an ADF Swing application based on MS SQL Server DB.
Does anyone know if it is possible to pass SQL Server identity attributes values into the correspondent attrributes of adf entity objects, like we do with Oracle DB Sequence.
The problem is that i should somhow implement cascade deleting of detail view objects, so i should use the composition association. But since i cant fill the primary key attribute with appropriate value (that is actually a ms sql server db sequence value) i always get
the following exception: oracle.jbo.InvalidOwnerException: JBO-25030 as i try to create a new pair of master/detail objects.
Thanks in advance.
Alex.The approach is good. but i still dont understand how i can address the sql server db sequence (identity field) programmatically...
The code offered
SequenceImpl sequence = new SequenceImpl("PRODUCTS_SEQ",getDBTransaction());
setProdId(sequence.getSequenceNumber());
generates something like this:
select deq_name.nextval from dual
but this syntax works for oracle only... and not for sql server...
Edited by: Timin on Mar 26, 2009 6:34 AM
Edited by: Timin on Mar 26, 2009 10:25 AM -
Why is my application name not showing up in the SQL Server connection properties?
If I understand correctly I should be able to have the application name from application.cfc show up in my SQL Server connection string (i.e. in the program_name column of sp_who2) if I go in to the DSN advanced settings and check "Application Name" under Client Settings.
However having done that I still don't see anything in the program name columns of the sp_who2 result set. Any ideas?
Thanks!I drew my shape, then went to the GRADIENT panel and clicked in the default gradient box to apply the default white to black gradient. Normally you can click on either color to change it using the ways I described in my original post but those are not available to me. The only way I could add a color was to drag it from the SWATCHES panel into the gradient colors slider.
This means that I cannot make changes to colors directly in the gradient panel like before. I have to make changes to the individual colors but clicking on the color in the gradient slider then going to the COLOR panel and adjusting the color there. Or by dragging in a whole new color from the COLOR or SWATCHES panels. This is really killing my work flow. -
SQL server connection error in sharepoint
We are getting below error with inetgrated security and custom DB sql server connection in sharepoint 2013.
This connectionstring works in dev with SQL username and password but in QA we are changing it to integrated authority.
<add name="OurConnectionString" connectionString="Data Source=OurDB;Initial Catalog=Catalogname;Integrated Security=SSPI" providerName="System.Data.SqlClient"> (This does not work in QA)
<add name="OurConnectionString" connectionString="Data Source=OurDB;Initial Catalog=Catalogname;User ID=user1;Password=ourpwd" providerName="System.Data.SqlClient" /> (This works in dev)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader
dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet
bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) at System.Data.SqlClient.S...
c62c629c-6890-d0e5-d8a0-91d367f84202
12/20/2013 10:29:31.55* w3wp.exe (0x2434)
0x1EC0
Unknown
00000
Unexpected ...qlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnecti...
c62c629c-6890-d0e5-d8a0-91d367f84202
12/20/2013 10:29:31.55* w3wp.exe (0x2434)
0x1EC0
Unknown
00000 Unexpected
...onString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool
pool, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbCon...
c62c629c-6890-d0e5-d8a0-91d367f84202
12/20/2013 10:29:31.55* w3wp.exe (0x2434)
0x1EC0
Unknown
00000 Unexpected
...nectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions,
DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFacto...
c62c629c-6890-d0e5-d8a0-91d367f84202
12/20/2013 10:29:31.55* w3wp.exe (0x2434)
0x1EC0
Unknown
00000 Unexpected
...ry, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.Open() at DBManager.ConnectionOpen()
c62c629c-6890-d0e5-d8a0-91d367f84202
12/20/2013 10:29:31.74 w3wp.exe (0x2434)
0x1EC0
SharePoint Foundation Claims Authentication
aebgg High
MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint LeadHi,
According to your post, an error occurred when you connect SQL Server in SharePoint.
We can do as follows:
1. Try to replace Integrated Security=SSPI with Integrated Security=True
2. Check whether there is <identity impersonate="true" /> under <system.web> tag in web.config.
Here are two articles for you to take a look at:
http://blogs.windwardreports.com/tomasr/2010/09/login-failed-nt-authorityanonymous-logon-integrated-securitysspi-vs-integrated-securitytrue.html
http://www.layer2solutions.com/en/community/FAQs/BDLC/Pages/How-SharePoint-BDLC-used-with-integrated-security-trusted-connection.aspx
Best Regards
Dennis Guo
TechNet Community Support -
Can't create an MBO object using an SQL Server connection profile
Hi all,
I'm trying to create an MBO from an table using an SQL Server connection profile. The connection is fine but when i grag a table into Mobile Application Diagram in order to create an MBO i got the following exeption:
I´ve already configured the necessary jar (sqljdbc4.jar) in the following directories:
C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
but i always get the same error.
Any help, suggest would be apreciated
thx,
NunoHi Nuno,
I just wanted you to verify the path where you have pasted JAR file. As you mentioned
Path 1:
C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
but as per doc it should be under:
C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty
Path 2:
C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
but as per doc it should be under:
C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337\lib
Rgrds,
JK -
Unix: SQL Server Connection with ODBC (CRsqls24.so)
Hi,
I almost find no information how to set up a SQL Server connection using ODBC on a unix platform.
This is what I get when I try to refresh my crystal report on my BO Server (4.1):
"The viewer could not process an event. Error in file XXX.rpt:
Error loading database information"
.) is the port number really separated from the server by comma? (http://help.sap.com/businessobject/product_guides/boexir4/en/xi4sp10_data_acs_en.pdf)
.) where is the right place to speficy the SQL Server isntance name (SQLInstanceA in this case)? I didn't find any information about that?
[MYDB]
Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000/odbc/lib/CRsqls24.so
(for 64bit: Driver=/opt/BOBJ/xir4/sap_bobj/enterprise_xi40/aix_rs6000_64/odbc/lib/CRsqls24.so)
Description=MYDB
HostName=100.10.10.10,1433\SQLInstanceA
Database=MYDB
QuotedId=Yes
AnsiNPW=No
LogonID=ABC
Password=abc123
Thanks!First off, let me say that in the past (pre v9) when I've tried to use Windows logins with datasources, it never worked. But that doesn't mean that they finally got it working, just that I stopped trying.
What I was referring to in my post is that once you have CF installed, you need to go to the Windows Services screen, open each of the CF processes, click on the LOGIN tab, and change it from the default services login to be whatever WIndows login you have setup in Active Directory. Then restart CF so that it's process is now running under that login with its credentials. Then go to SQL Admin and setup that same login and give it access to the database you want to access. Then go to CF Datasource menu and setup the datasource as you did previously. If CF's support of Windows authentication for datasources does in fact now work, you should be in business.
If it doesn't work, then you'll need to do as I said earlier, and setup SQL logins for the CF servers to use, and then in the CF Datasource setup screens you would specify that login info in the same way that you would have given it the "sa" login info.
-reed -
MDM-EP SQL/Server Connection Properties
I created a system in Enterprise Portal(EP) which I want to have connection properties to my local MDM Server which is my SQ/Server on my laptop.
Using the Connection Test, EP cannot connect. I've tried 'local', the SQL Server name (in my case USTEM05NB028939) and even the IP address of my machine... no can do! I do have an alias set up... I suspect that the Connection Properties for a local MDM server are illusive... does anyone have the protocol for a local SQL/Server connection?Hi Tom
solution is as below
1) Please ensure EP is updated with latest Business Package of MDM 5.5 SP03. Download the below Business Packages from www.SWDC.SAP.COM/Server using Service Market Place ID.
a. com.sap.mdm.tech.mdm4j.sda
b. com.sap.mdm.tech.connector.sda
c. BPMDMTECH.sca
d.BPMDMAPPL.sca
2) Ensure your "hosts" file (C:\winnt\system32\drivers\etc\hosts) on your laptop (MDM Server) has the IP address and hostname of the EP Server similarly update the same on EP server with MDM IP address and server details.
( Ex USTEM05NB028939 192.168.12.20) etc in the hosts file
3) Ensure all Java related patches of MDM are applied on EP which will enable WAS to identify the MDM IViews.
4) Go to MDM Console and check the Repository details of the repository that needs to integrate with EP. Identify the Repository Port that is running the Repository. Here usually if we have more than one repository in the MDM server we give repository ports like 1234,1235 etc but its imp to leave 5 ports for every repository example if the first repository is using 1234 as repository port then better user 1240 for the next repository.
5) Ensure you have accessed MDM Server Repository thru the Admin account of MDM Server from EP.
6) Also change the Windows Authentication mode of SQL Server to Administrator Mode for SA in SQL Server.
7) Also kindly mention the 'MDM 5.5 Host Server' as 'USTEM05NB028939' (If USTEM05NB028939 your MDM Server name) rather than Local on your EP.
Regards
Veera -
30EA2 - Feedback on Microsoft SQL Server connectivity
I think Oracle SQL Developer is great! But I also think it could be better.
I believe Microsoft SQL Server connectivity in SQL Developer could/should be stronger/simpler if, for no other reason, than the simpler it is the more likely there will be converts.
In Help -> Check for Updates ... I'd propose an Update Centre something like External DB connectivity or Third Party DB connectivity. In other words, make it obvious.
Failing that, or perhaps in addition, instead of calling it JTDS JDBC Driver 11.1.1.58.17 why not Microsoft SQL Server connectivity, with JTDS ... in the description?
And then, this is the big one, make installing the JTDS JDBC driver update actually enable connectivity to MS SQL Server.
Initially trying to connect to a MS SQL DB, having installed no updates, I get the error:
An error was encountered performing the requested operation:
Driver class not found.
Verify the Driver location
Vendor code 0
SQL Developer "knows" I'm trying to connect to a MS SQL DB, so why not a slightly more helpful error?
After installing the JTDS JDBC Driver I do get a slightly more helpful error (in that it contains key words I can Google):
An error was encountered performing the requested operation:
I/O Error: SSO Failed: Native SSPI library not loaded. Check the java.library.path system property.
Vendor Code 0
Connectivity only begins to work after I do this/these additional step/s:
Copy the file 'jtds-1.2.2-dist\x86\SSO\ntlmauth.dll' from the unzipped JTDS --> <SQL Developer Home>\jdk\jre\bin. Then restart SQL Developer.
With thanks to:
http://www.dbforums.com/microsoft-sql-server/1612362-java-sql-sqlexception-i-o-error-sso-failed-native-sspi-library-not-loaded.html#post6368137
Then, and only then, it works just fine.
With thanks for Oracle SQL Developer,
Garth
Windows XP SP3
Oracle SQL Developer 3.0.02.83Well to be honest there is no good reason to use access to connect to PeopleSoft But we see the same problem in a totally unrelated program called RFGEN or even Crystal Reports through odbc. The Problem is I did not want to field all the questions about RFGEN.(what it is, how it works, must be something wrong with it etc...) I would have thought that someone has connected and used Access. RFGEN is a third scanning System that works with our existing system on SQL Server and we want to keep it and use it with the PeopleSoft.
-
I've tried going through the steps to resolve the issue, but I am still coming up blank. The part that I am not understanding is the, "A non-recoverable error occurred during a database lookup." part.
Is this a security problem? I can establish an ODBC connection to the server as well as connect and query through visual studio, however when trying to run it through one of our custom programs, it throws this error message.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
TCP Provider, error: 0 - A non-recoverable error occurred during a database lookup.)There are many reasons of SQL server connectivity issue. Refer checklist to find out the real cause of connectivity issue.
1. Check SQL services are running
2. Check SQL Browser service is running
3. Check remote connections are enabled
4. Network connectivity between database & application servers by TRACERT command
5. Check TCP/IP protocol enabled at SQL server
6. Check talent connectivity – telnet <IP address> <port no on SQL server running>
7. Check UDP port 1434 is open or not on SQL Server
8. Check firewall is running or not Check
9. If firewall running, SQL Server & UDP port must be added in exception in firewall
10. Run SQL Discovery report on machine SQL server installed, to check you are using correct instance name to connect( default \named) -http://mssqlfun.com/2013/02/26/sql-server-discovery-report/
http://mssqlfun.com/2012/09/28/check-list-for-sql-server-connectivity-issue/
Regards,
Rohit Garg
(My Blog)
This posting is provided with no warranties and confers no rights.
Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread. -
SQL Server Connection over WAN Link
I am planning
to setup a BlackBerry server and connect to a remote SQL Server over a
WAN link with 150+ms ping time. Is there a known tolerance for
SQL server connection latency? For example, I have been told by
RIM that ping time for Exchange should be around 35ms so if it is
higher, a BES should be placed next to the Exchange server. Any reply would be greatly appreciated.There is no problem with slow connection :-)
You might get lots of waits in the SQL side (most likly there will be lots of
ASYNC_NETWORK_IO) which you can monitor using sys.dm_os_waiting_tasks and sys.dm_exec_requests. But if there is no disconnections then most small application will work OK
[Personal Site] [Blog] [Facebook] -
I am receiving the following error when attempting to open a SQL Server connection in a C# console application: "A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was
not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) SQL Error"
1) my coworker built the project on his machine (same code) and the project works - no errors
2) I used the identical connectionstring (same code for that matter) in a server app vs. console app - no errors
3) I built the connection using project properties/settings (Properties.Settings.Default) - test the connection on the Connection Properties window - "Test connection succeeded." Use the connection in my project to open a connection -
receive error.
4) ping to server - no errors
5) I used PL/SQL developer to connect to server using same connection information - no errors
6) I installed Visual Studio 2013, built the project - receive error
I am stuck at this point. Can anyone help?
Thank-you,
Barbara VelascoHi Barbara,
Firstly, please make sure that the SQL Server Services are running. Other reasons could be incorrect connection string, firewall block the connection and so on. Please refer to the following article to troubleshoot this issue:
http://stopdebugging.wordpress.com/2013/12/16/error-unable-to-connect-to-the-database-a-network-related-or-instance-specific-error-occurred-while-establishing-a-connection-to-sql-server/
In addition, here are some good articles regarding troubleshoot SQL Server connectivity:
SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified:
http://blogs.msdn.com/b/sql_protocols/archive/2007/05/13/sql-network-interfaces-error-26-error-locating-server-instance-specified.aspx
http://www.aspsnippets.com/Articles/Exception---error-26---Error-Locating-Server-Instance-Specified.aspx
If you have any feedback on our support, please click
here.
Regards,
Elvis Long
TechNet Community Support -
SQL Server Connection Domain Name
I need to make SQL Server Connection. I could make the connection easily in the default instance but not other instances.
If I try,
ServerName.DomainName.Com , it works! like it works with ServerName
If I try,
Servername\InstanceName.DomainName.Com it does not :( but it works with Servername\InstanceName
What am I missing ?What about the below?
Servername.DomainName.Com\InstanceName -
Hi All,
I am pulling data from SQL server(view) using WCF-SQL adapter, in DEV it's working fine and in test following is the error
I have checked the credentials and server name all are fine, But i couldn't figure out the issue.
Thanks in Advace
Recloc_WCFSQL
mssql://SQLSERVERTest/biztalkdb?InboundId=xyz
WCF-SQL
Microsoft.ServiceModel.Channels.Common.ConnectionException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that
SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing
a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance
Specified) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock,
Boolean asyncClose) at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover)
at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo
serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer
timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString
connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions
options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection
owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout,
Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions
userOptions, DbConnectionInternal& connection) at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal&
connection) at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection
outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) at System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1
retry) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.Adapters.Sql.SqlAdapterConnection.OpenConnection() --- End of inner exception stack trace --- at Microsoft.Adapters.Sql.SqlAdapterConnection.OpenConnection() at Microsoft.Adapters.Sql.ASDKConnection.Open(TimeSpan
timeout) at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnection(Guid clientId, TimeSpan timeout) at Microsoft.ServiceModel.Channels.Common.Design.ConnectionPool.GetConnectionHandler[TConnectionHandler](Guid clientId, TimeSpan timeout,
MetadataLookup metadataLookup, String& connectionId) at Microsoft.ServiceModel.Channels.Common.Channels.AdapterChannelListener`1.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Dispatcher.ChannelDispatcher.OnOpen(TimeSpan
timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint.Enable()
at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiveEndpoint..ctor(BizTalkEndpointContext endpointContext, IBTTransportProxy transportProxy, ControlledTermination control) at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfReceiver`2.AddReceiveEndpoint(String url,
IPropertyBag adapterConfig, IPropertyBag bizTalkConfig)The first few things to check would be
Is TCP/IP Protocol enabled on the Test SQL Server Instance?
If it is configured is it running on the default port or a different port has been specified? In case a different port has been specified then your configuration URI should reflect that OR the SQLBrowser service needs to be running
The MS DTC configuration on the SQL Server need to have been configured with BOTH inbound/outbound enabled (Component Management - DTC)
The Windows Firewall on the BizTalk Server Test should be a) disabled or b) configured to permit connection to the SQL Server on either 1433 or the specific instance port.
Regards. -
Problem with provisioning and external SQL server connection
I am configuring IPAM 2012 R2 on a our management server. Completed the first step by enabling the feature. No issues.
Now I am on the Provisioning IPAM step. I get to the Configure Database step...
I choose Microsoft SQL server,
What should those values be in the Server name and Database name fields. Instructions show fqdn or ip address but that doesnt seem to be working for me.
I get the following error at the end of the Provisioning IPAM wizard,
IPAM Deployment failed with the following error.
Failed to connect to database server. Check the database name, connectivity and remote access.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections.
(provider: TCP Provider, error: 0 - No connection could be made because the target machine actively refused it.)
You can restart this provisioning wizard from the IPAM overview page.
From the management server I have tested the SQL Connection with a udl file. I used myServer\myInstance and it works. It reports that I have made the Connection to the server and database with the sql credentials i have provided.
ThanksRan
into a problem with connecting to the DB on the SQL server from the IPAM server. The Dba and I checked the target SQL instance was enabled TCP and listening on a valid TCP port. SQL server was set to use port 1443 for incoming connections.
IPAM was set by default to use 1433.
Also used
netstat-n to identify issue and verified 1443 on SQL server was
being used. Made the correction under the IPAM provisioning wizard and connected to the database. Fixed.
Important note I was able to connect to the database with a .udlfile
without any issues
Also note that 2012 R2 IPAM only supports 2012 SQL Enterprise. Why?
Maybe you are looking for
-
iPhoto won't open due to the not being updated but when I check to upgrade to iPhoto 11 it tells me it is installed. The photos in the library were modified using 9.1.5 and the iPhoto is said to be 7.1.5 (iPhoto 8). Any ideas?
-
Tethering a G4 with a Verizon phone or software
I have an old but faithful G4 powerbook with OSX 10.4 and I'm paying Verizon a bundle every month for my phone plus for a wireless access device. Actually the rep who sold me my Motorola Q told me it would tether as a modem to my G4, but the software
-
Cost Center Mandtory in Outgoing Payment
Hai Experts, Need store procedure for cost center mandatory for both Outgoing Payment & Incoming Payment for Vendor,Customer as well as on account payment. Regards Mohamed Yousuf Ali M I
-
Edit the 'Employment status' field in IT 0000
Hi, Normally the Employment status is greyed out and not editable when we are running Personnel actions . It defaults Active, Inactive , Withdrawn as per the settings that we have made. Is there a standard way that this field is editable when we are
-
Premiere Pro 6.5 Installation Problems
So I'm having a problem with my CS5 and CS6.5 Premiere Pro. All of it installs correctly so it says, but every time I try to open 6.5 it starts and then quits. I installed it on a wiped clean computer. I work at a non-profit and we have older compute