PDA

View Full Version : سوال: دلیل ارور زیر موقع ثبت اطلاعات چیه



mohsen.nsb44
پنج شنبه 01 تیر 1391, 19:44 عصر
Server Error in '/porjafariSite' Application.

No mapping exists from object type System.Security.Principal.GenericIdentity to a known managed provider native type.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: No mapping exists from object type System.Security.Principal.GenericIdentity to a known managed provider native type.

Source Error:

Line 43: cmd.Parameters.AddWithValue("@userName", Page.User.Identity); Line 44: con.Open(); Line 45: cmd.ExecuteNonQuery(); Line 46: con.Close(); Line 47:

TeacherMath
پنج شنبه 01 تیر 1391, 20:36 عصر
در کنار این خط یک بریک پوینت با کلید f9 بزن و مقادیر متغییر ها را چک کن.