Click here to Skip to main content
15,926,144 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionFile upload security Pin
DanB198315-Jan-07 7:55
DanB198315-Jan-07 7:55 
AnswerRe: File upload security Pin
Jon Sagara15-Jan-07 9:13
Jon Sagara15-Jan-07 9:13 
AnswerRe: File upload security Pin
Pete O'Hanlon15-Jan-07 9:13
mvePete O'Hanlon15-Jan-07 9:13 
GeneralRe: File upload security Pin
DanB198315-Jan-07 9:55
DanB198315-Jan-07 9:55 
GeneralRe: File upload security Pin
Vasudevan Deepak Kumar15-Jan-07 16:49
Vasudevan Deepak Kumar15-Jan-07 16:49 
QuestionMEDIUM & ADVANCE ASP.NET VISUAL TRAINER Pin
Banjo Ayorinde15-Jan-07 7:12
Banjo Ayorinde15-Jan-07 7:12 
AnswerRe: MEDIUM & ADVANCE ASP.NET VISUAL TRAINER Pin
Not Active15-Jan-07 7:13
mentorNot Active15-Jan-07 7:13 
Questionusing multi threading in web services Pin
VishalSharmaDev15-Jan-07 6:15
VishalSharmaDev15-Jan-07 6:15 
hi dear

i am working on .net(1.1) web service and due to delay in response i made it multi threaded

but when i passed a object in function which is called on a new thread, it is throwing ObjectNullReference exception...

because it is unable to get value from the property of that object....

but by looking in quickwatch the state of object where it is throwing that exception

all the private member of object are having there values but in value column of quickwatch window

it is showing "error : cannot obtain value" against each and every public member.

i am giving you the source code how i am doing multi threading...


public class Threading
{
Testing testing = new Testing(PassedObject obj);
ThreadStart threadStart=new ThreadStart(testing.PerFormSomeAction);
Thread thread=new Thread(threadStart);
thread.Start();
}


public class Testing
{
private PassedObject _obj;
public void testing(PassedObject obj_)
{
this._obj=obj_;
}
public void PerformSomeAction()
{
// code here
// it is showing error here while accessing some of the property of _obj.
// but by using quickwatch it is showing value of private member's and displaying "error:cannot obtain value" for public members..
}
}

please help in the matter..

a kind reply is awaited


reply to : vishalsharma808@hotmail.com
vishalsharma556@yahoo.co.in
regards
vishal


Thanks & Regards

Vishal Sharma
vishalsharma556@yahoo.co.in

AnswerRe: using multi threading in web services Pin
Guffa15-Jan-07 7:20
Guffa15-Jan-07 7:20 
GeneralRe: using multi threading in web services Pin
VishalSharmaDev16-Jan-07 5:28
VishalSharmaDev16-Jan-07 5:28 
AnswerRe: using multi threading in web services Pin
Guffa16-Jan-07 13:32
Guffa16-Jan-07 13:32 
GeneralRe: using multi threading in web services Pin
VishalSharmaDev24-Jan-07 7:14
VishalSharmaDev24-Jan-07 7:14 
QuestionPlease Guide Me Pin
Ashish Porwal15-Jan-07 5:03
Ashish Porwal15-Jan-07 5:03 
Questionpaging in grid view control Pin
dalbhide bipin15-Jan-07 4:57
dalbhide bipin15-Jan-07 4:57 
AnswerRe: paging in grid view control Pin
Rahithi15-Jan-07 15:52
Rahithi15-Jan-07 15:52 
AnswerRe: paging in grid view control Pin
varshavmane15-Jan-07 17:15
varshavmane15-Jan-07 17:15 
GeneralRe: paging in grid view control Pin
dalbhide bipin15-Jan-07 21:58
dalbhide bipin15-Jan-07 21:58 
QuestionClosing of an ASP.net project... Pin
samerh15-Jan-07 3:34
samerh15-Jan-07 3:34 
AnswerRe: Closing of an ASP.net project... Pin
Colin Angus Mackay15-Jan-07 4:06
Colin Angus Mackay15-Jan-07 4:06 
AnswerRe: Closing of an ASP.net project... Pin
Mark J. Miller15-Jan-07 4:09
Mark J. Miller15-Jan-07 4:09 
QuestionMemory leak in ASP.Net at each post back Pin
Grapes-R-Fun15-Jan-07 3:15
Grapes-R-Fun15-Jan-07 3:15 
AnswerRe: Memory leak in ASP.Net at each post back Pin
Pete O'Hanlon15-Jan-07 3:34
mvePete O'Hanlon15-Jan-07 3:34 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Grapes-R-Fun15-Jan-07 3:43
Grapes-R-Fun15-Jan-07 3:43 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Pete O'Hanlon15-Jan-07 4:07
mvePete O'Hanlon15-Jan-07 4:07 
GeneralRe: Memory leak in ASP.Net at each post back Pin
Not Active15-Jan-07 7:12
mentorNot Active15-Jan-07 7:12 

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.