Solved

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

Posted on 2010-08-26
4
774 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
  • 2
4 Comments
 
LVL 13

Expert Comment

by:eatmeimadanish
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
We had to give permission in SQL for Bulkinsert folder.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Email signature management is something that is often overlooked in many organizations or is simply not implemented effectively. Let's take a look at what methods are available for managing this important piece of corporate branding.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

772 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now