Failure on Instance an c# component

dietmarruef
Member Posts: 48
Hi all!
I made a .net Wrapper class to control an SCP component with Navision. First it works fine but now i want to register the class on the needed servers.
(Windows 2003 Server) That´s not so fine.
The registration of the class works but every time i want to intstance the class, i get the following error.
"Could not create an instance of the OLE control or automation server .....
Check that the OLE Control or Automation Server is correctly installed and registred"
On my local machine it works correct. I searched the before and no of the named solutions does work. I also made a c# command line application to instance the class and it works without errors. The needed reference for the component is also proper registred. What did i wrong? Why it doesn´t work`s?
Thanks,
Kind Regards
Dietmar Ruef
I made a .net Wrapper class to control an SCP component with Navision. First it works fine but now i want to register the class on the needed servers.
(Windows 2003 Server) That´s not so fine.
The registration of the class works but every time i want to intstance the class, i get the following error.
"Could not create an instance of the OLE control or automation server .....
Check that the OLE Control or Automation Server is correctly installed and registred"
On my local machine it works correct. I searched the before and no of the named solutions does work. I also made a c# command line application to instance the class and it works without errors. The needed reference for the component is also proper registred. What did i wrong? Why it doesn´t work`s?
Thanks,
Kind Regards
Dietmar Ruef
0
Comments
-
Do you have .NET framework installed on the server? make sure you have the correct version of .NET. As you know there is .NET 1.0, 1.1, and 2.00
-
Actually it happened to me as well - I tried out Henrik's .NET control example and registered it with regasm.exe but just could not find where it is from Navision.0
-
Try regasm with
/codebase
and/tlb
switches - that's the way VS.NET registers components (I read that somewhere in google) - it helped me0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions