help required urgent

D

Dinesh Upare

Hi,
In a library.

we have a component which is hosted in MTS. This component internally uses
GetObjectContext
method and performs some actions based on the
Request.ServerVariables("AUTH_USER");
But if i run this component in ASP.NET the GetObjectContext method return
null object and hence not able to perform
any further actions.

If run the same component from ASP , it runs fine.
What is going wrong?

Thanks

Dinesh
 
C

Carl Prothman [MVP]

Dinesh Upare said:
we have a component which is hosted in MTS. This component internally uses
GetObjectContext
method and performs some actions based on the
Request.ServerVariables("AUTH_USER");
But if i run this component in ASP.NET the GetObjectContext method return
null object and hence not able to perform
any further actions.
If run the same component from ASP , it runs fine.
What is going wrong?


Dinesh,
Check out the following MS KB articles

HOW TO: Access ASP.NET Intrinsic Objects from .NET Components Using Visual Basic .NET
http://support.microsoft.com/default.aspx?scid=kb;EN-US;319429

HOW TO: Access ASP.NET Intrinsic Objects from .NET Components by Using Visual C# .NET
http://support.microsoft.com/default.aspx?scid=kb;EN-US;810928

HOW TO: Access ASP.NET Intrinsic Objects in a Visual Basic 6.0 Component
http://support.microsoft.com/default.aspx?scid=kb;EN-US;323259

--

Thanks,
Carl Prothman
Microsoft ASP.NET MVP
http://www.able-consulting.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top