StrataFrame Forum

Using Infragistics Wrapper?

http://forum.strataframe.net/Topic17475.aspx

By Edhy Rijo - 6/30/2008

Hi,

I have Infragistics v 8.1.20081.1000, I want to use this wrapper and when compiling the MicroFour StrataFrame Ingragistics Wrapper solution I get the following error:

Error creating assembly manifest: Access is denied.

Here is what I did:

  • Opened the MicroFour StrataFrame Ingragistics Wrapper solution
  • Removed all references to Infragistics version 7.xxx
  • Add the references libraries for the new version 8.1.20081.1000
  • Build the solution
  • Got error!BigGrin

I should point out that I do not have any other SF project or VS opened at the time of the build.  Also I searched through the forums and could not find an answer.

By Trent L. Taylor - 7/1/2008

Generally you can chalk this up to permissions or something changing within the environment which requires the SNK file to need to be rebuilt.  We distribute this file so that you can recompile the SF assemblies, but there really isn't anything that I can do from this side as it has to do with your machine and environment.  You may need to manually run the sn.exe to resign the assembly.  I have never heard of anyone needing to do this in the field...which may also allude to the issues you seem to continually fight during installation, but below are some posts that I found through Google:

http://it.gps678.com/8/0db9a3bd4ff1b1be.html

http://forums.msdn.microsoft.com/en/msbuild/thread/5fcb9fd2-90ad-4388-a688-9dbf1ea4e361/

By Edhy Rijo - 7/1/2008

Hi Trent,

You were right, it was a permission issue, for some reason, the Administrators group did not have access to the "C:\ProgramData\" folder which inlcudes the "C:\ProgramData\Application Data\Microsoft\Crypto\RSA" needed to generate the SNK files.  On Windows Vista 64 this folder represents the %ALLUSERSPROFILE% variable, which very well may be affecting the SF installation, so now I'll just wait for the next install to test it.

Thanks again!

By Edhy Rijo - 7/1/2008

Ok, now that I was able to change the references in the wrapper library and build the solution, am I susppose to see the Infragistics wrapped controls in the Toolbox?

In the Toolbox I see the SF Controls & Components, I also see the NetAdvantage 8.1 Win CLR2.x, but don't see how to use/drop any of the wrapped controls to be used?

By Michael Reese - 7/1/2008

HeyEhy,

You should see an SF Infragistics  set of tools. By the way, make sure you  execute he afterbuild programme after he compile to move the new wrapper into the righ folders. Also, sometimes you have to rerun the s create toolbox addin?

Michael

  

By Trent L. Taylor - 7/1/2008

On Windows Vista 64 this folder represents the %ALLUSERSPROFILE% variable, which very well may be affecting the SF installation, so now I'll just wait for the next install to test it.

I want to point out that you are not the only person running on a 64-bit OS.  I am willing to bet that 30-40% of SF developers are running on a 64-bit platform and we have implemented comprehensive tests prior to a release on a 64-bit OS as well as others...I would never venture to say that there is not a problem in the install under a cetrain condition that we have not encountered, but if the OS is setup and VS is properly installed (i.e. no manual patch-jobs, or piece worked together) then the SF install will work.

In the Toolbox I see the SF Controls & Components, I also see the NetAdvantage 8.1 Win CLR2.x, but don't see how to use/drop any of the wrapped controls to be used?

Click the StrataFrame -> Create StrataFrame Toolbox Tab and see if they appear.  Otherwise it is not finding the assembly.

By Edhy Rijo - 7/1/2008

Michael Reese (07/01/2008)
You should see an SF Infragistics  set of tools. By the way, make sure you  execute he afterbuild programme after he compile to move the new wrapper into the righ folders. Also, sometimes you have to rerun the s create toolbox addin?

Hi Michael,

Thanks for info.  I found the AfterBuild.bat and executed it, then I open VS and re-created the Toolbox, but still not seeing SF-Ingragistics.  I used to have the demo version of DevExpress and that was created with no problem before.

Here is the content of the AfterBuild.bat, just in case I may have an outdated one:

"%ProgramFiles%\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil.exe" -i %1 -f
"%ProgramFiles%\Microsoft SDKs\Windows\v6.0A\bin\gacutil.exe" -i %1 -f
copy /Y %1 "%CommonProgramFiles%\MicroFour\StrataFrame"
copy /Y %2 "%CommonProgramFiles%\MicroFour\StrataFrame"

Finally, I decided to simply copy the MicroFour StrataFrame Infragistics Wrapper.dll to the following folders:

  • C:\Program Files (x86)\MicroFour\StrataFrame\Assemblies
  • C:\Program Files\Common Files\MicroFour\StrataFrame
  • C:\Windows\assembly

Rebuild the SF Toolbox and now the SF Infragistics shows fine.

Once again, thanks for mentioning the AfterBuild.bat file.

By Edhy Rijo - 7/1/2008

Trent L. Taylor (07/01/2008)
I want to point out that you are not the only person running on a 64-bit OS. 

I am aware of that, so there is not need to point it out.

I am willing to bet that 30-40% of SF developers are running on a 64-bit platform and we have implemented comprehensive tests prior to a release on a 64-bit OS as well as others...I would never venture to say that there is not a problem in the install under a cetrain condition that we have not encountered, but if the OS is setup and VS is properly installed (i.e. no manual patch-jobs, or piece worked together) then the SF install will work.

Trent, I am NOT saying that the SF installation is not working in general.  I am experiencing some problems since the intial install of SF and with the last 2 updates and all I am doing is posting the results to try to find out what the heck is happening with MY system which is very frustrating and time consuming. I am not blaming anybody nor the SF installation.

Click the StrataFrame -> Create StrataFrame Toolbox Tab and see if they appear.  Otherwise it is not finding the assembly.
Yes the assembly was not found until I manually copied it over the correct folder (see previous post to Michael)

Thanks!

By Trent L. Taylor - 7/1/2008

Edhy,

Point understood...but the only reason I pointed this out is because I have gone back and looked at emails and forum posts and you consistenly bring up the 64-bit/install.  So I did not feel that this topic was closed from your point of view otherwise I would have looked past it as a non-issue.  But since I see you referencing the 64-bit install throughout a number of threads and emails, I thought it prudent to bring this up and bring this particular topic to a close.

By Edhy Rijo - 7/1/2008

Trent,

Whenever I ask for support in any forum I try to post as much information as possible to help the support party understand the issue and help me out faster.

Now I am also in the process of setting up the laptop I will use for the training and that is using Vista 32bits, so if I get into more issues I sure will let everybody know that this is Vista 32 Smile.