I am working on WP project i need to get the images from local folder, when I use Directory.GetFiles() method i get 'System.MethodAccessException' but it works fine on a device.
Can anybody please explain me the reason?
Regards,
Sonya
You should use IsolatedStorage.GetFileNames instead of Directory.GetFiles.
Related
I'm facing this issue while trying to call my bot via directline:
As you can see on the image below, my webapi bot project is using the version 5.2.4.0, but according to the log error, the Microsoft.Bot.Conector is trying to use an old version of it ?
Does anybody have a clue on how can I solve it ?
Adding a binding redirection as #Eric suggested worked fine.
i want write a spring-boot application to capture and upload image by using WEB-CAM, can anyone help me on this please.
Thanks in advance.
You will have to implement Code to Access webcam, start by getting familiar with this project https://github.com/sarxos/webcam-capture
then have a look at this 15 mins tutorial on uploading files https://spring.io/guides/gs/uploading-files/
I'm developing an offline Android app with Genexus Ev3 U9 and when I try the app in the device I see there is no initial synchronization, even when I try to execute a manual sync the app shuts down. The cat log shows that request made to URLs like http://192.168.12.17/MyAppSmartDevicesEnvironment/gxmetadata/MyApp.android.json
worked fine but when the app tries to get this URL http://192.168.12.17/MyAppSmartDevicesEnvironment/rest/MyAppOfflineDatabase?fmt=json&event=gxchecksync returns 404 I tried the same link in my laptop and it's like the requested resource was not created by GeneXus.
What could be wrong?
There are actually a couple of things you might want to check.
When you accessed http://192.168.12.17/MyAppSmartDevicesEnvironment/gxmetadata/MyApp.android.json you got data but that just means that the virtual directory was successfully created. (which is good of course)
Then you need to check if the WCF module is installed correctly, in order to do that you could try to go to http://192.168.12.17/MyAppSmartDevicesEnvironment/MyAppOfflineDatabase.svc/rest or any other service in your KB. That goes straight to the service implementation. (you can check you web.config file in order to see the actual rewriting rules)
If that works it's certainly a URL Rewrite problem like Sandro and Guscarr suggested.
You can download and install the module from here: http://www.iis.net/downloads/microsoft/url-rewrite
Gcastano,
It seems that you're generating to .net, right?
If so, it could be some problem with iis rewrite module.
Anyway you might check gx software requirements...
It seems that REST services cannot be run on your IIS, as Sandro said, try installing URLRewrite.
Further info at http://wiki.genexus.com/commwiki/servlet/wiki?14575,Android%20-%20FAQ%20and%20Common%20Issues
I'm using Angular(Ionic)-Meteor method (http://www.angular-meteor.com/) to create my app. It worked local perfectly.
However, when I put it on Paas server like Heroku, OpenShift, I got error with angular like this (from browser console):
Error: [ng:areq] Argument 'InboxCtrl' is not a function, got undefined http://errors.angularjs.org/1.5.3/ng/areq?p0=InboxCtrl&p1=not%20aNaNunction%2C%20got%20undefined
This error show at both server (Heroku and OpenShift)
Has anyone done this before and can help me with deploying my app?
I've already solve my problem.
In case anyone else need it:
https://forums.meteor.com/t/deploy-angular-meteor-on-openshift/25333/2
Thanks.
Close now.
When I try to upload an APK file using testflight upload api, I get this response back.
"400 Bad Request.
local variable 'build_data' referenced before assignment"
I don't understand what this is?
Any help is greatly appreciated.
Thanks
EDIT 08/11/2013 10:03 :
It seems like we also get another kind of error sometimes. Which says "Redis is loading data into memory"
TestFlight was experiencing intermittent service outages affecting build uploads. Please try uploading again.
If you have any questions, I recommend contacting TestFlight support directly at:
http://help.testflightapp.com
Me also have faced the same problem but after 1 hour I have again tried to upload the build . I have succeeded in Uploading the build .
I accomplish to upload by using the desktop app.