Click here to Skip to main content
15,899,026 members
Home / Discussions / C#
   

C#

 
AnswerRe: Screenshots Pin
Judah Gabriel Himango2-Aug-06 5:24
sponsorJudah Gabriel Himango2-Aug-06 5:24 
GeneralRe: Screenshots Pin
Kovu172-Aug-06 23:22
Kovu172-Aug-06 23:22 
GeneralRe: Screenshots Pin
Judah Gabriel Himango3-Aug-06 4:21
sponsorJudah Gabriel Himango3-Aug-06 4:21 
Questionhow to create a color eyedroppper? Pin
relsirc2-Aug-06 4:36
relsirc2-Aug-06 4:36 
AnswerRe: how to create a color eyedroppper? Pin
Ennis Ray Lynch, Jr.2-Aug-06 4:42
Ennis Ray Lynch, Jr.2-Aug-06 4:42 
Questionhow to remove duplicate characters from a text file [modified] Pin
vp152-Aug-06 4:35
vp152-Aug-06 4:35 
AnswerRe: how to remove duplicate characters from a text file Pin
Ennis Ray Lynch, Jr.2-Aug-06 4:44
Ennis Ray Lynch, Jr.2-Aug-06 4:44 
QuestionClass doesn't support Automation [modified] Pin
Lupson2-Aug-06 4:21
Lupson2-Aug-06 4:21 
(UPDATED)
Hi all,

I have a problem I can't seem to resolve. Im not 100% certain the C# forums are the right place to post this, sorry if that is the case. It's kind of a crossover problem.
I would be really grateful with any tips how to resolve my strange problem.

Problem context:

OS: Windows 2000 Server - IIS 6.0 - .NET framework 1.1

I wish to call a Web Service from an ASP page (VBScript). The Web Service is Document/Literal based (WSDL generated by JBoss App Server) so the good old MS SOAP Client 3.0 doesn't cut it. My solution: Create a c#/.NET DLL accessing the Web Service, make it COM interoperable and let the ASP call it using standard Server.CreateObject.

Well - everything works. Or worked. I created the C# class and followed a guide how to make the COM interoperability work. If I call the DLL from a stand-alone VB6 app or a C# console application, everything works as a charm - the web service is invoked and everyone is happy.

Problem: When I call it from the ASP script, I get a:

Microsoft VBScript runtime error '800a01ae'
Class doesn't support Automation: 'stub.updateContact'

The most strange is that it actually worked for perhaps 5 or 6 times. Then I got intermittent error messages about the Automation thing, but after that I get the same one every time.

I've cleaned the registry, recompiled the DLL numberous times, rebooted the server, triple checked the WSDL. Nothing helps. And - it always work when I access the "updateContact" function from a stand-alone VB6 or C# application.

It seems as the IIS is spooked.

I've debugged the whole thing so far I know the updateContact method will execute successfully if I out-comment all WSDL-proxy class related lines of code and simply let the method return a string. However - any instanciation of the proxy classes will trigger this error. The error does not seem to be "catchable" using try{..}catch(){..} clauses either.

I've googled a whole lot before posting this without any success.

Thanks for any help.

UPDATE:
It seems as I managed to solve the problem. By accident I suddenly got a command through when testing some other indata to the C# function. The data is actually a number of parameters, retrieved from a database. The ASP page asks for the ID of the table row, retrives the ResultSet and so on. Well - somehow the C# goes nuts when one or more of the indata parameters were NULL in the database. If I corrected the null ones in the DB, it works.

The test apps I used just sent static (non-null) data into the function which explains why it worked for those all the time.


-- modified at 10:46 Thursday 3rd August, 2006
QuestionHow to set zoom in WebBrowser? Pin
Dima Filipiuk2-Aug-06 3:46
Dima Filipiuk2-Aug-06 3:46 
QuestionCompare values with List Pin
abnorm2-Aug-06 3:30
abnorm2-Aug-06 3:30 
AnswerRe: Compare values with List [modified] Pin
Wjousts2-Aug-06 3:48
Wjousts2-Aug-06 3:48 
AnswerRe: Compare values with List Pin
Ingo2-Aug-06 3:48
Ingo2-Aug-06 3:48 
GeneralRe: Compare values with List Pin
Wjousts2-Aug-06 4:01
Wjousts2-Aug-06 4:01 
GeneralRe: Compare values with List Pin
abnorm2-Aug-06 4:13
abnorm2-Aug-06 4:13 
GeneralRe: Compare values with List Pin
Wjousts3-Aug-06 3:23
Wjousts3-Aug-06 3:23 
GeneralRe: Compare values with List Pin
Ingo2-Aug-06 4:19
Ingo2-Aug-06 4:19 
GeneralRe: Compare values with List Pin
abnorm2-Aug-06 4:32
abnorm2-Aug-06 4:32 
GeneralRe: Compare values with List Pin
Ingo2-Aug-06 5:47
Ingo2-Aug-06 5:47 
Questionhow to draw ractangle in picturebox at runtime manually Pin
kalaveer2-Aug-06 3:18
kalaveer2-Aug-06 3:18 
AnswerRe: how to draw ractangle in picturebox at runtime manually Pin
Wjousts2-Aug-06 3:24
Wjousts2-Aug-06 3:24 
AnswerRe: how to draw ractangle in picturebox at runtime manually Pin
stancrm2-Aug-06 3:29
stancrm2-Aug-06 3:29 
QuestionGetting C# to pull Outlook e-mail when computer is locked Pin
matt23lucier2-Aug-06 3:04
matt23lucier2-Aug-06 3:04 
AnswerRe: Getting C# to pull Outlook e-mail when computer is locked Pin
Corinna John2-Aug-06 3:52
Corinna John2-Aug-06 3:52 
GeneralRe: Getting C# to pull Outlook e-mail when computer is locked Pin
matt23lucier2-Aug-06 7:32
matt23lucier2-Aug-06 7:32 
QuestionDelete Registry settings in uninstall Pin
Saamir2-Aug-06 2:47
Saamir2-Aug-06 2:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.