Questions tagged [servicedcomponent]

18 questions
0
votes
1 answer

MSSQL UTF8 string passed to ServicedComponent(COM+) but output becomes big5 when displayed using PHP

I stored my data in my MSSQL as UTF8 (I'm sure it is UTF8) and I use visual studio debug tool and I can see my string as UTF8 (because certain character only exit in UTF8, not big5), but after I use PHP to display my data through IIS fastCGI, the…
Hami
  • 335
  • 1
  • 7
  • 22
0
votes
1 answer

Commit a transaction if part of it fails

I have a method running in COM+ which looks a little like the following: [AutoComplete(true)] public bool DoSomething(string args) { DoSomeDBWork(args); try { DBAccess.RunQuery("INSERT fail"); return 0; } catch…
jb.
  • 1,848
  • 9
  • 27
  • 43
-1
votes
1 answer

Singleton Serviced Component

I am trying to implement a serviced component as a singleton. Currently, my code is like this: [assembly: ApplicationName("SingletonServicedComponent")] [assembly: ApplicationActivation(ActivationOption.Server)] [assembly:…
Ricardo Peres
  • 13,724
  • 5
  • 57
  • 74
1
2