صباح الخير أود سؤالكم عن مشكلتي وأرجو أن تساعدوني لأني بحاجة لها . المشكلة انتهيت من تنفيذ برنامج بلغة السي شارب ويستخدم الكريستال ريبورت الموجود في بيئة الدوت نيت 2003 وعندما نقلت البرنامج إلى حاسب آخر لم يعمل الربنامج ولم يظهر التقرير واعطى الخطأ التالي:
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.FileNotFoundException: File or assembly name CrystalDecisions.Windows.Forms, or one of its dependencies, was not found. File name: "CrystalDecisions.Windows.Forms" at SalariesApplication.PrintForm.InitializeComponent() at SalariesApplication.PrintForm..ctor() in c:\documents and settings\admin\my documents\visual studio projects\salariesapplication\printform.cs:line 39 at SalariesApplication.ShowOffices.button9_Click_1(Object sender, EventArgs e) in c:\documents and settings\admin\my documents\visual studio projects\salariesapplication\showoffices.cs:line 864 at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) === Pre-bind state information === LOG: DisplayName = CrystalDecisions.Windows.Forms, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304 (Fully-specified) LOG: Appbase = C:\Documents and Settings\admin\Desktop\2592007\SalariesApplication\bin\Debug\ LOG: Initial PrivatePath = NULL Calling assembly : SalariesApplication, Version=1.0.2824.22146, Culture=neutral, PublicKeyToken=null. === LOG: Publisher policy file is not found. LOG: Host configuration file not found. LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config. LOG: Post-policy reference: CrystalDecisions.Windows.Forms, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304 LOG: Attempting download of new URL file:///C:/Documents and Settings/admin/Desktop/2592007/SalariesApplication/bin/Debug/CrystalDecisions.Windows.Forms.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/admin/Desktop/2592007/SalariesApplication/bin/Debug/CrystalDecisions.Windows.Forms/CrystalDecisions.Windows.Forms.DLL. LOG: Attempting download of new URL file:///C:/Documents and Settings/admin/Desktop/2592007/SalariesApplication/bin/Debug/CrystalDecisions.Windows.Forms.EXE. LOG: Attempting download of new URL file:///C:/Documents and Settings/admin/Desktop/2592007/SalariesApplication/bin/Debug/CrystalDecisions.Windows.Forms/CrystalDecisions.Windows.Forms.EXE. ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll ---------------------------------------- SalariesApplication Assembly Version: 1.0.2824.22146 Win32 Version: 1.0.2824.22146 CodeBase: file:///C:/Documents%20and%20Settings/admin/Desktop/2592007/SalariesApplication/bin/Debug/SalariesApplication.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- System.Data Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll ---------------------------------------- System.Xml Assembly Version: 1.0.5000.0 Win32 Version: 1.1.4322.573 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog.
ما المقصود بهذا الخطأ وما حله وأريد سؤال آخر عندما أنقل البرنامج إلى حاسب آخر لا بد من وجود .NETFrameWork1.1 فكيف أستطيع تنزيلها بمجرد نقل البرنامج ولا يضطر مستخدم البرنامج هو لتنزيلها . ولكم جزيل الشكر
