Solved

Access shared folder from application on workgroup without asking for username\password.

Posted on 2010-08-26
4
780 Views
Last Modified: 2013-11-29
Hi have launched two servers Server1 and Server-2 on Amazon cloud and they are on workgroup. On server1  an asp.net application has been deployed & on Server-2 sql database is present which will be accessed by application server1.
when i logon to application and generate a report it has to access a shared folder on database server and create .txt files, inturn those values are inserted on sql tables.

Right now shared folder(Bulkinsertfilefolder) is not being accessed by application inspite of sharing and giving full permission to everyone. when i checked manually for shared folder accessibility its promting for username and password.

Is there a way to set server that appllication access shared folder without any hassle of username/password?
any command that can be added in webconfig file with username and pwd of server so that application use it to access shared folder on remote server??

OS: windows 2008 datacenter 64-bit
0
Comment
Question by:anuboggaram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 13

Expert Comment

by:eatmeimadanish
ID: 33532213
Shares in windows consist of two security parameters, the share level permissions and NTFS security permissions.  Both need to be set for an application to write to the drive.  For instance you could add everyone to the share level permission, but if the security permission only allows administrators to write, then the user will still not be able to write.  
0
 
LVL 13

Accepted Solution

by:
eatmeimadanish earned 500 total points
ID: 33532235
P.S.  To avoid putting a password in, you will need the same account on both servers (if you are not usinig a domain) setup exactly including same password.  
0
 
LVL 2

Expert Comment

by:zsaurabh
ID: 33532291
yes, it is possible,

only one condition, both should have same local USER and SAME Password for that user account

0
 

Author Closing Comment

by:anuboggaram
ID: 33539287
We had to give permission in SQL for Bulkinsert folder.
0

Featured Post

Simple, centralized multimedia control

Watch and learn to see how ATEN provided an easy and effective way for three jointly-owned pubs to control the 60 televisions located across their three venues utilizing the ATEN Control System, Modular Matrix Switch and HDBaseT extenders.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Why pager replacement is still an issue OnPage has what some might call a “hate/hate” relationship with pagers. Not much room for love. As we see it, pagers are an antiquated bit of technology. Pagers are dinosaurs which, like most dinosaurs, sho…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

731 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question