|
My App is getting this error when I try to deploy it on a network shared server:
The application attempted to perform an operation not allowed by the security policy. The operation required the SecurityException. To grant this application the required permission please contact your system administrator,....... and so on
Can you please step me thru exactly what I need to do to get rid of the security policy erro my app (C# vb.net Framework 1.1) is getting?
This is what I understand I need to do:
1. Create a command prompt for .net
Execute the following line:
sn.exe -k KeyFile.snk
Put KeyFile.snk in a folder my app can access.
2. Add this to my AssemblyInfo.cs file:
[assembly: AssemblyKeyFile("KeyFile.snk")]
3. Rebuild my app.
4. Redeploy my app on network server.
Copy KeyFile.snk to folder my apps expects it in.
5. On network server:
Add new code group - "AnyName"
Choose "Strong Name" as condition.
Import my exe and give it full trust.
Now my app should work?
Please let me know if I left anything out.
I am only a mere developer not a network guru and I need to get my app working quickly.
mccalla
|
|
|
|
|
Hey
First of all sorry as this post may not strictly belong here but I couldnt find the Vista Forum.
Any ways here is my question, what ways do people use to get older games to run under Vista (specifically home premium)?
Most of my favourite games (such as Tom Clancy's Rainbow Six) are intended to run under Windows 95 - Windows 2K so I am unable to play them even in compatability mode.
I dont want to have to drag out an old PC with Windows 95 on it but is this the only choice (I have looked at Virtual PC but this is not supported on Home Premium)?
Dan
At university studying Software Engineering - if i say this line to girls i find they won't talk to me
Dan
|
|
|
|
|
Hi everyone
Been a while since i have posted a topic.
I was just randomly thinking about Microsoft and the way they do things.
When a file is deleted and the recycle bin is emptied, can the file still be retrieved, i mean the file cant be deleted, i mean what does it mean when you delete a file?
Can the files be retrieved?
Thanks in advance.
Benjamin Dodd
|
|
|
|
|
In general when you delete a file the OS just marks the beginning and end of the file as over writable, meaning if you just delete a file, the data is still there, its just ready to be overwritten with data of a new file. In windows, when deleting a file to the recycle bin, and then emptying the recycle bin then recovery is very easy as there is still a pointer to where the file was located (ie which sector) therefore a variety of recovery programs can be used to recover the file.
Google for free file recovery if you need such programs.
//Johannes
|
|
|
|
|
Example of a program for data recovery is Badcopy Pro. However, i have used System Mechanics 4.0 to incinerate data and when i initiate the Badcopy Pro, the data cant be retrieved from the harddisk. So, there is a way to get rid of the data permanently, i believe.
---------------------------
Both optimists and pessimists are important in technology. The optimist invented the aeroplane; the pessimist invented the parachute.
Regards,
Hesbon Ongira
Nairobi, Kenya.
|
|
|
|
|
Yes, of course data can be deleted in a way to make in non-recoverable, usually you just overwrite the data of the file with random data a few times. And then delete the file, and maybe even the pointer.
SafeGuard PrivateCrypto is a free for home use program which can shredd files for you.
//Johannes
|
|
|
|
|
Benjamin Dodd wrote: When a file is deleted and the recycle bin is emptied, can the file still be retrieved
Yes, only if something has been written over it's old space on the drive.
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi,
I have an MSI that installs a bunch of files. However, on uninstall, I would also like to remove another file that's not part of the original install, say, c:\document and setting\all users\folder1\test.txt (put here by another program altogether). Is there a way to do this? I tried everything including <customaction> and <removefile>, but nothing work. Any feedback is greatly appreciated.
|
|
|
|
|
You can remove a file or folder that isn't part of a component as part of uninstall using the RemoveFile table. See the SDK documentation.
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
hello friends,
i am having one small doubt, wheather we can hack windows 2003 server from windows XP.from win2003 they are providing previllage to us.. we can't paste or copy any thing that much they restricted us.. plz give some tips to play with win2003
thnks in advance....
|
|
|
|
|
Hi Selvabsc,
selvabsc wrote: hack windows 2003 server from windows XP
If you want to hack it (programically), verify you have SeDebugPriviledge. You can then adjust you token (or results from Lsa... functions) to mimic a local administrator. That is, always return TRUE for an access check.
Otherwise, speak to your Sys Admin. Domain Controllers get a different GPO than workstations.
Jeff
|
|
|
|
|
thanks friend,
will u tell how to check SeDebugPrivilage because i am just a bud to this so,plz give some detail explanation.. But now i understand a little..
if u tell some detail i'll get it quickly..
thnks in advance....
|
|
|
|
|
Microsoft Office 2007 SP1 will be available for download Dec 11. The improvements in Office System 2007 SP1 are in response to direct feedback from power users at large organizations or indirect feedback from home and Office users through the Dr. Watson bug-reporting system.
It will eliminate many deployment barriers. It will provide support for Windows Server 2008 and will provide critical fixes.
Office System 2007 SP1 will not be released to automatic update (AU) immediately. Instead, the Microsoft Office System team will announce the date automatic updating will begin so IT departments will have time to learn about SP1 and determine the best method to deploy it.
For more information, see the Microsoft Office [^] download site.
For more information for developers, see US ISV blog[^].
|
|
|
|
|
Why must you post crap like this? It is borderline spam. We will find out ourselves
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi, I used my computer several year. Now I found the problem that the screen of the computer become blur (not clear and difficult to read). I do not make any change to the system because I just using this computer for typing document only.
So I would like to know some idea in order to solve this problem.
Thank in advance
|
|
|
|
|
Have you had an eye exam lately?
“If we are all in agreement on the decision - then I propose we postpone further discussion of this matter until our next meeting to give ourselves time to develop disagreement and perhaps gain some understanding of what the decision is all about.”-Alfred P. Sloan
|
|
|
|
|
Hi Roath,
Roath Kanel wrote: So I would like to know some idea in order to solve this problem.
I extended a couple monitors by keeping the resolution the same, but changing the refresh rate. For example, if 70 Hz is giving you problems, try 72, and 85.
Jeff
|
|
|
|
|
Sounds like the focus of the electron beams is off. This can happen as components age. Either get the monitor serviced or replace it.
DoEvents : Generating unexpected recursion since 1991
|
|
|
|
|
Replace the monitor with a new one. If the images are still blurred, see an ophthalmologist.
---------------------------
Both optimists and pessimists are important in technology. The optimist invented the aeroplane; the pessimist invented the parachute.
Regards,
Hesbon Ongira
Nairobi, Kenya.
|
|
|
|
|
Hi all,
I have a setup of Multiple Yahoo messenger . I installed Yahoo messenger in a
Win XP operating system .After this when I start installing Multiple Yahoo Messenger setup a error occure as follow :--
"Could not initialize installation.File size expected=2138062,size returned=2232270."
Plz Give me any solution .
Thanks for this .
nilesh
|
|
|
|
|
Have no idea.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
|
|
|
|
|
Can't U Work WIth Single Y! Messenger??
Is it important to use Multiple???
Have a good day!
Believe Yourself™ :->™
|
|
|
|
|
Whenever I delete any file or folder, I always chose the route of making it find a place in 'Recycle Bin' and then 'Empty'. I feel this is better than 'Shift + DELete' since you get the following advantages of an inadvertant deletion:
1) Recovery of mistakenly deleted files
2) Quarantining mistakenly deleted files into a different location.
But when you delete from Network Drive or Command Prompt, the deletion does not go to RecycleBin. I was just wondering if there is any setting (Registry Tweak) or any helper tool or application that would help in getting those deletions also into Recycle Bin first.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
No, there isn't. It's not possible to do this since the network is not a continuos connection. The network supports it's own "RecycleBin" on the servers, such as under Novell NetWare, you would use the Salvage utility.
The RecycleBin only works on local volumes. A network drive is a remote, removable volume.
|
|
|
|
|
Dudes,
Is there a way to install a language pack without using
Windows XP installation CD? I need to install japanese fonts but it will
ask a installation CD, the problem is i don`t have it.
Someone could help me!
Thanks.
-- modified at 0:19 Friday 30th November, 2007
******************************
I just want to
know everything
|
|
|
|