SQL Security :: Using Contained Database Login To Connect To Server Via Excel

Jul 29, 2015

I have a SQL Server 2014 database that is partially contained.  I am trying to connect to the database via Excel using a contained user login.  When I choose Data - Other Sources - From SQL Server, I get the Data Connection Wizard window to Connect to the Server.

This window allows me to enter the server name and a User Name and Password (for SQL authentication), however it does not allow me to specify a database.  When I click the Next button, I get a 'login failed' error which I assume is happening because the contained user is not a SQL login.

I have the same issue trying to create an ODBC connection using the ODBC Data Source Administrator. 

Is there another way for me to connect to a SQL Server database using a contained login with Excel? 

View 10 Replies


ADVERTISEMENT

SQL Security :: Cannot Expand List Of Database Tables Using Contained Database Login With Server Management Studio

Jul 30, 2015

In SSMS, I connect Object Explorer to a partially contained database using a contained user login with password. This user has a database role of dbdatareader. When I try to expand the Tables in the database, I get the error: 

The SELECT permission was denied on the object 'extended_properties', database 'mssqlsystemresource', schema 'sys'. (Microsoft SQL Server, Error: 229)

Is there a way to set permissions for the contained user so that this could be done?

View 4 Replies View Related

Cannot Connect To Localhost Using Windows Security Group As Login

Feb 19, 2007

I have a test environment set up at home with a small windows server 2003 Active Directory domain. I created a windows security group on the dc and added myself and another user to the group. I then use this group as a login for SQL Server and add the login to the sysadmin server role. This works exactly as I would expect on the Windows Server computer (which is also the Domain Controller) regardless of which computer I use to connect to this Windows Server computer. However, when I set up the exact same login on the local sql server instance of my client laptop running windows xp pro, the I get an error message (Login failed for user MYDOMAINdgolds...) when I attempt to connect to the local instance of SQL server, even though I am able to connect to the instance on the domain controller with no problems using this same client laptop under the same user account. The only way I am able to connect locally on the laptop under this account (which does not have local admin privileges on any box, for testing purposes) is to add the user account separately as a login, rather than as part of a group. I'm curious as to why being a member of a security group that is part of the sysadmin server role does not allow me to connect to the local instance of SQL Server on this client laptop. The windows server computer is running SQL2k5 Enterprise, and the client laptop is running SQL2k5 developer. Any insight into this would be appreciated.

Thanks,

Dave

View 12 Replies View Related

SQL Security :: Unable To Connect With Client Database Server Using VPN?

Jun 9, 2015

We are unable to connect with Client SQL database server using VPN connection, even we are able connect with their intranet site.

We tried to connect using IP address, but no success. After that tried to ping that server with server name and IP address using command prompt, but got request time out error.

View 5 Replies View Related

SQL Security :: Users Are Able To Login To Server Without Any Login Names Or Being Part Of A Group

Jun 5, 2015

I have a server that has 20 databases . I have tested with few users with different level of access and all of them were able to connect to the server and also see, select, update , delete from a particular database which is kind of weird because they do not have a user login associated or mapped to that database. I checked and no user is part of any group in AD that would give them permission to connect . I need a query that would find the permission path of a user. I already queried with xp_logininfo but I am not getting any thing.

View 9 Replies View Related

SQL Security :: Login Rights In A Database With Frontend?

May 26, 2015

When creating a frontend with a database behind that, how should i get the login rights for user working?

Can i create a user with a password in the database and assign it a role or how should i get that done?

View 10 Replies View Related

Security For Row Level But Not Based On Database User's Login

Apr 21, 2006

HiI need to set security for row level but not based on Database user'slogin. It should be based on the user table login. For the particularuser I need to allow only the particular records to access insert,update delete and select.Let me explain clearlyFor example think we are using asp/asp.net websiteEg:www.test.comSo take this is our website and if you try this URL then you will get awindow for Login name and password.For example the Login name is windows user name (Here windows usermeans server windows user and not client) and windows password. So ifyou have login user id you can able to login in our site and we haveanother check. We have our own usertable this table consist all theuser login names and user rights. We will check the windows user whologin in our site has rights in the usertable I mean he is present inthe usertable if he is not present then we will display a message youhave no rights to access this site.If he has login id in our usertable then he allowed viewing ourpages. Still if he has the login id we will check the user who loginhas how much right to access to each page and the records of each tableits all depend on the user rights.So, here I need the row level security. For each and every table weneed to check the corresponding user and executing the record producelot of business logic problem for us.So after the user login we need automatically to set row levelsecurity for all the tables. Based on the user who login.So from there if we try select * from <tablename> then we can only ableto get the allowed records to select, insert, update, delete.Please can some one help how to solve this?Note:For some help you can refer the below URL (See in that they only givenabout the row level and column level security for each database usersnot for our required concept)http://www.microsoft.com/technet/pr...5/multisec.mspxThanks in advanceRams

