hi
I am trying to do create two SQLExpress connections (via sqlexpress instances) in two different machines through (ArcCatalog) a GIS software.
I am able to connect to Server B(per say) from Server A but I am not able to connect to Server A from B. A and B are in differnet machines.
Are there any setting in A which i am missing to enable so that A doesnt allow any connections to it. I checked the Protocols for SQLExpress and TCP/IP is enabled.
any help is appreciated!!
I am having a problem with connecting to SQL Server 2005 database from Office Business Scorecard Manager 2005 (the connection string i am using is: provider=SQLOLEDB;Data source=server_name; Initial catalog=database_name). But the connection failed. Would please any experts here shed me any light on what is the problem and how to fix it then? As there is no any forum for Office Business Scrorecard manager 2005. Therefore I post my thread here as it is related to the connection to SQL Server 2005 database engine, thought here is the best place for this question.
Thank you very in advance for your kind advices and help. And I am looking forward to hearing from you soon.
Help! Cannot connect to Database, login failed for user... I have been looking for a fix for this for some time, however I have yet to find one. I am running msde-2000 and I have a programm that I wrote with VB.Net 2003 that works fine when I am in Debug Mode, however when I deploy the application, and try to connect to the MSDE SQL-Server I get an error that states, "Cannont Connect to database TCON1, Login failed for user Amanda,
Hello everyone,When I try to connect to database I get this error message: Login failed for user 'databaseadmin'.My connection code is:Dim MyConnection As New SqlConnection( _ "server=(local); database=news; UID=databaseadmin; PWD=111111;")I've tried "server=localhost:3066", and "server=." and many many other ways, but it's still not working! I don't know what other things should I try now... I asked the support people of my web host, and their answer is:"Mysql database usename and password is corect one. It seems that there is problem with the script code."Please would anybody help me with this? Thank you very much!
I have deployed my SSAS project to an Analysis services database on a SQL 2014 server instance using the "Development" build configration in Visual Studio. In order to avoid users accessing the development instance of the cube, I've created an additional "Release" build configuration and deployed my project to a different database on the same server. I've also created a production copy of the data source and changed the data source configuration of the production cube to point to this one.
I've provided the same domain service account on the "Impersonation information" tab of the data source for both the development as well as the production instance of the cube. This account has also been granted identical permissions for both data sources. While everything works fine with the development database, processing the production database fails with an error message saying that it cannot connect to its respective data source.
Hi all,For testing purposes I created a local database using SQL Server 2000. I want to connect to this database using following code:mySqlConnection = New SqlConnection("server=(local)SQLExpress;Integrated Security=SSPI;database=TestDbInge;UID=IVANSARK;PWD=test") mySqlCommand = New SqlCommand("SELECT Voornaam FROM Personen", mySqlConnection) mySqlConnection.Open() I'm getting the message below: System.Data.SqlClient.SqlException: Cannot open database "TestDbInge" requested by the login. The login failed. Login failed for user 'IVANSARKASPNET'. It's the same when I don't add the userid and password part to the connectionstring. What am I doing wrong?? And where does "IVANSARKASPNET" come from? Shouldn't I be anonymous? Please help.Regards, Inge
Enabled DAC and when connecting, I get a "Failed to connect to server ADMIN:SERVERINSTANCE"; however query window shows I'm connected on ADMIN:SERVERINSTANCE and checking tcp_endpoints + dm_exec_sessions, I'm definitely on the DAC.
I have been using SQL Server 2012 developer edition for quite a while without problems. But now when I try to connect I get this error:
Cannot open user default database. Login failed. Login failed for user 'D8700Ken'. (Microsoft SQL Server, Error: 4064)
I suspect that I caused this problem myself but I don't know how to recover from it. Here is what I did:
1: Used SSDT in Visual Studio to change the set default database from 'master' to 'DTNSQL' (My first SSDT experiment!) 2: Used SQLSMS to rename the 'DTNSQL' database to 'DTNSQL01'. 3: Logged out of SQL Server - then tried to log back in.
I have read that the solution to this problem is to "login using another Login."
I don't seem to have "another Login". How to find an existing Login or create a new Login.
Hi everyone, I am trying to open a connection to my SQL Server via ASP.NET(VB.NET), but I get the following error message:Server Error in '/test' Application. --------------------------------------------------------------------------------
Login failed for user 'sa'. 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.Data.SqlClient.SqlException: Login failed for user 'sa'.
Source Error:
Line 92: 'Put user code to initialize the page here Line 93: Line 94: SqlConnection1.Open() Line 95: If SqlConnection1.State = ConnectionState.Open Then Line 96: Label4.Text = "SQL Connection is open"
[SqlException: Login failed for user 'sa'.] System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) System.Data.SqlClient.SqlConnection.Open() test.WebForm1.Page_Load(Object sender, EventArgs e) in c:inetpubwwwroot estWebForm1.aspx.vb:94 System.Web.UI.Control.OnLoad(EventArgs e) System.Web.UI.Control.LoadRecursive() System.Web.UI.Page.ProcessRequestMain()
-------------------------------------------------------------------------------- Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
The account itself works fine, I am able to log in to the server successfully, for example there are no problems when I use the same user name and password for the Query Analyzer. What could be the cause of the error mentioned above?
Hi! I installed SQL Server on my server today and im new to it. I configured it and now im trying to make a SQL Server Project with my other computer... Then the program asks for some account information to logon to a database on the server. Then i fill it out and i get this error: Login failed for user "anaxyd". The user is not associated with a trusted SQL Server connection.
I am trying to connect PowerPivot to Teradata and when i test the connection, i receive an error "Failed to connect to the server. Reason: The 'TDOLEDB' provider is not registered on the local machine.
A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=233&LinkId=20476
When I consult the error log I see:
Could not connect because the maximum number of '4' user connections has already been reached. The system administrator can use sp_configure to increase the maximum value. The connection has been closed. [CLIENT: <local machine>] 2007-01-30 04:53:14.93 Logon Error: 17809, Severity: 20, State: 3.
The log error message doesn't make any sense because there aren't 4 user connections.
After I received the error message, mgmt studio still lets me access the database make changes, but I cannot connect via my application. Any ideas? Thanks!
I am trying to create a CLR project in my Visual Studio 2010 with SQL Server 2012. I can build my empty project succesfully, but if I try to deploy it, I get such an error...Beginning deployment of assembly SimpleCLRIntegrationNew.dll to server xxxxxxxxx : di_test
C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0TeamDataMicrosoft.Data.Schema.SqlClr.targets(96,5): error : Could not connect to server "xxxxxxxxxx: di_test": Login failed for user 'di_test'..
i have a sql server job scheduled to run daily twice.the job is running fine , but once  or twice a week the job fails saying."Message Unable to connect to SQL Server '(local)'.  The step failed." all other times the job runs successfully. it randomly the job is failing. once its failed and if i try to run it manually it runs fine or it will start running fine from next schedule onwards.This job mainly executes a stored procedure.the owner of the job is setup as sa. i don't understand why its fail randomly and all other times(90% of cases) it successful."Unable to connect to SQL Server '(local)'.  The step failed."
I moved the web app. I'm working on to another machine. Everything seemed to go well. Installed Reporting Services and configuration worked well with green ticks everywhere and I'm running reports in Report manager and in Visual Studio. However running off the web app. gives the message:
"The attempt to connect to Report Server failed" - there's also a ref. to an HTTP 404 error.
The install might not have gone as well as I thought because there was a "ReportServer" website created in IIS at same level as default. (Also Reports and ReportServer as virtual directories under Default website). The rogue website is 'stopped' at present. Would be grateful for any help with this. One thing is that I'm now behind a proxy so I'm using localhost:8080
I am administering several SQL Servers running SQL Server 2005 SP2 Build 3042. I have a common maintenance plan that runs on each of the servers. The maintenance plan runs fine on all the servers except for one. On the one server the Database Integrity check fails with the following error:
Check Database integrity on Local server connection Databases: <list of databases> Include indexes Task start: 2008-02-21T00:05:42. Task end: 2008-02-21T00:05:46. Failed0) Alter failed for Server €˜XYZ€™
I created a test maintenance plan to just do the integrity check and selected one database only and this also failed with the same error message. I ran this test maintenance plan and configured it for each of the databases in question and it failed each time. If I run the DBCC manually against the databases they all report fine.
I read some of the post that talked about the €œAllow Updates€? being set incorrectly but that does not apply to my problem since my configured and run values are set to 0.
When i give PortalUser a sysadmin server role, it works. But i don't want to give PortalUser a sysadmin role. Any suggestions? Is sysadmin role required to access a remote server using Sql server authentication?
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 Report Viewer 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.
Hi, I'm new to SQL Express 2005. I found information regarding : "Cannot open user default database. Login failed."on this forum but I think that in my case it's a bit different issue. I have a website (ASP.NET 2.0) accessing DB, in the mean time Windows Service tries to update some data in the same DB (Service runs as NT AUTHORITYLOCAL SYSTEM). The second connection is rejected: "Cannot open user default database. Login failed.Login failed for user ....". Problem occurs only when both: service and website are running at the same time. So service and website are running without problems when they are connecting DB exclusively. My connection string is: "Data Source=.SQLEXPRESS;AttachDbFilename="|DataDirectory|spider-lab.mdf";Integrated Security=True;User Instance=True"
I am running SQL Server 2000 sp4 in Win Server 2003. I have a DTS packages which connects to FileMaker 6 files via the ODBC driver installed with FielMaker.
The DTS packages work correctly when executed directly. However, when executed from a SQL Server Agent job, the same DTS packages fail. Always with the same message:
Error: -2147467259 (80004005); Provider Error: 16394 (400A) Error string: [FileMaker][ODBC FileMaker Pro driver][FileMaker Pro]Connect failed Error source: Microsoft OLE DB Provider for ODBC Drivers
Searching for info on the above message seems to indicate a permissions problem. However, I am running the jobs with an full administrator account. All connections and the FielMaker files reside on the one server.
Hi, I am having a problem connecting my .net applications from the application server to the database server. When I run the application from my windows xp (sp2) box it works fine. When I try to connect via SQL Management Studio to the database server from the application server I get the same error. Here is the error: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) Here is the Environment: App Server: Windows Server 2003 Standard Edition Inside Company's Firewall/ Network Database Server: Windows Server 2000 Advanced Edition SQL Server 2000 SP4 Remote Connections to the Server is checked Enable Protocols: Named Pipes & TCP/IP TCP/IP Port: 1402 (I don't know why it isn't the default of 1433) The db server is sitting out side the Company's firewall (don't ask me why). I can access it fine from inside the firewall on my XP box but not from windows server 2003. There is a web server outside the our network that also connects to the db server with no problem and that is running Windows Server 2003 Web Edition. I can ping the db server from the app server using the IP address. I tried using the IP address and the port 1402 in my connection string but that didn't work from any machine (XP and Server). I imagine the issue is somehow related to the company's firewall but why would it only block Windows Server 2003 and not XP? What do I tell the network admin to change? Any help would be appreciated. Thanks, Oran
Our SAP Sql server is on a cloud. I am currently able to access the SQL server from Remote Desktop Connection. I would like to know if I can connect to the Database server without the remote desktop.
Basically I am trying to develop Access Database queries on local computer and I want to pull the data from Remote Server. There is a firewall that is blocking the external ip address.
I would like to know if there is a workaround to set up the connection to first access the "Remote desktop" link and then the SQL server.
Set cnnTest = New ADODB.Connection cnnTest.ConnectionString = sConDB cnnTest.Open
End Sub Instead of using an access database,I am using SQL server database,so my question is:what's the code for connecting VB6 form to SQL server database? Thanks for your help
HI i have 2 computers in my home names PC1,PC2 . i have database sql server 2000 in pc1 named Books , i want to connect to this database from pc2 . note : i am used visual basic.net 2003 if any one have books or articales about this subject please i want help quickly
VB.NET. I'm getting this error: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
I don't have a username and a password setup for my server connection. I tried changing the Security properties to Windows & SQL and Windows authenciation and I'm still getting this error. Am I suppose to set up a username and password for my server? If so how? Thanks
Also a quick side question, how do I make the primary key auto increment through Enterprise Manager?