Microsoft .NET FAQ |
![]() |
| Q1: I am embedding an Accusoft Pegasus Winforms .NET control within a .NET User Control for use in a client side web application and am not able to get the control to display on the web page . An icon is appearing where my control should be. Are there solutions to this issue? |
| Q2: I am running a .NET application on a system without a connection to the internet and my application is taking a long time to start and initiate. What is the reason for this and is there anything that can be done to solve this issue? |
Q1: I am embedding an Accusoft Pegasus Winforms .NET control within a .NET User Control for use in a client side web application and am not able to get the control to display on the web page . An icon is appearing where my control should be. Are there solutions to this issue? |
| The most likely reason this is occurring is because of client security settings on the Assembly files. The following steps detail how the security settings can be adjusted to address these issues. 1)Provide Full Trust authentication to the DLL that is created. 2)Provide Full Trust authentication to the Pegasus Winforms Assembly being used in the project. 3)Provide Full Trust authentication to the Internet Zone where the page is being hosted. For example, if you have added the page to the Internet Zone you would need to configure the security setting to Full Trust in the .NET configuration wizard. When you open the page containing the embedded control it should now display. If you do need further assistance please contact support@accusoft.com and they can assist. |
Q2: I am running a .NET application on a system without a connection to the internet and my application is taking a long time to start and initiate. What is the reason for this and is there anything that can be done to solve this issue? |
| Accusoft Pegasus .NET DLLs are digitally-signed and have certificates for security purposes. The Microsoft Common Language Runtime environment performs a verification check on any assembly DLL that contains a certificate. This process attempts to access the internet to connect to a remote site. We have seen this happen with applications developed in the .NET 2.0 Framework. There are two ways to stop this from occurring: Solution 1: Disable certificate checking on the target system as detailed below: 1) Go to the Internet Options options in Internet Explorer. 2) Click on the Advanced tab. 3) Under the Security item, uncheck the item “Check for publisher’s certificate revocation”. Solution 2: Disable certificate checking for your application only. For computers using the Microsoft .NET 2.0 Framework Service Pack 1 environment and above, you can create a configuration file for your application and specify for verification checking to be disabled: This is discussed in the following Microsoft article: http://support.microsoft.com/kb/936707. You will need to do the following: 1) Create a file, and then name the file the <ApplicationName>.exe.config file. 2) In a text editor, open the file that you created in step 1. 3) Add the following code to the file. <?xml version="1.0" encoding="utf-8"?> <configuration> <runtime> <generatePublisherEvidence enabled="false"/> </runtime> </configuration> For example, one could create a file named “Pegasus.exe.config” for an application named Pegasus.exe. You must then place the text above as the contents of the file and store it in the same directory with the executable. |





