This is one of the most frequent errors you’d see when logging with the Event Log.
Error: Writing to the event log FAILED .. Requested registry access is not allowed. at System.ThrowHelper.ThrowSecurityException(ExceptionResource resource)
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
Most of the time this error goes unnoticed because of the account privileges your application is running under. However, once [...]
Archive for August, 2008
VS : Writing to the event log FAILED .. Requested registry access is not allowed.
Posted in Visual Studio, tagged .Net, EventLog, Writing to the event log FAILED .. Requested registry a, Zeeshan Shah on August 16, 2008 | 1 Comment »
BizTalk 2006: Cannot convert from System.String to out System.String
Posted in BizTalk 2006 R2, tagged BizTalk, Cannot convert from System.String to out System.String, Sydney, Zeeshan on August 15, 2008 | Leave a Comment »
Here is a simple one. Although, I see it more under the .Net category rather than BizTalk one – but, I’ll log it under BizTalk simply my expression shape called a .Net component.
I’m calling a .Net component from an expression shape with three parameters
objManager.Calculate(nId, strContext, strMessage);
where, strMessage is an out variable returned by my .Net function.
Error: [...]
BizTalk 2006: Generate XSD Schemas from XML files
Posted in BizTalk 2006 R2, tagged BizTalk 2006, DTD, Generate Schemas (XSD) from XML files, InstallWFX.vbs, XDR, zee, Zeeshan on August 7, 2008 | 2 Comments »
Often, you would be “greeted” with customers who would hand you over XML test files – that your system should be expecting. As BizTalk coders / developers (or consultants ) we would ideally be looking for XSD files – but not all wishes are granted.
Here is how to generate an XSD file from your [...]
BizTalk 2006: Using a SQL Adapter to receive XML datatype
Posted in BizTalk 2006 R2, tagged BizTalk 2006, BizTalk 2006: Using a SQL Adapter to receive an XML dat, Failed to execute SQL statement. Please ensure that the, SQL Adapter, zee on August 7, 2008 | 3 Comments »
Receiving xml (data types) from SQL server isn’t straight forward as is the case with any other primitive type. I’ve described in another post how to update an XML data type using the SQL Adapter. Today, I’ll be telling you about the receive side of things.
While configuring your solution, to receive data from SQL adapter (Add Generated [...]
BizTalk 2006: View Active subscriptions of your BizTalk artifact
Posted in BizTalk 2006 R2, tagged BizTalk 2006, View Active subscriptions of your BizTalk artifact, zee, Zeeshan on August 7, 2008 | Leave a Comment »
This is a simple one – but quite handy. Generally, while debugging BizTalk application it is of apparent interest to know about the subscriptions. Here is how to do it..
Right click “BizTalk Group” à “Query Tasks” à “New Query”
Then,
You would get a list of all active subscriptions
Let us follow the above steps with an [...]