Solved

Login failed for user sa!

Posted on 2003-11-21
12
20,960 Views
Last Modified: 2013-11-30
Hi there,
I have an Access database.

I tried to imported it with DTS import/export wizard.

Here were the steps i did

choose a data source :
access

choose a destination:
microsoft old db provider for sql server

i select USE SQL Server authentication

i type username : sa   , password : blank

when i try to select "new" from database to give a name
i get the follow error :

------------------------------------
Error source : Microsoft OLD DB PRovider for SQL server
Error description : login failed for user 'sa' Reason : Not associated with a trusted sql server connection
context : error during initialization of the provider

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

What is wrong ???
How i correct the error so i can import my access db ???

pls help
urgent




0
Comment
Question by:msolomos
  • 4
  • 3
  • 3
  • +1
12 Comments
 
LVL 15

Expert Comment

by:namasi_navaretnam
ID: 9797884
There are two thing you will need to check.

1) Is blank is the password for sa.

To assign a new password do this:
How to assign the sa password on a newly installed server (Enterprise Manager)
To assign the sa password
Expand a server group, and then expand a server.
Expand Security, and then click Logins.
In the details pane, right-click sa, and then click Properties.
In the Password box, type the new password.

2) Rightmouse click on your server name and select properties from Enterprise Manager.
Then select "Security Tab". Make sure "Sql Server and windows" option is selected.

HTH
0
 
LVL 7

Expert Comment

by:mnye
ID: 9797887
In Enterprise manager:

>right click the server registration you are trying to do the import to
>select "Properties"
>select the "Security" tab
>check the radio box for "SQL Server and Windows" under Authentication


hth
matt
0
 

Author Comment

by:msolomos
ID: 9797952
guys,
i have tried to assign the password again , through the enterpise manager from security ---> logins ....right click etc etc ..and i assigned it again

now back to dts import /export wizard ...if i try to import the access db ... to destination : microsoft ole db provider for sql server i get that error. ofcourse i use SQL server authentication

pls help
i am despert

PS> noticed that i am new in sql
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 7

Expert Comment

by:mnye
ID: 9797992
what are you selecting for the Server? depemding on your network set up you may need to try one of the following methods of connection to your SQL Server instance:

IP - xxx.xxx.x.xxx
FQDN - SQLSERVER1.DOMAIN.COM
Server Name - SQLSERVER1
Default - (Local)

Of all these, IP is probably the best bet and Local is probably the least likely.

hth
matt
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9798066
Please let me know if you need any help maintaining your many old open questions:

1 09/24/2003 250 Totals in categories and subcategories  Open Active Server Pages (ASP)
2 10/09/2003 125 Composing an email with dimac component  Open Active Server Pages (ASP)
3 10/16/2003 125 the famous new  Open Active Server Pages (ASP)
4 10/17/2003 250 Keeps crashing on a specific file ...  Open Macromedia Dreamweaver
5 02/20/2003 100 Sending forms | pLEASE HELP asap  Open Active Server Pages (ASP)
6 04/21/2003 250 POWER DVD !!! PLS HELP  Open Applications
7 10/03/2003 50 Learn me syntax  :)  Open Active Server Pages (ASP)

Thanks,
Anthony
0
 
LVL 15

Expert Comment

by:namasi_navaretnam
ID: 9798096
You may need to restart you SQL Server.

Pls maintain open questions as Anthony suggests.
0
 

Author Comment

by:msolomos
ID: 9798308
i have asked kindly help on this and i offered 500 points
but nobody seems to help ...

>>namasi  / restarted didn't help

>>mnye   i don't know what r u talking about :(

0
 
LVL 15

Expert Comment

by:namasi_navaretnam
ID: 9798341
Try with a different user who has readwrite permission on this database.
0
 
LVL 15

Accepted Solution

by:
namasi_navaretnam earned 500 total points
ID: 9798381
Have you done this?

2) Rightmouse click on your server name and select properties from Enterprise Manager.
Then select "Security Tab". Make sure "Sql Server and windows" option is selected.

I tried the same with sa user it works without problem.
0
 
LVL 7

Expert Comment

by:mnye
ID: 9798630
msolomos,

you have have 11 Open questions, one which dates back to Feburary.  If you resolve these Id be happy to help, maybe even acperkins would be more willing to assist you, whom is one of the best resources for SQL Server here.

Thanks,
Matt
0
 

Author Comment

by:msolomos
ID: 9799054
thanks mate that really help
although for 500 points you should had ask earlier

>> acperkins  can you pls email me to solomos@otenet.gr how to close the rest of the questions ?
0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 9799708
>>how to close the rest of the questions<<
From the EE Guidelines here are your choices:

Accept an Expert's Comment as the Answer http://www.experts-exchange.com/help/closing.jsp#2
Accept Comments from more than one Expert (a Split) http://www.experts-exchange.com/help/closing.jsp#3
Request a refund because you answered your own question (Refund/PAQ) http://www.experts-exchange.com/help/closing.jsp#4
Request a refund because no one answered your question (Delete) http://www.experts-exchange.com/help/closing.jsp#5
Abandon your question and leave the mess for someone else to clean up http://www.experts-exchange.com/help/closing.jsp#12

Let me know if you need any more information and thank you for getting up to date with your questions.

Anthony
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question