sharing

Network file copy in .NET

被刻印的时光 ゝ 提交于 2019-12-01 09:36:10
问题 I have an Ubuntu box running a Samba share open to everyone. I can access it via \ip address so I know I have full access to it. From within my application I am trying the following but it will not work via the ip address only the DNS name. // val = ip address File.Copy("\\\\" + val + "\\share\\vSphere\\vSphere.exe", Temp + "vSphere.exe", true); I need to use the IP Address as people who are VPN'ing in won't be able to have the program access the dns name only the ip address. 回答1: First, try

packing my app and share to other + android

爷,独闯天下 提交于 2019-12-01 08:34:28
I'm creating an application for Android and I need a button to send my application to another phone. I tried to put an apk and send to other but I can't do it. I'm using this code : Intent sharei=new Intent(Intent.ACTION_SEND); sharei.putExtra(Intent.EXTRA_STREAM,Uri.parse("android.resource://com.packa.ge/raw/hafez.apk")); sharei.setType("application/vnd.android.package-archive"); startActivity(Intent.createChooser(sharei, "share")); but it isn't working. I saw a Persian app do this: in a context menu one of the items was :"Send via Bluetooth" and when I touched this, it sent the apk file to

401.1 Error when accessing virtual directory pointing to network share

前提是你 提交于 2019-12-01 08:28:41
IIS5 is running on SERVER1. One of the virtual directories in IIS, myfiles, is pointing to "A shared location on another computer", //SERVER2/myfilesshare When I try to access the page: http://SERVER1/myfiles ... I get the error: You are not authorized to view this page HTTP 401.1 - Unauthorized: Logon Failed Internet Information Services I have triple-checked the "Connect As..." settings in IIS. The credentials I'm using to access the share are correct-- they work when connect to the share in Windows Explorer, but not through the IIS virtual directory. I've tried granting full permission to

Sharing cache between apps (asp.net) on the same physical machine

拟墨画扇 提交于 2019-12-01 08:05:41
We have several virtual applications inside one main (root) application. How to share Cache between this virtual application and main application if they are located (and always will be) on the same physical machine? By Cache i assuming System.Runtime.Caching or System.Web.Caching. Hope that i do not need to setup AppFabric Caching for this... Can not be done. Multiple asp.net apps live in their own appdomain, and the appdomain is IIS controlled and may cycle at any time. This means any caching HAS to use networking scenarios (remoting etc.) and the cache better be suited outside the ASP.NET

How to share data from Spark RDD between two applications

▼魔方 西西 提交于 2019-12-01 06:55:02
问题 What is the best way to share spark RDD data between two spark jobs. I have a case where job 1: Spark Sliding window Streaming App, will be consuming data at regular intervals and creating RDD. This we do not want to persist to storage. Job 2: Query job that will access the same RDD created in job 1 and generate reports. I have seen few queries where they were suggesting SPARK Job Server, but as it is a open source not sure if it a possible solution, but any pointers will be of great help.

401.1 Error when accessing virtual directory pointing to network share

时光怂恿深爱的人放手 提交于 2019-12-01 06:18:49
问题 IIS5 is running on SERVER1. One of the virtual directories in IIS, myfiles, is pointing to "A shared location on another computer", //SERVER2/myfilesshare When I try to access the page: http://SERVER1/myfiles ... I get the error: You are not authorized to view this page HTTP 401.1 - Unauthorized: Logon Failed Internet Information Services I have triple-checked the "Connect As..." settings in IIS. The credentials I'm using to access the share are correct-- they work when connect to the share

Problem with WCF and multiple namespaces - sharing object types across multiple service references

别等时光非礼了梦想. 提交于 2019-12-01 05:55:06
i have two web services. One with user functionality, one with admin functionality. Both services effectively work with the same object types, for instance: AdminService provides functionality for deleting/modifying Customer objects UserService provides functionality for listing/reading Customer objects Now in the client i have two service references, Webservices.Admin and Webservices.User. If i use the UserService to retrieve Customer objects, i cannot manipulate those via the AdminService, since the UserService retrieves objects of type Webservices.User.Customer, however the AdminService

packing my app and share to other + android

旧时模样 提交于 2019-12-01 05:43:32
问题 I'm creating an application for Android and I need a button to send my application to another phone. I tried to put an apk and send to other but I can't do it. I'm using this code : Intent sharei=new Intent(Intent.ACTION_SEND); sharei.putExtra(Intent.EXTRA_STREAM,Uri.parse("android.resource://com.packa.ge/raw/hafez.apk")); sharei.setType("application/vnd.android.package-archive"); startActivity(Intent.createChooser(sharei, "share")); but it isn't working. I saw a Persian app do this: in a

iOS sharing “An error has occurred. Please try again later.”

隐身守侯 提交于 2019-12-01 05:29:36
问题 I am making publication via [FBWebDialogs presentFeedDialogModally...] It works fine. But if I delete application in the facebook settings and try make post again, I get login dialog within web publication view. And after log in I get an error: " An error has occurred. Please try again later. ". No callbacks called. How can it be fixed? 回答1: Seems like a bug in the SDK. Try specifying your app_id in the parameters dictionary passed to [FBWebDialogs presentFeedDialogModallyWithSession

Firebase Project Invitation

会有一股神秘感。 提交于 2019-12-01 04:47:55
I've a project using Firebase, and I need to add an owner to the project. This is how I added him: Opened the project in the Firebase console. Clicked on the settings wheel next to the project name, and selected permissions. Firebase launches a new page "IAM & Admin". Pressed on Add, which shows a popup. Entered the user gmail address, which auto completes so it could never be a wrong email. Selected the role as OWNER. Pressed on ADD button. Now it shows me the user in the permissions list, with the message: Invitation sent. Pending acceptance. I've seen this answer , which says : The newly