Click here to Skip to main content
15,910,471 members
Home / Discussions / C#
   

C#

 
GeneralRe: Controlling file permissions Pin
james-cxx19-Feb-04 6:51
james-cxx19-Feb-04 6:51 
GeneralWriting to MXL File Pin
Mr_Mike18-Feb-04 11:27
Mr_Mike18-Feb-04 11:27 
GeneralRe: Writing to MXL File Pin
Kentamanos18-Feb-04 12:50
Kentamanos18-Feb-04 12:50 
Generalgetting MX servers for mail validation Pin
blakeb_118-Feb-04 10:41
blakeb_118-Feb-04 10:41 
GeneralRe: getting MX servers for mail validation Pin
Heath Stewart18-Feb-04 11:11
protectorHeath Stewart18-Feb-04 11:11 
GeneralStrange remoting issue Pin
lustuyck18-Feb-04 9:40
lustuyck18-Feb-04 9:40 
GeneralRe: Strange remoting issue Pin
Heath Stewart19-Feb-04 3:34
protectorHeath Stewart19-Feb-04 3:34 
GeneralRe: Strange remoting issue Pin
lustuyck19-Feb-04 3:49
lustuyck19-Feb-04 3:49 
Hi,

After two days I found out why it didn't work. Originally my config file contained:

<channels>
<channel ref="http">
</channels>

I changed it into:

<channels>
<channel ref="tcp">
</channels>

and all of a sudden the methods was also called asynchronously. I still don't know why, but it works now.

For your information, I wanted to use asynchronous calls because my remote method lasted 10 minutes to complete. I ran into another issue however, and I want to mention it here because it took me a while to find a solution. After 2 minutes or so, the thread was aborted on the server and my callback method was never called (the method was executed correctly though). So it worked, but I never got callback because the server thread ended. I solved this by dynamically increasing the script timeout that IIS uses:

System.Web.HttpContext.Current.Server.ScriptTimeout = 1800;

Now it works... but it was hard to find the solution Cry | :((
GeneralRe: Strange remoting issue Pin
Heath Stewart19-Feb-04 3:52
protectorHeath Stewart19-Feb-04 3:52 
GeneralRe: Strange remoting issue Pin
lustuyck19-Feb-04 3:59
lustuyck19-Feb-04 3:59 
Generalmultiple choice using if else Pin
notsosharp18-Feb-04 8:35
notsosharp18-Feb-04 8:35 
GeneralRe: multiple choice using if else Pin
Werdna18-Feb-04 9:45
Werdna18-Feb-04 9:45 
GeneralRe: multiple choice using if else Pin
LongRange.Shooter24-Feb-04 7:00
LongRange.Shooter24-Feb-04 7:00 
GeneralMultiple entrys in zip, memory not being released ! Pin
Daniel Negron18-Feb-04 8:04
Daniel Negron18-Feb-04 8:04 
GeneralRe: Multiple entrys in zip, memory not being released ! Pin
Daniel Negron18-Feb-04 11:12
Daniel Negron18-Feb-04 11:12 
GeneralRe: Multiple entrys in zip, memory not being released ! Pin
Heath Stewart19-Feb-04 3:12
protectorHeath Stewart19-Feb-04 3:12 
GeneralSaving JPG File Pin
Mr_Mike18-Feb-04 7:49
Mr_Mike18-Feb-04 7:49 
GeneralRe: Saving JPG File Pin
Mazdak18-Feb-04 7:56
Mazdak18-Feb-04 7:56 
GeneralCheckBoxItem DataBinding problems Pin
ParrotBoy18-Feb-04 7:04
ParrotBoy18-Feb-04 7:04 
GeneralRe: CheckBoxItem DataBinding problems Pin
Heath Stewart18-Feb-04 11:18
protectorHeath Stewart18-Feb-04 11:18 
GeneralHiding a Fullscreen App (game) Pin
Kir Birger18-Feb-04 6:27
Kir Birger18-Feb-04 6:27 
GeneralRe: Hiding a Fullscreen App (game) Pin
Heath Stewart18-Feb-04 10:45
protectorHeath Stewart18-Feb-04 10:45 
GeneralAutomation Pin
yyf18-Feb-04 5:46
yyf18-Feb-04 5:46 
GeneralRe: Automation Pin
Mazdak18-Feb-04 6:03
Mazdak18-Feb-04 6:03 
GeneralRe: Automation Pin
Heath Stewart18-Feb-04 10:30
protectorHeath Stewart18-Feb-04 10:30 

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.