Hello all,
I have been researching this topic for a few days now and I am out of
ideas. I am pretty new to windows forms and have created an
application which will be launched on our Intranet via a link.
If I use the Debug version of the application it takes about 2 minutes
for the application to load. If I use the Release version is loads
instantaneously, but upon its first use of a stored procedure it delays
for 2 minutes in that spot. After these inital delays the program
responds perfectly.
I have looked into the CAS settings and modified them for the
application. I have also created a strong name for the assembly and
added it to the GAC. Also, I have added an application.config file
that has the following values:
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="COBFilePackager"
publicKeyToken="4f58ee5f3075c11c"
culture="neutral" />
<codeBase version="1.0.0.2"
href="file:///c:/Inetpub/wwwroot/Intranet/Applications/COBFilePackager.exe"/>
</dependentAssembly>
</assemblyBinding>
</runtime>
And last, I have added the following to the AssemblyInfo.cs file:
[assembly: NeutralResourcesLanguageAttribute("en-US")]
This has cut down on the IIS log entries (which I thought may at first
be the issue with multiple GET requests) but it still takes the same
amount of time to load.
Does anyone have a suggestion as to where I might look to figure out
this problem?
Thanks!
~ Afflicted