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 trusted
SQL 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 when
I try and click the dropdown for "Select the database on the server". Any
hints on what I've donw wrong?

Thanks, in advance.

View 1 Replies


ADVERTISEMENT

Error: Cannot Open Database Requested In Login 'projectAllocations'. Login Fails. Login Failed For User 'sa'.

Oct 27, 2004

Hi,
Im getting this error when attempting to retrieve data from an sql database.

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: Cannot open database requested in login 'projectAllocations'. Login fails. Login failed for user 'sa'.

Source Error:


Line 13: objConn = New SqlConnection( "Server=LAB303-066NETSDK; Database=projectAllocations; User ID=sa;Password=mypassword")
Line 14: objCmd = New SqlCommand("SELECT * FROM project_descriptions", objConn)
Line 15: objConn.Open()
Line 16: objRdr = objCmd.ExecuteReader()
Line 17: While objRdr.Read()

Source File: C:finalyearproject2sample.aspx Line: 15



Please Help!! Im a beginner to this, so if anyone knows the answer, take baby steps when explaining. Thanks

View 3 Replies View Related

Cannot Open Database Requested In Login 'dbName'. Login Fails. Login Failed For User 'machineNameASPNET'

Jul 27, 2005

Been looking through the forums for a solution to this problem.I already tried granting access through statements such as:exec sp_grantloginaccess N1'machineNameASPNET'But they don't seem to work.. i vaguely remember seeing somewhere a DOS command line statement that grants access to the ASPNET_WP and that fixed my problem before on another computer.. but this is a new computer and i forgot to write down the command.Can anyone help explain and propose a solution to my problem. Many thanxs.

View 9 Replies View Related

Cannot Open Database Requested In Login 'sql'. Login Fails. Login Failed For User 'ASPNET'.

Dec 19, 2003

I am using the MSDE to connect to my ASP.NET application. I get this error after clicking the login button of my login page. Anyone know why this would happen?

Thanks for any help,

Cannot open database requested in login 'DataSQL'. Login fails. Login failed for user 'serverASPNET'.

View 5 Replies View Related

SQL Server - Login Fails

Aug 14, 2006

Hi,
I work with a newbie asp.net/ sql server programer (I didn't know that when I first worked
with him) in developing a website with CMS, he finished the work and he showed me that every
thing in the local host (on the pc) work just fine, when we tried to upload the files to the
server using ftp, we got this error:http://www.radiorient.net/index.aspx
This is his first project to be online, so I'm not sure (so is he) what should be done to
solve this issue, I'm trying to do my part to try to solve this problem as I'm on strict
deadline.
He told me that the connection in the code is:
"public void get_con(){con.ConnectionString="Server=local;database=Radiorient_db;User
ID=gyonis_radiorient;Password=xxx";if(con.State==ConnectionState.Closed) con.Open();}"
Host Name: mssql.royaltyservers.com (64.15.146.79)Database name: gyonis_Radiorient_dbDatabase Login: gyonis_radiorientDatabase Password: xxx
Control panel: H-SPHERE
ASP.net/ sql server
Can any body please help me ASAP... Thanx

View 9 Replies View Related

Connect To Server Fails

Mar 28, 2008

Hi all,

I have just installed Microsoft SQL server 2005.
From Management Studio I try to connect to server using as Server Name:computerNameSQLEXPRESS.

Unfortunately I am not able to connect, instead of this I receive an error message:

Cannot connect to MARIAPORTSQLEXPRESS

Additional Information:

An error has occured 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. (providerQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server)




Please help me!!


Thanks in advance,
Maria

View 3 Replies View Related

Remote Sql Server Login Fails

Aug 4, 2004

Hello,

I'm about googled out on this one. I did find one post that looked almost like mine but the thread was never finished. I'm sure this problem has been solved and I'm just having trouble finding it. Can someone help me?

I'm running sql server 2000 on a small workgroup network of winxp machines.

If sql server machine is the same as webserver machine, my asp.net app works. If sql server and webserver are different, the app fails because of sql server login failure.

I am able to explore the database remotely through server explorer in VStudio2003. However, when I try to access the database with the asp.net application, the login fails. I have tried several connection strings. Authentication on the server is 'mixed', the server runs in the system account, and the password for sa is "" (blank password).

I've tried (for instance)
Application["DBConnectString"] = "server=machinename;uid=sa;pwd=;database=Resume";
and
Application["DBConnectString"] = "server=machinename;integrated security=true;database=Resume";

When "machinename" is the same as the machine on which the app is running. both of those connection strings work, and the application runs correctly.

When "machinename" is different (that is, sql server on a different machine from the webserver), depending on the connection string I get either
"Login failed for user 'sa'."
or
"Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection."


Obviously VStudio is using some mechanism to add the remote server to it's list of servers and then to allow me manually to explore the databases on that server. Why am I too stoopid to figure it out?

TIA,
Tim

View 7 Replies View Related

Login To Remote SQL Server Fails

May 30, 2000

I am trying to use a confirmed and valid account over a WAN (US to Europe)
to register and access a SQL server database. The protocol being used is
TCP/IP and it has been confirmed that port 1433 is open.