View 1 Replies View Related

SQL Security :: Restricting Users To Login To Database Using SSMS

Jun 9, 2015

we have an application which lets users connect to production database with windows credentials, They are able access the sql tables too with windows login. I want to restrict them from accessing the sql tables. How do I do that.?I tried a db_deny but that prevented them from accessing the application too.

View 10 Replies View Related

Help! Cannot Connect To Database, Login Failed..

Jan 31, 2008

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,

Please someone help!...

Thanks,

View 5 Replies View Related

Cannot Connect To Database: Login Failed For User

Jun 16, 2006

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!

View 4 Replies View Related

SQL Server 6.5 Security Login

Oct 11, 2001

Is any one know how to setup a security login in SQL 6.5

View 1 Replies View Related

SQL 2012 :: Contained Database Users Hash Password

May 15, 2014

Where is located the hash password for the contained database users?I have a script that prints all creating statement so that a Dev environment security can be reapply after a prod data refresh but I can't find the table containing the hash password when the user is "with login" for contained database.

View 4 Replies View Related

How To Connect To Sql Server As Other's Window Login Rather Than User's Window Login Thorugh ASP.NET.

Dec 14, 2006

Dear members,

In MSDN, it says that it is recommended to use windows authentication to connect to SQL Server rather than use mixed authentication.

I create user deltasqluser on windows OS, and I specify in my webform ASP.NET script below :

protected System.Web.UI.WebControls.Label Label1;
private string _connString = @"data source=deltasql2000;initial catalog=northwind;integrated security=false;user id=deltasqluser";
/*
comment : I login to my windows as deltakoronx, and I want to every user (including me), connected to sql server through IIS, will be identified as deltasqluser not as user's login (impersonate)
*/
private void Page_Load(object sender, System.EventArgs e)
{
SqlConnection conn = new SqlConnection(_connString);
SqlCommand cmd = new SqlCommand();
cmd.Connection = conn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "select suser_sname()";

conn.Open();


string userName = cmd.ExecuteScalar() as string;
conn.Close();
conn.Close();
Label1.Text = userName;
}


at web.config, I add :
<identity impersonate="false" userName="deltasqluser" password="" />


at IIS webApplication1's properties, tab "Directory Security", at "Authentication and access control" section, I checked "enable anonymous access" with user : DELTAIUSR_DELTA and checked "Integrated Windows Authentication",


at query analyzer, I login as "sa" and execute script below :
exec sp_grantdbaccess 'deltasqluser','northwind'


when I run the ASP.NET script, error at conn.Open(); with error message :
Login failed for user 'NT AUTHORITYNETWORK SERVICE'.


What should I do so that IIS login to SQL Server as user deltasqluser not as "NT AUTHORITYNETWORK SERVICE" ?

Regards,

Koronx

View 1 Replies View Related

Login SQL Server Using Integrated Security !! Problem

Mar 6, 2005

ok thi is my code for test

SqlConnection conn = new SqlConnection("server=majed13;Integrated Security=SSPI;");
conn.Open();
conn.Close();

connection is OK
the user logged in SQL Server is ASPNET USER
i want looged in current NT USER not ASPNET USER
thanx in advance

View 4 Replies View Related

Connect To SQL Server Using Integrated Security=true

Sep 8, 2006

Hi all,I use the following connectionstring connect to sqlservserver=(local); database=mydata;Integrated Security=trueIf I tried browse the website in VS Web Developer 2005 environment, it's ok. After I compiled the site and access through IIS server, can not connect to sqlserver , I need to use login and password to connect. How can I connect wihtout using LogID and password.Thanks 

