473,322 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

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

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)
Jan 3 '08 #1
0 1063

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Hal Vaughan | last post by:
I have a script used to find and run Java on a Windows system.  It worked fine on original tests (on a Windows XP system).  It's now running on a Windows 2000 (sp3) system, and it won't work -- the...
2
by: Daniel | last post by:
Ok folks, I have Windows XP. I installed .Net and developed some VB.Net components that I want to use in ASP.Net applications. At this point I realized I didn't have IIS installed on my XP...
28
by: Jon Davis | last post by:
If I have a class with a virtual method, and a child class that overrides the virtual method, and then I create an instance of the child class AS A base class... BaseClass bc = new ChildClass();...
7
by: Alec MacLean | last post by:
Hi all, I'm trying to deploy an ASP.NET (1.1) app to our production webserver, but having problems with the DAAB (from Ent Lib June 2005). As you might guess, it works just fine and dandy on my...
1
by: (js) | last post by:
sorry for ma bad english sorry for maybe a little boring question but I want to ask if it is possible writing a .net3.0 programs in vs2005. The company I am working in want to migrate project...
0
by: Paul Woodsford | last post by:
Win XP sp2 fully updated with net3 installed. When I click on the Control Panel icon for Windows Cardspace I get an error: " Class not Registered" Can anyone advise. Have reinstalled net3 to no...
2
by: Steve Zygote | last post by:
I have repeatedly tried to install Net2. I keep getting the following error message. I've looked through the Knowledgebase but can find nothing. It seems to be related to a Visual Basic problem,...
4
by: =?Utf-8?B?QWJoaQ==?= | last post by:
I am using Reflection to invoke methods dynamically. I have got a special requirement where I need to pass a value to method by setting the custom method attribute. As I cannot change the...
0
by: bhappy | last post by:
Hi All, I am doing a project in ASP.Net3.5, I needs to write test methods for my code. Please any one help me on how to use Test Driven Development(TDD) in my project? What are the softwares...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.