Solved

how to run C# application on LAN

Posted on 2004-08-24
8
378 Views
Last Modified: 2008-01-09
I built an C# Application. It use Microsoft SQL Server. From other computer, I create shorcut and try but it doesn't run (LAN).
I need help, thank.
0
Comment
Question by:vinhmtt
  • 3
  • 2
8 Comments
 
LVL 9

Expert Comment

by:WinterMuteUK
ID: 11879872
Do you get an error message of any variety?
Does the machine you are trying to run it from have .NET runtimes installed?

Wint.
0
 
LVL 4

Expert Comment

by:AndreSteffens
ID: 11880122
Standard .Net security is configured to block LAN calls:
In the map: C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 you will find the program .Net wizards. When you open this you find an applet to adjust the .Net security. Changes the settings of 'LAN settings' to 'full trust' and there you are!
0
 

Author Comment

by:vinhmtt
ID: 11888446
I do so, but it still appear error message 'System.Security.SecurityException'.
What must I do now?
(All machines have installed .NET Framework)
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 4

Accepted Solution

by:
AndreSteffens earned 100 total points
ID: 11894455
In which method does the error arise? Can you show the offending code?
Be sure:

to share the map in which the database itself resides, check if you can open this map using windows explorer.

to check that you can access the SLQ server database over the LAN, it is possible to have SQL server block all LAN traffic. Do this by trying to set up a ODBC connection to the database from a client computer using the ODBC applet in the Settings (Settings-System administration in Win XP)

If this last advise is too complicated let me know telling me which OS you have than will I explain it to you one step at a time. Do you really have SQL server, or MSDE?
0
 

Author Comment

by:vinhmtt
ID: 11898945
I really have SQL Server.
I try to use ODBC connection, and it runs well.
Thanks for helping me.
0
 
LVL 4

Expert Comment

by:AndreSteffens
ID: 11904560
Hi vin,

Is your problem solved now?

Andre
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

827 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