3

I am trying to work on IIS on my windows 8 but IIS giving an error. Error is as following.

"There was an error while performing this operation.

Details: Filename: \?\C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CONFIG\ web.config Line number: 24 Error: The configuration section 'fullTrustAssemblies' cannot be read beacause it is missing a section declaration."

IIS gives an error when I click on application pool or "Sites".

Prashant Khadatkar
  • 200
  • 1
  • 3
  • 18

1 Answers1

2

Replace the block with

<configuration> 
   <system.webServer> 
     <system.web> 
      <fullTrustAssemblies> 
          <clear/>
    </fullTrustAssemblies> 
  </system.web> 
</system.webServer> 
</configuration>

Removes all references to full-trust assemblies from an application. IIS comes with complete MSDN Documents its already given solution for this

Click Here to clear full trust assemblies

Ashish
  • 1,856
  • 18
  • 30
  • Thanks for your reply. I have replace given code block but now its giving error as follows. ""There was an error while performing this operation. Details: Filename: \?\C:\Windows\Microsoft.NET\Framework64\v4.0.30319\CONFIG\ web.config Line number: 5 Error: The configuration section 'fullTrustAssemblies' cannot be read beacause it is missing a section declaration."" – Prashant Khadatkar Nov 19 '13 at 07:04
  • can you paste web.config file in your question – Ashish Nov 19 '13 at 07:07
  • fullTrustAssemblies > – Prashant Khadatkar Nov 19 '13 at 07:07
  • It seems adding this had solved issue [click here](http://stackoverflow.com/questions/6368502/the-configuration-section-system-servicemodel-cannot-be-read-because-it-is-mis) – Ashish Nov 19 '13 at 07:09
  • I have edited my answer.. Look all are modules just fact is how to use them.. if you think it logically you can understand and master it [refer here](http://msdn.microsoft.com/En-US/library/bb763179.aspx) – Ashish Nov 19 '13 at 07:16
  • I hope its useful for you. Trust me MSDN gives all answers :) – Ashish Nov 19 '13 at 07:18
  • I think you can just keep & try once – Ashish Nov 19 '13 at 07:26