Solved

how to run C# application on LAN

Posted on 2004-08-24
8
373 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Bit flags and bit flag manipulation is perhaps one of the most underrated strategies in programming, likely because most programmers developing in high-level languages rely too much on the high-level features, and forget about the low-level ones. Th…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

758 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

19 Experts available now in Live!

Get 1:1 Help Now