Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
microsoft.public.dotnet.framework.aspnet.webservices
Re: Reading data in a web form
Dino Chiesa [MSFT]
7/10/2003 3:35:00 PM
You need to
setup SQL to allow mixed authentication mode, and pass a SQL username and
password in your connection string ;
or
set SQL for Windows Authentication and require authentication for your Web
site;
or
set SQL for Windows Authentication and authorize the ASPNET user to access
the database.
http://search.yahoo.com/bin/search?p=%22not+associated+with+a+trusted+SQL+server+connection%22&am...
"Helen Trim" <helen.trim@porthosp.nhs.uk> wrote in message
news:a37a01c346b8$643a6060$a401280a@phx.gbl...
> I am trying to read data from a SQL Server database into a
> web form. The code works ok in an ordinary project, but
> when I use the same code in a button on the web form, I
> get the error message:
>
> Login failed for user 'abcde'. Reason: Not associated with
> a trusted SQL Server connection
>
> It is using Windows authentication. What am I doing wrong?
>
> Thanks
>
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Reading data in a web form
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password