Hi
I'm reading the Windows Communication Foundation 4 Step by Step. In chapter one I try to host my service through the IIS6, my service use ADO Data Entity and work with AdventureWorks Database. I didn't prosper to run it till I execute
this code to SQLServer:
USE [AdventureWorks]
GO
CREATE USER [IIS APPPOOL\DefaultAppPool] FOR LOGIN [IIS APPPOOL\DefaultAppPool]
GO
EXEC sp_addrolemember N'db_owner', [IIS APPPOOL\DefaultAppPool]
GO
GO
CREATE USER [IIS APPPOOL\ASP.NET v4.0] FOR LOGIN [IIS APPPOOL\ASP.NET v4.0]
GO
EXEC sp_addrolemember N'db_owner', [IIS APPPOOL\ASP.NET v4.0]
GO
It seems that I create a user that its name is IIS APPPOOL\DefaultAppPool and ASP.NET v4.
Now I want to host my service by myself without IIS and I'm using ServiceHost Class, I config both of server and client side but when I run my project I receive this error:
Go to the complete details ...