Re: Sql server 2005 Endpoints? An error ('0x80070005') occurred while attempting to register the endpoint
- From: agapeton@xxxxxxxxx
- Date: 24 Mar 2006 08:43:09 -0800
Changed it to print suser_sname() so you can see it...
I setup a new virtual machine. This time it's Windows Server 2003 R2.
I verified that port 80 is free with netstat and here is your output.
Below all of that is the command I ran (moving to Northwind--but that's
immaterial, just wanted to keep you in the loop). Below THAT is the
stored procedure I'm using.
WIN2003R201\Administrator
Msg 1088, Level 15, State 103, Line 1
Cannot find the object "myEndPoint" because it does not exist or you do
not have permissions.
Msg 7850, Level 16, State 1, Line 1
The user 'WIN2003R201\Administrator' does not have permission to
register endpoint 'MyEndpoint' on the specified URL. Please ensure the
URL refers to a namespace that is reserved for listening by SQL.
Msg 7807, Level 16, State 1, Line 1
An error ('0x80070005') occurred while attempting to register the
endpoint 'MyEndpoint'.
----------------------------------------------------------------------------------------
create endpoint MyEndpoint
state = started
as http
(
site='localhost',
path = '/sql/MyEndpoint',
authentication=(integrated),
ports = (clear)
)
for soap
(
webmethod 'GetEmployeeCount'
(
name = 'Northwind.dbo.GetEmployeeCount',
schema = standard
),
wsdl = default,
batches=enabled,
database = 'Northwind'
);
-----------------------------------------------------
create proc dbo.GetEmployeeCount
as
select EmployeeCount=count(*) from employee
.
- References:
- Prev by Date: Re: XP / SQL personal: Cannot find localhost
- Next by Date: Re: Visual Studio 2005 "How do you connect/create a new sql database?"
- Previous by thread: Re: Sql server 2005 Endpoints? An error ('0x80070005') occurred while attempting to register the endpoint
- Next by thread: Re: Sql server 2005 Endpoints? An error ('0x80070005') occurred while attempting to register the endpoint
- Index(es):
Relevant Pages
|
Loading