473,387 Members | 1,757 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

VB.Net Deployment

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
Nov 21 '05 #1
2 2084
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

Nov 21 '05 #2
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
"Adam Goossens" <ad**********@users.sourceforge.net> wrote in message
news:#Q**************@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

Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Felix | last post by:
Out of no where I'm starting to get these problems and my Deployment projects won't build anymore. Does anyone have any idea what's causing this? I've tried copying these files from another...
0
by: Mystery Man | last post by:
We want to deploy a large CSharp/SQL Server system. We are successfully using the 'setup project' (under setup and deployment projects) to build our deployed system. With our stored...
4
by: wobbles | last post by:
Hi Everyone, I'm really struggling to get no-touch deployment to work well (if at all, in some cases). Can anyone recommend a good book on this topic? There seem to be a lot of blogs about...
3
by: Steve Brecher | last post by:
VS.NET help on deployment indicates that, while using a deployment project requires administrative access to IIS, " we recommend deploying your project in most cases, because it allows you to take...
4
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
0
by: James | last post by:
I have a VB windows forms application that accesses a Microsoft Access database that has been secured using user-level security. The application is being deployed using No-Touch deployment. The...
3
by: al | last post by:
Hi, Can someone please tell me what is exactly zero deployment in VB.NET. Is it that .NET doesn't need to deal with the registry? If that is the case, then why MS introduced class registry? ...
2
by: Bill Nguyen | last post by:
I ran into this error trying to run an app from Publish.htm. I can't find what is wrong with the deployment. Thanks a million Bill -------- PLATFORM VERSION INFO
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.