Friday, September 10, 2010
Google Custom Search

Go to...

Recent Forum Posts

Our Community

Membership Membership:
Latest New User Latest: bunk_C1
New Today New Today: 16
New Yesterday New Yesterday: 20
User Count Overall: 10768

People Online People Online:
Visitors Visitors: 1
Members Members: 0
Total Total: 1

Online Now Online Now:

ClearCanvas Community Forums

Automation service requires running as admin?
Last Post 2010-05-14 03:22 AM by tmcleod3. 2 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Resolved
tmcleod3
New Member
New Member
Posts:5

--
2010-05-04 02:59 AM  

I've started working with the automation service. The documentation seems straightforward. I'm running on Vista with UAC enabled. I can get the Automation.TestClient to work fine. But only if I run the Desktop.Executable as an Administrator. The docs say:

Non-administrative users require permission to open ports on the local machine (for example, to host the automation service in the viewer process).  These permissions are set automatically by the ClearCanvas Workstation installer for Users and Power Users.

But this does not appear to have worked on my machine (I used the standard 2.0SP1 installer). Can I manually open these ports? Or is there something else I need to know when UAC/non-admin rights are involved?

Thanks,

Tom

stewart
Senior Member
Senior Member
Posts:1454

--
2010-05-10 01:12 PM  
Hi, there is a free utility, checked into the CC Trunk under Utilities/HttpNamespaceManager, that allows you to specify a base URL on a per-user or user group basis, to allow users to host web services. The CC installer tries to do this for you at install time, but I'm sure there will be situations where it doesn't work depending on your machine setup.

Anyway, just run the utility (you can also just search the web for the utility and download it) and it has a nice GUI that will let you do what you need. The base URLs are in the CC exe.config file.

Hope this helps,
Stewart
tmcleod3
New Member
New Member
Posts:5

--
2010-05-14 03:22 AM  

That utility works great! I certainly would not have found that on my own.

In addition to the location of the source code in the trunk that you mentioned, the binaries for it are also checked in under ReferencedAssemblies\HttpNamespaceManager.

For whatever reason I had to use "+" instead of "localhost" as specified by default in the config file. "+" implies all possible host names for the computer.

I also learned how it could be done from the (elevated) command line; in my case:

netsh http add urlacl url=http://+:51124/ClearCanvas/ImageViewer/ user=Users

Netsh is available on VIsta and later; for XP HttpCfg.exe can be downloaded.

Thanks!

Tom

 

You are not authorized to post a reply.

Active Forums 4.1
Copyright 2010 ClearCanvas Inc.