View 2 Replies View Related

SQL Security :: Can't Connect To Server 2014 When TLS 1.0 Is Disabled

Jun 24, 2015

After installing SQL Server 2014 SP1 CU1 (build version 12.0.4416.1) the SQL Server service no longer fails to start when TLS 1.0 is disabled, but no matter what I have tried I can't successfully connect to the database.When trying connect using shared memory I get this message:A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - No process is on the other end of the pipe.) (Microsoft SQL Server, Error: 233)And if I tryTCP/IP or Named Pipes I get this:

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) (Microsoft SQL Server, Error: -1)

TLS 1.1 and TLS 1.2 are enabled on the computer and working fine for IIS. what I can do to get SQL Server to work successfully with TLS 1.2 or is it still just not supported yet?

View 8 Replies View Related

SQL Security :: Unable To Connect Via Linked Server

Sep 17, 2015

Here are some details:

Domain = dm
Windows User = dmTestUser, member of sysadmin on SQLFL and SQLNY
SQL Server 2012 = SQLFL
SQL Server 2012 = SQLNY
Table = Product (exists in SQLNY and SQLFL)
SP = spGetProduct() (resides on SQLFL)
SQL Login = dbuser (on SQLNY, member of dbo on Product table)

I created a linked server on SQLFL pointing to SQLNY.  The local server login to remote login mapping is as follows:

Local Login = dmTestUser
Remote Login = dbuser

with "Be made without security context" option selected. Run spGetProduct() to get Product records from SQLNY and populate Product table on SQLFL via the linked server.Here are tests I did:I connected to SQLFL using dmTestUser in SSMS.  I manually executed the stored procedure spGetProduct() without any issues.  Procedure gets Product records from SQLNY and populates the Product table on SQLFL.  Everything is good.

I created a SQL Agent job called "Get NY Product" on SQLFL to execute spGetProduct().  I invoked this agent job and it executed successfully.However no data was loaded to the Product table on SQLFL.  My stored procedure caught this error: Cannot initialize the data source object of OLE DB provider "SQLNCLI11" for linked server "SQLNY".

1. When sql agent job runs, which account does it use?  Is the SQL Server Service or SQL Agent?I believe it's the sql agent.
2. What do I need to do to make this work?

View 4 Replies View Related

SQL 2012 :: Partially Contained Database And Temp Table Creation

Nov 20, 2014

As far as I know temp tables/objects will be created inside the default filegroup of the partially contained database and not in tempdb. Is it possible to either define a set of files dedicated to temp objects or define a second partially contained database dedicated to temp objects like tempdb?

View 0 Replies View Related

How To Change Login In Linked Server (From Sql Security To Integrated Sec)

Jun 19, 2006

We are having some commercial applications that are running on sql servers at different sites, all with sql security. The software vendor wants to copy data into staging tables on our BI server. But our BI server only support Integrated security.

But how can i say, in the definition of a linked server (at the remote machines) to swicth security system ?

If it is possible i could enter a fixed domain-account in that users fields, but i suppose that this field was intended for SqlServer security.

View 3 Replies View Related

Aspclassic On IIS7 SQL 2005. ODBC SQL Server Driver[SQL Server]Cannot Open Database Requested By The Login. The Login Failed

Apr 16, 2008


Hi all,

Have just tried my sql server 2005 connected asp classic website on II7 for the first time and have gotten some errors.
First off I have unchecked show friendly errors in IE and have enabled ASP to send error messages to the browser.

My error I get is when I execute a basic .asp page:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database "mydatabasename" requested by the login. The login failed.
/index.asp, line 10 which is dbConnect.Open cstring


from this peice of code:

sub dbOpen()
set dbConnect = Server.CreateObject("ADODB.Connection")
cstring = "DSN=mysqldsn; Trusted Connection=yes"
dbConnect.Open cstring
end sub

