Error-2015-9-9

Source: Internet
Author: User

The key part of the type is not valid, and all parts of it are not nullable

When you map a fragment that starts with the first line, the key for the problematic table has a potential runtime conflict column that maps to the conceptual side of the property but they do not form a EntitySet key property

Error:

Failed to load file or assembly "Webkitbrowser, version=0.5.0.0, Culture=neutral,
Publickeytoken=b967213f6d29a3be "or one of its dependencies. An attempt was made to load a program that is not properly formatted.

Solve:
It would be nice to change the project compilation settings from any CPU to x86.

Location: Right-click Properties on Project-build-target platform


Error:
Invalid permissions, cannot change Pen.


Error:
HTTP Error 403.14-forbidden
The WEB server is configured to not list the contents of this directory.

The most probable cause:
No default document is configured for the requested URL, and directory browsing is not enabled on the server.

Reason:
There is an admin in this directory (a folder with the same name as the Controllers parent directory exists)
Solve
Delete Admin folder (exists with folder with the same name as controllers parent directory)

Error:
The current request for the operation "Adddoctor" of the controller type "Doctorcontroller" is not clear between the following methods of operation:

Error:
HTTP Error 403.14-forbidden Web server is configured to not list this directory contents "

Error:
ASPNET: Make sure that the class defined in this code file matches the "inherits" attribute, and that the class extension
The base class (for example, Page or UserControl) is correct.
public partial class SubSite_index:System.Web.UI.Page


Error:
What is the reason that using Newtonsoft.json is not referenced in VS2010

Solve:
http://json.codeplex.com/releases/view/64935
Download Json40r2.zip
Then reference Newtonsoft.Json.Net35.dll in the project

Open a Web site with Visual Studio--right-click Web site in Solution Explorer
--Select Add Reference browse to find the downloaded DLL ok
(The copy is actually in the bin directory of the website)


Error:
The view "Index" or its master view is not found, or there is no search location supported by the view engine. The following locations were searched:
~/views/article/index.aspx
~/views/article/index.ascx
~/views/shared/index.aspx
~/views/shared/index.ascx
~/views/article/index.cshtml
~/views/article/index.vbhtml
~/views/shared/index.cshtml
~/views/shared/index.vbhtml

Solve:


Error:
Use Ajax to invoke the background, always output object

Reason:

Solve:
Right-click on the site, launch options-build-target Framework-. NET Framework 4

Error:
MODEL.MSL (48,10): Error 3004: There was a problem mapping a fragment starting from line 48th: No mapping was specified for the properties in the settings Bannerimages Bannerimages.catalogid.
Entities that have a key (PK) do not round-tripping in the following situations:

Reason:
No entities were generated.


Error:
Object references are not set to an instance of an object.
Reason:
The problem with the SQL statement,
_articleservice.loadentity (c = C.catalogid = = ID);


Error:
Manage in the background-no menu items are visible in the maintenance site content

Reason:
No privileges!

Error:
The configuration section "System.web/httpruntime" has been defined. The section can appear only once in each configuration file.
See the Help topic <location> to learn about exceptional situations

Error:
A potential is detected from the client (input_content= "<p align=center><fon ...")
A dangerous Request.Form value.

Error:
An object of type ' System.Web.UI.HtmlControls.HtmlGenericControl cannot be cast to
Type "System.Web.UI.WebControls.Label".


Error:
It is an error to use a section registered as allowdefinition= ' machinetoapplication ' outside the application level.
This error can be caused if the virtual directory is not configured as an application in IIS.
Solve:
In fact, I opened the site's parent directory!!!

Error:
Cannot create "System.Boolean" type from the string representation of its "Checked" property "Checked"

Solve:

If you want to set it up in the background ...
In <input type= "Radio" id= "DD" name= "DD" runat= "Serve" checked=true> so the background is written
To be written dd.checked = true; If you do not write runat= "serve" then use checked= "checked" will not error
The.. If you want to write a runat= "server": You have to write checked=true, or you will get an error. Cannot be from
The string representation of its "Checked" property "Checked" creates an object of type "System.Boolean"

Error-2015-9-9

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.