how can i run vb.net exe from server machine to client machine

34 views
Skip to first unread message

kaushal

unread,
Sep 2, 2008, 7:25:36 AM9/2/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Dear All
i have a aproblem i make application in vb.net when i run this
application in server machine it run proper but when i run that exe
from server to client machine means i create a shortcut from server to
client machine of that exe it not run gives exception
system.security.permission how can i resoleved that issue

Glenn

unread,
Sep 3, 2008, 1:01:12 PM9/3/08
to DotNetDe...@googlegroups.com
Sounds like whatever you are trying to access cannot be accessed from the client machine.  Check the permissions of what you are trying to access and add permissions for the client computer.
 
...Glenn

kaushlendra pandey

unread,
Sep 3, 2008, 11:54:03 PM9/3/08
to DotNetDe...@googlegroups.com
how can i add permission

Glenn

unread,
Sep 4, 2008, 7:32:41 AM9/4/08
to DotNetDe...@googlegroups.com
It depends on what the application is trying to access and what method of authentication it is using.
 
...Glenn

Joseph Irizarry

unread,
Sep 4, 2008, 8:00:23 PM9/4/08
to DotNetDe...@googlegroups.com
The System.Security.Permissions namespace is a good place to start.

rbdavidson

unread,
Sep 4, 2008, 3:41:41 PM9/4/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
This sounds like a problem we ran into here a few months ago. .Net
applications on server machines will not run across a network on
client machines unless the client machine has granted the appropriate
trust priviledges. You can do this by (on the client machine) going
into Start -> Settings -> Control Panel -> Administrative tools and
running the appropriate .Net configuration tool.

Within the configuration tool, Go to My Computer -> Runtime Security -
> Machine (or User, whichever applies) -> Code Groups, right-click on
All_Code and pick new. After that the options you pick depend upon
your application requirements. You can also create an MSI to do this
automatically, though I can't recall the details of that procedure off
the top of my head.
Reply all
Reply to author
Forward
0 new messages