I have gone into ODBC and have setup both a user dsn and file dsn that equals mysqldsn and points to my database (I know you only need to set up one DSN but I'm not sure which)

I also notice under mywebsite home panel there is a connection string option. Do I do anything with that?


Definatley a lot more to it than XP's II6!

Any help or advice would be greatly appreciated.

View 3 Replies View Related

SQL Security :: What Windows Account Used Server Login To Access Server

May 14, 2015

If we have a "pool" SQL login, a one that uses SQL Server authentication, and this login is used by different domain account to access SQL Server, is there a way to audit which domain account used that "pool" login to do something on a object in SQL Server? I have to keep this way of accessing SQL Server, so how to create a login for every domain account accesses SQL Server

View 7 Replies View Related

Unable To Connect To SQL Server EndPoint Through SQL Server Authentication Using WS-Security Header

May 14, 2008

Hi folks,

I have created an EndPoint in SQL Server 2005 as per the code below.


CREATE ENDPOINT OSTC_LMS_Endpoint

AUTHORIZATION LMSEndPointUsers

STATE = STARTED

AS HTTP(

PATH = '/ostc_sql_endpoint',

AUTHENTICATION = (BASIC),

PORTS = (SSL),

SITE = 'OSTC-DEV-001'

)

FOR SOAP (

WEBMETHOD 'ostc_SQLSoapTester'

(name='OSTC_LMS_06.dbo.ostc_SQLSoapTester',

FORMAT = ROWSETS_ONLY,

SCHEMA=STANDARD),

WSDL = DEFAULT,

LOGIN_TYPE = MIXED,

SCHEMA = STANDARD,

DATABASE = 'OSTC_LMS_06',

NAMESPACE = 'http://tempUri.org/'

)

GO

USE master

GRANT CONNECT ON ENDPOINT::OSTC_LMS_Endpoint

TO [LMSEndPointUsers]

GO

USE master

GRANT CONNECT ON ENDPOINT::OSTC_LMS_Endpoint

TO [ostc-dev-001endPointUsers]

GO

-----------------------------------------------------------------------------------------------------------------
The SPROC being exposed as the webmethod: -


USE OSTC_LMS_06

IF EXISTS (SELECT name FROM sysobjects

WHERE name = 'ostc_SQLSoapTester' AND type = 'P')

DROP PROCEDURE ostc_SQLSoapTester

GO

CREATE PROCEDURE ostc_SQLSoapTester

@UsersId char(12)

AS

SET NOCOUNT ON

SELECT FIRST_NAME,FAMILY_NAME

FROM USERS

WHERE USERS_ID = @UsersId

GO



USE OSTC_LMS_06

GRANT EXECUTE ON ostc_SQLSoapTester

TO LMSEndPointUsers

GO

USE OSTC_LMS_06

GRANT EXECUTE ON ostc_SQLSoapTester

TO [ostc-dev-001endPointUsers]

GO

----------------------------------------------------------------------------------------------------------------

The computer in question is our dev server and is running as a workgroup machine with the following: -
Win Server 2003
SQL Server 2005
.net Framework 2.0
No firewalls or Proxies are in the way.

The computer has to be as a workgroup machine to reflect our live server.

The user LMSEndPointUsers is a SQL Server Login
The user ostc-dev-001endPointUsers is a machine login

We have employed the Security class as per the information given in the SQL Server documentation with the intention of using the WS-Security headers that apparently are to be used when trying to authenticate using a SQL Server login.

----------------------------------------------------------------------------------------------------------------

Code used to connect and try and reciev the dataset.


string sUserName = "userName";

string sPassword = "Password";



LMS_Endpoint.OSTC_LMS_Endpoint wsSQLTester = new LMS_Endpoint.OSTC_LMS_Endpoint();

SqlSoapHeader.Security sqlSec = new SqlSoapHeader.Security();

sqlSec.Username = sUserName;

sqlSec.Password = sPassword;

XmlWriter writer = XmlWriter.Create("Security.xml");

writer.WriteStartElement("security");

sqlSec.WriteXml(writer);

wsSQLTester.sqlSecurity = sqlSec;


DataSet dsMySet = wsSQLTester.ostc_SQLSoapTester("RH6915145507");


Basically authorization is denied 401.
Hope someone can help here as have tearing my hair out.

Thanks in advance

View 2 Replies View Related

SQL Security :: What Is Alternative Of A Login Whose Password Goes Missing In Server 2008 R2

Jun 5, 2015

We  have a situation where SSRS reports are using Testuser account to run the SSRS reports for every user who has access to these reports.Now developers need the password for this login Testuser to proceed with their ssrs reports development, but its sort of mess that no one has password ever saved.So in case is there a way it can be retrieved or what should be an alternative if password cannot be retrieved for that login, as i believe changing the password will break the reports using the current password?

View 7 Replies View Related

Login Failed To Connect To SQL Server

Feb 9, 2006

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

View 2 Replies View Related

Pls Help: Can't Connect To Server - Login Fails

Jul 20, 2005

I get the following error when trying to create an Access Data Project:Login failed for user 'myname'. Reason: Not associated with a trustedSQL Server connection.I'm using a specific username and password. The sQL Server (actually, MSDE)is installed on \server1, and I'm working on my laptop.I get the error whenI try and click the dropdown for "Select the database on the server". Anyhints on what I've donw wrong?Thanks, in advance.

View 1 Replies View Related

Can't Connect To SQl Server 2005 With Sa Login

Jun 29, 2007

Hello,

I recently installed SQL2005 and SQL2000. I only created SA login permissions with Admin access to the database (There are no Windows Users that have access).

I then installed SQL2000 and it overwrote the "mixed connection mode" . whenever I try to connect with the sa login I get the following error

Login failed for user 'sa'. The user is not associated with a trusted SQL Server connection. (Microsoft SQL Server, Error: 18452)

The problem is explained in a fix http://support.microsoft.com/kb/269587

The only problem is that the fix requires access rights that I don't have. My only logins are "BuiltInUsers" that have public access rights and then a "sa" login (that doesn't work) that has Admin rights within the db engine.

