.NET
Windows
Folder Structure
For a CADViewer .NET installation on Windows, the base file-structure should be as below:
c:\VisualStudio └─── cadviewer ├── app │ ├── cv │ │ ├── cv-pro │ │ │ ├── menu_config │ │ │ ├── language_table │ │ │ └── space │ │ │ ├── css │ │ │ └── html │ │ ├── cv-core │ │ │ ├── menu_config │ │ │ └── language_table │ │ └── cv-custom_commands │ ├── fonts │ ├── images │ ├── js │ ├── css │ └── user_resources ├── converters │ ├── ax2020 │ │ ├── windows │ │ │ └── fonts │ │ └── linux │ │ └── fonts │ ├── dwgmerge2020 │ │ ├── windows │ │ │ └── fonts │ │ └── linux │ │ └── fonts │ ├── linklist2020 │ │ ├── windows │ │ │ └── fonts │ │ └── linux │ │ └── fonts │ └── files ├── content ├── html └── temp_print
Note that folders for advanced interaction, such as database connectivity and advanced REST-API connectivity features are not included in this folder tree, please see the Samples section for integration with this type of functionality.
Windows - .NET Configuration
In folder:
c:\VisualStudio └─── cadviewer └── Web.config
locate the configuration file: Web.config , edit the key settings appSettings that controls Converter and CADViewer pathss to reflect your installation.
HTML
In folder:
c:/VisualStudio └─── cadviewer └── html
identify your sample mysample.html file, and ensure that it loads the CADViewer_AshxHandlerSettings.js file:
Handler Settings JS File
In folder:
c:/VisualStudio └─── cadviewer └── app └── cv
Open the CADViewer_AshxHandlerSettings.js file, and ensure that the top variable settings correspond to your server settings:
Open a web-browser pointing to your sample html file: http:/localhost:53737/html/mysample.html
Use the server traces and browser development console for debugging, alternatively contact our Support
For debugging, the folder:
c:\VisualStudio └─── cadviewer └── temp_debug
contains a debug file callApiConversionHandlerLog.txt that lists the command line and traces in the communication with the back-end converter AutoXchange 2020. If drawing files does not display, this file will contain useful information to pinpoint the issue.
Troubleshooting
One issue that often appears in installations is that interface icons do not display properly:
Typically the variable ServerUrl in /cadviewer/app/cv/CADViewer_AshxHandlerSettings.js is not set to reflect the front-end server url or port.