Access from other computer

Feb 11, 2010 at 12:25 PM
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 = http://192.168.1.165/avpdemo41/default.aspx (works fine) http://192.168.1.165/testd/default.aspx (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
Coordinator
Feb 11, 2010 at 1: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).