Ask a Question related to ASP.NET Security, Design and Development.
-
Arie #1
Trusted sql connection failure
Hi all
I have a asp.net application, developed in Beta 2. It is working fine when
the project is stored in a web file system mode. I had to switch to work in a
local IIS mode, and at this mode I'm failing to connect to the database
(MSSql). This is the message in the SqlException: Login failed for user
'(null)'. Reason: Not associated with a trusted SQL Server connection.
Thnx
AZ
Arie Guest
-
Reason: Not associated with a trusted SQL Server connection.
Hello all, I posted this on SQL newsgroup as well, not sure who may know the answer. I'm developing a asp.net program. Everything works great,... -
Trusted connection question
I have a question on ASP.NET security Currently, our ASP apps use a custom COM object to determine user's application role, connect to the... -
ending a trusted connection
Dear collegues! I have a web application that utilizes integrated securty. So far everything seems to work as intended. There are some... -
Not associated with a trusted SQL Server connection
We are running SQL server 2000 on MS Windows Server 2000. We have web based database (ASP.net and SQL Server 2000). When I run this page with 'sa'... -
Trusted connection from FoxPro 5.0
I am trying to create a trusted connection from a FoxPro 5.0 program to a SQL Server 6.5 via a VPN. I need to run an automated process, and of... -
Ken Schaefer #2
Re: Trusted sql connection failure
Is the SQL Server located on a different machine to the IIS webserver? If
so, you probably need to run ASP.NET under a domain account (or find some
other way of sending the credentials from IIS -> SQL Server). At the moment
it appears that you are running ASP.NET under a local account (either
Machine\ASPNET or NT AUTHORITY\Network Service) and local accounts can't be
assigned permissions to remote resources.
Cheers
Ken
"Arie" <Arie@discussions.microsoft.com> wrote in message
news:DD45121B-BDBC-4F57-90D1-BA8D3EFA24A4@microsoft.com...> Hi all
>
> I have a asp.net application, developed in Beta 2. It is working fine when
> the project is stored in a web file system mode. I had to switch to work
> in a
> local IIS mode, and at this mode I'm failing to connect to the database
> (MSSql). This is the message in the SqlException: Login failed for user
> '(null)'. Reason: Not associated with a trusted SQL Server connection.
>
> Thnx
> AZ
Ken Schaefer Guest



Reply With Quote

