How To Share A Folder In A Web Application With A Win Form Client

Jul 29, 2010

In this asp.net web application, users can upload files to the server through a web interface. All the uploaded files are save in a server side folder. If I want to create a new win form desktop client (actually, its a WPF application) which can be used to upload files to that same server side folder as web interface does, how can I share that server side folder with that win form client?

View 2 Replies


Similar Messages:

Can Windows Service Application Share A Bin Folder With A Web Application

Jan 5, 2011

I have some common dlls that are referenced by both a windows service application and a asp.net web application. I don't want to make separate copies of the dlls and I also don't want to put those dlls into GAC. I try to put that service application under the same root folder as the web application so that they can share the same bin folder. I am not quite sure if this will cause any problems? I did find the web application had random session timeout, but not very often. Not sure if it was caused by the shared dlls.

View 1 Replies

State Management :: How Share The Application Objects Between The Server In Web Form

Mar 31, 2010

I have problem in maintaining the application objects in the server when it is deployed in the web farm.In our application i'm storing the sessionID and and the column value ( "tvktnx55vl5mzr453dmaehit " + "A101" ) in arraylist and storing it in application object. when i test this it is ok. but when we deploy it we have one issue that is we cannot share the application object in web farm.

View 1 Replies

.net - Access A Folder On Client Side In Web Application?

Apr 5, 2010

I want to access all the files in a folder to add to a listbox and show to the user.

I know I can access a folder when it's a windows application. But in web application, is this possible? If yes, how?

Something like FolderBrowserDialog??

View 2 Replies

Web Forms :: Browse Client Folder Directory Using Application?

Jul 16, 2013

Browse client folder directory using asp.net application.

View 1 Replies

How To Access To Share Folder

Mar 15, 2011

I need to temporarily access the network to separate directories. When do it I have access exception. I'm from Ukraine. not sure about the accuracy of the translation. "Logon not produced: Username or password not recognized"

access from my PC to the share directory I have >> Start >> Run >> \network addres

View 1 Replies

How To Get The Unc Share Name Of A Given Folder (If Shared)

Oct 26, 2010

How To Get The Unc Share Name Of A Given Folder (If Shared)?

View 2 Replies

MVC :: How To Share An Image Folder Between 2 Web Projects

Sep 22, 2010

I'm searching an answer to this question on the web for 2 weeks unsuccessfully.I'm sure I'm not the only one to wondering about that! I have two web projects MVC2: a FrontOffice and a BackOffice.

The user has to be able to upload some image in the BackOffice, which will be display on the FrontOffice and vice versa. How can I share an image folder between these two projects? Has the folder to be necessary in the solution or can it be somewhere else on the server? My team and I are working with TFS.

I want to create an image folder in which we can write and read from frontoffice and backoffice. But I don't want to have to do a "get latest version" everytime someone is adding an image in the folder. I would like to create a folder on the server we can access from the backoffice AND the frontoffice with reading and writing rights in real time. I'm not sure to be very clear.

View 9 Replies

Security :: Browsing Server Share Folder Using Unc?

Jun 16, 2010

I've developed a file browser that will browser a different server shared folder. In order to get this working I'm using the unc path (\ServerSharedFolder) to return the files/folders. I've also added the following to my webconfig to get around the security <identity impersonate="true" userName="domainadmin"
password="password" />

It's simply a file browser, no create or delete functions will occur. The solution works and what I want to know is that this the safest way to do this? or the best way? I did try to use a virtual directory instead of unc path but asp.net would support this.

View 1 Replies

WCF / ASMX :: How To Create A Folder On A Network Share

Mar 7, 2011

I have a web application that uses Windows Authentication, not forms, and has identity impersonate = true.

From an .aspx page, the following code can create a folder on a network share successfully but fails in my .asmx page.

