PDA

View Full Version : سوال: اجرای برنامه نوشته شده در ویندوز 7 در ویندوز XP



5mmmmm
دوشنبه 24 آبان 1389, 17:50 عصر
با سلام
به سفارش یکی از دوستام این سوال را می پرسم:
برنامه ای با ویژوال استودیو 2010 و .Net FrameWork چهار نوشته شده و در ویندوز7 راحت اجرا میشه ولی هرکاری میکنه این برنامه در XP اجرا نمیشه؟
کسی تجربه مشابهی داره؟

در ضمن تمام frame work ها را هم نصب کرده فقط میگه یه compact frame work 3.5 پیدا نکرده و نشده بنصبه!
به نظر دوستان دلیل این موضوع چیه؟

Amir Oveisi
دوشنبه 24 آبان 1389, 18:12 عصر
دات نت 4 روی xp sp3 باید اجرا بشه و مشکلی نداشته باشه. xp سرویس پک چنده؟

5mmmmm
دوشنبه 24 آبان 1389, 18:15 عصر
دات نت 4 روی xp sp3 باید اجرا بشه و مشکلی نداشته باشه. xp سرویس پک چنده؟

سرویس پک 3

البته ویندوز پاور شل هم بهش گفتم نصبید ولی بازم کار نکرد

Amir Oveisi
دوشنبه 24 آبان 1389, 18:26 عصر
اگر خطا میده متن خطا رو اینجا بزارید تا بررسی کنیم

mxmostafa
یک شنبه 03 اردیبهشت 1391, 13:09 عصر
سلام منم مشکل این دوستون رو دارم
ویندوزم ایکس پی سرویس پک 3 فریم ورک 3.5
برنامه تو 7 راحت اجرا میشه ولی تو ایکس پی این ارور رو می ده
http://www.pic1.iran-forum.ir/images/up3/79204153002171789277.jpg
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)) ---> System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateI nstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(G uid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(Stri ng license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Gui d clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at SERVER.Form1.InitializeComponent()
at SERVER.Form1..ctor()
--- End of inner exception stack trace ---
at SERVER.My.MyProject.MyForms.Create__Instance__[T](T Instance)
at SERVER.My.MyProject.MyForms.get_Form1()
at SERVER.login.login_Activated(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnActivated(EventArgs e)
at System.Windows.Forms.Form.set_Active(Boolean value)
at System.Windows.Forms.Form.WmActivate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.O nMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.W ndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SERVER
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Apps/2.0/K19L71YX.93O/1A0HDV3T.HHT/serv..tion_be16382987b76d43_0001.0000_ce6639843dab a377/SERVER.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
Winsock2005DLL
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Apps/2.0/K19L71YX.93O/1A0HDV3T.HHT/serv..tion_be16382987b76d43_0001.0000_ce6639843dab a377/Winsock2005DLL.DLL
----------------------------------------
AxInterop.Neon_Date_Component
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Apps/2.0/K19L71YX.93O/1A0HDV3T.HHT/serv..tion_be16382987b76d43_0001.0000_ce6639843dab a377/AxInterop.Neon_Date_Component.DLL
----------------------------------------
AxInterop.AE_Clock
Assembly Version: 20.0.0.0
Win32 Version: 20.0.0.0
CodeBase: file:///C:/Documents%20and%20Settings/Administrator/Local%20Settings/Apps/2.0/K19L71YX.93O/1A0HDV3T.HHT/serv..tion_be16382987b76d43_0001.0000_ce6639843dab a377/AxInterop.AE_Clock.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (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 computer
rather than be handled by this dialog box.

سوداگر
پنج شنبه 07 اردیبهشت 1391, 15:27 عصر
دوست عزیز چند بار تا حالا گفته شده .Net FrameWork نسخه 4 روی ویندوز xp نصب نمیشه
:متعجب:
.NET Framework 4.0 is supported on the following Windows XP related OS:

Windows XP Home Edition SP3
Windows XP Professional SP3
==========================
جواب سایت رسمی مایکروسافت (http://social.msdn.microsoft.com/Forums/en/netfxsetup/thread/7a49337b-e519-4208-8af5-2416980826e3) بود!

hamed_hossani
پنج شنبه 07 اردیبهشت 1391, 17:30 عصر
من همین مشک رو دارم
میخام تبدیل سرویس پک 3 رو دانلود کنم و سرویس پک ویندوز ره به 3 ارتقا بدم قبلا 2 بوده
http://xpsp.dlservice.microsoft.com/download/d/3/0/d30e32d8-418a-469d-b600-f32ce3edf42d/WindowsXP-KB936929-SP3-x86-ENU.exe

hamed_hossani
یک شنبه 10 اردیبهشت 1391, 17:02 عصر
جواب ندادن شاید به خاطر مشکل دیتا بیس باشه!

PetekDincos
یک شنبه 10 اردیبهشت 1391, 17:29 عصر
با سلام
شما می توانید با نصب Windows Imaging Component,Windows Installer 3.1 or higher دات نت فریم ورک 4 را بر روی Win XP SP 2 نیز نصب نمایید با تشکر