.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

Unrecognized attribute RequirePermission, not because of incorrect framework version in IIS...

Posted By:      Posted Date: September 16, 2010    Points: 0   Category :ASP.Net
So I have been struggling with this error for a while and normally i get around it by removing the attribute and all is good, not quite simple this time. Based on my research on this error, this is usually caused by incorrect .net version selected in IIS but for me this is usually not the case.  For the app i am working on, it is a 4.0 app, the asp.net version in IIS is set to 4.0, and the error is caused by the RequirePermission attribute in the 4.0 machine.config.  Since it is calling the 4.0 machine.config, that only tells me the version is set correctly.  So what is wrong, why is it not recognized? I have tried removing all the requirePermission attributes in the machine.config, then something else is not recognized, I believe it was the configProtectedData section.  Endless error messages.  It seems to be happening only on one machine.  I did try uninstalling and reinstalling 4.0 and it didnt help, very frustrated!!! Suggestion any one? Thanks in advance!

View Complete Post

More Related Resource Links

supportedRuntime version in config for .Net Framework 3.5

We have an application built on .Net Framework 2.0 using VS2005. Now we would like to support .Net Framework 3.5 using VS.Net 2005 without upgrading to VS 2008( I read online at many places that this can be done without upgrading to VS2008).Out app.exe.config file looks like this currently:<?xml version="1.0" encoding="utf-8" ?> <configuration> <startup>  <supportedRuntime version="v2.0.50727"/> </startup></configuration>Should we need to modify this to support .Net Framework 3.5? If Yes what should it look like.FYI - We are having .Net Framework SP1I am bit confused with .Net Framework version and Runtime Version. Please clarify.

How can you tell which version of Net Framework is installed?

How can you tell which versions of Net Framework are installed on the computer. Can you tell from add/remove programs in the control panel? Thanks!

Regarding .Net framework version and Visual Studio version

Hi all,         I have done my project in Visual Studio 2008 and .Net Framework 3.5. Now is it possible to compile and run the same project in Visual Studio 2005 and .Net Framework 2.0 without any problems. Should anything be taken care of??? Thanks for any help

Problem with ASP.NET Ajax, Framework version 4.0 and the SeaMonkey browser...

I have a site that I'm upgrading to the 4.0 framework and I've come across an issue with asp.net ajax and the SeaMonkey browser. It seems like the script manager is not registering the scripts on the page in seamonkey (but it works fine in IE, Firefox, Chrome, Opera, and Safari). Now, if I change the user agent string in SeaMonkey to use the user agent string from any of those other browsers, it works fine. So I guess my question is does ASP.NET Ajax check the browser's user agent to determine what scripts to register and, if so, is it possible that SeaMonkey is not included in the list in the 4.0 framework (I should add that it's working fine in the 3.5 framework so it seems to me like this is a difference between the two framework versions).

Newbie-Can I remove older version of .NET Framework

Hey,Got different versions on my Windows XP; 1.12.0 Service Pack 22.0 SP 2 - Language Pack3.0 SP 23.0 SP 2 - Language Pack3.5 SP 11- For obvious reasons these take a lot of space, can I remove any of them and which?  2- Are they a built up or separate?  3- If I can only use the latest 3.5 SP1;  is there a language pack with it?4- I have not been able to update anything for over a year.  It keeps telling me, Windows has some new installs for me but won't download properly.  Sorry I can't tell you the specific error it gives me, but I believe it has to do with a previous version as it is related to a Service Pack 2.  Sorry I know it's vague, but it takes for ever before I get the error message.  If you can't give me any idea, I'll try it again and post more info.In the meantime I'd appreciate any help you people can give me.Sunshine

Framework error:Could not load file or assembly 'Microsoft.AnalysisServices, Version=

Hi,I use sql clr sp's to load data in to database using .net framework 2.0. I never had aproblem using this and it went well for months.I recently updated to net framework 3.5 sp1 and sqlserver sp3 on 32-bit sql server and win 2003.I am facing an error which i could not resolve.Error:System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AnalysisServices, Version=, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. Assembly in host store has a different signature than assembly in GAC. (Exception from HRESULT: 0x80131050)System.IO.FileLoadException:    at StoredProcedures.checktable(String paramComponent, String paramParameters)I have gone through different forums, and trie different options,but did not help. I am using 'unsafe'  option.I also tried to alter assembly which is mentioned in http://support.microsoft.com/kb/949080/pt But when i tried to alter the assembly using the above link or try to change the permission to external access on the assembly, i get the below error.Alter ASSEMBLY AccessibilityFROM 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Accessibility.dll'Cannot alter the assembly 'Accessibility', because it does not exist or you do not have permission.I am an admin on the server/sqlCan some one suggest how to alter assembly with permissions or solve this issue or am i missing anything important.Do i

Security Update for Microsoft .NET Framework, Version 1.1 Service Pack 1 (KB928366)

I have been trying to install   Security Update for Microsoft .NET Framework, Version 1.1 Service Pack 1 (KB928366)   since it was released but downloads ok but it will not install. Everytime installation of this update fails!   Help...

Problem Installing .Net Framework Version 4.0

I am trying to install .net 4 on my Vista business machine SP2. It however continually fails with "class not registered" error. No matter what i try and do i cannot get it to install. Has anyone come across this error before, was there a resolution? I need this to be able to install VS2010 on my machine.   Thankyou