The data is going through a frame relay line and pining the remote
SQL Server does return a valid response. Unfortunately, I am getting the
following error:

Error 18456
Severity Level 14
Message Text
Login failed for user 'TestUser'.

Explanation
You do not have permission to log in to the server.

Action
Contact a member of the sysadmin fixed server role to request login permission.

View 4 Replies View Related

Login To Remote SQL Server Fails --- #2

May 30, 2000

I am using TCP/IP net library as far as I know. Just in case though, how
can I ensure that TCP/IP is being used? both on the local and
remote servers?

Thanks for your help
Ziggy

View 1 Replies View Related

Server Fails To Connect To SQLExpress

Dec 26, 2006

I am trying to set-up membership options on my MS Server 2003.

I also have a Computer running MS XP Professional sp2.

With the Advanced in stall of SQLExpress - trying to establish cojnectivity on the server fails when using the ASP.NET Configuration button.

This works fine on the XP box.

On the security tab the following message apppears:

There is a problem with your selected data store. This can be caused by an invalid server name or credentials, or by insufficient permission. It can also be caused by the role manager feature not being enabled. Click the button below to be redirected to a page where you can choose a new data store.

The following message may help in diagnosing the problem: Unable to connect to SQL Server database.

I've compared all settings in ssemee, surface manager etc. - all identical.

run aspnet_regsql on both machines. Added the SERVERASPNET account to SQLExpress and to the aspnetdb database.

I've enabled TCP,remote connections, named pipes etc. to no avail.

Any suggestion as to what the error could be would be most appreciated - been trying now for 3 days to get this working without any success.

View 4 Replies View Related

Error String: Cannot Open Database Requested In Login 'XXXXXXXXXXX'. Login Fails.

Feb 29, 2008

Hi All

I am getting below error while


Error string: Cannot open database requested in login 'XXXXXXXXXXX'. Login fails.


what is possible casue for above problem.

View 5 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

Can't Display Data From Remote Sql Server Because Login Fails

Apr 19, 2008

but i am able to login to the same remote sql server through SQL server managment studio express using the details i am using in the connection string in the "test.aspx" page. ERROR: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)When this page is run, i want all the user's UserName and Password to be dispalyed.However, i am getting the above mentioned error.what could be the problem?  This is the code i am using in my test.aspx page to connect to "Login" table in my database. 1 Imports System.Data2 Imports System.Data.SqlClient3
4 Private Sub GetAllTheComments()5
6 Dim MyConnection As SqlConnection7
8 Dim MyCommand As SqlDataAdapter9
10 MyConnection = New SqlConnection("server=XXX.X.XXX.X;uid=X;pwd=X;database=X")11
12 MyCommand = New SqlDataAdapter("select UserName, Password from Login", MyConnection)13
14 ds = New DataSet15
16 MyCommand.Fill(ds)17
18 DataList1.DataSource = ds19
20 DataList1.DataBind()21
22 End Sub 
  

View 1 Replies View Related

Login Fails For Network SQL Server But Works For Localhost

Jul 18, 2005

I have an ASP.NET webform:This connection works:   "Server=localhost;uid=sa;pwd=;database=pubs"but this connection DOES NOT work:  "Server=dnrsqlt1;uid=sa;pwd=;database=pubs"dnrsqlt1 is a sql server my network.Do I have to do something to users ASPNET or  IUSER_Machinename on the remote machine

View 6 Replies View Related

Login Fails When Using IIS With The Login Control And Default ASP.NET Provider

Aug 23, 2006

Hello,
I am currently trying to use the Login control in an ASP.NET website with IIS. The control works fine when I am running the website in debug mode within Visual Studio 2005. However, when I create the Virtual Directory in IIS, and try to log in from there, I get an error message as follows:
Cannot open user default database. Login failed. Login failed for user 'machinenameASPNET'
Exception Details: System.Data.SqlClient.SqlException: Cannot open user default database. Login failed. Login failed for user 'machinenameASPNET'.
The application is very simple. I created a Login.aspx page with a login control on it, and I have the default.aspx page. I used theASP.NET administration tool to change the authentication mode to AspNetSqlProvider (forms authentication), and to create one user (no roles). I am using the default provider with the aspnetdb.mdf database. I have been working on this for a few days now, and have searched this site but have not found a solution that works for me. Any suggestions?
Jen

View 6 Replies View Related

Error 1418, Fails To Connect Mirror Server

Feb 20, 2006

II use the mirroring wizard to config all these three servers(windows authorization is used), the error logs in primary server and mirror server are showed as below
a) On primary server:
Error: 1474, Severity: 16, State: 1
Database mirroring connection error 4 'An error occurred while receiving data: '10054(An existing connection was forcibly closed by the remote host.)'.' for 'TCP://mymirror.mydomain:5022'
b) On mirror server:
Database Mirroring login attempt by user 'NT AUTHORITYANONYMOUS LOGON.' failed with error: 'Connection handshake failed. The login 'NT AUTHORITYANONYMOUS LOGON' does not have CONNECT permission on the endpoint. State 84.'.

