-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: LovedJohnySmith
Message 3 in Discussion

Vishnu:-                  What Error code do you get? (HRESULT). if you know 
HRESULT then do the following, here let me give you small example for 
0x80004002L   #define E_NOINTERFACE                    
_HRESULT_TYPEDEF_(0x80004002L)  
That means Queryinterface fails for the interface HSServer._OLESteuerung.    I 
don't know if security is not an issue here, but like I told you before calling 
remote servers over COM is tricky from ASP.NET.  
When calling from a Winforms app. the caller is using credentials of the 
interactive logon user, while calling from ASP or ASP.NET 
(and webservices) the callers identity is (local) SYSTEM (per default) so you 
need to impersonate, or you need to turn off all. for example., 
<identity impersonate="true" userName="Microsoft\Administrator" 
password="xxxxx" /> 
to the web.config file. While that didn't change anything while the server 
was running on Win95, it now seems to be the key for accessing the remote 
server, which is running on NT4 yet. so you need to impersonate or turn off 
security :-).    Also, I would like to Check whether your metadata assembly is 
correctly installed and registered. 
    - dll must be in your web applications bin dir. 
    - regasm must be run from this location. 

Try to create an instance using OLEVIEW.EXE (oleview.exe and the metadata DLL 
must be in the same directory.    Thanks, Smith 
http://spaces.msn.com/johnysmith 
 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to