Windows Vista Problem
Posted: Sun May 15, 2011 12:46 am
hi
after we moved from windows XP to Windows Vista we facing this Error in All Our report Pages
after we moved from windows XP to Windows Vista we facing this Error in All Our report Pages
the error accure in this point[FileNotFoundException: تعذر تحميل الملف أو التجميع 'System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' أو أحد التبعيات الخاصة به. يتعذر على النظام العثور على الملف المحدد.]
Reports.MgrApprove.InitializeComponent() +0
Reports.MgrApprove..ctor() +19
[TargetInvocationException: تم طرح استثناء بواسطة هدف استدعاء.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
Stimulsoft.Base.StiActivator.CreateObject(Type type) +13
Stimulsoft.Report.StiReport.GetReportsFromAssembly(Assembly assembly) +263
Stimulsoft.Report.StiReport.GetReportFromAssembly(Stream assemblyStream) +218
Stimulsoft.Report.StiReport.GetReportFromAssembly(String assemblyFile, Boolean lockFile) +290
Stimulsoft.Report.StiReport.GetReportFromAssembly(String assemblyFile) +27
HRIS.mgrapprove.Page_Load(Object sender, EventArgs e) in C:\Special\Human Resurce Information System\HRIES\HRIES\rpt\mgrapprove.aspx.cs:97
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
how we can solve this problem ?StiReport report = StiReport.GetReportFromAssembly(sFullFileName);