|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
VB.Net DeploymentHi everyone.
I have developed a VB.Net application that I want to install on our 2003 server network. I have tried setting it up on a server but it will not open on a workstation. A just in time debugger are shown that an exception "system.security.securityexception" occurred. But the program is fine if I install it in the client workstation. Is it possible to install it this way so that its forms(interface) can be accessed by many users over a network (about 10 people will be using it)? I imagined that by installing the application on a server and sharing it, each time a workstation tries to open it they get a copy of the application rather than run it directly from the server. Can anybody help? Thanks in advance, Ellis Hi,
..NET Code Access Security (CAS) isn't my specialty, but when you run code from a network share it runs with a much more restrictive set of permissions than if it was being run from the local machine. You can configure the individual machine to grant higher permissions to code coming from network shares by using the .NET Configuration GUI (Control Panel -> Administrative Tools) and tweaking the Runtime Security Policy. I can't really be much more help than that, though. Oh, you might want to take note of the SecurityException message - it'll tell you what the code attempted to do. Once you know that it'll make adjusting the CAS configuration easier. Regards, -Adam. Ellis Yu wrote: Show quoteHide quote > Hi everyone. > > I have developed a VB.Net application that I want to install on our 2003 > server network. I have tried setting it up on a server but it will not open > on a > workstation. A just in time debugger are shown that an exception > "system.security.securityexception" occurred. But the program is fine if I > install it in the client workstation. Is it possible to install it this way > so that its > forms(interface) can be accessed by many users over a network (about 10 > people will be using it)? I imagined that by installing the application on a > server and sharing it, each time a workstation tries to open it they get a > copy of the application rather than run it directly from the server. > Can anybody help? > > Thanks in advance, > Ellis > > Hi Adam,
Thanks for your help. I found out the error was raise by Microsoft Application Block - Exception Management. The function VerifyValidSource send out an error "Request Fail". Do you know how to fix it? Thanks Best Rdgs Ellis Show quoteHide quote "Adam Goossens" <adamgooss***@users.sourceforge.net> wrote in message news:#QfLmLNPFHA.1088@TK2MSFTNGP14.phx.gbl... > Hi, > > .NET Code Access Security (CAS) isn't my specialty, but when you run > code from a network share it runs with a much more restrictive set of > permissions than if it was being run from the local machine. > > You can configure the individual machine to grant higher permissions to > code coming from network shares by using the .NET Configuration GUI > (Control Panel -> Administrative Tools) and tweaking the Runtime > Security Policy. > > I can't really be much more help than that, though. > > Oh, you might want to take note of the SecurityException message - it'll > tell you what the code attempted to do. Once you know that it'll make > adjusting the CAS configuration easier. > > Regards, > -Adam. > > Ellis Yu wrote: > > Hi everyone. > > > > I have developed a VB.Net application that I want to install on our 2003 > > server network. I have tried setting it up on a server but it will not open > > on a > > workstation. A just in time debugger are shown that an exception > > "system.security.securityexception" occurred. But the program is fine if I > > install it in the client workstation. Is it possible to install it this way > > so that its > > forms(interface) can be accessed by many users over a network (about 10 > > people will be using it)? I imagined that by installing the application on a > > server and sharing it, each time a workstation tries to open it they get a > > copy of the application rather than run it directly from the server. > > Can anybody help? > > > > Thanks in advance, > > Ellis > > > >
arraylist copy
Easiest way to generate XML in VB.NET Excaping recursive functions Multi-dimensional array with variable number of elements in last dimension Why do we need Namespace and Module? Possible values of DTE.ActiveDocument.Kind ? Legacy Client <--> DotNet Listener How do you force a thread to run on a specific processor? Async Delegates polling for vb.net examples Unable to start debuging on the web server |
|||||||||||||||||||||||