Access from other computer

Feb 11, 2010 at 11:25 AM
I've successfully created the avfodemo41 app on a win2k3 server and can access it from any other computer. I now "successfully" create another app. (testd) using webappbuilder this works fine if accessed from the hosting computer but throws the following error when I try to access it from another computer. urls used = (works fine) (throws error) Caught .NET exception, source: avfpinit err#= 11 line= 896 Function argument value, type, or count is invalid.11 Function argument value, type, or count is invalid. .NULL. .NULL. .NULL. .NULL. .NULL. c:\program files\dotcomsolution\avfpdemo41\activevfp.dll message: c:\program files\dotcomsolution\avfpdemo41\activevfp.dll Can anyone shed some light on my path
Feb 11, 2010 at 12:18 PM

My guess is that the Anonymous user doesn't have access rights to your data (even without looking at line 896 in main.prg referenced above).  If that line is for data access, then you need to give read/write permissions to the Anonymous user.  All of that is in PostSetup.prg if you want to do it manually like how it's done in there.  Ideally when you distribute an AVFP application you would use PostSetup.prg to do all of this automatically for you when you install it (just like it does for AVFPdemo).