L
Lowell
I have a web page which downloads a component with an <OBJECT> tag. The HTML looks something like the following:
<OBJECT id="NewObj" classid="http:/VirDir/CompName.dll#THEYAS.DEPT.ProjectName.CompName" VIEWASTEXT><PARAM NAME="Param1" VALUE="Value1"></OBJECT>
It works just fine when the component is not strong-named. But once I change the "AssemblyInfo.cs" file to make the component strong named (by giving it value for the "AssemblyKeyFile" attribute) and recompile, the same component won't load. (The initial GUI won't come up--I just get a little tiny "default" icon in the upper left corner of the area where the "CompName" component should be.)
I used "mscorcfg.msc" to add a code group and the "Membership Condition" is "URL" and the "URL:" is "http://servername/*";.
I would like to make this component strong-named for better security (changing that "Membership Condition" to a strong-name) and I want to have it reference other strong-named components--including the Office XP PIAs.
So, how do I make this work with strong-named assemblies?
Thanks!
Lowell
<OBJECT id="NewObj" classid="http:/VirDir/CompName.dll#THEYAS.DEPT.ProjectName.CompName" VIEWASTEXT><PARAM NAME="Param1" VALUE="Value1"></OBJECT>
It works just fine when the component is not strong-named. But once I change the "AssemblyInfo.cs" file to make the component strong named (by giving it value for the "AssemblyKeyFile" attribute) and recompile, the same component won't load. (The initial GUI won't come up--I just get a little tiny "default" icon in the upper left corner of the area where the "CompName" component should be.)
I used "mscorcfg.msc" to add a code group and the "Membership Condition" is "URL" and the "URL:" is "http://servername/*";.
I would like to make this component strong-named for better security (changing that "Membership Condition" to a strong-name) and I want to have it reference other strong-named components--including the Office XP PIAs.
So, how do I make this work with strong-named assemblies?
Thanks!
Lowell