تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
[VB.NET] مشاكل بقاعدة البيانات MySQL
#1
مرحبا شباب
انا من فترة عملت فورمات للجهاز وثبتت ال VB 2010 بالبدايه قبل الفورمات كان شغال طبيعي حتى قاعدة البيانات كانت تشتغل طبيعي (اقصد ملفات ref لقاعدة البيانات) يعني لما اكتب ع سبيل المثال
كود :
Imports MySql.Data.MySqlClient

بعد ما اضيف ملفات ref يشتغل البروجكت طبيعي لكن بعد الفورمات صارت تظهر مشاكل ما اعرف من وين تجي
مثلا هذي المشكله اول ما اشغل ال VB

   

وهذا نص المشاكل بعد وضع ال ref و كتابة الكود وعمل run

كود :
Warning    1    The primary reference "MySql.Data" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    2    The primary reference "MySql.Data.EntityFramework" could not be resolved because it has an indirect dependency on the assembly "MySql.Data, Version=8.0.16.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    3    The primary reference "MySQL.Data.EntityFrameworkCore.Design" could not be resolved because it has an indirect dependency on the assembly "MySql.Data, Version=8.0.16.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    4    The primary reference "MySql.Web" could not be resolved because it has an indirect dependency on the assembly "MySql.Data, Version=8.0.16.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    5    The primary reference "MySQL.Data.EntityFrameworkCore" could not be resolved because it has an indirect dependency on the assembly "MySql.Data, Version=8.0.16.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    6    The primary reference "MySql.Data.EntityFramework" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    7    The primary reference "MySQL.Data.EntityFrameworkCore" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    8    The primary reference "MySQL.Data.EntityFrameworkCore.Design" could not be resolved because it has an indirect dependency on the assembly "MySql.Data.EntityFrameworkCore, Version=8.0.16.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" which was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    9    The primary reference "MySQL.Data.EntityFrameworkCore.Design" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    10    The primary reference "MySql.Web" could not be resolved because it was built against the ".NETFramework,Version=v4.5.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    11    The primary reference "MySql.Data.EntityFramework" could not be resolved because it has an indirect dependency on the assembly "Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    12    The primary reference "MySQL.Data.EntityFrameworkCore.Design" could not be resolved because it has an indirect dependency on the assembly "Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    13    The primary reference "MySql.Data" could not be resolved because it has an indirect dependency on the assembly "Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    14    The primary reference "MySql.Web" could not be resolved because it has an indirect dependency on the assembly "Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    15    The primary reference "MySQL.Data.EntityFrameworkCore" could not be resolved because it has an indirect dependency on the assembly "Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604" which was built against the ".NETFramework,Version=v4.5" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.0,Profile=Client".    test
Warning    16    The currently targeted framework ".NETFramework,Version=v4.0,Profile=Client" does not include "System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" which the referenced assembly "MySql.Web" depends on. This caused the referenced assembly to not resolve. To fix this, either (1) change the targeted framework for this project, or (2) remove the referenced assembly from the project.    test
Warning    17    Namespace or type specified in the Imports 'MySql.Data.MySqlClient' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    1    9    test
Warning    18    Namespace or type specified in the Imports 'MySql.Data' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    2    9    test
Warning    19    Namespace or type specified in the Imports 'MySql.Web' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    3    9    test
Warning    20    Namespace or type specified in the Imports 'MySql' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    4    9    test
Error    21    Type 'MySqlConnection' is not defined.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    7    19    test
Error    22    Type 'MySqlCommand' is not defined.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    8    19    test
Error    23    Type 'MySqlCommand' is not defined.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    15    23    test
Error    24    Type 'MySqlParameter' is not defined.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    19    36    test
Error    25    Type 'MySqlParameter' is not defined.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    20    36    test
Error    26    Type 'MySqlParameter' is not defined.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    21    36    test
Error    27    Type 'MySqlDataAdapter' is not defined.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    25    28    test
Error    28    Type 'MySqlException' is not defined.    C:\Users\Unknown\Documents\Visual Studio 2010\Projects\test - Copy (2)\test\Form1.vb    31    21    test
الرد
تم الشكر بواسطة:
#2
ممكن رد يا شباب هذي اول مشاركه الي
الرد
#3
السلام عليكم

يبدو أنك قبل الفورمات كنت مركب محرك قاعدة بيانات MySql ولكنك لم تعيد تركيبه بعد الفورمات،
ولتركيب قاعدة بيانات MySql توجه إلى هذا الرابط وقم بتحميلها وتركيبها
https://dev.mysql.com/downloads/connector/net/8.0.html

حاول تذكر كل البرامج المهمة في تشغيل مشاريعك السابقة والتي كانت مثبتة قبل الفورمات مثل الكريستال ريبورت على سبيل المثال.

أرجو الافادة

اصدقائي حسب ترتيب ظهورهم في مواضيعي:
baha
ابراهيم ايبو
سعود
Rabeea Qbaha
اسامه الهرماوي
الرد
#4
شكرا راح اجرب واشوف
الرد
تم الشكر بواسطة: asemshahen5 , asemshahen5


المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  تنفيذ استعلام حذف البيانات في جدول قاعدة بيانات سيكوال سيرفر باستخدام الكود في فجوال momani33 4 74 منذ 11 ساعة مضت
آخر رد: اسامه الهرماوي
  [سؤال] تصدير البيانات منه 1 24 , 10:46 PM
آخر رد: منه
  [VB.NET] مشاكل تحزيم المشروع وإضافة الملفات المطلوبة محمد العامر 14 354 26-05-20, 02:00 PM
آخر رد: asemshahen5
  مشكلة معقدة بعرض البيانات بالدتاجريد على ما فكرت فيها لم اجد لها حل ابو محمد محمد محمد 10 251 24-05-20, 12:16 PM
آخر رد: ابو محمد محمد محمد
  [سؤال] مشكلة في اتصال قاعدة البيانات اكسس mazentq 9 177 24-05-20, 08:45 AM
آخر رد: mazentq
  [VB.NET] التعديل على كود لقرائة باقي المعلومات من قاعدة البيانات khairallah 1 56 24-05-20, 03:19 AM
آخر رد: اسامه الهرماوي
  [VB.NET] كيف يتم تخزين المعلومات الموجودة في الداتا قريد غير متصلة بقاعدة البيانات rochdi191 8 134 16-05-20, 08:23 AM
آخر رد: عبدالله الدوسري
  [VB.NET] نص الاتصال بقاعدة sql tahaayyoub 6 87 16-05-20, 12:56 AM
آخر رد: aljzazy
  سؤال في طريقة التعامل مع قاعدة البيانات عند تحزيم المشروع adnan gharbi 4 270 15-05-20, 01:03 PM
آخر رد: adnan gharbi
  [VB.NET] كيف يتم حفظ صورة في datagridiew غير متصل بقاعدة البيانات rochdi191 5 153 14-05-20, 08:30 PM
آخر رد: rochdi191

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم