Bill,
Just off the top of my head: After reading your post I realized that your
AsmRef (assembly reference) is to an assembly that has a null publickeytoken.
However, if you strongly signed the file and placed it in the GAC then your
Assembly Reference is no longer correct and needs to be updated.
DanL
[quoted text, click to view] "Bill Hertzing" wrote:
> Lots of folks have got CMAB working, from the posts. I must be dense... I'm
> trying to compile/run the simple Hashtable Quickstart. I keep getting a
> dialog box with 'Could not create
> "Microsoft.ApplicationBlocks.ConfigurationManagement,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null" '
>
> I've also tried the Read Quickstart, and my own code, all give me this
> exception message. I've even traced it down into the
> ConfigurationManagerSectionHandler.cs, where it throws the excpetion on the
> line singletonSelf =
> (ConfigurationManagementSettings)ConfigurationSettings.GetConfig(
> "applicationConfigurationManagement" );
>
> One thing I do 'different'; I sign all of my MS app blocks with private key
> file, and register them into the GAC when they are built (using VS 2003 IDE,
> i use a post-build command line that calls gacutil). My login is a member of
> the local admin group - I can't see how adding the CMAB to the GAC would
> cause permission problems when trying to use the CMAB...
>
> Any help would be GREATLY appreciated. I've spent nearly a day now trying to
> get the quickstarts to run...
> --
> Bill Hertzing
> Tools Development
Thank you. That solved my problem!
[quoted text, click to view] "Bill Hertzing" wrote:
> Lots of folks have got CMAB working, from the posts. I must be dense... I'm
> trying to compile/run the simple Hashtable Quickstart. I keep getting a
> dialog box with 'Could not create
> "Microsoft.ApplicationBlocks.ConfigurationManagement,Version=1.0.0.0,Culture=neutral,PublicKeyToken=null" '
>
> I've also tried the Read Quickstart, and my own code, all give me this
> exception message. I've even traced it down into the
> ConfigurationManagerSectionHandler.cs, where it throws the excpetion on the
> line singletonSelf =
> (ConfigurationManagementSettings)ConfigurationSettings.GetConfig(
> "applicationConfigurationManagement" );
>
> One thing I do 'different'; I sign all of my MS app blocks with private key
> file, and register them into the GAC when they are built (using VS 2003 IDE,
> i use a post-build command line that calls gacutil). My login is a member of
> the local admin group - I can't see how adding the CMAB to the GAC would
> cause permission problems when trying to use the CMAB...
>
> Any help would be GREATLY appreciated. I've spent nearly a day now trying to
> get the quickstarts to run...
> --
> Bill Hertzing
> Tools Development
Don't see what you're looking for? Try a search.