473,732 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Click once security

I have an app that frequently gets updated. These people want changes
it seems every week.

In VB6 I installed the program on all workstations. When a change was
made, all I had to do was compile the program and put the new .exe on
the server. When the user starts the program, it actually starts a
different program that looks at the file on the server. It the file
version was newer than the workstation's, it would copy the new file
onto the workstation and then run it.

When I try to do this in VB2005, the new .exe won't run on the
workstation. Here's the top portion of the error I receive:

************** Exception Text **************
System.TypeInit ializationExcep tion: The type initializer for
'FAMP.modMain' threw an exception. --->
System.Security .SecurityExcept ion:
System.Security .Permissions.Se curityPermissio n
at FAMP.modMain..c ctor()
The type of the first permission that failed was:
System.Security .Permissions.Se curityPermissio n
The Zone of the assembly that failed was:
MyComputer
Can I disable this security? How can I get around this?
Oct 17 '06 #1
0 894

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

Similar topics

2
6139
by: Jim Hubbard | last post by:
By one-click deployment I mean the ability to click on an EXE located on a server (internet or intranet) and run it locally. Due to the default restrictions placed on such code (no file manipulation, no registry manipulation, etc.) what can you accomplish with the code (other than reading and writing to non-local databases)? Almost all functional code requires access to the local file system. I think that most software publishers will...
2
1927
by: Julia Briggs | last post by:
I am wanting to simplify a page that I'm writing... the guts behind the page is PHP and wondering if it's possible to upload a photo in one click. How would I approach having the browsed file detected once it's populated into the form field and have it auto uploaded? Can this be done? Sincerely, Julia
11
535
by: Thom Little | last post by:
I would like three states on an icon ... Left Click Right Click Double Click Left Click is fired at least once on a Double Click Is there a good example that shows how to determine if the user entered a Left Click or a Double Click?
3
1131
by: Wayne | last post by:
Not sure if this is the correct place to ask, if not please direct me to the correct place. I have an application that I was developing, then decided to publish it as a click once app. It was placed on the web site using the publish command. When going to download it and install, if 2.0 .net isn't installed the link is a Setup.exe, but if 2.0 is already the link is to a ApplicationName.Application. So here is the issue, when I have...
3
2389
by: Jordan S. | last post by:
I have a client that has an MS Access application that has outgrown MS Access and it's time to migrate to something more substantial. I'm proposing a .NET Windows Forms application. The client is balking in part because they don't want to have to incorporate my proposed .NET application into their desktop image. Strange, their balking, because they *already* have deployed the .NET framework on their desktop image. So I don't have a...
2
2907
by: CR | last post by:
I am working on the deployment portion of my first click once app. It was created using VS 2003, with an installer, but has been upgraded to VS 2005, and I would like to use click once. I tested the click once functionality for installing this app many times on development pc's and it works great. When I try to install it on a user pc which I had installed it on before when it was VS 2003, and the installer, with no problems, I have...
0
1436
by: reifen-straub | last post by:
Hi, we have a C# click once application with a report. This report has a reference to an assembly to calculate some things. If we run this application locally with the 'click once' checkbox unchecked, everything works. But if we publish the application and for this automatically click once gets checked, we get the following error message within the report: Error during the local report processing. The definition of the report "main...
10
1619
by: Daniel | last post by:
Hi Guys I remember some strong naming things and keys that i read but cannot recall how to use it. However i am now using CLick Once deployment. Is my code safe when i deploy this way or do i have to do anythign with it before deployment to ensure peopel cant back engineer my executables and dlls etc Thanks
6
2254
by: Class | last post by:
Hi all, I create a gridview dynamicly because I don't know the columns in advance. I use the Templatefield to create a linkbutton. Everything fine..I have the postbackurl and it works. But now I need to do some extra stuff in the click event of the created linkbutton. I tried to assign a delegate to the linkbutton's click event but I never gets in the procedure I assign. How can I trap the click event?
0
8946
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9447
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9307
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8186
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6031
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4809
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3261
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2180
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.