New Post: Error -- what could this be?
I'm trying to debug this, and its really not easy because I'm lacking a lot of knowledge.oResponse.ContentType = "application/json;charset=utf-8" oResponse.Write(oJSON.stringify('SearchResults'))...
View ArticleNew Post: Error -- what could this be?
http://54.215.18.104/avfp/master2d/465973 If you RUN THIS --- over and over -- sometimes it will work. Sometimes it will give an error. THIS is not the way FoxPro behaves. --------- Result 1 is Server...
View ArticleNew Post: Error -- what could this be?
If it was IN MY CODE -- then why would the same exact code work 30 seconds apart ... just based on the mood the computer is in. Something is not right.
View ArticleNew Post: Error -- what could this be?
____[10:40:23 PM] Adrian Patrascu: sure is not VFP, it is IIS ( .NET interop class ) that loads AVFP This is not my opinion, its somebody elses.
View ArticleNew Post: Community Appery account with EC2 as well
Rest services in Appery have the following method get, post, put, patch, delete Data types are json jsonpxml Can I SEND data using Rest with the same exact call function call or do I need a completely...
View ArticleNew Post: Error -- what could this be?
This is still working, no intermittent errors:http://54.215.18.104/avfp/customers/getemployees It's got to be your app.....
View ArticleNew Post: Community Appery account with EC2 as well
POST should work fine. Here's the REST implementation in AVFP (from: https://activevfp.codeplex.com/SourceControl/latest#avfp6.03_source/prg/resthelper.prg ): DO CASE CASE cVerb == "GET" AND...
View ArticleNew Post: Error -- what could this be?
Your app is doing something that is corrupting the whole web environment on that server. Kindly use COMRETURNERROR and/or track down the bug you are introducing. You'll probably need to recycle the app...
View ArticleNew Post: Error -- what could this be?
The next thing I'll try on your server is put the AVFP demo app in a separate App Pool from yours to separate it from whatever it is you're doing that corrupts the system. You need to isolate exactly...
View ArticleNew Post: Error -- what could this be?
Ok, at least this discussion is possibly leading to improvements. We need to get our REST implementation to the point where a programmer can put almost anything in there and it won't affect other stuff...
View ArticleNew Post: Debuging AVFP files
Caught .NET exception, source: DISPATCH1.AVFP mergescript err#= 10 Syntax error. Compilation Error: Syntax error in the script (DISPATCH1.AVFP)that was called. 10 Syntax error. .NULL. .NULL. .NULL....
View ArticleNew Post: Debuging AVFP files
Your code is not compiling: "Compilation Error". It's undoubtedly something you just coded and being caught in the mergescript procedure in the activevfp.dll. Compilation errors don't include a lot of...
View ArticleNew Post: HTML Spacing and More fields AVFP files
<tr><td <%=IIF(MOD(lnX,2)=0,[bgcolor="#E5E5E5"],[])%> valign="top"> <a href="<%=JustPath(oProp.ScriptPath)+[/detail]+oProp.Ext+[?cust_id=]+ALLTRIM(cust_id)%>"><font...
View ArticleNew Post: HTML Spacing and More fields AVFP files
That's not a good approach for a table You'd want Cascading Style Sheets: http://www.w3schools.com/css/css_table.asp
View ArticleNew Post: How do I keep webpage REFRESHED
how do I refresh the page -- every 30 seconds automatically?
View ArticleNew Post: How do I keep webpage REFRESHED
Refresh you be triggered by the browser. I was curious about that myself, but it looks like a simple HTML Header attribute:<meta http-equiv="refresh"...
View ArticleNew Post: How do I keep webpage REFRESHED
Well this is what AJAX is all about:http://stackoverflow.com/questions/10861407/how-to-automatically-refresh-data-on-page-using-ajax-on-an-interval simply ask for a file from the server and it updates...
View ArticleNew Post: PDF reports
Sharing my experience with PDF reports setup in VFP. It could save you a couple of hours in ur set-up. I am sure it is mentioned somewhere in these discussions but I am trying to give it little more...
View ArticleNew Post: Href to .PDF file
When I do oResponse.Redirect(lcLogicalFile) where 'lcLogicalFile' is the http path to a PDF file (in AVFP temp folder), a new window opens with just 'undefined' as its content. It's only when I click...
View Article