|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
SWI-Prolog with C# Interface: IIS ProblemHi,
I am currently using the C# SWI-Prolog interface to invoke prolog predicates from a Web Application. I managed to run everything from the Visual Studio 2008 development server after configuring the necessary environment variables. The problem is when i deploy the web application to the IIS production service. Although i have already configured the application pool to use an administrator account, and also configured the web application with the full trust security profile, it just keeps giving me the same error: Exception Details: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. This happens when calling either the "PlEngine.IsInitialized" or the "PlEngine.Initialize(param)". I have also tried giving specific permissions to the C# SWI-Prolog assembly, but since it is not strong-name signed i can't activate the AllowPartiallyTrustedCallersAttribute. I really appreciate all the help you can give, since i have been stuck with the Prolog/C# integration for a long time. Thank you for your help, Nuno Luz __________ Information from ESET NOD32 Antivirus, version of virus signature database 4545 (20091026) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ SWI-Prolog mailing list SWI-Prolog@... https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog |
|
|
Re: SWI-Prolog with C# Interface: IIS ProblemHello skyflyer,
funny name. I'll haven't used the interface much on a webserver but it work. Have you tryed a simple program on the web server like the HelloWorldDemo? ( from http://www.lesta.de/prolog/swiplcs/Generated/Index.aspx ) Which IIS version do you use? Is the right libpl.dll (and friends) on the server and could th OS access them? skyflyer schrieb: > Hi, > > I am currently using the C# SWI-Prolog interface to invoke prolog > predicates from a Web Application. > I managed to run everything from the Visual Studio 2008 development > server after configuring the necessary environment variables. The > problem is when i deploy the web application to the IIS production > service. Although i have already configured the application pool to use > an administrator account, and also configured the web application with > the full trust security profile, it just keeps giving me the same error: > > Exception Details: System.AccessViolationException: Attempted to read or > write protected memory. This is often an indication that other memory is > corrupt. > > This happens when calling either the "PlEngine.IsInitialized" or the > "PlEngine.Initialize(param)". > > I have also tried giving specific permissions to the C# SWI-Prolog > assembly, but since it is not strong-name signed i can't activate the > AllowPartiallyTrustedCallersAttribute. > > I really appreciate all the help you can give, since i have been stuck > with the Prolog/C# integration for a long time. > > Thank you for your help, > Nuno Luz > > > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4545 (20091026) __________ > > The message was checked by ESET NOD32 Antivirus. > > http://www.eset.com > > > _______________________________________________ > SWI-Prolog mailing list > SWI-Prolog@... > https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog > > -- Kind regards Uwe Lesta Telefon: +49(531) 38747-14 Fax: +49(531) 38747-17 E-Mail: Lesta at sbs-softwaresysteme.de SBS-Softwaresysteme GmbH Geschäftsführer: Jasperalleee 13 Klaus Wagner D -38102 Braunschweig Tel.: +49(531) 38747-0 Handelsregister Sitz der Gesellschaft: Amtsgericht Braunschweig HRB 4481 38102 Braunschweig Steuernummer: 14/201/32196 _______________________________________________ SWI-Prolog mailing list SWI-Prolog@... https://mailbox.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog |
| Free embeddable forum powered by Nabble | Forum Help |