Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Request for the permission of type 'System.Web.AspNetHostingPermission...'     failed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clintonb - 26 Feb 2008 22:00 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.