Ask a Question related to ASP.NET General, Design and Development.
-
Von Shean #1
(Important)QueryInterface for interface Interop.SQLXMLBULKLOADLib.ISQLXMLBulkLoad failed
I am trying to user Bulk loader component in asp.net.
The code runs perfectly fine in a test harness but gives the following error
when used in a strong named dll called from asp.net using c#.
The error is
QueryInterface for interface Interop.SQLXMLBULKLOADLib.ISQLXMLBulkLoad
failed
If anyone has any idea how do we use bulkloader in asp.net, then please
share.........
Regards,
Von Shean Guest
-
QueryInterface for interface FDFACXLib.IFdfApp failed
Dear all, When I run the Sample project of FDF_Porject in the FDF Toolkits, has the run time exception of 'QueryInterface for interface... -
InvalidCastException: QueryInterface for interface
Hi, when modifying my customserver control, I did not look at it for more then 2 weeks, I received an error: InvalidCastException:... -
ASP Security causes QueryInterface InvalidCastException?
All, I have a vb6.0 com+ proxy component which works fine from a vb.Net console app. If the same code is placed into a ASP.Net web service I get... -
Does Interface Size Matter? Is my interface too complex?
Hi all, Does Interface Size Matter? Is my interface too complex? I volunteered to design a couple of web pages, but since we don't have a... -
QueryInterface, with the object Excel.Application
Hello, With Asp.Net, I try to generat a document with an Excel object. This is the begin of my procedure: Dim xapExcel As Excel.Application... -
Natty Gur #2
Re: (Important)QueryInterface for interface Interop.SQLXMLBULKLOADLib.ISQLXMLBulkLoad failed
Hi,
Use tlbimp[1] to create .Net wrapper class. You need to use sn.exe to
create strong name key file and to use it with the /keyfile:filename
tlbimp option.
[1] -
[url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools[/url]
/html/cpgrftypelibraryimportertlbimpexe.asp
Natty Gur, CTO
Dao2Com Ltd.
28th Baruch Hirsch st. Bnei-Brak
Israel , 51114
Phone Numbers:
Office: +972-(0)3-5786668
Fax: +972-(0)3-5703475
Mobile: +972-(0)58-888377
Know the overall picture
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest
-
Von Shean #3
Re: (Important)QueryInterface for interface Interop.SQLXMLBULKLOADLib.ISQLXMLBulkLoad failed
I have already done these steps. but there is no change in the error
message. It still comes and says the same thing.
I think it has something to do with the security of aspnet user
But then i tried this:
I have created the key file and used with tlbimp.
Built my project with a strong name key file.
registeded my dll in com+ by regsvcs to run under an admin account.
But still have the same result.
Regards,
"Natty Gur" <natty@dao2com.com> wrote in message
news:OJUIhFCTDHA.2120@TK2MSFTNGP10.phx.gbl...> Hi,
>
> Use tlbimp[1] to create .Net wrapper class. You need to use sn.exe to
> create strong name key file and to use it with the /keyfile:filename
> tlbimp option.
>
>
> [1] -
> [url]http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cptools[/url]
> /html/cpgrftypelibraryimportertlbimpexe.asp
>
> Natty Gur, CTO
> Dao2Com Ltd.
> 28th Baruch Hirsch st. Bnei-Brak
> Israel , 51114
>
> Phone Numbers:
> Office: +972-(0)3-5786668
> Fax: +972-(0)3-5703475
> Mobile: +972-(0)58-888377
>
> Know the overall picture
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Von Shean Guest
-
Von Shean #4
Re: (Important)QueryInterface for interface Interop.SQLXMLBULKLOADLib.ISQLXMLBulkLoad failed
tried it .....didnt work.......:(
"Natty Gur" <natty@dao2com.com> wrote in message
news:uZKBW1DTDHA.2020@TK2MSFTNGP11.phx.gbl...> HI,
>
> try to add Imperonate=true with user name and password that got
> permission to the web.config
>
> Natty Gur, CTO
> Dao2Com Ltd.
> 28th Baruch Hirsch st. Bnei-Brak
> Israel , 51114
>
> Phone Numbers:
> Office: +972-(0)3-5786668
> Fax: +972-(0)3-5703475
> Mobile: +972-(0)58-888377
>
> Know the overall picture
>
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
Von Shean Guest



Reply With Quote

