Click here to Skip to main content
15,892,746 members
Articles / Web Development / ASP.NET
Article

Amzi! Prolog + Logic Server ASP.NET Wrapper Class

Rate me:
Please Sign up or sign in to vote.
1.20/5 (5 votes)
23 Feb 2004 40.9K   1.3K   24   1
C++ ASP.NET interface to Amzi! Prolog + Logic Server for building Rule-Based Expert Systems

Sample Image - logo_small.gif

Introduction

The .NET Class encapsulates the Amzi! Logic Server for use by .NET applications and applets. It includes:

  • A .NET Class Package the encapsulates a Logic Server Engine
  • Methods that correspond to the Logic Server API Functions
  • Use of .NET's exception handling for API errors, and
  • .NET-like method interfaces.

In addition, you can extend the .NET Class to allow Prolog to call methods in your .NET code.

This class is useful for calling Amzi! from .NET applications to implement intelligent logic-bases. It may also be useful to other wrapper developers as it illustrates writing a wrapper class on an existing Windows DLL.

You can download Amzi! Prolog + Logic Server from www.amzi.com/download. The documentation is available at www.amzi.com/manuals/amzi7/amzidoc.htm

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
GeneralError when running vb_pets Pin
yogeeta19-Jul-05 17:51
yogeeta19-Jul-05 17:51 
hi...i get an error message when i try to run the vb_pets project on my system...i have pasted the message below...hope someone can help me determine why i get this error message.


Server Error in '/vb_pets' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: File or assembly name amzinet, or one of its dependencies, was not found.

Source Error:

Line 256: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Line 257: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Line 258: <add assembly="*">
Line 259:
Line 260:


Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 258

Assembly Load Trace: The following information can be helpful to determine why the assembly 'amzinet' could not be loaded.

=== Pre-bind state information ===
LOG: DisplayName = amzinet
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/vb_pets
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: amzinet
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/vb_pets/7dad10e3/d84a9547/amzinet.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/vb_pets/7dad10e3/d84a9547/amzinet/amzinet.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/vb_pets/bin/amzinet.DLL.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: amzinet, Version=1.0.999.25154, Culture=neutral, PublicKeyToken=582edad4d3e541a1
LOG: Reusing an assembly instance that was previously loaded (C:\WINDOWS\assembly\GAC\amzinet\1.0.999.25154__582edad4d3e541a1\amzinet.dll).


Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.