I hope this is the appropriate group for my question.
We have a Web Application Project that compiles just fine using Visual
Studio 2005 on Windows XP but it won't compile on Windows Vista.
The error is:
'Request for the permission of type
'System.Web.AspNetHostingPermission, System, Version=2.0.0.0,
Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.'
I checked the compilation results in the Output window and noticed the
error happens in the step where it runs the license compiler (LC.exe).
Any help would be greatly appreciated.
rob - 28 Mar 2008 12:12 GMT
did you find any soultion yet?
same happens to me, code access security changes have no effect
> I hope this is the appropriate group for my question.
>
[quoted text clipped - 10 lines]
>
> Any help would be greatly appreciated.
rob - 28 Mar 2008 12:53 GMT
check this out
http://forums.ni.com/ni/board/message?board.id=232&message.id=3965
IF EXIST C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe setwow
Your project post-build step would be:
IF EXIST C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe
C:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\ldr64.exe set64
will help you,
regards
> I hope this is the appropriate group for my question.
>
[quoted text clipped - 10 lines]
>
> Any help would be greatly appreciated.