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


المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  mysql sql كيف الحاق اسم ثابت لكل الاسماء؟ justforit 3 180 01-11-25, 06:52 AM
آخر رد: justforit
  تصدير البيانات إلى ملف RTF مصمم هاوي 4 841 15-08-25, 04:13 PM
آخر رد: أبو خالد الشكري
  [VB.NET] ما هو أفضل موقع استضافة لقواعد البيانات MSSQL ؟ mmaalmesry 0 799 16-07-25, 10:45 PM
آخر رد: mmaalmesry
  مساعدة في كيفية ترحيل البيانات من داتا قريدفيو إلى داتا قريدفيو في فيجوال بيسك ahmedfa71 13 2,264 09-07-25, 11:24 PM
آخر رد: أبو خالد الشكري
  مشكلة في حفظ البيانات مصمم هاوي 2 1,028 30-06-25, 08:51 AM
آخر رد: مصمم هاوي
  بطء في جلب البيانات مصمم هاوي 9 1,005 08-05-25, 07:51 AM
آخر رد: مصمم هاوي
  تعديل كود تحديث البيانات مصمم هاوي 1 790 26-04-25, 06:07 PM
آخر رد: مصمم هاوي
Photo لايمكن تعرف على تنسيق قاعدة البيانات الدريساوي 2 700 26-04-25, 12:24 AM
آخر رد: الدريساوي
  مساعدة في طريقة تحميل الفيديوهات المخزنة في قاعدة البيانات foad8920 0 663 24-04-25, 12:58 PM
آخر رد: foad8920
  إغلاق الفورم مع حذف جميع البيانات الموجودة به صالح عبدالله 10 1,045 19-04-25, 08:54 PM
آخر رد: Kamil

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


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