我正在尝试创建一个System.EnterpriseServices.ServicedComponent以参与分布式事务。我的主要方法看起来是这样的: public void DoSomething()
{
try
{
// do something useful
// vote for commit
if (ContextUtil.I
我得到了一个调用COM +组件的ASP.net webservice。 COM +组件中的类引发我想要处理的异常。但是ApplicationException被webbservice捕获,而不是真正的异常。 这是为什么? 编辑:异常详细 System.ApplicationException: Error in the application.
at System.Runtime.Int
让我们假设我有两个ServiceComponent类,我用这样的: using (var outer = new MyComponent1())
{
string data;
using (var inner = new MyComponent2())
{
data = inner.GetFromQueue();
}
outer.P
我将数据作为UTF8(我确定它是UTF8)存储在我的MSSQL中,并使用visual studio调试工具,字符串作为UTF8(因为某些字符只在UTF8中退出,而不是在big5中),但是在我使用PHP通过IIS fastCGI显示我的数据之后,结果是big5 !. 我构建了一个简单的类来测试它。你可以尝试一下。 using System.EnterpriseServices;
using Sys