----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: Vinu Message 3 in Discussion Hi Mahesh, Thanks for the response. Scenario is as follows Objective : Create a COM+Components which includes Business Layer as well as Data Layer bundled in to one DLL namely AISCLIB.DLL. This is a .NET Com Component that will be installed in a server. Some of the classes in this DLL support transactions. Construction String for the Data layer components are passed via the Constructor string of the component. I need my peers to develop UI interacting with this DLL,ie during design time to refer this and create respective forms. Steps performed : 1. Platform used is VB.NET 2. Created a Project with strong name and registered the same using regsvcs, also included this dll as a part of GAC 3. Testing in the same machines for the component was successful Steps performed to make it accessible to other machines 1. Accesses COM + Explorer and Created a MSI file using Export option 2. In another machine in the network installed the same, made sure the same is displayed in the explorer with respective settings 3. Opened a VB.NEt Project 5. I try to add the reference of this DLL using the COM tab - This gives me the error that "Reference coule not be added. Converting the type to a .NET assembly failed. Object reference set to an instance of an object" 6. When I try to add it as a .NET type it gives an error "A reference to AISCLIB could not be added. Converting the type library to a .NET assembly failed. Type library AISCLIB was exported from a CLR assembly and cannot be re-imported as a CLR assembly" When i referred the directory contents of the component it lists the following AISCLIB.tlb mscoree.tlb mscorlib.tlb System.EnterpriseServices.Thunk.dll System.EnterpriseServices.tlb ******** I'm not sure what I'm missing out. I would not prefer using LATE BINDING here using CreateObject. Please help me. One more doubt,what is this Thunk file which gets created?. Well this is not a priority and will find out if no one word answers exist. Platform --VS 1.0 Version in Windows Server 2000. Hope this information is sufficient. Please let me know if you need any further info on this. Thanks and Regards, Vinod ----------------------------------------------------------- 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]
