| Permisison Issue - HelloWorld Example with remote client |
|
 |
Index ‹ Connected Services Framework ‹ Connected Services Framework
|
- Previous
- 1
- Architecture General Real Time Locationing
hi all,
i'm begining project that use the real time locationing , but i need to know can i get the hardware required for the real time location and i will be responsible for the software managing that hardware, and if i can't get that hardware , can i make it ( i mean Is that feasible to be made ) ,
please reply to me as fast as you can,
Best Regards
John Nabil.
- 2
- Connected Services Framework How to Query RDF using SPARQL for required input value?
Hi,
It would be great if anybody can provide us with some information about the SPARQL (Query language for RDF). I could able to get some information about this in http://www.w3.org/TR/rdf-sparql-query/ but when I tried to use same SELECT Query with the CSF Profile store we are getting the exception that "SELECT" keyword is not defined with CSF schema.
I even tried to use the CONSTRUCT statement provided in the CHM file but when we tried to query with this we got lot number of records, In this regard how can we filter the queried records with a particular values that were passed as an input value.
Regards,
- 3
- Connected Services Framework OHSBE Installation issue - Mapping Kerberos token to OHSBE services
Hi,
I am trying to install OHSBE but face the following issue:
Mapping Identity of OHSBE WSE web service and OHSBE Windows service to Kerberos token - CSF\OHSBE30
My domain name is CSFDomain. While installing OHSBE I am not able to map Kerberos token - CSF\OHSBE30 to OHSBE WSE web service and OHSBE Windows service. The command Setspn fails, I tried several combinations without getting success:
C:\Program Files\Support Tools>setspn -A CSFDOMAIN\OHSBE30 CSFDOMAIN\OHSBE-Servi ce Registering ServicePrincipalNames for CN=OHSBE-Service,OU=CSF_OHSBE,OU=CSF-Admin istration-OU,DC=CSFDomain,DC=com CSFDOMAIN\OHSBE30 Failed to assign SPN on account 'CN=OHSBE-Service,OU=CSF_OHSBE,OU=CSF-Administra tion-OU,DC=CSFDomain,DC=com', 0x20b5
C:\Program Files\Support Tools>setspn -A CSFDomain\OHSBE30 CSFDomain\OHSBE-Servi ce Registering ServicePrincipalNames for CN=OHSBE-Service,OU=CSF_OHSBE,OU=CSF-Admin istration-OU,DC=CSFDomain,DC=com CSFDomain\OHSBE30 Failed to assign SPN on account 'CN=OHSBE-Service,OU=CSF_OHSBE,OU=CSF-Administra tion-OU,DC=CSFDomain,DC=com', 0x20b5
C:\Program Files\Support Tools>setspn -A CSF\OHSBE30 CSFDomain\OHSBE-Service Registering ServicePrincipalNames for CN=OHSBE-Service,OU=CSF_OHSBE,OU=CSF-Admin istration-OU,DC=CSFDomain,DC=com CSF\OHSBE30 Failed to assign SPN on account 'CN=OHSBE-Service,OU=CSF_OHSBE,OU=CSF-Administra tion-OU,DC=CSFDomain,DC=com', 0x20b5
Can anyone let me know how to get this issue resolved
Thanks,
Ashish Malhotra
- 4
- 5
- Architecture General Need suggestion.....................
I need one help from you guys......
I have one application and in that I need to take the decision based on the status of the database ........
if database is available then I need to activate menu..................
now at runtime i m getting one event and i m storing status in one variable whether it's available or not.......
but somehow if application gets closed then again I need to know whether database is available or not
so which is the best approach............
1) whether to store status in one file (which type of file xml, ini (in terms of performance))
2) again check in that folder whether it's available or not
I want to take the best decision...........Please help me in this :-)
- 6
- Architecture General I need help with application arhitecture?
Hi!
I'm working on my first "big" C# and net framework application. I need some help with deciding how to plan the apllication, that it will use elegant C# code in make most out of net framework. Let me first describe the application. The application will consist of 4 important parts:
1.) Data acquisition driver part
This part wil receives input data and store it in a buffer, when the buffer is full, the driver will notify the second part and continue with its work. This probably wil be a seperate windows driver.
2.) Data processing part
This part will do some data processing on the input data. It will have many calculation intensive functions, which will execute based on the settings in part 3 and 4. When a function returns it should notify the part 3 and 4.
3.) GUI part
This part will display the processed data in different ways, manage setting for all other three parts.
4.) Logger part
This part will log data from any function in part 2.
I would like to to make application in such way that all part are as independend as possible, but they should have no problem to communicate with each other. I would like that any function in part 2 would only work if part 3 or 4 is subscribed to it. For example if in part 3 I display the graph of raw input data the there is no need for part 2 to run function that calculates some statistics, but if the logger needs some statistics then it should run that to.
The way i currently imagine the apllication is that each part is a separated thread and they communicate through events and shared data structures. I imagine that part 1 generates an event when it has data ready for part 2 , part two checks for every function if there is somebody subscribed to it and if it is, it then runs that function and fires an event after the function is done. Part 3 and 4 get the events from part 2 and do their job.
I'm very grateful for any help, advice or comment you can offer.
best regards to all
- 7
- Architecture General Authentication mechanisms for SOA patterns in Product architectures
Hi,< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I have got this question and thought i should post it across to find out the real answer.
If we considered any product architectures that were built on Microsoft frameworks, say, MS Dynamics, Pivotal CRM (the company i work for), the default authentication model that is considered for is Windows Authentication for both Rich and smart client applications. This reminds the fact that both the user and the servers have to be placed within the same LAN boundaries and require to be in the Server's Active Domain System directory.
I'm wondering how would the authentication systems works, If we were to host the same application as a hosted application model, (as MS Dynamics has an alternative models other than on-premise) as it is not necessary that clients and the and the hosted applications fall into the same domain! The situation becomes even complicated when the hosted model becomes multi-tenant.
Can someone throw light on how easy it is to port an on-premise model to hosted models without compromising on the security issues
For example: Say, i have a web service, whose Authentication configuration set to "NTLM" and hosted within the IIS and is made available to users logging on to the same domain. Now, a mere change in the configuration setting would not suffice the requirement to make it available to others (non-domain) as the code within the web services might need some domain trust. So, it is an absolute requirement that the web service might undergo some changes (both at the design and code level) in the perspective of its application usage.
I have to admit the fact that i never worked on Service oriented architectures which are more prominent on on-demand/hosted application models. Hence the question. :)
I really appreciate your answers.
Regards,
Vidyasagar Ch
- 8
- Architecture General difficulty in understanding visitor pattern
Hi All, I have confusion on why is Visitor pattern is needed.One of the famous website provides the following code to explain the use of visitor pattern,but it is nto understood by me. Can somebody please explin in simple terms what is visitor pattern and in what case it is implemented. package Transactions;
public class Transaction
{
public abstract void accept(TransactionVisitor v);
}
interface TransactionVisitor
{
public void visit(DepositTransaction dt);
public void visit(WithdrawlTransaction wt);
}
class DepositTransaction extends Transaction
{
public void accept(TransactionVisitor v)
{v.visit(this);}
}
class WithdrawlTransaction extends Transaction
{
public void accept(TransactionVisitor v)
{v.visit(this);}
}
class TransactionUIFactory implements TransactionVisitor
{
private UI itsUI;
public UI getUI() {return itsUI;}
public void visit(DepositTransaction dt) {
itsUI = new DepositUI(dt);
}
public void visit(WithdrawlTransaction wt) {
itsUI = new WithdrawlUI(wt);
}
} Regards
- 9
- Architecture General Architecting aggregation of data
We have a group of very similar sql server databases running on our server. We are plannning to create an application which will need to get information from all these similar databases.
What do you all think is the best way to go about doing it
I am thinking about creating a realtime or periodically updated central database aggregating the info from all the others. How can I do this DTS Or create a data cache in memory
A web application, web service and windows forms will be running off this database.
Should be able to do a fast search. Is caching the database the only way to achieve this
How about XML databases
thanks a lot in advance.
- 10
- Connected Services Framework Session error
Currently we have a running CSF2.5. In the same domain we installed a CSF3.0
To explore CSF3.0 i first installed the lite version on my XP machine, samples etc and some eperiments running fine. Now i want to redesign out CSF2.5 stuff and run it on the CSF3.0 server. Starting with the Helloworld sample again to see if everything is running ok i get this error in the event viewer and the tracelogs:
Timestamp: 9/12/2006 8:15:54 AM Message: Session pipe line fault - Request message doesn't validate against any of the configured assertion. Category: Session OperationalEvent Priority: 1 EventId: 20152 Severity: Error Title:Session Machine: CSF03 Application Domain: /LM/W3SVC/1/Root/Session30-1-128025224799973427 Process Id: 3620 Process Name: c:\windows\system32\inetsrv\w3wp.exe Win32 Thread Id: 1824 Thread Name: Extended Properties: For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
< xml version="1.0" encoding="utf-8" > <log> <outputMessage utc="9/12/2006 8:15:55 AM" messageId="urn:uuid:fb7d8883-a553-43a2-acd3-6d2aa1f364bd"> <processingStep description="Unprocessed message"> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Body> <env:Fault> <env:Code> <env:Value>env:Sender</env:Value> <env:Subcode> <env:Value xmlns:prefix0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">prefix0:Security</env:Value> </env:Subcode> </env:Code> <env:Reason> <env:Text xml:lang="en">Microsoft.Web.Services3.Security.SecurityFault: Request message doesn't validate against any of the configured assertion. at Microsoft.ConnectedServices.Sdk.Security.DynamicAssertionServiceInputFilter.ValidateMessageSecurity(SoapEnvelope envelope, Security security) at Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope envelope) at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope) at Microsoft.Web.Services3.Messaging.SoapReceiver.FilterMessage(SoapEnvelope envelope) at Microsoft.ConnectedServices.Sdk.Messaging.CsfService.FilterMessage(SoapEnvelope envelope) at Microsoft.Web.Services3.Messaging.SoapReceiver.ProcessMessage(SoapEnvelope message)</env:Text> </env:Reason> <env:Node>http://csf03/Session30/SessionManagerAdmin.ashx</env:Node> </env:Fault> </env:Body> </env:Envelope> </processingStep> <processingStep description="Entering SOAP filter Microsoft.ConnectedServices.InternalUtils.TraceFilters.OutputTraceFilter" /> <processingStep description="Exited SOAP filter Microsoft.ConnectedServices.InternalUtils.TraceFilters.OutputTraceFilter" /> <processingStep description="Entering SOAP filter Microsoft.ConnectedServices.Sdk.Security.DynamicAssertionServiceOutputFilter" /> <processingStep description="Exited SOAP filter Microsoft.ConnectedServices.Sdk.Security.DynamicAssertionServiceOutputFilter" /> <processingStep description="Processed message"> <env:Envelope xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Header> <wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action> <wsa:MessageID>urn:uuid:fb7d8883-a553-43a2-acd3-6d2aa1f364bd</wsa:MessageID> <wsa:RelatesTo>urn:uuid:3f225ad1-13d6-407e-a8a6-86589b300415</wsa:RelatesTo> <wsa:To>soap.tcp://csf03:9100/UiFormService</wsa:To> <wsse:Security> <wsu:Timestamp wsu:Id="Timestamp-95702247-a34c-4822-a16d-2c0741c2088e"> <wsu:Created>2006-09-12T08:15:55Z</wsu:Created> <wsu:Expires>2006-09-12T08:20:55Z</wsu:Expires> </wsu:Timestamp> </wsse:Security> </env:Header> <env:Body> <env:Fault> <env:Code> <env:Value>env:Sender</env:Value> <env:Subcode> <env:Value xmlns:prefix0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">prefix0:Security</env:Value> </env:Subcode> </env:Code> <env:Reason> <env:Text xml:lang="en">Microsoft.Web.Services3.Security.SecurityFault: Request message doesn't validate against any of the configured assertion. at Microsoft.ConnectedServices.Sdk.Security.DynamicAssertionServiceInputFilter.ValidateMessageSecurity(SoapEnvelope envelope, Security security) at Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope envelope) at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope) at Microsoft.Web.Services3.Messaging.SoapReceiver.FilterMessage(SoapEnvelope envelope) at Microsoft.ConnectedServices.Sdk.Messaging.CsfService.FilterMessage(SoapEnvelope envelope) at Microsoft.Web.Services3.Messaging.SoapReceiver.ProcessMessage(SoapEnvelope message)</env:Text> </env:Reason> <env:Node>http://csf03/Session30/SessionManagerAdmin.ashx</env:Node> </env:Fault> </env:Body> </env:Envelope> </processingStep> </outputMessage> </log>
Any clues in how to solve this problem
Thanks!
Anita
- 11
- Connected Services Framework OHSBE Installation issue - OHSBE Monitor windows service generates database access exception.
Hi,
After installation of OH-SBE, when verifying the installation, OHSBE Monitor windows service generates following errors in eventlog:
The errors points out unautorirzed access to database as access to port is denied. It appears that some OHSBE component is trying to access OHSBE database and is denied the access.
I have OHSBE database installed in same syatem as OHSBE.
-------------------------------------------------------------- OHSBEMonitor service start up Error --------------------------------------------------------------
Timestamp: 9/13/2006 4:59:33 PM Message: ********************************************** Exception Messages: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.DatabaseException Name: GetDBSettings Nature: IsFailed Type: System.TypeInitializationException Name: System.TypeInitializationException Nature: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.Type: System.UnauthorizedAccessException Name: System.UnauthorizedAccessException Nature: Access to the port is denied. **********************************************
********************************************** Detail Message Info: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.DatabaseException Name: GetDBSettings Nature: IsFailed Stack: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException.GetMesageInfo(StringBuilder& sbMessageParameters, StringBuilder& sbCompleteMessageInfo) at Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException.get_Message() at Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException..ctor(ExceptionParameter[] parameterList, Exception innerException) at Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.DatabaseException..ctor(ExceptionParameter[] exceptionparams, Exception innerException) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.Properties.Settings.GetDBSettings() at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.MonitorDBStatus.Poller() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart() Type: System.TypeInitializationException Name: System.TypeInitializationException Nature: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.Stack: at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess.GetSystemConfiguration(Int32& messageResponseTimeoutInMS, Int32& monitorDBPollFrequency, Int32& throttleInterval, String& sessionTemplateManifestFilename, Int32& getOrderListRecordCount, String& mastercontrollerUri, String& identityManagerUri, Int32& numberOfRecordsToProcessPerPoll, String& orderCancelRoleName, String& orderTerminateRoleName, Int32& performanceCounterTimerInterval, String& ohsbeAdminRole, String& ohsbePolicyName, String& serviceCatalogPolicyName, String& identityManagerPolicyName) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.Properties.Settings.GetDBSettings() Type: System.UnauthorizedAccessException Name: System.UnauthorizedAccessException Nature: Access to the port is denied.Stack: at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.InternalResources.WinIOError() at System.Threading.Semaphore..ctor(Int32 initialCount, Int32 maximumCount, String name) at Microsoft.ConnectedServices.Sbe.OrderHandling.MasterController.Security.DataProtector..ctor(Store tempStore, String certName) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess..cctor()
**********************************************
Category: General Priority: 4 EventId: 10205 Severity: Error Title:Exception Machine: BLRKEC21593D Application Domain: OHSBEMonitor.exe Process Id: 2840 Process Name: C:\Program Files\Microsoft CSF\V3.0\OHSBE\OHSBE30\OHSBE Services\bin\OHSBEMonitor.exe Win32 Thread Id: 3772 Thread Name: Extended Properties:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
-------------------------------------------------------------- OHSBEMonitor service start up Error --------------------------------------------------------------
Timestamp: 9/13/2006 4:59:33 PM Message: ********************************************** Exception Messages: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException Name: Poller Nature: ********************************************** Exception Messages: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.DatabaseException Name: GetDBSettings Nature: IsFailed Type: System.TypeInitializationException Name: System.TypeInitializationException Nature: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.Type: System.UnauthorizedAccessException Name: System.UnauthorizedAccessException Nature: Access to the port is denied. **********************************************
********************************************** Detail Message Info: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.DatabaseException Name: GetDBSettings Nature: IsFailed Stack: at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.Properties.Settings.GetDBSettings() at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.MonitorDBStatus.Poller() Type: System.TypeInitializationException Name: System.TypeInitializationException Nature: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.Stack: at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess.GetSystemConfiguration(Int32& messageResponseTimeoutInMS, Int32& monitorDBPollFrequency, Int32& throttleInterval, String& sessionTemplateManifestFilename, Int32& getOrderListRecordCount, String& mastercontrollerUri, String& identityManagerUri, Int32& numberOfRecordsToProcessPerPoll, String& orderCancelRoleName, String& orderTerminateRoleName, Int32& performanceCounterTimerInterval, String& ohsbeAdminRole, String& ohsbePolicyName, String& serviceCatalogPolicyName, String& identityManagerPolicyName) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.Properties.Settings.GetDBSettings() Type: System.UnauthorizedAccessException Name: System.UnauthorizedAccessException Nature: Access to the port is denied.Stack: at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.InternalResources.WinIOError() at System.Threading.Semaphore..ctor(Int32 initialCount, Int32 maximumCount, String name) at Microsoft.ConnectedServices.Sbe.OrderHandling.MasterController.Security.DataProtector..ctor(Store tempStore, String certName) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess..cctor()
**********************************************
Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException Name: GetDBSettings Nature: IsFailed
Type: System.TypeInitializationException Name: System.TypeInitializationException Nature: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.Type: System.UnauthorizedAccessException Name: System.UnauthorizedAccessException Nature: Access to the port is denied. **********************************************
********************************************** Detail Message Info: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException Name: Poller Nature: ********************************************** Exception Messages: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.DatabaseException Name: GetDBSettings Nature: IsFailed Type: System.TypeInitializationException Name: System.TypeInitializationException Nature: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.Type: System.UnauthorizedAccessException Name: System.UnauthorizedAccessException Nature: Access to the port is denied. **********************************************
********************************************** Detail Message Info: Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.DatabaseException Name: GetDBSettings Nature: IsFailed Stack: at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.Properties.Settings.GetDBSettings() at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.MonitorDBStatus.Poller() Type: System.TypeInitializationException Name: System.TypeInitializationException Nature: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.Stack: at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess.GetSystemConfiguration(Int32& messageResponseTimeoutInMS, Int32& monitorDBPollFrequency, Int32& throttleInterval, String& sessionTemplateManifestFilename, Int32& getOrderListRecordCount, String& mastercontrollerUri, String& identityManagerUri, Int32& numberOfRecordsToProcessPerPoll, String& orderCancelRoleName, String& orderTerminateRoleName, Int32& performanceCounterTimerInterval, String& ohsbeAdminRole, String& ohsbePolicyName, String& serviceCatalogPolicyName, String& identityManagerPolicyName) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.Properties.Settings.GetDBSettings() Type: System.UnauthorizedAccessException Name: System.UnauthorizedAccessException Nature: Access to the port is denied.Stack: at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.InternalResources.WinIOError() at System.Threading.Semaphore..ctor(Int32 initialCount, Int32 maximumCount, String name) at Microsoft.ConnectedServices.Sbe.OrderHandling.MasterController.Security.DataProtector..ctor(Store tempStore, String certName) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess..cctor()
**********************************************
Stack: at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo) at System.Environment.get_StackTrace() at Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException.GetMesageInfo(StringBuilder& sbMessageParameters, StringBuilder& sbCompleteMessageInfo) at Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException.get_Message() at Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException..ctor(ExceptionParameter[] parameterList, Exception innerException) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.MonitorDBStatus.Poller() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
Type: Microsoft.ConnectedServices.Sbe.OrderHandling.Exceptions.SbeException Name: GetDBSettings Nature: IsFailed
Stack: at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.Properties.Settings.GetDBSettings() at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.MonitorDBStatus.Poller() Type: System.TypeInitializationException Name: System.TypeInitializationException Nature: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.Stack: at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess.GetSystemConfiguration(Int32& messageResponseTimeoutInMS, Int32& monitorDBPollFrequency, Int32& throttleInterval, String& sessionTemplateManifestFilename, Int32& getOrderListRecordCount, String& mastercontrollerUri, String& identityManagerUri, Int32& numberOfRecordsToProcessPerPoll, String& orderCancelRoleName, String& orderTerminateRoleName, Int32& performanceCounterTimerInterval, String& ohsbeAdminRole, String& ohsbePolicyName, String& serviceCatalogPolicyName, String& identityManagerPolicyName) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMonitor.Service.Properties.Settings.GetDBSettings() Type: System.UnauthorizedAccessException Name: System.UnauthorizedAccessException Nature: Access to the port is denied.Stack: at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) at System.IO.Ports.InternalResources.WinIOError() at System.Threading.Semaphore..ctor(Int32 initialCount, Int32 maximumCount, String name) at Microsoft.ConnectedServices.Sbe.OrderHandling.MasterController.Security.DataProtector..ctor(Store tempStore, String certName) at Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess..cctor()
**********************************************
Category: General Priority: 4 EventId: 10201 Severity: Error Title:Exception Machine: BLRKEC21593D Application Domain: OHSBEMonitor.exe Process Id: 2840 Process Name: C:\Program Files\Microsoft CSF\V3.0\OHSBE\OHSBE30\OHSBE Services\bin\OHSBEMonitor.exe Win32 Thread Id: 3772 Thread Name: Extended Properties:
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Can any body help me understand the cause of errors and how to resolve them
Thanks,
Ashish Malhotra
- 12
- Architecture General To Pranshu (slightly off topic)
Hi Forum
Does it make any sense to build a design that supports more than one physical seperation.
I'm making a web application and I need to make it secure and scalable.
I can see an idea in making it possible to physically seperate the presentation layer from the business layer. You can put the presentation layer in a DMZ.
Does it make sense to make it possible to physically seperate the business tier from the data tier
What requirements would justify such a design
I'm making a web application that is to run on a web farm in a hosting center. There is not reqirement that the data tier is to run on there other side of the planet.
I'm thinking mostly about security. I know that making physical seperation has a performance penalty, but does it make sense to make it possible to seperate the data layer from business layer in order to gain more security Or to gain something else
Example:
| = firewall
Does this make sense
| Presentation | Business | Data
Or should I go for this
| Presentation | Business Data
I'm thinking of making the first option possible. I'm thinking of designing it so that you via configuration can have the business layer call a remote object instead of calling the data layer directly. This design has some cost so I only want to do it if it makes sense.
I'm a little unsure whether I'm going overboard with physical seperation.
I hope someone can help me down the right path.
- 13
- 14
- Architecture General best way to handle collections
The scenario here is an object that has one or more collections and some of the object in those collection can in turn have collections themselves, kind like a tree.
To give an example, think a Customer object, it contains a collection named Invoices.
The Invoices Collection in turn contains an Items collection.
Let's say each of these objects (Customer, Invoice, Item) has a corresponding table on a database that storages the properties.
If I wanted to instantiate the objects from the Customer down.
I will instantiate the Customer.
Then get all the invoices for that customers and create the Invoices Collection.
And for each invoice, I would get all the items for that invoice and create the Items collection.
it would be good if each object keeps a reference to its parent. So, when I create the child objects I pass the parent as a parameter and the child object assigns this parameter to its Parent property.
Now, not every time I use the Customer object I need to have access to all its invoices and items, so it would make sense not to create the child objects until they are needed, lazy initialization.
But the problem is, I have two different tiers for the data access and for the business logic.
the business logic tier knows nothing about the dal, so I thought I could probably have an event triggered when the collection are requested and they are null, and have the Windows form or web form request the dal the requested collection.
Is there a better way to do this
- 15
- Architecture General profiler needed
Hi everybody,
I need to check the performance of a .net application and enhance ti whereever needed.
For this , i need a good and freely available(if it is free for evaluaton with full functionalities on, that would be fine) profiler.
Please suggest the best which fits in above criteria.
Thanks in advance
rajiv
|
| Author |
Message |
Vaassu

