Re: [ADVANCED-DOTNET] Issues in activating remote COM+ App in str essed condition

2002-07-19 Thread Andrew Bolstridge
How many of your remote obejcts are created when you start seeing the RPC unavailable error? We see this occasionally - generally, we trap this error and try again to create the object, and if that fails, then we report the error. You might want to try the same. Cheers, Andy. > -Original M

[ADVANCED-DOTNET] Issues in activating remote COM+ App in stressed condition

2002-07-19 Thread Chee Pin
Hi, I am doing a stress test on COM interop in making a DCOM call to a remote COM+ application on a different machine. My client is coded in C#. My COM+ application contained a MTA component has a method that basically sleeps for 5 sec and return. I am using Type.GetTypeFromProgID in conjunction

Re: [ADVANCED-DOTNET] WSDL Generation from an ASP.NET Web Service

2002-07-19 Thread Christian Weyer
Hi Chris, yes, this is a totally underdocumented feature. But there actually is a very powerful means to hook into WSDL and SOAP generation. The best approach to this is from within a SoapExtension (client and/or service side). The appropriate classes to take a look at are SoapExtensionImporter,

[ADVANCED-DOTNET] Embedding images using System.Web.Mail

2002-07-19 Thread Andrew Davey
Hi, does anyone know the best way to go about embedding images in a html mail message that will be sent using system.web.mail.smtpmail.send()? TIA Andy You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http:/

Re: [ADVANCED-DOTNET] Web Service test form not working

2002-07-19 Thread Craig Walker
Ok - fixed it - was just a configuration issue - the Machine.config file on the staging box did not have the right protocols set in the webServices tag - I just overridded this in my local web.config file. Sorry for the multiple posts - hopefully the moderators won't let it get that far :-) Cr

[ADVANCED-DOTNET] FW: Web Service test form not working

2002-07-19 Thread Craig Walker
I now know why the following has occurred - the WSDL generated by my development server is quite different to that generated by my staging server. The parts the crucially are missing are the binding operations that allow GET and POSTS to the asmx file (hence the error). Could someone please enlig

Re: [ADVANCED-DOTNET] Web Service Question

2002-07-19 Thread Steven Livingstone
Well as a web service the ASPNET account and not the interactive user. You have to do this... CspParameters cspParam = new CspParameters(); cspParam.Flags = CspProviderFlags.UseMachineKeyStore; rsa = new RSACryptoServiceProvider(cspParam); Explained at http://discuss.develop.com/archives/wa.exe

[ADVANCED-DOTNET] Web Service test form not working

2002-07-19 Thread Craig Walker
The web service test form (which displays when you surf to your asmx file) does not work on my staging server, even though it works wonderfully on my development box. On my dev box the test form shows input boxes for my parameters, but on my staging box it shows the error message: No test form is

Re: [ADVANCED-DOTNET] Web Service Question

2002-07-19 Thread Hein, Richard
GG, You may want to read this thread as well, for a bit more info: http://www.dotnet247.com/247reference/msgs/8/40506.aspx Richard A. Hein Software Developer Level Platforms Inc. 36 Antares Drive, Suite 200, Ottawa, Ontario * 613-232-0098 * [EMAIL PROTECTED] Please visit us at http://www.lev

Re: [ADVANCED-DOTNET] EULA and Performance Comparison

2002-07-19 Thread Ben Kloosterman
Just do it - it will never stand up . If you follow it to the letter a contractor or outsourcing firm is not allowed to discuss performance results with a client It would have been better if they said publish but disclosed is pretty broad. Ben -Original Message- From: Moderated discus

Re: [ADVANCED-DOTNET] Web Service Question

2002-07-19 Thread Hein, Richard
Your answer can be found here Katerina. ;) http://discuss.develop.com/archives/wa.exe?A2=ind0204B&L=DOTNET&D=0&P=57 316 Richard A. Hein Software Developer Level Platforms Inc. 36 Antares Drive, Suite 200, Ottawa, Ontario * 613-232-0098 * [EMAIL PROTECTED] Please visit us at http://www.levelpla

[ADVANCED-DOTNET] WSDL Generation from an ASP.NET Web Service

2002-07-19 Thread Christopher Dix
Can anyone point me to the source of WSDL generation for an ASP.NET web service? I understand that for a .NET Remoting web service, the WSDL comes from a custom sink (SdlChannelSink) that is provided by default for all services. I can't seem to find the mechanism/trigger for WSDL generation from

[ADVANCED-DOTNET] WinForms: is AcceptButton broken, w.r.t. validation events?

2002-07-19 Thread Shawn Van Ness
I've built a simple winform with a textbox and an ok button. The ok button is declared as the form's AcceptButton, and its DialogResult is "OK". The form validates the textbox contents by handling the Validating and Valided events, as per the sample code here: http://msdn.microsoft.com/library