Error creating ASIProxy. Business object cannot be created.
8 April 2003
Issue Description
After clicking 'Next' in the Select Data Source window in the AnyView External Table Wizard, the error message "Error creating ASIProxy. Business object cannot be created" is generated.
This error is produced for two reasons:
Cause #1
The ASIProxy.dll is not installed on the client machine.
Cause #2
The ASIProxy.dll is not properly configured on the AnyView Server specified in the External Table Wizard in the AnyView Server Name field.
NOTE - If the error is produced when the AnyView Server Name field is blank, the problem is with the client machine.
Solution
Cause #1
Verify that the file ASIProxy.dll exists on the client machine's hard drive. If it does not, install AnyView on the client machine.
Cause #2
If the file does exist on the client machine, then the ASIProxy.dll is not configured properly.
The AnyView External Tables Setup window, run at a client machine from within eEnterprise and Dynamics, uses Microsoft's Distributed Component Object Model (DCOM) to fetch valid DSNs, databases, tables, and fields from the AnyView web server. This ensures that all DSNs, databases, tables, and fields managed by AnyView External Tables Setup at the client machine are accessible from the AnyView web server.
The additional steps required to accommodate this functionality are related to setting up DCOM correctly.
When an implementer installs the AnyView web server components, the DCOM component called ASIPROXY.DLL is installed and registered in Windows. Security Permissions, however, need to be established manually using the Windows DCOM configuration utility, DCOMCNFG.
NOTE - This step is not required if the Creator client and web server are the same machine; such as a demonstration machine.
- In Windows, on the AnyView web server, click 'Start', then Run, then type "DCOMCNFG".
- Scroll down or type ahead in the Applications list until you find ASIPROXY.CLASS1.
- Click on 'ASIPROXY.CLASS1', then click 'Properties'.
- On the ASIPROXY.CLASS1 Properties windows, click the Security Tab.
- Click the Use custom access permissions and Use custom launch permissions radio buttons.
- Click the Edit button for each, and add the users or groups who will need to run AnyView External Tables Setup.
- Choose the Identity tab, and set the user account to either Launching User, or a specific user.
- Click OK to save the configuration.