Anyview.ini Not Loaded
6 February 2003
Issue Description
When logging into the AnyView web site, the following error message is displayed:
Error in Page Page: /AnyView70s/Default.asp
Error Number: 0
Error Description: anyview.ini Not Loaded
Additional Info: Unload the Web Application in IIS, then verify that the AnyView.ini file exists in the AnyView Web Application folder.
AnyView Version: AnyView Build 4.82a - 11/23/2002 3:58:36 PM
This error occurs when the AnyView.ini file is missing from the AnyView Web application file. Here are the reasons that the AnyView.ini file can be missing:
- The AnyView.ini file was moved or deleted from the AnyView Web Application directory.
- The AnyView DSN Setup process was not completed.
- An incorrect path to the AnyView Web Application directory was entered in the AnyView DSN Setup window.
- Information was entered in the AnyView DSN Setup window, but it was not saved before the window was closed.
Solution
IMPORTANT NOTE: If you are changing your setup for a previously installed and running AnyView Web Application, you must unload the AnyView Web Application before making any changes to the Paths, DSNs, or the anyview.ini file.
Here are the steps to unload the AnyView web application:
-
From the IIS machine, launch the Internet Services Manager.
-
Navigate to the AnyView Web Application. (In a standard installation, this would be under the Default Web Site folder.)
-
Right-click on the AnyView web application and select ‘Properties’.
-
From the Virtual Directory tab of the Properties page, click ‘Unload’ then ‘OK’.
Now that the AnyView Web Application is unloaded, you must create the AnyView.ini file in the correct directory using the AnyView DSN Setup window. Here are the steps to follow to setup the AnyView DSN:
- Launch the AnyView DSN Setup Window. Using eEnterprise or Dynamics, open the AnyView DSN Setup window. (In a standard installation, this window can be opened by clicking on the Utilities menu, selecting ‘System’, and then selecting ‘AV DSN Setup’ from the System Utilities palette.)
- Map to the AnyView Web Site files on the IIS Server. Enter the physical path of the directory containing your AnyView Web Site files. This is the path you entered during the installation process. (In a standard installation, the path would be c:\Accountable\AnyView on the hard drive of the IIS machine.)
- Map to a temporary folder. Enter the path to an existing temporary folder. AnyView needs a folder on the IIS server in which to store temporary information when processing export to Word and Excel functionality.
- Enter the System DSN. Use the dropdown list to enter the System DSN. For SQL Server databases you may use any DSN that points to your SQL Server. For PSQL, the DSN can be any DSN that points to DDFs generated for any of your Dynamics Companies. For Faircom Ctree databases, the DSN must point to a .db file that contains paths to the System Files.
- Enter the Session Time out setting. This setting determines the amount of inactivity time in minutes that a user has before being automatically logged out of AnyView Browser.
- Enter the Company DSNs. Use the scrolling window dropdown lists to select the DSNs created for each of your Company databases.
- Enter the SQL Login for External Users. If using a SQL Server database, enter a valid Login and Password for External Users.
- Save your settings. Once you have completed the AnyView DSN Setup fields, click ‘Save’ to save your settings.
If you have correctly performed these steps, you will have created an anyview.ini file on the IIS Server in the AnyView Web Application directory.
Below is a link to a screenshot example of an AnyView DSN Setup window configured for The World Online, Inc.