Click to See Complete Forum and Search --> : Getting Security Exceptions While Testing!
furjaw
Feb 10th, 2007, 05:36 PM
I used ascertia.com to generate a free code signing certificate.
I successfully signed my code with Code Signer Pro.
Great, I no longer get the "unknown publisher" warning!
But, now when I test my program using Visual Studio 2005,
I get all kinds of Security Exceptions!
RobDog888
Feb 10th, 2007, 05:44 PM
What is it that the exception are trying to do/access? Did you code for security access?
furjaw
Feb 10th, 2007, 06:01 PM
I am getting exceptions on a wide variety of commands.
This is only one of many:
System.Security.SecurityException was unhandled
Message="Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed."
Source="mscorlib"
I did not code for security access.
I just wanted to eliminate the "unknown publisher" warning when users download the 30 day free trial of my Windows app.
I had a Temporary key in my Setup1.msi.
I deleted it from the keystore when I used ascertia.com to generate a free code signing certificate.
This caused some problems, then I deleted the Temporary Key from my Setup1.msi.
This is what seems to have caused the problem.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.