all groups > visual studio .net general > october 2003 >
You're in the

visual studio .net general

group:

Help Please with VB.NET WIndows app


Help Please with VB.NET WIndows app Chris W.
10/31/2003 1:33:13 PM
visual studio .net general: Just a guess but... you probably don't have .NET
Framework or other required files installed on the
server.

The reason you can copy a new VB6 .exe there and it runs
is because somebody has previous installed the .exe and
it has all the required "runtime" files. But your
new .NET .exe doesn't have those files.

So you need to find the Framework 1.1 runtime
installation files from Microsoft, and then install that
on the machine first. Also you may need to create an
installation for your app. I'm also new to .NET so I
don't know exactly how to do that yet. :)

Good luck!


[quoted text, click to view]
Help Please with VB.NET WIndows app John T
10/31/2003 4:08:33 PM
I am new to .NET (and really miss the simplicity of VB 6) and am just going
nuts over a simple app. I created a Windows app that works just fine on my
machine. Clean compile etc.
However when I copy the .exe file (like you could do in 6) to our file
sharing server it will not run. I get a .NET framework error about the
operation needing the SecurityException. How does one create a VB app that
can run off a server??
I am a programmer not a system expert, and am getting very frustrated over
what in ver 6 would have been a no brainer.
..NET framework is installed on our NT 4.0 Server. Can someone please give me
some pointers and what needs to be done?

John Tiedt
Michigan Dept of Information Technology

Re: Help Please with VB.NET WIndows app John Tiedt
11/1/2003 9:04:06 AM
Yes .NET framework is installed on the server.

I don't want to install and run this app on the server, I want this app to
run
from the server as a shared application that can be used by anyone with a
connection mapped to the location on the server.

Where can I get the runtime libraries for VS.NET 2002 to install on the
server?

J.Tiedt
Michigan Dept of Information Technology

Re: Help Please with VB.NET WIndows app Santiago
11/3/2003 10:58:42 AM
John,
You don't need .NET framework on the server as the server is only acting as
a file server and thus your app does not run there.
The exception you are getting is to be expected. This is the way .NET is
supposed to run, it's a secure framework. By default, only apps running on
your local machine are trusted. You can change this on your machine though.
Go to:
Control Panel/Administrative Tools/Microsoft .NET Framework 1.1
Configuration
From there select Runtime Security Policy, and click on Adjust Zone Security
Select make changes to this computer
Select Local Intranet
Then increase the amount of trust to whatever you see fit.

Does this do the trick?

- Santiago

[quoted text, click to view]

AddThis Social Bookmark Button