Visual Studio Development Bookmark and Share   
 index > Visual Studio Extensibility > CheckPackageSignature failed; invalid Package Load for RecipeManagerPackage and Microsoft.VisualStudio.Web.Application.WAPackage
 

CheckPackageSignature failed; invalid Package Load for RecipeManagerPackage and Microsoft.VisualStudio.Web.Application.WAPackage

It used to work well, and all of a sudden, I got these errors: unknown
server
tag: aspTongue TiedcriptMagager, unknown server tag: myprefix:MyControl.

However, the page shows properly in design mode for the MyControl, it also
work well in running mode. But due to the error, VS stopped updating the
designer.cs files. Then I tried to delete the designer.cs files and try to
use "Convert to Web Application" command to re-generate the designer file,
it failed with some varing messages.

So I decided to make a log of vs studio 2005, the log shows some warnnings,
here:
group1 for gax:
<entry>
<record>16</record>
<time>2008/02/04 16:09:08.961</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>Entering function
CVsPackageInfo::HrInstantiatePackage</description>
<guid>{77D93A80-73FC-40F8-87DB-ACD3482964B2}</guid>
</entry>
<entry>
<record>17</record>
<time>2008/02/04 16:09:08.991</time>
<type>Warning</type>
<source>Microsoft Visual Studio Appid Stub</source>
<description>CheckPackageSignature failed; invalid Package Load
Key</description>
<guid>{77D93A80-73FC-40F8-87DB-ACD3482964B2}</guid>
</entry>
<entry>
<record>18</record>
<time>2008/02/04 16:09:09.081</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>Begin package load
[Microsoft.Practices.RecipeFramework.VisualStudio.RecipeManagerPackage,
Microsoft.Practices.RecipeFramework.VisualStudio, Version=1.0.60429.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{77D93A80-73FC-40F8-87DB-ACD3482964B2}</guid>
</entry>


and group 2 for web application project:
<entry>
<record>58</record>
<time>2008/02/04 16:09:19.987</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>Entering function
CVsPackageInfo::HrInstantiatePackage</description>
<guid>{349C5850-65DF-11DA-9384-00065B846F21}</guid>
</entry>
<entry>
<record>59</record>
<time>2008/02/04 16:09:20.027</time>
<type>Warning</type>
<source>Microsoft Visual Studio Appid Stub</source>
<description>CheckPackageSignature failed; invalid Package Load
Key</description>
<guid>{349C5850-65DF-11DA-9384-00065B846F21}</guid>
</entry>
<entry>
<record>60</record>
<time>2008/02/04 16:09:20.067</time>
<type>Warning</type>
<source>Microsoft Visual Studio Appid Stub</source>
<description>CheckPackageSignature failed; invalid Package Load
Key</description>
<guid>{349C5850-65DF-11DA-9384-00065B846F21}</guid>
</entry>
<entry>
<record>61</record>
<time>2008/02/04 16:09:20.107</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>Begin package load
[Microsoft.VisualStudio.Web.Application.WAPackage,
Microsoft.VisualStudio.Web.Application, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{349C5850-65DF-11DA-9384-00065B846F21}</guid>
</entry>
<entry>
<record>62</record>
<time>2008/02/04 16:09:20.147</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>End package load
[Microsoft.VisualStudio.Web.Application.WAPackage,
Microsoft.VisualStudio.Web.Application, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a]</description>
<guid>{349C5850-65DF-11DA-9384-00065B846F21}</guid>
</entry>



and group 3 also for web application project:
<entry>
<record>93</record>
<time>2008/02/04 16:09:24.053</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>Entering function
CVsPackageInfo::HrInstantiatePackage</description>
<guid>{DC7F691A-91FC-4F7B-923E-FE829C3A18DC}</guid>
</entry>
<entry>
<record>94</record>
<time>2008/02/04 16:09:24.133</time>
<type>Warning</type>
<source>Microsoft Visual Studio Appid Stub</source>
<description>CheckPackageSignature failed; invalid Package Load
Key</description>
<guid>{DC7F691A-91FC-4F7B-923E-FE829C3A18DC}</guid>
</entry>
<entry>
<record>95</record>
<time>2008/02/04 16:09:24.183</time>
<type>Warning</type>
<source>Microsoft Visual Studio Appid Stub</source>
<description>CheckPackageSignature failed; invalid Package Load
Key</description>
<guid>{DC7F691A-91FC-4F7B-923E-FE829C3A18DC}</guid>
</entry>
<entry>
<record>96</record>
<time>2008/02/04 16:09:24.353</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>Begin package load [Visual Web Developer Web Application
Upgrade Package]</description>
<guid>{DC7F691A-91FC-4F7B-923E-FE829C3A18DC}</guid>
</entry>
<entry>
<record>97</record>
<time>2008/02/04 16:09:24.474</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>Loading UI library</description>
<guid>{DC7F691A-91FC-4F7B-923E-FE829C3A18DC}</guid>
<path>D:\vsnet8\Common7\Packages\*\webappupgradeui.dll</path>
</entry>
<entry>
<record>98</record>
<time>2008/02/04 16:09:24.554</time>
<type>Information</type>
<source>Microsoft Visual Studio</source>
<description>End package load [Visual Web Developer Web Application
Upgrade Package]</description>
<guid>{DC7F691A-91FC-4F7B-923E-FE829C3A18DC}</guid>
</entry>


So I decided to reinstallVS 2005service pack 1 and gax and GAT (ditially signedonOctober 18, 2006 ) , it took me
hours to reinstall it, and finally it turned out nothing is solved. The
problem persists.


Thanks for any help

johnx  Monday, February 04, 2008 4:40 PM

As long as you aren't seeing a Package Load Failure dialog, you can safely ignore these logs. The CheckPackageSignature function checks for a valid package load key in a number of locations, and against a number of different VS versions. And we log all the failures, regardless if it's ultimately validated. If no validation occurs, you should see a modal error dialog pop up with a Package Load Failure message. But if you're not seeing this, then you can safely ignore the logs.

That doesn't exactly address your originalproblem though. It sounds a bit specific to ASP .NET and the webform designer. You might want to try posting this question (with more details on what the .aspx file looks like, to one of the asp .net forums at http://forums.asp.net/.

Sincerely,

Ed Dore  Tuesday, February 05, 2008 12:01 AM

As long as you aren't seeing a Package Load Failure dialog, you can safely ignore these logs. The CheckPackageSignature function checks for a valid package load key in a number of locations, and against a number of different VS versions. And we log all the failures, regardless if it's ultimately validated. If no validation occurs, you should see a modal error dialog pop up with a Package Load Failure message. But if you're not seeing this, then you can safely ignore the logs.

That doesn't exactly address your originalproblem though. It sounds a bit specific to ASP .NET and the webform designer. You might want to try posting this question (with more details on what the .aspx file looks like, to one of the asp .net forums at http://forums.asp.net/.

Sincerely,

Ed Dore  Tuesday, February 05, 2008 12:01 AM

ok, thanks for the infomation.

johnx  Tuesday, February 05, 2008 3:28 AM
I understand I can safely ignore these, but in my case it's still annoying because I launch the VS Experimental Hive, which naturally suffers from the same symptoms, as my project start action, and I would like to check the "Common Language Runtime Exceptions" option to debug some MSBuild tasks. You see the problem: if I do check that box, I am flooded with Package Load Failures, and it's not fun to have to check/uncheck it and the beginning and end of every debug session.

Is there any way to cleanup the list of locations where VS looks for package load keys? Or any other tips to no longer get these exceptions?

Thanks.
Hadster  Wednesday, October 14, 2009 7:49 PM

You can use google to search for other answers

Custom Search

More Threads

• Intercepr Before Build event...
• How to localization IDE menu text in .VSCT(.CTC) file?
• DSL Editor PowerToy - Next Milestone Released!
• Pre and Post build events are very slow (when performing deletion and copying of files)
• VS 2008 DTE2.getProperties method arguments
• Integrate a custom compiler/linker in Visual Studio
• DSL
• Drag and drop a table onto a TableAdapter with VS2008, and the generated table name is "DataTable" instead of the actual table name
• Custom tool: How to turn off the vstudio compatibility warning screen programmatically
• VSTemplate & Solution Structure