HighTechTalks DotNet Forums  

Method not found: GetNamedPermissionSet() error on installing .net3.5

ASP.net ASP.net discussions (microsoft.public.dotnet.framework.aspnet)


Discuss Method not found: GetNamedPermissionSet() error on installing .net3.5 in the ASP.net forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Aled G
 
Posts: n/a

Default Method not found: GetNamedPermissionSet() error on installing .net3.5 - 01-03-2008 , 09:48 AM






Hi,

After upgrading to .net 3.5, my web app is giving the error on
all .aspx pages:

" Method not found: 'System.Security.NamedPermissionSet
System.Web.HttpRuntime.GetNamedPermissionSet()' "

....on an app which worked just fine before.

This is on XP SP2, IIS 5.1. Have tried aspnet_regiis -i, reinstalling
IIS, and reinstalling the .net framework.

Stack trace and event log entry below.

At a loss what to do next - don't want to reinstall everything as this
is my development workstation. Any further suggestions welcome.

Cheers,
A.
--
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 03/01/2008 13:53:49
Event time (UTC): 03/01/2008 13:53:49
Event ID: df4c8c8fb96348fc8f79fa0c416c510c
Event sequence: 9
Event occurrence: 6
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1/Root/
***myapp***/-1-128438410780466912
Trust level: Full
Application Virtual Path: /tinyvan
Application Path: C:\Projects\***myapp***\
Machine name: ***mycomputer***

Process information:
Process ID: 604
Process name: aspnet_wp.exe
Account name: ***mycomputer***\ASPNET

Exception information:
Exception type: MissingMethodException
Exception message: Method not found:
'System.Security.NamedPermissionSet
System.Web.HttpRuntime.GetNamedPermissionSet()'.

Request information:
Request URL: http://localhost/***myapp***/login.aspx
Request path: /***myapp***/login.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: ***mycomputer***\ASPNET

Thread information:
Thread ID: 1
Thread account name: ***mycomputer***\ASPNET
Is impersonating: False
Stack trace: at
System.ServiceModel.PartialTrustHelpers.get_NeedPa rtialTrustInvoke()
at
System.ServiceModel.PartialTrustHelpers.PartialTru stInvoke(ContextCallback
callback, Object state)
at System.ServiceModel.Activation.HttpModule.ProcessR equest(Object
sender, EventArgs e)
at
System.Web.HttpApplication.SyncEventExecutionStep. System.Web.HttpApplication.IExecutionStep.Execute( )
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.