Windows 7 message at start up:microsoft.net framework version 2.0 is required to continue

It always displays this at start up, which is weird since it has these versions installed. Any suggestions?

Installing .NET Framework Version 1.1 Redistributable and .NET framework 2.0



I am trying to install .NET Framework Version 1.1 Redistributable or .NET framework 2.0 packages, but both of them are sending an error. My OS is Windows 7 with 64-bit. Version 1.1 says it can't be installed due to incompatibility and version 2.0 rejects 64-bit OS.

I am keen on installing especially these packages in order to run EditVoicePack for Flight Simluator 2004. Is there any options I can install it or it simply doesn't work with Windows7 64-bit system?



incorrect attribute member names


i'm seeing incorrect attribute member names in my degenerate dimensions.

the dsv looks like this:


SO records, AR records, and Customer records are all associated with a Location.  SO and AR records are also associated with a Customer.  in some cases, the SO or AR record LocationKey is different from the LocationKey of the customer record that a SO or AR record is associated with.

when i create a cube and dimensions based on this dsv, it seems like initially everything is fine.  however, inevitably i eventually see the following:

the AR and SO degenerate dimensions each have a Location attribute, with the fact table LocationKey column as the key, and the Location table LocationName column as the Name.  at some point, the attribute member names will begin to appear as the Location name that is associated with the LocationKey from the Customer table, rather than the appropriate fact table (AR or SO).  it seems that this begins to happen after the relational database is updated. that process generally consists of deleting all fact table rows and repopulating.  when this problem appears, "Process full" on dimensions, partitions, measure groups, or the cube does not seem to resolve the problem.

i witness this error

Download Microsoft .NET Framework version 1.1.4322




Where can I download Microsoft .NET Framework version 1.1.4322?  I've had a search on the download site but I cannont see a link for it.  I already have more recent version of the .NET Framework installed but the application I am trying to instal insists I get version 1.1.4322.


Any help would be greatly apprciated.


Thank you very much.



Incorrect version of SQL Server Express detected


I have a 2003 Standard Server SP1 box that had SQL 2005 Express loaded onto it.  I am trying to install Practice Solutions.  The new version of Practice is SQL based and has a minimum requirement of SQL 2005 Express SP2.  I took the liberty of downloading SQL Server Express SP3 and installing a new instance for Practice Solution to utilize.  When I tried to install the software It kicks back an error stating that the database is not 2005 Express Server SP2 or better.  I deleted the instance and reinstalled using different instance names several times and I still get the same error.

While troubleshooting I removed all unused instances, downloaded and installed 2003 server SP2, .net 3.5, Powershell, and SQL Server 2008 Express R2.  I upgraded the one remaining instance for Backup Exec to SQL Express 2008 and installed another instance for the practice solutions.  Even though the new instance is SQL Express 2008 R2 after installing the instance I ran the instillation and I received the same error that the database is not SQL  2005 Express SP2 or better.  I have also tried to install the database to the working instance for Backup Exec and still i get the same error.  I have contacted Practice solutions Support and they don't seem to have a resolution and are saying that its a  server issue and not a software iss

Error with .net Framework 1.1 installation (This is not supported for 64-bit version of xp (although

My laptop is currently using vista business 64bit. I've tried everything, the windows redistributable, the sp1 patches, even the slipstream, nothing works, I still get the "This is not supported for 64-bit version of xp" error. there is no previous version of framework 1.1 installed in my laptop. Currently my laptop has .net 3.5 installed only.

http://forums.techarena.in/windows-software/1183887.htm <-- slipstream

Hardware: Lenovo t500 laptop with
4gig ram
duo core 2.55ghz
fully updated windows vista business 64-bit

Vista Framework Cleanup tool Log: (tried removing framework 1.1 and reinstall, still the same error not compatible with xp)

[06/18/09,18:48:35] Beginning of new cleanup utility session
[06/18/09,18:48:35] Build created on December 22, 2008
[06/18/09,18:48:35] Detected operating system: Windows Vista (x64)
[06/18/09,18:48:35] Install state for .NET Framework 1.0: not installed.
[06/18/09,18:48:35] Install state for .NET Framework 1.1: not installed.
[06/18/09,18:48:35] Install state for .NET Framework 2.0: installed with service

Microsoft .NET Framework Version 2.0 is required to continue

I have a new computer, and this window pops up at startup and when I try to run some software. I've downloaded Frameworks Ver. 2 and installed it.
I still get that window when I try to run some of my software and the software won't run. I've reinstalled Ver. 2.0 several times with the same results.
I using windows 7 home. Is there a fix or additional software that I need to fix this problem. We have to new Laptops and they have the same problem.

unrecognized attribute 'targetframework'



I hosted my application in windows server 2008/iis 7.

i installed frame work 4.0.

I setted Application pool to .Netframework v4.0.30319 also.

when i am adding dll to modules those are required for my application.

It is giving error like unrecognized attribute 'targetframework' what is the problem.

solve my problem.

Thank's in Advance.

Error The tools version "3.5" is unrecognized.



I installed VS 2008 setup on my computer.

I am having Windows XP OS with SP2.

When I opened VS 2008 and clicked on Create Project , I got the following error.

"The tools version "3.5" is unrecognized."

Please tell me how to resolve this.

Thanks in advance.

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend