Microsoft OLE DB Provider for SQL Server (0x80040E4D)
Login failed for user 'ERIC\IUSR_ERIC'.
But I AM able to connect to sql server using a username and a
password.
In other words, this connection string works:
Provider=SQLOLEDB.1;Initial Catalog=MyDB;Data Source=.;User
Id=MyUser;Password=MyPass;
and this does not work:
Provider=SQLOLEDB.1;;Initial Catalog=MyDB;Data Source=.Integrated
Security=SSPI;Persist Security Info=False
What can I do to connect with the second connection string?
"Hra_Ioannoy" <verb...@gmail.com> wrote in message
news:e8c7b3a2-0943-4270...@c34g2000yqn.googlegroups.com:
On 26 Ιαν, 02:25, "Geoff Schaller" <geo...@softxwareobjectives.com.au>
wrote:
> You will need to remove and the re-insert the IUSR account back to SQL
> Server because after IIS was reinstalled, the new IUSR accounts will
> have a new SID.
>
> "Hra_Ioannoy" <verb1...@gmail.com> wrote in message
>
> news:e8c7b3a2-0943-4270...@c34g2000yqn.googlegroups.com:
>
>
>
> > I have Windows XP Pro SP3. I had to uninstall and reinstall IIS. The
> > problem is that now I cannot connect to sql server 2000 from an asp
> > page using the Internet Guest Account (IUSR) (although I changed
> > nothing is the sql server settings, where the user ERIC\IUSR_ERIC is
> > declared as a db_owner in my database). I am receiving this error:
>
> > Microsoft OLE DB Provider for SQL Server (0x80040E4D)
> > Login failed for user 'ERIC\IUSR_ERIC'.
>
> > But I AM able to connect to sql server using a username and a
> > password.
> > In other words, this connection string works:
>
> > Provider=SQLOLEDB.1;Initial Catalog=MyDB;Data Source=.;User
> > Id=MyUser;Password=MyPass;
>
> > and this does not work:
>
> > Provider=SQLOLEDB.1;;Initial Catalog=MyDB;Data Source=.Integrated
> > Security=SSPI;Persist Security Info=False
>
> > What can I do to connect with the second connection string?- Απόκρυψη κειμένου σε παράθεση -
>
> - Εμφάνιση κειμένου σε παράθεση -