sql server 2008 r2 - C# application deployment on a network share folder -


i have developed c# application , used sql server 2008 r2 database. want install application , sql server 2008 in shared folder in pc1 , access application pc2. use same single database in pc1. (when data inserted c# application pc2, data saved in database in pc1.)

this users information handling system. receipt print option available in application. pc1 , pc2 both connected through lan.

can tell me how this. "creating set file" deploying on shared folder. (if not windows installer strategy)

if want install application in shared folder, need think code access security. default, .net execute not run shared folders.  refer below links. http://msdn.microsoft.com/en-us/library/930b76w0(v=vs.90).aspx http://blogs.msdn.com/shawnfa/archive/2004/12/30/344554.aspx http://blogs.msdn.com/shawnfa/archive/2005/07/27/443975.aspx  .net framework comes utility called caspol.exe can used tweak trust policies result in above-mentioned security exceptions.  primary command line towards achieving -  caspol.exe -m -ag 1.2 -url file://network_pc_name/share_name/* fulltrust   first install application in pc1 usual, access shared folder pc2. need use normal / default windows setup create deployment option.  http://www.c-sharpcorner.com/uploadfile/rahul4_saxena/setup08232007071849am/setup.aspx  please let me know, if need further information.  hope helps you. 

Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -