D
DA
I was wondering if anyone out there could shed some light on this MSDE .NET
interaction problem
I am running MSDE 2K latest service pack running Mixed mode, .NET Framework
1.1 on XP Pro (also latest SP and updates)
I have written a simple ASP app in C# which attempts to access MSDE via a
WebService also written in C#. When I try and do an open the following
exception is thrown:
Cannot open database requested in login 'Act'. Login fails.Login failed for
user 'YORK\ASPNET'
I have gone into MSDE with osql and done the following
EXEC sp_grantlogin 'YORK\ASPNET'
EXEC sp_grantdbaccess 'YORK\ASPNET', 'Act'
EXEC sp_defaultdb 'YORK\ASPNET', 'Act'
And at a last resort I granted it the following permissions:
EXEC sp_addrolemember db_owner, 'YORK\ASPNET'
and made ASPNET part of the administrators group in XP
But I still get the above error.
Any ideas?
interaction problem
I am running MSDE 2K latest service pack running Mixed mode, .NET Framework
1.1 on XP Pro (also latest SP and updates)
I have written a simple ASP app in C# which attempts to access MSDE via a
WebService also written in C#. When I try and do an open the following
exception is thrown:
Cannot open database requested in login 'Act'. Login fails.Login failed for
user 'YORK\ASPNET'
I have gone into MSDE with osql and done the following
EXEC sp_grantlogin 'YORK\ASPNET'
EXEC sp_grantdbaccess 'YORK\ASPNET', 'Act'
EXEC sp_defaultdb 'YORK\ASPNET', 'Act'
And at a last resort I granted it the following permissions:
EXEC sp_addrolemember db_owner, 'YORK\ASPNET'
and made ASPNET part of the administrators group in XP
But I still get the above error.
Any ideas?