How do I write a Windows Service using Strataframe BOs


Author
Message
Peter Denton
Peter Denton
StrataFrame User (147 reputation)StrataFrame User (147 reputation)StrataFrame User (147 reputation)StrataFrame User (147 reputation)StrataFrame User (147 reputation)StrataFrame User (147 reputation)StrataFrame User (147 reputation)StrataFrame User (147 reputation)StrataFrame User (147 reputation)
Group: Forum Members
Posts: 77, Visits: 787
G'day

We have a continuous task that checks a database table for the existence of unprocessed records, and if it finds any processes them. This is done without user interaction, and doesn't need a user interface. We have previously handled this by running a form on the console of the Server (started in the logon script of a user which is automatically logged in). However It would seem preferable to do this as a service.

Can Strataframe BOs be used in a service, and is there an example of how it is accomplished somewhere? I've had a look in the documentation, demos and forum but didn't find anything.

Peter

Replies
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (938 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
Sounds like you are on the right track Smile. That is just a permissions issue, but it looks as though you are on top of it. Let us know if you hit any speed bumps!
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Just FYI, within the service you are generally better off providing a user name authentication that integrated security...it makes deployment easier and more reliable depending on the environment in which it is being installed.  But really either will work, but I have seen this cause issues before in the field with trying to use integrated security via a server and having a hard time connection to the server.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search