|
-
Feb 10th, 2007, 06:36 PM
#1
Thread Starter
Lively Member
Getting Security Exceptions While Testing!
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!
-
Feb 10th, 2007, 06:44 PM
#2
Re: Getting Security Exceptions While Testing!
What is it that the exception are trying to do/access? Did you code for security access?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 10th, 2007, 07:01 PM
#3
Thread Starter
Lively Member
Re: Getting Security Exceptions While Testing!
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|