Click here to Skip to main content
15,915,865 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to delay download of file Pin
g00fyman9-May-06 3:34
g00fyman9-May-06 3:34 
Questionhow to extract from excel to sql 2005 Pin
amalatsliit8-May-06 13:11
amalatsliit8-May-06 13:11 
QuestionLogin trouble after publishing Pin
Armando_Ramirez8-May-06 11:10
Armando_Ramirez8-May-06 11:10 
AnswerRe: Login trouble after publishing Pin
MoustafaS8-May-06 11:27
MoustafaS8-May-06 11:27 
GeneralRe: Login trouble after publishing Pin
Armando_Ramirez8-May-06 11:30
Armando_Ramirez8-May-06 11:30 
QuestionForms Authentication?????as soon as possible Pin
haneen19848-May-06 10:43
haneen19848-May-06 10:43 
AnswerRe: Forms Authentication?????as soon as possible Pin
MoustafaS8-May-06 11:46
MoustafaS8-May-06 11:46 
QuestionCOM threading model and Web Services Pin
Scott Gygi8-May-06 10:35
Scott Gygi8-May-06 10:35 
Can someone explain to me the correlation between the COM threading model of a web service consumer and the web service if that web service is not using COM components?

I have a simple test web service generated straight out of the VS 2003 web service wizard. It has a single WebMethod that consists entirely of a Thread.Sleep(500); call. I created a simple console app that will attempt to call the web service method 10 times. It will do so either on the main thread or on a new separate thread based on user input. The Main method of the tester is marked [STAThread]. If I call the web service method on the main thread there is no problem. If I then call it on a separate thread, the invocation freezes in the web service proxy and never gets into the web service. If I then call the web service from the main thread, the main thread works and the frozen thread unfreezes and the two sets of calls are interspersed. If I quit the application and run again, this time calling the web service on the separate thread first, the web service is called correctly. I can then call the web service on the main thread or another new thread no problem. If I change the designation of Main to [MTAThread], I can now run in any order I want.

Is there some COM thing going on am unaware of in the web service invocation? Or is this freezing problem unrelated to COM but then why does the COM threading model change have an effect.

Thanks for any help

QuestionKeeping the position on the page Pin
dptalt8-May-06 9:03
dptalt8-May-06 9:03 
AnswerRe: Keeping the position on the page Pin
CWIZO8-May-06 10:05
CWIZO8-May-06 10:05 
GeneralRe: Keeping the position on the page Pin
dptalt9-May-06 5:04
dptalt9-May-06 5:04 
AnswerRe: Keeping the position on the page Pin
Joshua Lunsford8-May-06 10:22
Joshua Lunsford8-May-06 10:22 
AnswerRe: Keeping the position on the page Pin
Tirthadip8-May-06 21:57
Tirthadip8-May-06 21:57 
AnswerRe: Keeping the position on the page Pin
HimaBindu Vejella8-May-06 22:37
HimaBindu Vejella8-May-06 22:37 
QuestionError: "Base class includes the field xxx but its type yyy is not compatible with the type of control yyy Pin
leckey8-May-06 8:34
leckey8-May-06 8:34 
AnswerRe: Error: "Base class includes the field xxx but its type yyy is not compatible with the type of control yyy Pin
ToddHileHoffer8-May-06 8:45
ToddHileHoffer8-May-06 8:45 
QuestionRe: Error: "Base class includes the field xxx but its type yyy is not compatible with the type of control yyy Pin
leckey8-May-06 9:10
leckey8-May-06 9:10 
QuestionConnect to ADS in ASP and ASP.Net Pin
csri8-May-06 8:31
csri8-May-06 8:31 
AnswerRe: Connect to ADS in ASP and ASP.Net Pin
HimaBindu Vejella8-May-06 22:41
HimaBindu Vejella8-May-06 22:41 
GeneralRe: Connect to ADS in ASP and ASP.Net Pin
csri8-May-06 23:37
csri8-May-06 23:37 
QuestionSQLDataReader data binding error = frustrated! Pin
Kerberos258-May-06 8:29
Kerberos258-May-06 8:29 
AnswerRe: SQLDataReader data binding error = frustrated! Pin
ToddHileHoffer8-May-06 8:39
ToddHileHoffer8-May-06 8:39 
GeneralRe: SQLDataReader data binding error = frustrated! Pin
Kerberos258-May-06 8:47
Kerberos258-May-06 8:47 
GeneralRe: SQLDataReader data binding error = frustrated! Pin
ToddHileHoffer8-May-06 8:58
ToddHileHoffer8-May-06 8:58 
GeneralRe: SQLDataReader data binding error = frustrated! Pin
Kerberos258-May-06 9:10
Kerberos258-May-06 9:10 

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.