It states I do NOT have permission on this endpoint, but actually, I grant the permission to the endpoint on both primary and mirror server using command
GRANT CONNECT ON ENDPOINT::Mirroring TO [mydomainmyuser];
Also, I followed the article http://msdn2.microsoft.com/en-us/library/ms189127.aspx ,no firewall issue, the endpoint is created and started by checking sys.database_mirroring_endpoints
Hope someone can help me resolve this issue... Thank you very much..

View 44 Replies View Related

Alter Login Fails When Login Changes His Own Password

Apr 11, 2008



I have seen alot of comments posted about an Issue in SQL2005 that no one at microsoft could really answer. If a user would try to alter his own login, it would fail stating a permissions error.

This is what I did to get it to work .

USE my_dataBase
GO

Alter Login [my_login] WITH PASSWORD = 'newpassword' OLD_PASSWORD = 'oldpassword'


In previous examples, people were trying to do an alter login without first narrowing it to the database.
If you do not include the USE statement it will fail.

Another thing to note is that they can only change certain things....they cannot turn off check_policy or check_expiration.

Happy Coding

View 2 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

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

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

Table Query Fails With Object Not Found Error After Assining Sysadmin Server Role To Login

May 14, 2015

I have dw schema in the database, owned by user dw.The login name is dw. The login had db_owner right in the database. The default schema for the login on the database is dw.Now Once I assign 'sysadmin' serverrole to dw login, I started seeing stored proc not found error, if try to execute stored proc without mentioning dw.spname...Also I am seeing table not found error while quering tables under dw schema, after the change.

View 5 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

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 View Related

Login Fails

Jan 11, 2005

Hi all;

I am getting the following error when I try to connect to my local SQL server from my ASP.NET application

Server Error in '/pelin' Application.

Cannot open database requested in login 'pelin'. Login fails. Login failed for user 'sa'.

for other users also
my connection string is in web.config file:

<appSettings>
<add key="constr" value="server=ARGE057VSDOTNET2003;UID=sa;pwd=sa;database=Test;"></add>
</appSettings>

can you help me please thanks..

View 1 Replies View Related

Login Fails

Aug 16, 2007

Hi all,

I have created one new database in sql 2000 with name Test. But when I access this DB through classical ASP page it showing some error:-
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login 'Test'. Login fails.

Here I am trying to connect DB by ASP page by entering user name and password. Anybody can tell the reason please?

With regards

View 1 Replies View Related

Login Fails

Aug 18, 2007

Hi all,

I have a database with name 'RHC'. And its working in my localmachine. But When I uploaded it to the server, it showing some connection error-
It is
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login 'RHC'. Login fails.

Anybody have any Idea regarding this issue.

Please advice me@

By Shaji

View 2 Replies View Related

Replication Fails On Login

Jun 3, 2008

I am trying to correctly configure a very small replication - one table - between two test machines. Publisher is Windows server 2000. Subscriber is Windows server 2003. Both machines run SQL Server 2005 Enterprise Edition, SP 2 has been applied. I have created an alias from Publisher to Subscriber. In SSMS, I am able to connect to both pub and sub databases (sub is Northwind, by the way).

I was receiving Error 18456, State 11; now I'm reverting back to state 5, which indicates an invalid userid.

HOW do I set appropriate userid for replication? I have established identical id and password on both machines - the only difference between the IDs is the machine name. However, the ID I wish to use is NOT the ID that I use to log onto the publisher computer. This userid is inserted because I'm using Windows Authentication, and I cannot find any means to override it. So I set up the same ID on the publisher, but it doesn't matter what ID I use. I only have TCP/IP turned on because these machines are on different networks, and neither machine is joined to a domain. The alias uses the IP address (but we know that works because I have connectivity under SSMS).

Where can I turn and how do I get this done? I've been struggling with this for 3 weeks, and I'm still not convinced I'm asking the right question.

View 1 Replies View Related

Sql 2005 Login Fails

Mar 6, 2007

This is the connectionstring I use to get to sql server 2000

Data Source=GBLOND0MSQL_COMDEV_DEV1;Initial Catalog=testDB;Persist Security Info=True;User Id=Webspeople;Password=something;

Now on another server I installed sql server 2005.

Restored a backup of sql server 2000 databse into sql server 2005.
So now I have sql server 2005 with the database that I was using in sql 2000.

The question is to do with login.

In sql 2000, connecting to sql query analyser using the above credentails, works fine. But not in sql 2005

The error is:
Login failed for user webspeople. The user is not associated with a trusted sql server connection.

Any guidance to solve this issue please?
Thanks

View 1 Replies View Related

Database Login Fails

Jun 28, 2006

Hi

I can logon to my Sql server using the SSMS management tool, I am using Windows Authentication to logon to SSMS. Create a database OK, with all the necessary tables.

However when I start a VB Express app and try to connect to this database I get an error that login filed for user AMDLarry, AMD is my PC name and my login (Larry) is the computer Administrator logon. The PC is a standalone ie not part of a domain etc.

Can anyone help?

Regards.

Larry.







View 4 Replies View Related







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