Click here to Skip to main content
15,877,859 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
VB
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

MSIL
Parser Error Message: Value cannot be null.
Parameter name: key

XML
Line 1:  <%@ Page language="C#" masterpagefile="~masterurl/default.master" autoeventwireup="true" inherits="Admin_Pages_LR_Khatouni, App_Web_5zbgwze-, Version=0.0.0.0, Culture=neutral, PublicKeyToken=5a087b147e650061" title="Untitled Page" meta:progid="SharePoint.WebPartPage.Document" %>
Line 2:  
Line 3:  <asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderMain" runat="Server">



my website also contains .resx file .ascx file BL(class file), DAL(class file)
plese tell me the solution



Thanks in advance:rose::rose::rose:
Posted

Somewhere there is a collection that uses key/value pairs and the value supplied as the key is null, it could be in your code behind, business logic or data access layers.
Without more information determining the exact location of the problem is next to impossible.
 
Share this answer
 
try right click mouse in browser and click "view source", see if any commented stack trace message exist there.

try to modify the sharepoint site's web.config. find the node <pageparserpath> and modify it like this:

<PageParserPath VirtualPath="~/Pages/*" CompilationMode="Always" AllowServerSideScript="true" IncludeSubFolders="true" AllowUnsafeControls="true" />

.................................
attribute "AllowUnsafeControls" must set to true.
 
Share this answer
 
v2

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