Solved

Windows Service HTTP Listener error

Posted on 2013-05-15
3
1,529 Views
Last Modified: 2013-05-15
I am trying to run an HTTP Listener in a Windows Service.

When I try and debug, by attaching the process in Visual Studio...I'm getting the attached screen print error.

Any ideas?

sp
0
Comment
Question by:lrbrister
  • 2
3 Comments
 
LVL 14

Accepted Solution

by:
comfortjeanius earned 500 total points
ID: 39168858
Try this


Click on "Start" menu

type cmd

Right-click  cmd and select "Runas administrator"

Type netsh http add urlacl url=http://+:60010/ user=YOURMACHINE\UserName
0
 

Author Comment

by:lrbrister
ID: 39168877
comfortjeanius

Received this error


C:\Windows\system32>netsh http add urlacl url=http://+:60010/ user=nnlarb1-pc\lbrister
Create SDDL failed, Error: 1332
 The parameter is incorrect.



C:\Windows\system32>
0
 

Author Closing Comment

by:lrbrister
ID: 39168943
Never mind...had a typo.  Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
coded character set iptc field within a jpeg 1 67
Trying to get PDF to open as "Open,Save,Cancel" instead of as a pop-up. 6 31
Error in page 3 44
Server Error 11 47
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

929 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now