dirPolicyFolder.CreateDirectory(ConfigurationManager.AppSettings("PolicyApplicationsPath") & strFolderName

I have confirmed that the same user is logged in both examples, permissions on the parent folder are set correctly, and the logged user has propper right to do this.

If I change the path to a local one, the asmx page can create the folder.Why would this fail when running in the .asmx page?

View 3 Replies

Need To Iterate Through A Server Share And List Every File Within Every Folder ?

Jun 17, 2010

I need to iterate through a server share and list every file within every folder and write each file name with all of its attributes into a database table.I assume that using the FileInfo class and all of it's properties (CreationTime, DirectoryName etc etc) is the best way but I have no idea of how to start.I'm starting to create a web app

View 8 Replies

Web Forms :: Can Access Network Share Folder With Impersonating

Sep 29, 2010

I am stumped. i want my asp.net website to access a network share folder which is located at say, //hero/superman. I can do it manually.

I've done the following:

1. Included <identity impersonate="true" userName="IUSR_TEST" password="test" /> in my web.config.

2. Set anonymous access in IIS 5.1 with username IUSR_TEST and password: test in the account that is used for anonymous access. Checked integrated windows authentication.

3. Created a profile for IUSR_TEST in computer/management/local users and created the password: test for it. It is a member of guest.

4. Created a user account IUSR_TEST for the network share computer. gave it the same username and password.

4. On the network share computer, I've enabled access for the following people: ASPNET, NETWORK SERVICE, and IUSR_TEST.. all with full potential (for now) for the directory path in question //hero/superman which is really located on: c:herosuperman. I've given it full access.

But when I StreamReader fs = File.OpenText(Server.MapPath(@"\herosuperman est.txt"); I get the error "UnauthorizedAccess Exception". Access to the path \herosuperman est.txt is denied.

So what did I miss, what am I doing wrong. The key thing here are:

the webserver is on a domain. the network share computer is NOT on a domain, it is on it's own workgroup. This workgroup, lets just say is called "villains". So if I have to manually map the network drive to access the files, I must type: /villains/IUSR_Test and password: test to be able to map it on my webserver local computer.

View 2 Replies

Security :: Programmatically Set Share Permission To A Shared Folder In C#?

Feb 9, 2010

i have a situation where i need to develop a web system where sys. admin can create a shared folder in server and set who can access the shared folder programmatically.

i've manage to find example to create a shared folder from here:[URL]

and i also manage to find example to add user and set folder Security setting from here:[URL]

My problem is how can i add user in the Sharing permission setting since it is a shared folder. Default sharing setting is set to 'everyone'. This mean anyone in my company can browse to the shared file unless i set everyone security setting. I want to remove "everyone" and add users based on the user that i've already add at Security setting.

View 7 Replies

Web Config - Share Configuration Between Console Application And Web Application

Jul 26, 2010

I have a web.config file defined in my asp.net web application. I have many different settings configured there. I have another project, this time a console application. I'd like to read several configurations from my web.config file. How can this be done?

View 1 Replies

Forms Data Controls :: Click Gridview Hyperlink To Download File That Is Saved In Share Folder?

Dec 1, 2010

I have a gridview with hyperlink button in every row. Gridview is bind with some datasource.

Just what i want to do that when user click on hyperlink on particular row hyperlink button it should download a file.

The files are going to be saved daily in a share folder.

Secondly, I don't want to give user an option to open that file, means when user clicks hyperlink a dialog box should appear with open button.

how to find particular file as per date from share folder and download.

View 40 Replies

Configuration :: Adding A Virtual Folder To The Application Folder?

Sep 21, 2010

I have an asp page that needs to download files off of a virtual directory.

I wanted to add the virtual directory to the Visual studio app.

View 2 Replies

C# - How To Share Sessions Between PHP And ASP.net Application

Mar 30, 2010

My company took some old php application over. Due to our preference to ASP.net and to the lack of any documentation from the previous developer, we do not want to spend much resources on developing in PHP. For implementing new features, we will create an Asp.net application that has the same look to the user. We want to develop a kind of 'coexisting' web application. Therefore we must share sessions between an PHP and an Asp.net webapplication project, because there is a usermanagement involved with an existing MySQL database.

(e.g. link 'A' directs to the PHP website, and link 'B' directs to the asp.net application)

How can we share the session between and PHP and an asp.net application?

And does anyone have a hint for this 'coexisting' thing, that might be useful in development?

View 5 Replies

Share Cache Between Web Service And Web Application?

Mar 19, 2010

I would like to create a web application that gives an overview of all latests builds of a Team Foundation Server (TFS). The original idea was to simply query the TFS for all these builds and display the results using html. Now the problem is that this is just too slow. It takes around a minute to get the required informtion. I can't inluence this, it is just given. So I came up with the idea of caching. I could cache all results for a certain period of time and then invalidate the cache but as soon as the cache expires someone that uses the application will have to wait again which is not that nice.

The Team Foundation Server is able to notify whenever a new build is available. So basically the idea is that the application could react on that notification. In order to be notified I have to write a web service and register it with the TFS. That worked pretty well so far. The web service is now notified whenever a new build is done. Now I would like to connect my web application to the web service and whenever the web service is notified by the TFS update the cache of the web application. Here starts the problem. How can this be achieved? First I thought that the web service could fire a .NET event and the web application could react on that event but that does not seem to be possible. The next idea was that both the web service and the web application could use the same cache. The web service could then directly update the cache with the build information it receives from the Team Foundation Server but I am not even sure if this works.

Can a web service and a web application share the same cache? The web service doing something like Cache.Add("key", buildInfo) and the web application buildInfo = Cache["key"]. If not what other approach could be used to solve such a scenario?

View 4 Replies

Share Application Variable Between 2 Websites (IIS 7.5)?

Oct 31, 2010

I have two urls that are supposed to lead to the same actual folder.

I can't do a redirect because the websites are built so they question the URL and perform accordingly.

So I built two application in the IIS (I tried using a virtual directory for one of them, but I kept crashing on the web.config can not be read). Everything works perfectly except the Application variables which are different between the two addresses. (Specificly I'm counting the number of current users logged on).

View 2 Replies

Web Development - How To Share Application Cache Between Two Applications

Oct 27, 2010

I have one website over at utopiapimp.com. The website is used for a popular web based game. Some company internets don't allow the website to be accessed so I opened up another domain at utopiashrimp.com. Same website but a different iss application. Both have same database backends. They also both sit on the same virtual machine. I put my brand new code on shrimp and solve bugs with that code. I host the solid code on pimp. So I can't just forward the shrimp domain to pimp because I need a test bed.

The problem is that they don't share the same application cache. So my question is, can two websites share the same application cache? I really need to figure this out. I would rather not create a webservice and or a handler that one website needs to hit to change the cache on the other application.

View 2 Replies

Security :: Share Authentication Info On More Then 75 Individual Web Application?

May 1, 2010

I have more then 75 web application live on multiple surver and now I want to have single login(form authentication) for all. Anonymous user can access all the network but once login, they can manipulate info across network without login again and again.

View 1 Replies

Web Forms :: How To Include Share Icons And Share Options To Site

Jun 10, 2010

I need a code to have the ability to share my news on social networks.My site structure is in Asp.net and vb.net.

View 1 Replies

Social Networking :: Share Images On Facebook Using Share Button

Jun 29, 2013

I am showing thumbnail images in dataList on a page of my website. When i click on any image they open in big size. How i will share(Facebook). that particular big size image. My code is given below:

<script type="text/javascript">
var CurrentPage = 1;
function GetImageIndex(obj) {
while (obj.parentNode.tagName != "TD")
obj = obj.parentNode;
var td = obj.parentNode;

[CODE]..

View 1 Replies

Client - Reportviewer In Folder Not Working?

Jun 5, 2010

We can run the ReportViewer in a ASP.Net Web App project that is off the root OK so localhost/test/report.aspx works. It's running as a Client Report. But if we move the application up another level the report stops working so localhost/testfolder/test/test.aspx.

When the report fails it has no data to display and none of the images are loading.

Info: We are bind the report in code and sort out the Report.LocalReport.ReportPath to the correct path.

From the comment I've probably not made my self clear, the ASP.Net WebApp is not at the root level it's at the. There is the root application, then "testfolder" as an application and then "test". There are no access permission problems for the files.

View 1 Replies

Want To Use ActiveXControl To Scan Particular Folder On Client Machine?

Feb 22, 2011

I want to use ActiveXControl to scan particular folder on client machine say C:HJReports

I have write simple activeXcontrol using user control in winform but I am not able to use this in aspx page using object tag possibly due to problem in classId property of object tag Here I want help on following aspects

1. How to use already made .net activeXcontrol in asp.net
2. How to make .net activexcontrol

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved