تقييم الموضوع :
  • 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


المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  مشكله في ترتيب البيانات mostafa12 2 63 منذ 9 ساعة مضت
آخر رد: mostafa12
Rainbow [VB.NET] الإتصال بقاعدة بيانات على النت بواسطة تطبيق فجول بيسك علي إبراهيم الحاج علي 4 191 15-10-19, 05:15 PM
آخر رد: علي إبراهيم الحاج علي
  سؤال حول قواعد البيانات ابو روضة 11 186 15-10-19, 05:02 AM
آخر رد: elgokr
  طريقة حفظ بإسم لجدول موجود في قاعدة البيانات مع بقاء الجدول الأساسي جيولوجي مبتدئ 11 234 15-10-19, 05:00 AM
آخر رد: elgokr
Sad [VB.NET] نقل بيانات جدول بقاعدة بيانات الى جدول اخر بقاعدة بيانات ثانية اسامه الهرماوي 7 139 14-10-19, 11:12 PM
آخر رد: elgokr
Bug [VB.NET] الاتصال بقاعدة البيانات على الشبكة مشكل أتعبني حقا sniperjawadino 4 155 08-10-19, 06:15 PM
آخر رد: sniperjawadino
  [VB.NET] مسار قاعدة البيانات محمد اسماعيل 12 263 06-10-19, 01:52 PM
آخر رد: محمد اسماعيل
  كيف يمكن التحقق من وجود اسم موظف بقاعدة بيانات الحضور وسام عبدالله الدمرداش 4 629 28-09-19, 08:39 PM
آخر رد: alessam4pro
  طلب يا اخوانى فى قواعد البيانات (اكسس 2007) خالد كامل1 3 88 26-09-19, 11:58 PM
آخر رد: خالد كامل1
  [كود] اكواد العمليات الحسابية على قواعد البيانات ( جزاكم الله خير مقدما ) أبو يزن 12 5,546 25-09-19, 11:37 PM
آخر رد: أبووسم

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


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