UAC

Have a CodeSite question that doesn't fit into any of the forums below? Post it here.

UAC

Postby etwoss » Wed Apr 05, 2017 2:53 am

Hi

We have a client 'talking' to a COM server.

Codesite (Express) suddenly stopped working in the COM Server.

Can it have something to do with UAC?

Eric
etwoss
 
Posts: 20
Joined:
Sat Oct 19, 2013 4:22 am

Re: UAC

Postby Raize Support » Wed Apr 05, 2017 12:02 pm

Can you be more specific about what "stopped working" means?

Also, are you sending the CodeSite messages to the Live Viewer or to a log file?

Do some messages show up in the viewer or log file and then the messages stop showing up?

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 611
Joined:
Fri Mar 25, 2011 9:04 pm

Re: UAC

Postby etwoss » Wed Apr 05, 2017 12:55 pm

Hi

Got messages in live viewer from client but not from comserver

Eric
etwoss
 
Posts: 20
Joined:
Sat Oct 19, 2013 4:22 am

Re: UAC

Postby Raize Support » Wed Apr 05, 2017 4:04 pm

How is the COM Server implemented? Is it implemented in a service perhaps? Services run in a different window station than the user desktop and Windows blocks the default transport method between the CodeSite Loggers and the Dispatcher. You need to call the CodeSiteManager.ConnectUsingTcp method. Details are included in the CodeSite Help under Advanced Techniques > Logging From Services.

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 611
Joined:
Fri Mar 25, 2011 9:04 pm

Re: UAC

Postby etwoss » Thu Apr 06, 2017 2:16 am

Hi

It's a DLL which runs in the Com environment (DLLHost)

En can not enable Ports with codesite express , is this true?

CodeSiteManager.ConnectUsingTcp;
codesite.Send('test1');

Test1 is shown!

Eric
etwoss
 
Posts: 20
Joined:
Sat Oct 19, 2013 4:22 am

Re: UAC

Postby Raize Support » Fri Apr 07, 2017 3:08 pm

Hi,

I am not sure what you mean by "enable ports". The CodeSite Dispatcher is the same in the Studio and Express editions. The Dispatcher monitors port 3434 by default for TCP connections from CodeSite loggers (or other Dispatchers). If you need to change the port that is used, you can change this in the CodeSite Dispatcher Settings. You can also use the CodeSite Controller to change the settings.

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 611
Joined:
Fri Mar 25, 2011 9:04 pm

Re: UAC

Postby etwoss » Mon Apr 10, 2017 1:16 am

Hi Ray

The tab "Ports" is disabled on the Codesite Dispatcher Settings.

On one place ( in a singleton class) i have put the CodesiteManager.ConnectUsingTCP, sending codesite messages from that singleton works fine, however from other classes in the COM server it does not.

I wonder which place in my COM server suites best to call CodesiteManager.ConnectUsingTCP?
Does each thread niets its own call?

Eric
etwoss
 
Posts: 20
Joined:
Sat Oct 19, 2013 4:22 am

Re: UAC

Postby Raize Support » Mon Apr 10, 2017 8:59 pm

Hi Eric,

The Ports tab being disabled indicates that you are not running the Dispatcher as an administrator and as a result, settings cannot be changed. You can also modify the settings by running the CodeSite Controller.

The CodeSiteManager itself is a singleton and all loggers will be affected by the manager. However, each logger can override the manager settings by making their own call to ConnectUsingTcp(). However, it does not sound like you are running into this.

Is the same process calling into the other classes of the COM server, or do you have multiple processes calling into the COM Server?

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 611
Joined:
Fri Mar 25, 2011 9:04 pm

Re: UAC

Postby etwoss » Tue Apr 11, 2017 2:34 am

Hi

>>Is the same process calling into the other classes of the COM server, or do you have multiple processes calling into the COM Server?

yes multiple clients can call into the com server

Eric
etwoss
 
Posts: 20
Joined:
Sat Oct 19, 2013 4:22 am

Re: UAC

Postby Raize Support » Wed Apr 12, 2017 5:11 pm

I apologize for having to ask more questions. I'm trying to understand how you have things setup. Is your COM Server a single running instance that is shared across all applications calling into it? Or, is it simply a dll that is loaded into each of your client applications, and thus each application would essentially have its own CodeSiteManager instance?

Is there any common startup code, initializer, that is called by your COM Server methods?

Ray
Raize Software Support
Raize Software
http://www.raize.com
Raize Support
 
Posts: 611
Joined:
Fri Mar 25, 2011 9:04 pm

Next

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron