Showing posts with label network. Show all posts
Showing posts with label network. Show all posts

Monday, March 19, 2012

Failed Login SQL Express

Everything works fine with the website I've created except i get a Login failed message every now and then

Failed Login is: NT AUTHORITY\NETWORK SERVICE

Is this to do with the maximum number of connections to the database?

how can i stop this from happening?

AusClans:

Is this to do with the maximum number of connections to the database?

Maybe, but probably not. That would be a different error message. What is the full exception message you get?

Don

Monday, March 12, 2012

Failed Connected to Sql 2005 Enterprise Edition

Hi,

We have a Sql 2005 server. It was setup by out network administrators who do not know much about sql server. It's running on Mixed Mode (Sql Server & Windows Authentication Mode). I have been able to connect to it use Integrated Security. However, I have not been able to connect to it using an username and a password. I have tried with sql accounts and windows accounts. Out of frustration, I used sql administrator account and windows domain administrator accounts. I also tried using the account the sql server is running on. But each and every time, I failed and received the following error message:

Login failed for user '<<User Name>>'. The user is not associated with a trusted SQL Server connection.

I have also changed my connection string many times, but it doesn't matter. And I have been able to connect to our Sql 2000 servers successfully.

Please help!!

Pak

The error message indicates that you are only using WIndows authentication. After switching to Mixed Auth., did you restart the service ? do have eventually have multiple instances on the machine and you are connecting to the wrong database ?

HTH, Jens K. Suessmeyer.

http://www.sqlserver2005.de|||

its looks like still in Windows Authentication. Check that first. ALso if it is a named instance of sql server 2005 you need to start SQL browser Server or Mention the Port in connection string

Check this.

http://madhuottapalam.blogspot.com/2007/01/sql-browser-service-in-sql-2005.html

|||

Jens and Madhu:


Thanks for your help. You are 100% correct. It turned out that one of our developers change the authentication mode to mix mode without restarting SQL server.

Pak

Failed Compile and Deploy

This was working this morning...
My network login was set to expire, so I changed my password.
Now I cannot compile or deploy any report. When I try, I get 1 failed in
the Build Output but no error is displayed in the tasks.
I have tried creating a new solution with no luck.
Another developer can compile and deploy.
Any ideas?Anyone?
I have tried reinstalling, rebooting server. No luck.
I can compile other projects just not reporting.
"JSF" wrote:
> This was working this morning...
> My network login was set to expire, so I changed my password.
> Now I cannot compile or deploy any report. When I try, I get 1 failed in
> the Build Output but no error is displayed in the tasks.
> I have tried creating a new solution with no luck.
> Another developer can compile and deploy.
>
> Any ideas?|||It sounds to me like the server is validating against your old password,
that it has cached it. Try going to the server and loggin in as yourself and
see if it will let you log in.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"JSF" <JSF@.discussions.microsoft.com> wrote in message
news:B0CFD95D-B974-42E6-93A4-05D06585FAAD@.microsoft.com...
> Anyone?
> I have tried reinstalling, rebooting server. No luck.
> I can compile other projects just not reporting.
>
> "JSF" wrote:
>> This was working this morning...
>> My network login was set to expire, so I changed my password.
>> Now I cannot compile or deploy any report. When I try, I get 1 failed
>> in
>> the Build Output but no error is displayed in the tasks.
>> I have tried creating a new solution with no luck.
>> Another developer can compile and deploy.
>>
>> Any ideas?