Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
how to run our Windows (.net C# application )on Lan
please help me

Regards
Lakhan Aanjana

[edit]Subject only, spurious '.'s removed - OriginalGriff[/edit]
Posted
Updated 3-Aug-11 23:22pm
v2
Comments
OriginalGriff 4-Aug-11 5:07am    
Couple of things:
1) Change your UserName - never post your email address in any forum, unless you really like spam! If anyone replies to you, you will receive an email to let you know
2) If you want to ask a question, try to include sufficient detail that we stand a chance of answering! At the moment you have phoned the garage, said "my car isn't working" and put the phone down. Do you expect a mechanic to fix it any time soon?
Use the "Improve question" widget to edit your question and provide better information.

You can run an executable from something like a network share.

However, by default this is disallowed in .Net which only Fully trusts code that is installed on the local machine.

Code on remote machines (mapped network shares etc) will fall under the 'Local_Intranet' zone and does not have full trust by default.

You can change this like follows

* Open a command line on the machine you want to configure
* CD C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
* caspol -pp off
* caspol -m -cg LocalIntranet_Zone FullTrust

More information here

http://blogs.msdn.com/b/brada/archive/2007/10/26/adhoc-poll-allowing-net-exes-to-run-off-a-network-share.aspx[^]
 
Share this answer
 
You will have to install the application in each of you work stations, but the Database used by the application may be kept centralised.So all the data would be consistent and integrity is maintained for all the users.


Hope this will help you to sort out your issue.
 
Share this answer
 
1) Install Sql Server/Oracle/MySql(one you are using) in Server system.
2) Then use the IP address of server machine as server in Connection Sting.
3) Now you don't want to install database server(Sql Server/Oracle/MySql) in all machine where as you have to install the .Net application exe in all client system.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900