|
Posted: Connected Services Framework, Permisison Issue - HelloWorld Example with remote client |
Top |
Hi,
My CSF 3.0 components are running Machine1. If i try my HellowWorld Application from Machine1, its working fine. But if I try with machine2, i'm getting "AddRemoveParticipantFault" says that,
Participant(Name='UIParticipant', Url=soap.tcp://machine2:9200/UiFromService')Creation failed. I tried with some other machines also, but getting same error. Could any one help me out how set permission for CSF to access UIParticipant
Rgs
Vasu
Connected Services Framework4
|
| |
|
| |
 |
Veins

|
Posted: Connected Services Framework, Permisison Issue - HelloWorld Example with remote client |
Top |
Hi I am facing the same error. When I tried this Hello world example on my server it creates a session n all is good but when I go to other machine it craps out does not give me an error but does nothing. If I see the log file its say permission error i don't know why is does it.
|
| |
|
| |
 |
V i k r a m

|
Posted: Connected Services Framework, Permisison Issue - HelloWorld Example with remote client |
Top |
Hello Vaasu and Veins,
It might be the problem with the soap.tcp listener.
When ever a session manifest is submitted to the SessionManagerAdmin service it verifies whether these end-point or URIs are valid or not. In your case the URI is the soap.tcp listener. So, in this case port 9200 might not be open. Or try changing the port number.
Regards
Vikram
|
| |
|
| |
 |
Vaassu

|
Posted: Connected Services Framework, Permisison Issue - HelloWorld Example with remote client |
Top |
Thank you Vikram.
I have tried out those possibilities and all. But no use.
Rgs
Vasu
|
| |
|
| |
 |
NatrajFT

|
Posted: Connected Services Framework, Permisison Issue - HelloWorld Example with remote client |
Top |
Uri specified in the manifest is not matching with the uri that the application is listening.
I think UI Form is listening on 'soap.tcp://machine2:9200/UiFormService' .
And the uri added in the manifest is 'soap.tcp://machine2:9200/UiFromService' .
|
| |
|
| |
 |
SenthilN-msft

|
Posted: Connected Services Framework, Permisison Issue - HelloWorld Example with remote client |
Top |
Just to clarify Session creation & Add Remove participant will fail when Session is not able to query the WSDL of the service.
In this case it is possible you may have a typo error as Natraj mentioned.
Thanks
|
| |
|
| |
 |
| |
 |
Index ‹ Connected Services Framework ‹ Connected Services Framework |
- Next
- 1
- Architecture General Error Codes
Hi ,
I need
your opinions about whether to use a
global return code for each method in my application or let every component
throw its exception and use the upper layer to handle it.
Example
:
public RetCode ABC ()
{
If(…)
Return
RetCode.Valid;
Else
Return
RetCode.Invalied;
}
OR
public void ABC ()
{
If(…)
…
Else
Throw new
Exception (…);
} Thanks
- 2
- Architecture General DAO pattern
Hi All,
I have a question related to the DAO pattern
I have seen a project in which , we had a single factory for the whole database and helper classes for supported databases.
I think that would be better pattern to address transaction and connection problem compared to DAO in which we have single factory for each table.
Can you please guide me what prompts us to have factories for each table rather than for whole application.
What are advantages and disadvantages in these two approches
Please provide me with your comments
- 3
- Architecture General Creating Vendor - Database Independent Application Hi
I want to create a vendor - database independent application, that is, I want to create a single application that may run on Oracle/SQL Server/My SQL etc. First step towards this is to use ANSI SQL. But then arises questions like how to manage primary keys (have to mantain identity myself), how to fetch large dataset quickly (can't use SQL Server specific stored procedure), and other pertinent questions.
Can anyone guide me, how should I pursue this goal, any ideas/suggestions, samples etc.
Thanks.
Regards, Ali
- 4
- Connected Services Framework WES Sample - Issues
Hi,
I'm working on CSF 3.0 Dev version. I'm trying to develop WES Adapter over HellowWorld Service. When I looked at the WES Toolkit sample which is shipped with Dev version, It is not an Adapter over any sample service. Whenever client sends a request WES returns the response from the stored xml files.
Let me explain my scenario:
I have a WES Adapter over HelloWorld Example. Using Health monitor WES need to aware the availability of HelloWorld service. So that client can easily take a decision using interating with WES adapter only, rather than directly intreracting with HellowWorld Service.
My Question is
1. How to design WES Adapter for this scenario ( For ex. Send a request to HellowWorld Service (any method ) and wait for sometime to get response. If not getting any response then the state of Helloworld Service is disabled. Store these info in Local xml file which is used by client.)
2. In the WES tool kit sample, GetServiceHealthState method is simply reading vaules from SampleServiceHealthLog.xml file and returning back. When this xml file will get populated
3. Can i get any other WES adapter sample
Rgs
Vasu
- 5
- Modeling and Tools Lookup task run very slow when hitting big tables
I try to convert a Procedure that join 8 tables with INNER AND OUTER JOIN, my understanding is that the Lookup task is the one to use and I should break these joins into smaller block, it takes a long time to load when I do this, since each of these tables had 10-40mill. rows and I have 8 tables to go thru, currently this Stored Procedure took 3-4min to run, by converting this to 8 Lookup tasks, it ran for 20min. has anyone run into this issue before and know a work around for this.
Thanks
- 6
- Architecture General How to change the LDAP ports in Windows 2003 and 2000?
Can someone help me configuring/changing the LDAP ports in Windows Server 2003 and Windows Server 2000 It would be great to know the way to change the global catalog ports too...
I need to ensure that my code works if LDAP is configured to listen at user defined ports. I am currently developing an application that has to connect to the LDAP server for authentication. The code is actually ready and works with the default LDAP ports (636 and 389).
- 7
- Architecture General Any good Ntier real world (architecture)examples available for download?
Hi all,
Everybody talks about designing a good architecture
Talking between tiers in stateless manner
avoid chatty objects
use interfaces
Use factory patterns
etc etccc
But no one has published or uploaded some generic examples of different architectures so that you can see how things really work.(A complete solution)with different projects in it.
Just tired of reading theory and not seeing any examples.
Am I wrong
Could anybody point me in the right direction or do i have to reinvent the wheel If I have to it will probably be a square one
Thanks and apologies for moaning.
- 8
- Architecture General Analysis Services for BAM Aggregations
Hi i am getting the following error while enabling Analysis Services for BAM Aggregations. Please suggest me a solution if you come accross this problem.
Microsoft SQL Server 2000 Data Transformation Services (DTS) for BAM Analysis is not installed on the local machine. Please install the Microsoft SQL Server 2000 Management Tools component. (Microsoft.BizTalk.Bam.CfgExtHelper.ToolsHelper) ----------------------------- ADDITIONAL INFORMATION: Unable to cast COM object of type 'System.__ComObject' to interface type 'DTS.CustomTask'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{10020904-EB1C-11CF-AE6E-00AA004A34D5}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). (Microsoft.BizTalk.Interop.DTS)
Regards, Hemanth.
- 9
- Architecture General UI Architecture -Framework
Hi All,
I am n de process of doing some UI-Mockups.
UI includes web screens for the applications.
The options that I have to generate UI is
1) VS 2005 HTML , host on IIS so client can see
2) Flash based
3) Dreamweaver
Which other tools are good and competitive.
I am sure option 1) is good but wanted to get some views.
What else options do you consider or are there any good forums where I can take a look for UI generation.
Thanks
-Paresh
- 10
- Architecture General Using Object Relation Mapping Tools
I am planning to use Object Relation mapping tool in our project, presently we zeroed on Nhibernate. Just before implementing i want to seek advice on the below points
- Any cons of using OR mapping tools
- Any known issues
- Any performance issues
TIA,
Sudheer.
- 11
- Architecture General Pros/Con on using seperated Forest for 3. party users.
I am looking at this issue in a new design, where the Customer wants a dedicated forest for all 3 party users, with full trust to the Internal Forest.
I say at the Security will not be better as we will have two ways trust between this Forest and the Firewall between will have so many holes at it will look like Swiss Cheese, as all applications will be running in same network segment as the Internal Forest.
It will also have some negative consequences on investment, as we need to invest in new MOM and SQL Server, plus license for all this. (around 5 servers)
But if We just used new domain in existing forest we will only use 2 new servers and all administration will be the same as before.
My opinion is at we will have the same security level when using New Domain on existing Forest than using new Forest and Domain with full trust...
Does anyone want to discuss this What do ypu think
This is Enterprise system, with 20.000 local users, and around 3.000 3.party users.
- 12
- Modeling and Tools VisioR 2003 UML To XMI Export
Has anyone been able to import the xmi export file this tool generates into any other tool I have tried pulling Visio Use case diagrams into XDE, Sparx 4.1, and now Sparx 6.0 with zero luck.
Are there any plans to upgrade this add-in to export xmi 1.1, 1.2, etc The 1.0 version it exports is not support with the rest of the tools (XDE and Sparx) on the market I am currently using.
- 13
- Architecture General Factory, different APIHi!
We have a solution where a factory returns the correct dataprovider which in turn returns the correct dataobjects. The problem is that we f.ex. have one provider that uses the external system X and another that uses the external system Y which in turn needs different arguments to return the same data.
XProvider.GetWorkOrder(string arg1, string arg2, long arg3) : WorkOrder YProvider.GetWorkOrder(string arg1) : WorkOrder
Is there anyone that has a solution on this problm
- 14
- Architecture General Announcement: NLog 1.0 has been released!
After 2 years of work, we're proud to announce the availability of NLog 1.0. NLog is a free logging library for .NET designed with simplicity and flexibility in mind. See http://www.nlog-project.org for more information about NLog.
Source, binary packages and installer packages are available for download from: http://www.nlog-project.org/download.html
Tutorial and reference documentation are available at: http://www.nlog-project.org/documentation.html
The following people have contributed to NLog by submitting code or bug reports:
* Jaroslaw Kowalski <jaak at jkowalski dot net> * Marcin Krupinski <yoszek at gmail dot com> * Inez Korczynski <korczynski at gmail dot com> * Rafal Gwizdala <gwrafal at poczta dot onet dot pl> * Yuri Mamrukov <yvm at att dot net> * Maciej Figatowski <mfigatow at sav dot net> * Perry Rapp <lifelines_3_0_18 at hotmail dot com> * Maarten Claes <m.claes at farcourier dot com>
The focus of this relase is future compatibility. Code has been added to ensure that the development of NLog will progress without breaking existing code. The following paragraphs describe changes that made after 1.0 RC1 release.
Breaking API changes:
* Added NLog.ILayout which Layout implements to allow other layout types (such as CSV-escaped, HTML-colored, XML-escaped, ANSI-colored) to be implemented. * NLog.Layout became sealed. * FileTarget.KeepFileOpen is back to the default of false. we now have <default-target-parameters /> so this default can be easily overriden. * Added NLog.TargetWithLayout, removed Layout and CompiledLayout from NLog.Target * Removed CSVFile target, converted examples to File + CsvLayout * Removed LogEventInfo.Empty and replaced with LogEventInfo.CreateNullEvent() * Changed the default value of FileTarget.OpenFileCacheTimeout to -1
Packaging changes:
* Added publisher policy generation and established NLog versioning policy. See http://blog.jkowalski.net/ p=55 for more information about NLog versioning policy. * Build number is synchronized with SVN number. * Added VJSharp and Web item templates. Updated the installer to support VWD Express 2005. * Synchronized Visual Studio solutions to source code directories. Now part of the build process. * New NLog.Benchmark that uses code generation and compilation to create more "clean" environment.
Changes to the logging infrastructure:
* Added <targets><default-target-parametes /></targets> that specifies default values for all targets in the section * Added Initialize() and Close() to the LayoutRender class * Added optimized CurrentTimeGetter which is way faster than DateTime.Now * Fixed LayoutRenderer.ApplyPadding() null handling * Added infrastructure to create your own logger types inheriting from Logger:
LogManager.GetLogger(string name, Type type) LogManager.GetCurrentClassLogger(Type type) LogFactory.GetLogger(string name, Type type) LogFactory.GetCurrentClassLogger(Type type)
* Added PopulateLayouts() method to ILayout * Added ${event-context} layout renderer that extracts information from LogEventInfo.Context * Added LogManager<LoggerType> that manages logger instances of LoggerType where LoggerType : Logger * Added support for nested layout renderers. Used in ${file-contents}:
${file-contents:fileName=${basedir}/aaa.txt}
* Added support for DEFAULT nested layout parameters. You can now write:
${file-contents:${basedir}/file.txt} ${rot13:URYYB}
* Added pluggable layouts (CSV, Log4JXml), LayoutFactory and LayoutAttribute. The syntax is:
<target xsi:type="File"> <layout xsi:type="CSVLayout"> <column name="message" layout="${message}"/> <column name="level" layout="${level}"/> </layout> </target>
Of course the old syntax is still supported for simple layouts:
<target xsi:type="File" layout="${message}"/>
* Added ILayoutWithHeaderAndFooter for layouts that support header/footer (such as CSV Layout, more to come) * Enhanced XSD Schema generation by properly generating abstract and layout properties. * Added FilterResult.IgnoreFinal and FilterResult.LogFinala which suppress processing of further rules if the filter matches. * Added NLogConfigurationException which is thrown instead of CLR exceptions when the configuration fails * Simplified XmlLoggingConfiguration by splitting large methods and moving common functionality to PropertyHelper * Added [DefaultParameter] attribute which allows for nameless parameters to layout renderers:
${aspnet-application} ${aspnet-request} ${aspnet-session} ${date} ${environment} ${file-contents} ${gdc} ${mdc} ${process-info} ${special-folder} ${asp-application} ${asp-request} ${asp-session}
* Moved the implementation of LogManager to a reusable LogFactory while maintaining its public interface. You can noweasily have a private LogManager for an assembly.
New additions:
* Added MaxMessageSize (default: 65000) and OnOverflow (default:Split) to the Network target * Implemented headers and footers for the File target. CAUTION NLog automatically writes footers for files that have not been written for 2 days (48 hours). This is done do conserve memory for long-running processes that create lots of log files. * Enabled DatabaseTarget.ConnectionString to include layouts. * Added eventID and categoryID parameters to EventLog targets. * Added ${file-contents} layout renderer which inserts file contents. * Added MailTarget.AddNewLines to insert new lines between header/lines/footer * Added FormControl target that logs to Text property of any Windows.Forms.Control * Added RichTextBox target with row- and word coloring that logs to RichTextBox * Added ${tempdir} and ${specialfolder} * Added ${gc} which can be used to get the GC statistics (very limited) * Added ${processinfo} which can be used to extract the performance information about the current process (possibly others in the future as well) * Added ImpersonatingWrapper which temporarily changes the credentials for the duration of the write. * Added NLog_Init() and NLog_InitLocal() APIs to NLogC
Bug fixes:
* Fixed File target for Windows 98 * Fixed Network target to work properly with IPV6 * Changed RichTextBox Target to be thread safe. Uses delegate to log to RichTextBox
Documentation updates:
* Added examples of inheriting from Logger class and wrapping it * Added missing code documentation * Added example ${rot13} layout renderer - that demonstrates how wrapper layout renderers can be written. * Added proper camelCasing to the web build process * Fix for multiple email addresses being passed in To,CC and BCC fields under .NET 2.0 (reported by Pawel Parzychowski)
- 15
- Connected Services Framework OHSBE Web Service DB Access Exception
Hi,
I'm getting exception "Access to port is denied" when running OH web service.(http://localhost/OHSBE30/OrderHandling.ashx).
Exception details:
System.UnAuthorizedAccessException and Stack Trace info is
Stack Trace:
[UnauthorizedAccessException: Access to the port is denied.] System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) +632003 System.IO.Ports.InternalResources.WinIOError() +30 System.Threading.Semaphore..ctor(Int32 initialCount, Int32 maximumCount, String name) +1853355 Microsoft.ConnectedServices.Sbe.OrderHandling.MasterController.Security.DataProtector..ctor(Store tempStore, String certName) +47 Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess..cctor() +103
[TypeInitializationException: The type initializer for 'Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterControllerDatabaseAccess' threw an exception.] Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterController.Initialize() +493 Microsoft.ConnectedServices.Sbe.OrderHandling.SbeMasterController..ctor() +26
[TargetInvocationException: Exception has been thrown by the target of an invocation.] System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0 System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103 System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1036 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +114 System.Web.Configuration.HttpHandlerAction.Create() +57 System.Web.Configuration.HandlerFactoryCache..ctor(HttpHandlerAction mapping) +16 System.Web.HttpApplication.GetFactory(HttpHandlerAction mapping) +67 System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +100 System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +120 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
Also,
I have given DB (CSFOHSBE30) access to OHSEB-Service and IIS-WPG users.
Rgs
Vasu
|
|
|