So my question is... Can I create an sysadmin account with windows authentication (for a normal Windows Admin Account) without having the proper rights within the database engine?

-Tom

View 1 Replies View Related

Cannot Connect To Server - Login Failed

Sep 17, 2015

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.

View 3 Replies View Related

SQL Security :: Login Failed For User Null / Not Associated With Trusted Server Connection

Jun 19, 2015

Any way to find out who's causing "Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection." error in SQL Server error logs?

View 7 Replies View Related

Trying To Connect To SQL Server, But User Login Failed

May 10, 2006

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"


Source File: c:inetpubwwwroot estWebForm1.aspx.vb Line: 94

Stack Trace:


[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?

View 2 Replies View Related

Is This The Correct Coding To Connect To Sql Server For Login Page?

Jan 28, 2008

 Partial Class Default3
    Inherits System.Web.UI.Page

   

    Protected Sub Login1_Authenticate(ByVal sender As
Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs)
Handles Login1.Authenticate

        Dim cmd As New SqlCommand
        con6 = New
SqlConnection("Server=localhost;UID=sa;PWD=XXXX;Database=knowledge;integrated
security=sspi")
        con6.Open()
        cmd.CommandText = "select
Status from usr where Uid='" & txtUsername.Text & "' and
Pass='" & txtPassword.Text & "'"
        cmd.Connection = con6

    End Sub
End Class

View 2 Replies View Related

.NET Framework :: Could Not Connect To Server - Login Failed For User

Jul 20, 2015

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'..

View 2 Replies View Related

Login Failure - Unable To Connect To Server Using Windows Authentication

Aug 12, 2015

We have see login failures for windows accounts. Below is the error message.

Description: In our env most logins are windows accounts. Initially we thought it is an UAC issue and we tried to launch the SSMS using "Run as Administrator". However, we are seeing login failures.

Enviroment:
Microsoft SQL Server 2014 - 12.0.2402.0 (X64)
RTM Enterprise Edition (HyperVisor)

Error Message in Error Log :

2015-08-10 22:36:45.290 Logon Error: 18456, Severity: 14, State: 11.
2015-08-10 22:36:45.290 Logon Login failed for user 'domainloginname'. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: 10.xxx.xxx.xxx]

[code]....

We tried dropping this account and re-creating the windows account with same permissions but still result is same. It throws same error message. Login failure message !!!

View 9 Replies View Related

Using SSIS Package To Connect A Remote Sql Server--login Failed.

Feb 13, 2006

Hi,

i created a SSIS package to import data to a remote sql server, using the following connection string:

"Data Source=My-SQL;User ID=PortalUser;Password=Password;Initial Catalog=TestOMIWarehouse;Provider=SQLNCLI.1;Auto Translate=True;";

and got an error "Login failed".

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?

thanks! Any help would be appreciated.

alea



View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved