Click here to Skip to main content
15,883,802 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Running web app on iis 7 with asp.net 2.0. see code below --

XML
<compilation defaultLanguage="c#" debug="true" numRecompilesBeforeAppRestart="15">
            <assemblies>
                <add assembly="*" />
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /></assemblies><pre lang="Delphi">

</compilation>


---------- Results in error ----

XML
Server Error in '/' Application.

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Could not load file or assembly 'Org.Mentalis.Security, Version=1.0.13.715, Culture=neutral, PublicKeyToken=085a8f6006888436' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)

Source Error:


Line 95:        <compilation defaultLanguage="c#" debug="true" numRecompilesBeforeAppRestart="15">
Line 96:            <assemblies>
Line 97:                <add assembly="*" />
Line 98:                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
Line 99:                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />

Source File: D:\Hosting\11521587\html\web.config    Line: 97

Version Information: Microsoft .NET Framework Version:2.0.50727.4234; ASP.NET Version:2.0.50727.4223

--------

Please - anyone... any advice?
Posted
Updated 30-Jul-13 12:11pm
v2
Comments
[no name] 30-Jul-13 17:59pm    
Isn't this the same as http://www.codeproject.com/Questions/628940/asp-net-2-0-confing-error-any-suggestions-on-how-t?
abusedbydev 30-Jul-13 18:32pm    
sorry if its a no no - new to the group, the 2nd question shows action and error. super frustrated with our situation
Sergey Alexandrovich Kryukov 30-Jul-13 18:55pm    
What are you talking about? The post referenced above was removed already.
—SA

1 solution

The error is saying that it can't find a file you are referencing, Org.Mentalis.Security. You need to make sure you have that file.
 
Share this answer
 
Comments
abusedbydev 30-Jul-13 22:55pm    
Thx for the response. I actually have the file 'Org.Mentalis.Security.dll' in bin folder that is in the root of the site. When I host the site on my iis6 (locally) the site works fine, but when I try to host the site on godaddy ii6 or iis7 - I get this error message.
ZurdoDev 31-Jul-13 7:43am    
Is it in the bin folder on godaddy's site? The error seems to be claiming it is not.
abusedbydev 31-Jul-13 15:42pm    
Org.Mentalis.Security.dll is in the Godaddy bin folder and I hvae assigned read/write rights to all directories in the root. Then bounced app pool for the application using that file. still no go.

Do you think the db has something to do with this?
ZurdoDev 31-Jul-13 15:43pm    
No. I would suggest asking godaddy. It is possible it is another dll. When you look at the error it says "or one of its dependencies." But it does specifically say "Failed to grant minimum permission requests."
abusedbydev 31-Jul-13 15:46pm    
ok - comparing now... - and thank you for such a quick response.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900