TypeInitializationException

Post Author: JoeTek
CA Forum: Crystal Reports
I have an app that I recently released written in C# in Visual Studio .net 2005.  It is a WinForms app that has a feature to create simple reports and uses the Crystal Reports that ships with Visual Studio .net and displays the report in a CrystalReportViewer control.  My installation is a Windows Installer created in Installshield 12 which includes the CrystalDecisionsRedist2005_x86 merge module.   It seems to work fine except I have one customer who when he tries to display a report gets a popup window with the following error:Error launching Crystal Reports. Error: System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw and exception. --->CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports Runtime.Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly  Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (....)This is followed by the stack trace. The user was previously able to display a report with my app but obviously something changed.  I sent him the CRRedist2005_x86.msi that ships with the .net framework sdk to reinstall the crystal files and he ran it but still has the same issue. I'm not sure what to try next and any help would be greatly appreciated.

Hi,
In the list of variable values, I guess that you miss to post UserPrincipalName.
And please make sure the snap-in Microsoft.Exchange.Management.PowerShell.E2010 is installed on this machine.
In regedit, check the following entry is in there
HKEY_LOCAL_MACHINE\SOFTWARE\MicrosoftPowerShell\1\PowerShell\SnapIns –Microsoft.Exchange.Management.PowerShell.E2010
In addition, please make sure the Active Directory Web Services in running on DC.
Best Regards.
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Lynn-Li
TechNet Community Support

Similar Messages

  • TypeInitializationException was unhandled

    Hello,
    I was able to successfully compile this program, but received this error message when trying to debug. 
    Can anyone provide any help or advice on how to best go about resolving this?
    Kenny

    Hi Kenny,
    It showed the exception window since we enabled the exception thrown under Debug->Exception window.
    But the real issue would be related to your project code.
    Reference:
    http://stackoverflow.com/questions/4110168/c-sharp-error-when-i-try-to-compile 
    http://stackoverflow.com/questions/5179156/system-typeinitializationexception-was-unhandled
    Like above two cases, you would look at the detailed inner exception to find out where the real problem is.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Lenovo System Update 5.0.3 failes to download packages

    Hello, 
    SU shows an error dialog saying "An error occurred while downloading packages.".
    I reinstalled SU and Solution Center and updated BIOS. But it still does not work...
    I checked several posts in this community.
    System Update fails to download updates
    Lenovo System Update 5.03 on T430u doesn't report software updates
    And I knew that tvsu_log_xxx.txt has important information for debugging.
    It turned out that SU failed to download "HelloLevel_9_08_00.xml" for the following reason.
    "An error ocurred while setting the digital certificates for this download"
    What is this? Do the digital certificates mean SSL certificate?
    Anyone know how to solve this?
    Regards,
    Yusuke Yamasaki
    systeminfo
    OS Name: Microsoft Windows 7 Professional
    OS Version: 6.1.7601 Service Pack 1 Build 7601
    System Manufacturer: LENOVO
    System Model: 20ANCTO1WW
    System Type: x64-based PC
    Processor(s): 1 Processor(s) Installed.
    [01]: Intel64 Family 6 Model 60 Stepping 3 GenuineIntel ~2701 Mhz
    BIOS Version: LENOVO GLET65WW (2.19 ), 2014/01/14
    tvsu_log_140219182345.txt
    [Lenovo System Update build: 2013-10-31 5.03.0008] 2014/02/19 18:23:45
    Info 2014-02-19 , 06:23:45
    場所 Tvsu.Environment.EnvironmentManager..ctor()
    Message: Starting Environment Manager...
    Info 2014-02-19 , 06:23:45
    場所 Tvsu.Nls.NlsResources..ctor()
    Message: Starting the instance of NLS@Runtime
    Info 2014-02-19 , 06:23:46
    場所 Tvsu.Nls.NlsResources..ctor()
    Message:
    The active language is: JP
    The default language is: JP
    The OS language is: JP
    The language loaded type is: OS
    Severe 2014-02-19 , 06:23:46
    場所 Tvsu.Sdk.SuSdk.StartApplication()
    Message: Application runs with the framework: 4.0.30319.18444
    Info 2014-02-19 , 06:23:46
    場所 Tvsu.Engine.DataBase.InitializeDataBase()
    Message: Initializing the DataBase from file: updates.ser
    Info 2014-02-19 , 06:23:46
    場所 Tvsu.Sdk.SuSdk.StartApplication()
    Message: Starting the Application
    Info 2014-02-19 , 06:23:46
    場所 Tvsukernel.Logic.GUIController.StartGUI(Boolean showsplash)
    Message: Starting GUI...
    Info 2014-02-19 , 06:23:46
    場所 Tvsukernel.Logic.GUIController.StartGUI(Boolean showsplash)
    Message: MainFrame created successfully
    Info 2014-02-19 , 06:23:46
    場所 Tvsukernel.Logic.GUIController.StartGUI(Boolean showsplash)
    Message: GUI -- Welcome screen
    Info 2014-02-19 , 06:23:46
    場所 Tvsukernel.Logic.GUIController.BackToMain()
    Message: Setting Welcome screen...
    Info 2014-02-19 , 06:23:46
    場所 Tvsukernel.FlowScreens.MainFrame.SetScreen(String screen, RoutedEventHandler[] eh)
    Message: Loading Welcome screen on Action pane.
    Info 2014-02-19 , 06:23:50
    場所 Tvsukernel.Logic.GUIController.SearchUpdates(Object sender, EventArgs args)
    Message: Starting the Search process...
    Info 2014-02-19 , 06:23:50
    場所 Tvsukernel.FlowScreens.MainFrame.SetScreen(String screen, RoutedEventHandler[] eh)
    Message: Loading Search screen on Action pane.
    Info 2014-02-19 , 06:23:50
    場所 Tvsukernel.Logic.ProgressThread.InitSearch()
    Message: GUI -- Reporting progress for the Search
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Sdk.SuSdk.GetSystemProperties()
    Message: Get the System Properties
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Task.Task.StartExecution()
    Message: PreTask
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Task.Task.StartExecution()
    Message: Start
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Task.Task.Start()
    Message: Starting the task
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Task.Task.Start()
    Message: The current process is:HelloProcess
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Task.Task.Start()
    Message: Executing the PreProcess HelloProcess
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Task.Task.Start()
    Message: Executing the StartProcess HelloProcess
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Process.HelloProcess.DownloadHelpFile()
    Message: The chm help file is already present in the system
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Process.HelloProcess.Start()
    Message: The test.properties file was not found, the normal Hello process will continue.
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Process.HelloProcess.Start()
    Message: HelloProcess Started
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Process.HelloProcess.Start()
    Message: Client level: HelloLevel_9_08_00
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Process.HelloProcess.DownloadUDF(String helloClientLevel)
    Message: The UDF will be downloaded from: https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_08_00.xml
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Process.HelloProcess.DownloadUDF(String helloClientLevel)
    Message: The UDF will be downloaded to-> C:\ProgramData\Lenovo\SystemUpdate\session\system\SSClientCommon\HelloLevel_9_08_00.xml
    Info 2014-02-19 , 06:23:50
    場所 Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()
    Message: Setting PROCESSING status.
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.ConnectionSettings.ConnectionSettings.GetConnectionForURL(String url)
    Message: Creating a new Connection Settings Bean instance to Host: download.lenovo.com
    Info 2014-02-19 , 06:23:50
    場所 Tvt.ConnectionSettings.ConnectionSettings.GetConnectionForURL(String url)
    Message: Direct connection found
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.FileDownloader.HttpsDownload.SetCertificates()
    Message: Setting certificates...
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.FileDownloader.HttpsDownload.SetCertificates()
    Message: An error ocurred while setting the digital certificates for this download
    Exception:
    Message: 'System.Net.ServicePointManager' のタイプ初期化子が例外をスローしました。
    Type: System.TypeInitializationException
    場所 System.Net.ServicePointManager.set_CertificatePolicy(ICertificatePolicy value)
    場所 Tvsu.FileDownloader.HttpsDownload.SetCertificates()
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.FileDownloader.HttpsDownload.StartDownload(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    Message: An exception ocurred while downloading https://download.lenovo.com/ibmdl/pub/pc/pccbbs/agent/SSClientCommon/HelloLevel_9_08_00.xml
    Status set to FAILED
    Exception:
    Message: 構成システムを初期化できませんでした。
    Type: System.Configuration.ConfigurationErrorsException
    場所 Tvsu.FileDownloader.HttpsDownload.doDownloadByHttps(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    場所 Tvsu.FileDownloader.HttpsDownload.StartDownload(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.FileDownloader.GeneralDownloader.Download(FileToDownloadBean bean, downloadingDelegate downDelegate)
    Message: Some error occurred in download module :
    Exception:
    Message: 構成システムを初期化できませんでした。
    Type: System.Configuration.ConfigurationErrorsException
    場所 Tvsu.FileDownloader.HttpsDownload.StartDownload(FileDownloadInfo fileInfo, downloadingDelegate downDelegate)
    場所 Tvsu.FileDownloader.GeneralDownloader.Download(FileToDownloadBean bean, downloadingDelegate downDelegate)
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Process.HelloProcess.Start()
    Message: UDF download status is -> Failed
    Severe 2014-02-19 , 06:23:50
    場所 Tvsu.Engine.Process.HelloProcess.Start()
    Message: Could't connect to the HelloServer, no UDF file was downloaded
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Egather.EgatherManager.GetEgatherParser(String type)
    Message: Running egather minimal.....
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Egather.EgatherExecutor.RunAsWindowsService(String directory, String command, String arguments)
    Message: /execute ia.exe /arguments -filename"""C:\Program Files (x86)\Lenovo\System Update\egather\sysrecomin""" -probes REGIONAL_SETTINGS GATHERER_INFORMATION SYSTEM_SUMMARY -local /directory C:\Program Files (x86)\Lenovo\System Update\egather\ /type COMMAND /timeout 300000
    Info 2014-02-19 , 06:23:50
    場所 Tvsu.Egather.EgatherExecutor.RunAsWindowsService(String directory, String command, String arguments)
    Message: FileName Path: C:\Program Files (x86)\Lenovo\System Update\TvsuCommandLauncher.exe
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Egather.EgatherExecutor.ExecuteEgather(String fileOutput, String args)
    Message: RC eGatherer: 0
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Process.HelloProcess.Start()
    Message: MTM received from eGather: 20ANCTO1WW
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Process.HelloProcess.Start()
    Message: Data to be set in the Environment Manager to use with Quest:
    QOS (Quest OS): Windows 7
    QOSLang (Quest language): JP
    MTM: 20ANCTO1WW
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.Start()
    Message: Executing the PostProcess HelloProcess
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.Start()
    Message: The process HelloProcesshas been finished.
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.StartExecution()
    Message: PostTask
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Sdk.SuSdk.GetSystemProperties()
    Message: Return the System Properties
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Sdk.SuSdk.GetApplicableUpdates(searchingFolderDelegate spd, showErrMsgDelegate sed)
    Message: Get Applicable Updates
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.StartExecution()
    Message: PreTask
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.StartExecution()
    Message: Start
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.Start()
    Message: Starting the task
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.Start()
    Message: The current process is:HelpCenterQuestProcess
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.Start()
    Message: Executing the PreProcess HelpCenterQuestProcess
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Task.Task.Start()
    Message: Executing the StartProcess HelpCenterQuestProcess
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Process.HelpCenterQuestProcess.LaunchEgather()
    Message: Launching Egather
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Egather.EgatherManager.GetEgatherParser(String type)
    Message: Running egather complete.....
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Process.HelpCenterQuestProcess.LaunchHelpCenterProcess()
    Message: Launching HelpCenter
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Egather.EgatherExecutor.RunAsWindowsService(String directory, String command, String arguments)
    Message: /execute ia.exe /arguments -filename"""C:\Program Files (x86)\Lenovo\System Update\egather\sysreco""" -silent -local -section SYSTEM_SUMMARY REGIONAL_SETTINGS SMBIOS_INFORMATION Firmware_Information Installed_Software SMBIOS_INFORMATION DEVICE_DRIVERS_AND_SERVICES IDE_DEVICE_INFORMATION DEVICE_MANAGER_SETTINGS -p device_manager enable_hardwareid /directory C:\Program Files (x86)\Lenovo\System Update\egather\ /type COMMAND /timeout 300000
    Info 2014-02-19 , 06:23:51
    場所 Tvsu.Egather.EgatherExecutor.RunAsWindowsService(String directory, String command, String arguments)
    Message: FileName Path: C:\Program Files (x86)\Lenovo\System Update\TvsuCommandLauncher.exe
    Severe 2014-02-19 , 06:23:51
    場所 Tvsu.Engine.Process.HelpCenterQuestProcess.LaunchHelpCenterProcess()
    Message: An error ocurred while contacting the help center
    Exception:
    Message: 構成システムを初期化できませんでした。
    Type: System.Configuration.ConfigurationErrorsException
    場所 System.Configuration.ConfigurationManager.PrepareConfigSystem()
    場所 System.Configuration.ConfigurationManager.GetSection(String sectionName)
    場所 System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
    場所 System.Net.Configuration.WebRequestModulesSectionInternal.GetSection()
    場所 System.Net.WebRequest.get_PrefixList()
    場所 System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
    場所 System.Net.WebRequest.Create(String requestUriString)
    場所 Tvsu.Engine.Process.HelpCenterQuestProcess.IfModifiedSince(String url, DateTime dtSince, DateTime& dtActual)
    場所 Tvsu.Engine.Process.HelpCenterQuestProcess.DownloadCatalogDescriptorFile()
    場所 Tvsu.Engine.Process.HelpCenterQuestProcess.LaunchHelpCenterProcess()
    Info 2014-02-19 , 06:23:51
    場所 Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()
    Message: Setting DONE status.
    Info 2014-02-19 , 06:23:51
    場所 Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()
    Message: Setting PROCESSING status.
    Info 2014-02-19 , 06:23:52
    場所 Tvsu.Engine.Task.Task.Start()
    Message: Executing the PostProcess HelpCenterQuestProcess
    Severe 2014-02-19 , 06:23:52
    場所 Tvsu.Engine.Task.Task.StartExecution()
    Message: An error occurred while the task: ApplicableUpdatesTask executed the process: HelpCenterQuestProcessthe message from exception is種類 'Tvt.FileDownloader.DownloadException' の例外がスローされました。
    Exception:
    Message: 種類 'Tvt.FileDownloader.DownloadException' の例外がスローされました。
    Type: Tvt.FileDownloader.DownloadException
    場所 Tvsu.Engine.Task.Task.Start()
    場所 Tvsu.Engine.Task.Task.StartExecution()
    Info 2014-02-19 , 06:23:52
    場所 Tvsukernel.CustomControls.Step.<>c__DisplayClass7.<set_Image>b__6()
    Message: Setting FAILED status.
    Info 2014-02-19 , 06:23:52
    場所 Tvsukernel.Logic.GUIController.ShowErrorMessage(Exception e)
    Message: Error while downloading packages.
    Exception:
    Message: 種類 'Tvt.FileDownloader.DownloadException' の例外がスローされました。
    Type: Tvt.FileDownloader.DownloadException
    場所 Tvsu.Engine.Task.Task.StartExecution()
    場所 Tvsu.Sdk.SuSdk.GetApplicableUpdates(searchingFolderDelegate spd, showErrMsgDelegate sed)
    場所 Tvsukernel.Logic.ProgressThread.InitSearch()
    Info 2014-02-19 , 06:23:52
    場所 Tvsukernel.Dialogs.Messages.ShowStaticMessage(String message, String title, MessageType t, Boolean check)
    Message: Showing ERROR Message: < パッケージのダウンロード中にエラーが発生しました。 >
    Info 2014-02-19 , 06:23:58
    場所 Tvsukernel.Logic.GUIController.BackToMain()
    Message: Setting Welcome screen...
    Info 2014-02-19 , 06:23:58
    場所 Tvsukernel.FlowScreens.MainFrame.SetScreen(String screen, RoutedEventHandler[] eh)
    Message: Loading Welcome screen on Action pane.
    Info 2014-02-19 , 06:23:58
    場所 Tvsu.Egather.EgatherExecutor.ExecuteEgather(String fileOutput, String args)
    Message: RC eGatherer: 0
    Info 2014-02-19 , 06:24:02
    場所 Tvsukernel.FlowScreens.MainFrame.cmContextHelpSUhelp_Click(Object sender, RoutedEventArgs e)
    Message: Context Help will be displayed.
    Info 2014-02-19 , 06:24:08
    場所 Tvsukernel.Logic.GUIController.AskBeforeClosing()
    Message: Close System Update?
    Info 2014-02-19 , 06:24:08
    場所 Tvsukernel.Dialogs.Messages.ShowStaticMessage(String message, String title, MessageType t, Boolean check)
    Message: Showing QUESTION Message: < 本当に System Update を終了しますか? >
    Info 2014-02-19 , 06:24:09
    場所 Tvsukernel.Logic.GUIController.AskBeforeClosing()
    Message: Application will close now? True
    Info 2014-02-19 , 06:24:09
    場所 Tvsukernel.FlowScreens.MainFrame.OnClosing(CancelEventArgs e)
    Message: User wanted to close System Update, or the package force a reboot.
    Severe 2014-02-19 , 06:24:09
    場所 Tvsu.Sdk.SuSdk.ShutDownApplication()
    Message: Has happened an exception while the UNCAuthenticator.Shutdown() was executedShare name can not be null or empty
    Info 2014-02-19 , 06:24:09
    場所 Tvsu.Engine.DataBase.ShutDownDataBase()
    Message: Shutting down the DataBase, saving any data into file: updates.ser
    Info 2014-02-19 , 06:24:09
    場所 Tvsu.Environment.EnvironmentManager.closeEM()
    Message: Closing Environment Manager.
    Info 2014-02-19 , 06:24:09
    場所 Tvsu.Sdk.SuSdk.ShutDownApplication()
    Message: Shut Down the Application
    Solved!
    Go to Solution.

    I'm having a similar problem with 5.0.5.  Whenever it gets to "Downloading Package Information", it will show "15% Lenovo Help Center" and it dies there.  Errors below in the log.  
    If I look at the XML file mentioned below, it's zero-length (empty).
    Severe 2014-04-01 , 05:43:14
    at Tvsu.Engine.Process.HelloProcess.Start()
    Message: Error reading C:\ProgramData\Lenovo\SystemUpdate\session\system\SSClientCommon\HelloLevel_9_09_00.xml, this XML file is not well-formed
    Exception:
    Message: Root element is missing.
    Type: System.Xml.XmlException
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlTextReaderImpl.Read()
    at System.Xml.XPath.XPathDocument.LoadFromReader(XmlReader reader, XmlSpace space)
    at System.Xml.XPath.XPathDocument..ctor(TextReader textReader)
    at Tvsu.Engine.Process.HelloProcess.ParseUDF(String udfPath)
    at Tvsu.Engine.Process.HelloProcess.Start()
    Severe 2014-04-01 , 05:43:17
    at Tvsu.Engine.Process.HelpCenterQuestProcess.LaunchHelpCenterProcess()
    Message: An error ocurred while contacting the help center
    Exception:
    Message: Index and length must refer to a location within the string.
    Parameter name: length
    Type: System.ArgumentOutOfRangeException
    at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
    at Tvsu.Engine.Process.HelpCenterQuestProcess.GetCatalogDescriptorFileName()
    at Tvsu.Engine.Process.HelpCenterQuestProcess.DownloadCatalogDescriptorFile()
    at Tvsu.Engine.Process.HelpCenterQuestProcess.LaunchHelpCenterProcess()
    Severe 2014-04-01 , 05:43:18
    at Tvsu.Engine.Task.Task.StartExecution()
    Message: An error occurred while the task: ApplicableUpdatesTask executed the process: HelpCenterQuestProcessthe message from exception isException of type 'Tvt.FileDownloader.DownloadException' was thrown.
    Exception:
    Message: Exception of type 'Tvt.FileDownloader.DownloadException' was thrown.
    Type: Tvt.FileDownloader.DownloadException
    at Tvsu.Engine.Task.Task.Start()
    at Tvsu.Engine.Task.Task.StartExecution()
    Info 2014-04-01 , 05:43:18
    at Tvsukernel.Logic.GUIController.ShowErrorMessage(Exception e)
    Message: Error while downloading packages.
    Exception:
    Message: Exception of type 'Tvt.FileDownloader.DownloadException' was thrown.
    Type: Tvt.FileDownloader.DownloadException
    at Tvsu.Engine.Task.Task.StartExecution()
    at Tvsu.Sdk.SuSdk.GetApplicableUpdates(searchingFolderDelegate spd, showErrMsgDelegate sed)
    at Tvsukernel.Logic.ProgressThread.InitSearch()
    Info 2014-04-01 , 05:43:18
    at Tvsukernel.Dialogs.Messages.ShowStaticMessage(String message, String title, MessageType t, Boolean check)
    Message: Showing ERROR Message: < An error occurred while downloading packages. >

  • I get a Debug error in SCOM 2012 R2 when i open the Active alerts Tab in Monitoring session

    Hi All,
    After Deployment of my SCOM 2012r2 when i open my Active alerts tab and Pending Management tab i get this Debug .NET frame work error as per the screen shot below. When i click continue i get the same error 3 times and SCOM Crashes.
    Can any one please help me out with this error.
    Screen shot:
    Below is the full content of the error:
    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException:
    Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Microsoft.EnterpriseManagement.Mom.Internal.UI.Knowledge.KnowledgeTransform' threw an exception. ---> System.IO.FileNotFoundException:
    Could not load file or assembly 'System.Data.SqlXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified.
       at System.Xml.Xsl.XslCompiledTransform.Load(XmlReader stylesheet)
       --- End of inner exception stack trace ---
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Controls.KnowledgeControl..ctor()
       at Microsoft.EnterpriseManagement.Mom.UI.StateDetailView.InitializeComponent()
       at Microsoft.EnterpriseManagement.Mom.UI.StateDetailView..ctor()
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at Microsoft.EnterpriseManagement.ConsoleFramework.ComponentFactory.CreateComponentWithDefaultConstructor(ConstructorInfo constructor, IContainer parentContainer, String componentName, EventHandler`1 componentInitializeProcedure)
       at Microsoft.EnterpriseManagement.ConsoleFramework.ComponentFactory.CreateComponent(Type componentType, IContainer parentContainer, String componentName, EventHandler`1 componentInitializeProcedure)
       at Microsoft.EnterpriseManagement.ConsoleFramework.FrameworkServices.ServiceTableRecord.CreateComponent(Type componentType, String componentName, EventHandler`1 componentInitializeProcedure)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWinformViewConstructor.CreateView(Object parent, Type viewType, IViewParameters viewParameters)
       at Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.CreateNonRecyclableView(ShowViewContext showViewContext)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.CreateAndShowViewCore(ShowViewContext showViewContext)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.ShowViewOperation.Begin(ShowViewContext showViewContext)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ViewDisplayController.BeginCreateDetailView()
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ViewDisplayController.SetCurrentViewState(ViewState state)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ViewDisplayController.OnCreateViewEnded(Object sender, CreateViewEndedEventArgs args)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ViewDisplay.OnCreateViewEnded(Object sender, CreateViewEndedEventArgs args)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Delegate.DynamicInvokeImpl(Object[] args)
       at System.Windows.RoutedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
       at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
       at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
       at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.NavigationViewHost.RaisedCreateViewEndedEvent(Object view, Object controller, Object parentView, IViewParameters viewParameters)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.Microsoft.EnterpriseManagement.ConsoleFramework.IViewActivator.BeginShow(ShowViewContext showViewContext, Object parent, Object view, AsyncCallback callback, Object
    state)
       at Microsoft.EnterpriseManagement.ConsoleFramework.ViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.CreateNonRecyclableView(ShowViewContext showViewContext)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.CreateAndShowViewCore(ShowViewContext showViewContext)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.ShowViewOperation.Begin(ShowViewContext showViewContext)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.GenericWpfViewConstructor.BeginShow(ShowViewContext showViewContext, AsyncCallback callback, Object state)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ConsoleViewDisplayService.OpenViewJob(Object sender, ConsoleJobEventArgs args)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ConsoleJobExceptionHandler.ExecuteJob(IComponent component, EventHandler`1 job, Object sender, ConsoleJobEventArgs args)
       at Microsoft.EnterpriseManagement.ConsoleFramework.ConsoleJobsService.RunJob(ConsoleJobDescription jobDescription)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowJobsService.RunJob(ConsoleJobDescription jobDescription)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowJobsService.RunJob(IComponent jobOwner, EventHandler`1 jobMethod, EventHandler`1 errorHandler, Object[] arguments)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowJobsService.RunJob(IComponent jobOwner, EventHandler`1 jobMethod, Object[] arguments)
       at Microsoft.EnterpriseManagement.ConsoleFramework.WindowJobsService.RunJob(EventHandler`1 jobMethod, Object[] arguments)
       at Microsoft.EnterpriseManagement.ConsoleFramework.Wpf.ConsoleViewDisplayService.OpenView(String assemblyName, String typeName, String target, String item, String criteria, Object[] arguments)
       at Microsoft.EnterpriseManagement.Monitoring.Console.Common.ConsoleDisplayWrapper.OpenView(String assemblyName, String typeName, String target, String item, String criteria, Object[] arguments)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.MomViewsDisplay.OpenMomView(IComponent component, ManagementPackView view, String target, String item)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.MonitoringPage.OpenSelectedView(Boolean useLastSelectionFallback)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.MonitoringPage.AfterNodeSelected(Object sender, TreeViewEventArgs e)
       at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
       at System.Windows.Forms.TreeView.WmNotify(Message& m)
       at System.Windows.Forms.TreeView.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
    Microsoft.EnterpriseManagement.Monitoring.Console
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Monitoring.Console.exe
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    Microsoft.EnterpriseManagement.Presentation.Core
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Core.DLL
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    PresentationFramework
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
    WindowsBase
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
    PresentationCore
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
    Microsoft.EnterpriseManagement.UI.ConsoleFramework
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.ConsoleFramework.DLL
    Microsoft.Practices.Prism.UnityExtensions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.0.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.Practices.Prism.UnityExtensions.DLL
    Microsoft.Practices.Prism
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.0.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.Practices.Prism.DLL
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    System.Xaml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Microsoft.EnterpriseManagement.Monitoring.Console.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.Monitoring.Console.resources.DLL
    Microsoft.EnterpriseManagement.UI.Foundation
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.Foundation.DLL
    System.ServiceModel
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
    SMDiagnostics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
    System.ServiceModel.Internals
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
    Microsoft.Practices.Unity
        Assembly Version: 2.0.414.0
        Win32 Version: 2.0.414.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.Practices.Unity.DLL
    Microsoft.EnterpriseManagement.Presentation.DataAccess
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.DataAccess.DLL
    Microsoft.EnterpriseManagement.Presentation.Security
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Security.DLL
    Microsoft.EnterpriseManagement.CompositionEngine
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.CompositionEngine.DLL
    Microsoft.EnterpriseManagement.Presentation.Tuneup
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Tuneup.DLL
    Microsoft.EnterpriseManagement.Monitoring.Components
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Monitoring.Components.DLL
    Microsoft.EnterpriseManagement.Monitoring.DataProviders
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Monitoring.DataProviders.DLL
    Microsoft.EnterpriseManagement.Management.DataProviders
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Management.DataProviders.DLL
    Microsoft.EnterpriseManagement.Presentation.DataProviders.Library
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.DataProviders.Library.DLL
    Microsoft.EnterpriseManagement.Presentation.Visual
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Visual.DLL
    Microsoft.EnterpriseManagement.Presentation.Controls
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Controls.DLL
    Microsoft.Practices.ServiceLocation
        Assembly Version: 1.0.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.Practices.ServiceLocation.DLL
    Anonymously Hosted DynamicMethods Assembly
        Assembly Version: 0.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
    Microsoft.EnterpriseManagement.Presentation.Visual.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.Presentation.Visual.resources.DLL
    Microsoft.EnterpriseManagement.Presentation.Controls.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.Presentation.Controls.resources.DLL
    PresentationFramework.Classic
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.classic/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.classic.dll
    System.ComponentModel.Composition
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.Composition/v4.0_4.0.0.0__b77a5c561934e089/System.ComponentModel.Composition.dll
    System.Runtime.Serialization
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
    Microsoft.EnterpriseManagement.Management.Transport
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Management.Transport.DLL
    Microsoft.EnterpriseManagement.CompositionEngine.Extensibility
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.CompositionEngine.Extensibility.DLL
    Microsoft.EnterpriseManagement.OperationsManager
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.EnterpriseManagement.OperationsManager/7.0.5000.0__31bf3856ad364e35/Microsoft.EnterpriseManagement.OperationsManager.dll
    Microsoft.EnterpriseManagement.Core
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.5.3070.0
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.EnterpriseManagement.Core/7.0.5000.0__31bf3856ad364e35/Microsoft.EnterpriseManagement.Core.dll
    Microsoft.EnterpriseManagement.UI.Console.Common
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.Console.Common.DLL
    Microsoft.Mom.UI.Components
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.Mom.UI.Components.DLL
    Microsoft.Mom.UI.Common
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.Mom.UI.Common.DLL
    Microsoft.Mom.Common
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.Mom.Common.DLL
    Microsoft.EnterpriseManagement.UI.Authoring
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.Authoring.DLL
    Microsoft.Mom.UI.Components.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.Mom.UI.Components.resources.DLL
    System.Runtime.Remoting
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    System.Reactive
        Assembly Version: 1.0.10425.0
        Win32 Version: 1.0.10425.1
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/System.Reactive.DLL
    System.IdentityModel
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.IdentityModel/v4.0_4.0.0.0__b77a5c561934e089/System.IdentityModel.dll
    Microsoft.VisualStudio.Diagnostics.ServiceModelSink
        Assembly Version: 4.0.0.0
        Win32 Version: 10.0.30319.1
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualStudio.Diagnostics.ServiceModelSink/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Diagnostics.ServiceModelSink.dll
    System.Web
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    System.Transactions
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
    System.EnterpriseServices
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    Microsoft.EnterpriseManagement.UI.ConsoleFramework.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.UI.ConsoleFramework.resources.DLL
    Microsoft.EnterpriseManagement.UI.Administration
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.Administration.DLL
    Microsoft.Mom.UI.Common.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.Mom.UI.Common.resources.DLL
    Microsoft.EnterpriseManagement.UI.Console.Common.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.UI.Console.Common.resources.DLL
    WindowsFormsIntegration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
    Microsoft.EnterpriseManagement.UI.Controls
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.Controls.DLL
    Microsoft.EnterpriseManagement.UI.ViewFramework
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.ViewFramework.DLL
    PresentationFramework.Aero
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
    Microsoft.EnterpriseManagement.UI.Controls.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.UI.Controls.resources.DLL
    UIAutomationTypes
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
    PresentationFramework-SystemXml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
    UIAutomationProvider
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
    PresentationFramework-SystemCore
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll
    Microsoft.EnterpriseManagement.UI.Reporting
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.Reporting.DLL
    Microsoft.Mom.Isam.Interop
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.Mom.Isam.Interop.DLL
    Microsoft.EnterpriseManagement.Core.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.5.3070.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.Core.resources.DLL
    System.Data
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    Microsoft.EnterpriseManagement.Runtime
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.EnterpriseManagement.Runtime/7.0.5000.0__31bf3856ad364e35/Microsoft.EnterpriseManagement.Runtime.dll
    Microsoft.EnterpriseManagement.UI.WizardFramework
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.UI.WizardFramework.DLL
    Microsoft.EnterpriseManagement.Monitoring.UnitComponents
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Monitoring.UnitComponents.DLL
    Microsoft.EnterpriseManagement.Presentation.DataAccess.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.Presentation.DataAccess.resources.DLL
    Microsoft.EnterpriseManagement.UI.Reporting.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.UI.Reporting.resources.DLL
    Microsoft.EnterpriseManagement.UI.Administration.resources
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/en/Microsoft.EnterpriseManagement.UI.Administration.resources.DLL
    PresentationFramework-SystemData
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemData/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemData.dll
    System.Numerics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
    Microsoft.SystemCenter.Advisor.Common
        Assembly Version: 7.0.5000.9
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Core.dll
    Microsoft.SystemCenter.Advisor.UI
        Assembly Version: 7.0.5000.9
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Core.dll
    Microsoft.EnterpriseManagement.DiagramFx
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3840.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.DiagramFx.DLL
    Microsoft.SystemCenter.Advisor.UI.resources
        Assembly Version: 7.0.5000.9
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Core.dll
    Microsoft.EnterpriseManagement.Monitoring.SyntheticTransaction.UnitComponents.Wpf
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Core.dll
    Microsoft.EnterpriseManagement.Monitoring.ServiceLevel.Components
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Core.dll
    Microsoft.SystemCenter.Visualization.Component.Library.WPF
        Assembly Version: 7.0.5000.0
        Win32 Version: 7.1.10226.0
        CodeBase: file:///D:/Program%20Files/Microsoft%20System%20Center%202012%20R2/Operations%20Manager/Console/Microsoft.EnterpriseManagement.Presentation.Core.dll
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Microsoft.ReportViewer.WinForms
        Assembly Version: 11.0.0.0
        Win32 Version: 11.0.2100.60 ((SQL11_RTM).120210-1846 )
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.ReportViewer.WinForms/11.0.0.0__89845dcd8080cc91/Microsoft.ReportViewer.WinForms.dll
    System.Web.Services
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.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.
    ============================
    Crash error and details:
    Error content:
    Problem signature:
      Problem Event Name: CLR20r3
      Problem Signature 01: 35IX4XXD43DM0DHGBOU3ZAVYZVCIPHYK
      Problem Signature 02: 7.1.10226.0
      Problem Signature 03: 522a58ed
      Problem Signature 04: mscorlib
      Problem Signature 05: 4.0.30319.17929
      Problem Signature 06: 4ffa57ca
      Problem Signature 07: 2aa4
      Problem Signature 08: 34
      Problem Signature 09: N3CTRYE2KN3C34SGL4ZQYRBFTE4M13NB
      OS Version: 6.1.7601.2.1.0.400.8
      Locale ID: 16393
      Additional Information 1: eb61
      Additional Information 2: eb613b33a7a25e3daead266f07bfdeb7
      Additional Information 3: 4405
      Additional Information 4: 4405e15216fd9fb173e974fe92b73f89
    Read our privacy statement online:
      http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
    If the online privacy statement is not available, please read our privacy statement offline:
      C:\Windows\system32\en-US\erofflps.txt
    ==============================================================

    Hi,
    Just several ideas to be checked:
    1. Please, verify the prerequisites of Operations Console listed by the following link:
    http://technet.microsoft.com/en-us/library/dn249696.aspx
    2. Install all the SCOM related system updates.
    3. Clear SCOM Console cache:
    http://systemcenter.no/?p=215
    4. Try to clean up Ops Manager cache on SCOM Management server. To do this stop Microsoft Monitoring Agent service, navigate to SCOM installation path (by default, C:\Program Files\Microsoft System Center 2012 R2\Operations Manager\Server) and
    delete Health Service State folder. Start Microsoft Monitoring Agent service afterwards.
    5. If nothing helps, maybe try to reinstall SCOM Console.
    Igor Savchenko, VIAcode Consulting LLC (http://www.viacode.com/)

  • Problem with installing Visual Studio on Windows 8

    Hi
     I am disappointed to buy windows 8 based machine. I installed visual studio 2013 on Windows 7 machine and it was compiling well
    But i installed same on my windows 8 machine. But i am not able to compile simple program
    Below is program
    #include<stdio.h>
    int main()
    printf("Hello World");
    return 0;
    I am getting below error
    Error 1
    error MSB4018: The "CL" task failed unexpectedly.
    System.TypeInitializationException: The type initializer for 'Microsoft.Build.Utilities.FileTracker' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.Build.Utilities.FileTracker..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.Build.CPPTasks.CL.ComputeOutOfDateSources()
       at Microsoft.Build.CPPTasks.TrackedVCToolTask.SkipTaskExecution()
       at Microsoft.Build.Utilities.ToolTask.Execute()
       at Microsoft.Build.CPPTasks.TrackedVCToolTask.Execute()
       at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
       at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets
    341 5
    ConsoleApplication1
    This is strange.
    Please help here
    thanks
    regards
    Sobin

    Error 1 error MSB4018: The "CL" task failed unexpectedly.
    System.TypeInitializationException: The type initializer for 'Microsoft.Build.Utilities.FileTracker' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object.
    See if this thread helps:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/bbe9aa98-42de-4bf8-bce8-8b2ab4fd16ad/msbuild-error-msb4018-with-vs2012-update-1?forum=msbuild
    When in doubt, put some of the key words from the error into your
    favourite search engine.
    Dave

  • Report Document Preview Error

    Hi All,
    Please how do i resolve this following  error:
    The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    This comes up when i run my application online but doesn't occur when i run it during design.
    The application was developed with VS2010 with Crystal Report 2010, and hosted on a 64bit Window server 2008 Server.
    I have installed the both VS2010 and Crystal Report on the server with no result.
    Anyone, Everyone, please help.
    KayMan

    Hi Ludek
    I disabled the error traps in the app and this what the error reported in full. Any clue?
    Server Error in '/zamfara' Application.
    Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically \ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
    To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
    Source Error:
    Line 41:         datAdapter.Fill(dsSet, SelectTable)
    Line 42:
    Line 43:         Dim CRS As New ReportDocument
    Line 44:         CRS.Load(ReportName)
    Line 45:         CRS.SetDatabaseLogon("sa", "Kayuzz1*")
    Source File: C:\inetpub\vhosts\estarsnet.net\httpdocs\zamfara\ReportPage.aspx.vb    Line: 43
    Stack Trace:
    [UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +193
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +44
       ReportPage.Page_Load(Object sender, EventArgs e) in C:\inetpub\vhosts\estarsnet.net\httpdocs\zamfara\ReportPage.aspx.vb:43
       System.Web.UI.Control.OnLoad(EventArgs e) +91
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

  • Crystal report not working on a client pc

    Hi Everyone,
    I have developed windows application in vb 2012 which will bind data from ms access in crystal report. My windows application is running fine on local machine where i installed vs2012 but when i create a setup an installed it on the local machine it is giving
    this error
    'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine error
    and when i install on a client machine it is giving me the following error,
    System.TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw
    an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the
    file specified.
       at CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor()
    Anyone faced same error ?? Please suggest.

    Also for 3rd party software usually contacting the vendor for assistance is recommended. Especially since Crystal Reports are not supported by Microsoft. The search engine or appropriate forum at the below link should be able to assist you.
    SAP Crystal Reports, version for Visual Studio
    Please BEWARE that I have NO EXPERIENCE and NO EXPERTISE and probably onset of DEMENTIA which may affect my answers! Also, I've been told by an expert, that when you post an image it clutters up the thread and mysteriously, over time, the link to the image
    will somehow become "unstable" or something to that effect. :) I can only surmise that is due to Global Warming of the threads.

  • Unable to load DLL 'OraOps10w.dll': Access is denied.

    Below is our error message. This happens around 5 - 7AM daily, and we are struggling with identifying the root cause. It's hard for me to believe it's code related, but anything's possible. Still, what's odd is the app runs fine for a day then an IIS reset is done and everything is fixed. Is there any way this could be related to code and has anyone dealt with this error before? Could a job or some permission being run behind the scenes be using this same dll and cause it to be overwritten?
    Thanks, Bryan
    Timestamp: 3/4/2010 12:11:23 PM
    Message: HandlingInstanceID: 3d9a795c-1256-44c1-b018-f553d4023b12
    An exception of type 'System.TypeInitializationException' occurred and was caught.
    03/04/2010 07:11:23
    Type : System.TypeInitializationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : The type initializer for 'Oracle.DataAccess.Types.OracleDecimal' threw an exception.
    Source : Oracle.DataAccess
    Help link :
    TypeName : Oracle.DataAccess.Types.OracleDecimal
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void PostBind_Int32()
    Stack Trace : at Oracle.DataAccess.Client.OracleParameter.PostBind_Int32()
    at Oracle.DataAccess.Client.OracleParameter.PostBind(OracleConnection conn, OpoSqlValCtx* pOpoSqlValCtx, Int32 arraySize)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    at Oracle.DataAccess.Client.OracleCommandBuilder.DeriveParameters(OracleCommand command)
    at Microsoft.Practices.EnterpriseLibrary.Data.Odp.OdpDatabase.DeriveParameters(DbCommand discoveryCommand)
    at Microsoft.Practices.EnterpriseLibrary.Data.Database.DiscoverParameters(DbCommand command)
    Additional Info:
    MachineName : MISTERC
    TimeStamp : 3/4/2010 12:11:23 PM
    FullName : Microsoft.Practices.EnterpriseLibrary.ExceptionHandling, Version=2.0.0.0, Culture=neutral, PublicKeyToken=3f0a163eed2abd49
    ThreadIdentity :
    WindowsIdentity : NT AUTHORITY\NETWORK SERVICE
    Inner Exception
    Type : System.DllNotFoundException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : Unable to load DLL 'OraOps10w.dll': Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
    Source : Oracle.DataAccess
    Help link :
    TypeName :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Int32 AllocValCtxFromNoFmtStr(System.String, IntPtr ByRef)
    Stack Trace : at Oracle.DataAccess.Types.OpsDec.AllocValCtxFromNoFmtStr(String numStr, IntPtr& numCtx)
    at Oracle.DataAccess.Types.OracleDecimal.GetMaxValue()
    at Oracle.DataAccess.Types.OracleDecimal..cctor()

    Thanks a lot.
    I give permissions to ASP.NET account in directory C:\Oracle\product\10.2.0\client_4 (full control) and the application running ok.

  • EXCH 2010 auto account creation fails after rollup 4 for sp 3

    We use a PowerShell script to automatically generate student accounts when they register. It was working fine until the other night when we applied updates (I can supply the entire list if needed.) Rollup 4 was one of the updates. Now when the script
    runs, it creates the first account in the list and then throws the error:
    The type initializer for 'Microsoft.Exchange.Diagnostics.ExTraceConfiguration' threw an exception.
        + CategoryInfo          : OperationStopped: (System.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) [], PSRe
       motingTransportException
        + FullyQualifiedErrorId : JobFailure
    In the event log the following two errors are generated:
     Log Name:      Application
    Source:        Windows Error Reporting
    Date:          2/19/2014 8:37:51 AM
    Event ID:      1001
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      <myservername>.lhup.edu
    Description:
    Fault bucket , type 0
    Event Name: PowerShell
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: powershell.exe
    P2: 6.1.7601.17514
    P3: System.NullReferenceException
    P4: System.TypeInitializationException
    P5: unknown
    P6: oft.Exchange.Diagnostics.SystemTraceControl.Update
    P7: unknown
    P8:
    P9:
    P10:
    Attached files:
    These files may be available here:
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: c8a838b5-996a-11e3-8362-005056b67715
    Report Status: 0
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Error Reporting" />
        <EventID Qualifiers="0">1001</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-02-19T13:37:51.000000000Z" />
        <EventRecordID>4104059</EventRecordID>
        <Channel>Application</Channel>
        <Computer>mail2.lhup.edu</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>PowerShell</Data>
        <Data>Not available</Data>
        <Data>0</Data>
        <Data>powershell.exe</Data>
        <Data>6.1.7601.17514</Data>
        <Data>System.NullReferenceException</Data>
        <Data>System.TypeInitializationException</Data>
        <Data>unknown</Data>
        <Data>oft.Exchange.Diagnostics.SystemTraceControl.Update</Data>
        <Data>unknown</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>c8a838b5-996a-11e3-8362-005056b67715</Data>
        <Data>0</Data>
      </EventData>
    </Event>
    Log Name:      Application
    Source:        Windows Error Reporting
    Date:          2/19/2014 8:37:51 AM
    Event ID:      1001
    Task Category: None
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      <myservername>.lhup.edu
    Description:
    Fault bucket , type 0
    Event Name: PowerShell
    Response: Not available
    Cab Id: 0
    Problem signature:
    P1: powershell.exe
    P2: 6.1.7601.17514
    P3: System.NullReferenceException
    P4: System.TypeInitializationException
    P5: unknown
    P6: oft.Exchange.Diagnostics.SystemTraceControl.Update
    P7: unknown
    P8:
    P9:
    P10:
    Attached files:
    These files may be available here:
    C:\Users\Administrator.DOMAIN1\AppData\Local\Microsoft\Windows\WER\ReportArchive\Critical_powershell.exe_4fabcdf7532bfe17a44cd45b511ce052e7717_25de96ae
    Analysis symbol:
    Rechecking for solution: 0
    Report Id: c8a838b5-996a-11e3-8362-005056b67715
    Report Status: 0
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
      <System>
        <Provider Name="Windows Error Reporting" />
        <EventID Qualifiers="0">1001</EventID>
        <Level>4</Level>
        <Task>0</Task>
        <Keywords>0x80000000000000</Keywords>
        <TimeCreated SystemTime="2014-02-19T13:37:51.000000000Z" />
        <EventRecordID>4104058</EventRecordID>
        <Channel>Application</Channel>
        <Computer>mail2.lhup.edu</Computer>
        <Security />
      </System>
      <EventData>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>PowerShell</Data>
        <Data>Not available</Data>
        <Data>0</Data>
        <Data>powershell.exe</Data>
        <Data>6.1.7601.17514</Data>
        <Data>System.NullReferenceException</Data>
        <Data>System.TypeInitializationException</Data>
        <Data>unknown</Data>
        <Data>oft.Exchange.Diagnostics.SystemTraceControl.Update</Data>
        <Data>unknown</Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>
        </Data>
        <Data>C:\Users\Administrator.DOMAIN1\AppData\Local\Microsoft\Windows\WER\ReportArchive\Critical_powershell.exe_4fabcdf7532bfe17a44cd45b511ce052e7717_25de96ae</Data>
        <Data>
        </Data>
        <Data>0</Data>
        <Data>c8a838b5-996a-11e3-8362-005056b67715</Data>
        <Data>0</Data>
      </EventData>
    </Event>
    The report.wer file:
    Version=1
    EventType=PowerShell
    EventTime=130372905673297717
    ReportType=1
    Consent=1
    ReportIdentifier=c8a838b5-996a-11e3-8362-005056b67715
    Response.type=4
    Sig[0].Name=NameOfExe
    Sig[0].Value=powershell.exe
    Sig[1].Name=FileVersionOfSystemManagementAutomation
    Sig[1].Value=6.1.7601.17514
    Sig[2].Name=InnermostExceptionType
    Sig[2].Value=System.NullReferenceException
    Sig[3].Name=OutermostExceptionType
    Sig[3].Value=System.TypeInitializationException
    Sig[4].Name=DeepestPowerShellFrame
    Sig[4].Value=unknown
    Sig[5].Name=DeepestFrame
    Sig[5].Value=oft.Exchange.Diagnostics.SystemTraceControl.Update
    Sig[6].Name=ThreadName
    Sig[6].Value=unknown
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=6.1.7601.2.1.0.274.10
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1033
    UI[3]=powershell has stopped working
    UI[4]=Windows can check online for a solution to the problem.
    UI[5]=Check online for a solution and close the program
    UI[6]=Check online for a solution later and close the program
    UI[7]=Close the program
    FriendlyEventName=PowerShell
    ConsentKey=PowerShell
    AppName=powershell
    AppPath=C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
    My execution policy is currently set to unrestricted. The generation script follows:
    Import-Module ActiveDirectory
    Import-CSV c:\addusers\accounts.csv | % {
     $pass = ConvertTo-SecureString -AsPlainText $_.Password -Force
     New-Mailbox -Name $_.Name `
      -FirstName $_.FirstName `
      -LastName $_.LastName `
      -Initials $_.Initials `
      -Alias $_.Alias `
      -SamAccountName $_.SamAccountName `
      -UserPrincipalName $_.UserPrincipalName `
      -Password $pass `
      -ResetPasswordOnNextLogon:$True `
      -OrganizationalUnit $_.OrganizationalUnit `
      -Database $_.Database `
     Set-User -Identity $_.Name `
      -DisplayName $_.DisplayName `
      -Notes $_.Notes `
    Start-Sleep -s 30
     Set-ADuser -Identity $_.Alias `
      -homeDrive $_.homeDrive `
      -homeDirectory $_.homeDirectory `
      -scriptPath $_.scriptPath `
      -description $_.description `

    Hi James,
    did you fix this problem? We see the same behaviour running a script creating mail enabeled groups. This script worked fine before installing SP 3 rollup 4
    regards,
    Ruth

  • Exception of type java.lang.UnsatisfiedLinkError was thrown Anyone ?

    We are getting this exception when trying to run a very basic aspx. This project works across several other servers, after bringing a new server online, we are finding we get this exception. Below is the complete response from tcptrace.
    HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:28:31 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
    <html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
    <body bgcolor="white">
    <span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
    <h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    <br><br>
    <b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
    <b>Source Error:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code>
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</code>
    </td> </tr> </table>
    <br>
    <b>Stack Trace:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code><pre>
    [UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.] java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) +59 java.util.Locale..cctor() +1678
    [TypeInitializationException: The type initializer for "java.util.Locale" threw an exception.] java.lang.Float..ctor(String s) +214 com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87</pre></code>
    </td> </tr> </table>
    <br>
    <hr width=100% size=1 color=silver>
    <b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
    </font>
    </body></html><!-- [UnsatisfiedLinkError]: Exception of type java.lang.UnsatisfiedLinkError was thrown. at java.lang.ExceptionInInitializerError.checkAndThrowException(Throwable thrown) at java.util.Locale..cctor()[TypeInitializationException]: The type initializer for "java.util.Locale" threw an exception. at java.lang.Float..ctor(String s) at com.plumtree.remote.portlet.xp.XPSettingsManager.IsCSPVersionAtLeast(Double version) at com.plumtree.remote.portlet.xp.XPSettingsManager..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPSettingsFactory.getXPSettingsManager(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContext..ctor(IXPRequest request, IXPResponse response) at com.plumtree.remote.portlet.xp.XPPortletContextFactory.createPortletContext(IXPRequest req, IXPResponse resp) at Plumtree.Remote.Portlet.PortletContextFactory.CreatePortletContext(HttpRequest req, HttpResponse resp) at Com.Plumtree.Remote.Transformer.Condition.GatewayedStandardCondition.UseFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.FilterManager.UpdateFilter(HttpContext ctx) at Com.Plumtree.Remote.Transformer.PTTransformer.BeginRequestHandler(Object sender, EventArgs e) at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)-->HTTP/1.1 500 Internal Server ErrorServer: Microsoft-IIS/5.0Date: Tue, 24 Feb 2004 16:29:06 GMTX-Powered-By: ASP.NETX-AspNet-Version: 1.1.4322Cache-Control: privateContent-Type: text/html; charset=utf-8Content-Length: 5522
    <html> <head> <title>Exception of type java.lang.UnsatisfiedLinkError was thrown.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
    <body bgcolor="white">
    <span><H1>Server Error in '/PPAApps' Application.<hr width=100% size=1 color=silver></H1>
    <h2> <i>Exception of type java.lang.UnsatisfiedLinkError was thrown.</i> </h2></span>
    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    <b> Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    <br><br>
    <b> Exception Details: </b>java.lang.UnsatisfiedLinkError: Exception of type java.lang.UnsatisfiedLinkError was thrown.<br><br>
    <b>Source Error:</b> <br><br>
    <table width=100% bgcolor="#ffffcc"> <tr> <td> <code>

    This is the response I got from support:
    This is bug 22205 and will be fixed in the release of the Exchange Groupware Portlet Suite 3.0.4 at the end of April. The workaround in the interim is to copy the D:\Program Files\plumtree\jre folder from the installation CD (or another working portal server) onto the problem server. Please let me know if this resolves the issue for you. Neal Rapoporthttp://www.portalconsultant.com

  • Error in Crystal Reports Runtime for VS 2008

    Hi, everyone...
    I have an app that have some reports.
    On my DevMachine, works fine. But when I deploy in ServerMachine (Windows Server 2003 R2 64), the app fails when I try to access a page that have a Crystal Report component.
    Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 800736b1.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Runtime.InteropServices.COMException: Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 800736b1.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [COMException (0x800736b1): Retrieving the COM class factory for component with CLSID {5FF57840-5172-4482-9CA3-541C7878AE0F} failed due to the following error: 800736b1.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +207
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
       test.Page_Load(Object sender, EventArgs e) +999
       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
    I tried so many things, such as verify permissions, change registry and other stuff, without success.
    I have installed on my server machine, the correctly (I think) version of Crystal Runtime
    Please help me!
    Thanks..

    Yes..
    The app pool is running as 32bit... and the OS is 64bit..
    Actually, there is something that can help..
    Before this error appear (800736b1),
    other error (800002ad UNKNOWN.RPT) was appearing...
    After that I filled the property "TempDir" in the registry with a directory that had enough permissions,
    the (800736b1) began to show.
    Maybe you have the answer for this error (unknown.rpt)...
    I already read the document (UNKNOWN Crystal Reports for .NET Troubleshooting the Background Processing Error Message),
    but nothing in this document worked for me.
    Edited by: lukinha on Jun 20, 2011 6:29 PM

  • Could not load file or assembly 'log4net, Version=1.2.10.0

    Server Error in '/' Application.
    Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match
    the assembly reference. (Exception from HRESULT: 0x80131040)
    Source Error:
    Line 13: public partial class ReportViewer : System.Web.UI.Page
    Line 14: {
    Line 15: ReportDocument rptDocument = new ReportDocument();
    Line 16: ParameterDiscreteValue crtParamDiscreteValue = new ParameterDiscreteValue();
    Line 17: protected void Page_Load(object sender, EventArgs e)
    Source File: d:\WEBDATA\sriramcollege.com\Reports\ReportViewer.aspx.cs    Line:
    15
    Stack Trace:
    [FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
    CrystalDecisions.Shared.SharedUtils..cctor() +0
    [TypeInitializationException: The type initializer for 'CrystalDecisions.Shared.SharedUtils' threw an exception.]
    CrystalDecisions.Shared.SharedUtils.get_CurrentControl() +18
    CrystalDecisions.Shared.SharedUtils.GetEffectiveCulture() +8
    CrystalDecisions.CrystalReports.Engine.CREngineRes.GetString(String name) +10
    CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +143
    CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +159
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
    CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
    ReportViewer..ctor() in d:\WEBDATA\sriramcollege.com\Reports\ReportViewer.aspx.cs:15
    ASP.reports_reportviewer_aspx..ctor() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e63cc5e2\46d2498\App_Web_bvplj1td.0.cs:0
    __ASP.FastObjectFactory_app_web_bvplj1td.Create_ASP_reports_reportviewer_aspx() in c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\e63cc5e2\46d2498\App_Web_bvplj1td.2.cs:0
    System.Web.Compilation.BuildResultCompiledType.CreateInstance() +30
    System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) +100
    System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +31
    System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) +64
    System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +191
    System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +145
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155

    hi,
    this is not even c# question.
    anyhow, you have the same case as this one.
    https://social.msdn.microsoft.com/Forums/en-US/9223655f-0cbd-441e-86a6-d53f3fb37d48/could-not-load-file-or-assembly-log4net-version12100?forum=netfxbcl
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Crystal Reports 2008 Redistribution on 64 Bit Server

    I have a small application that uses Crystal Reports 2008 in not-integrated mode.  Meaning that the .rpt files are seperate from the web application and the web application has to know the absolute path to the .rpt files before it can run them.  My question is how do I deploy Crystal Reports 12 to a windows server 2003 x64 server?  I have installed the redist.msi and the reports won't work I keep getting the following error:
    Server Error in '/imacs' Application.
    An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime. Either the Crystal Reports registry key permissions are insufficient, or the Crystal Reports runtime is not installed correctly. Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument.CheckForCrystalReportsRuntime() +411
       CrystalDecisions.CrystalReports.Engine.ReportDocument..cctor() +220
    [TypeInitializationException: The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.]
       CrystalDecisions.CrystalReports.Engine.ReportDocument..ctor() +0
       imacs.imacs.viewPrint.lnkView_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\imacs\imacs\viewPrint.aspx.vb:186
       System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) +131
       System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +140
       System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +39
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3215
    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
    My only guess is that there is some configuration I am not doing on the server. Can someone help me?

    I think the frustration is coming more from the combination of lack of support for x64 (quite surprising for such an established product) combined with a site that's very difficult to navigate and use (the BusinessObjects site).
    We ourselves have also just invested a great deal of time in building some Crystal Reports for a pilot system for a large US Insurance Company and cannot choose to avoid a 64-bit target server.  We deploy at the end of next week and though we can compile deliberately for 32 bit as outlined in your post, this causes all sorts of other issues with other assemblies we are using that are not binary compiled for a specific platform and that we cannot ourselves recompile.
    To be concise, your posted solution is not really a solution unless a number of other assumptions are true that we all know in practical terms to be unrealistic for anything but the simplest of apps.
    For us, pulling Crystal at this point is embarassing for the customer (they specifically requested that we use it) and for Business Objects, and creates a deadline crunch in our project plan as we convert to Telerik or some other x64 solution.
    We will certainly follow up with phone support to see if there are other choices (doubtful), but given that you offer a trial version of Crystal 2008 I think it's remiss that there are no clear guidelines in a publicly-reachable forum that discuss in detail how to deploy completely to x64 including ensuring that other related issues to using a 32-bit compilation on x64 are mentioned/covered.  I certainly can see that even an advanced developer would continue to hold out hope that there is some configuration option combination that will work.
    Finally, can you provide any guidance on when Crystal Reports will catch up to Windows 2000, 2003 and 2008 and provide a 64-bit runtime?

  • Nakisa 2.0. Error while opening the application using URL

    Dear Experts,
    We are using Nakisa 2.0. Orgchart application. When we fire the link in the browser the application is throwing the below mentioned error.
    Please help us to solve this issue.
    Server Error in '/ORGCHART' Application.
    System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.MethodAccessException: System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
    Stack Trace:
    [MethodAccessException: System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)]
       System.ServiceModel.DiagnosticUtility.InitDiagnosticTraceImpl(TraceSourceKind sourceType, String traceSourceName) +0
       System.ServiceModel.DiagnosticUtility.InitializeTracing() +14
       System.ServiceModel.DiagnosticUtility..cctor() +92
    [TypeInitializationException: The type initializer for 'System.ServiceModel.DiagnosticUtility' threw an exception.]
       System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetAssociatedSection(ContextInformation evalContext, String sectionPath) +111
       System.ServiceModel.Configuration.ServiceHostingEnvironmentSection.UnsafeGetSection() +37
       System.ServiceModel.HostingManager.LoadConfigParameters() +32
       System.ServiceModel.HostingManager..ctor() +110
       System.ServiceModel.ServiceHostingEnvironment.EnsureInitialized() +142
       System.ServiceModel.ServiceHostingEnvironment.OnEnsureInitialized(Object state) +4
       System.ServiceModel.PartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state) +52
       System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +98
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    Regards,
    Vivek

    Hi Vivek,
    Are you accessing Nakisa through the portal or using the direct link?
    Have you tried stopping and restarting the IIS?
    Are you able to access the Admin Console?
    http://[hostname]/[Nakisa_application_name]/manager.jsp
    http://wiki.sdn.sap.com/wiki/display/ERPHCM/FAQinVisualizationSolutionsbyNakisa%28VSN%29
    Do you have any other Nakisa modules other than OrgChart?
    If so, are you able to test these?
    Have you tested this on more than one user?
    Regards,
    Matthew

  • Calling web service from SQL 2008 error: System.Security.HostProtectionException: Attempted to perform an operation that was forbidden by the CLR host.

    Hi, 
    Im trying to use web service in c# sql database project. when running stored procedure, in which the web service should be called, im getting this error:
    System.TypeInitializationException: The type initializer for 'System.ServiceModel.ClientBase`1' threw an exception. ---> System.Security.HostProtectionException: Attempted to perform an operation that was forbidden by the CLR host.
    at System.ServiceModel.DiagnosticUtility.GetUtility()
    at System.ServiceModel.DiagnosticUtility.get_Utility()
    at System.ServiceModel.ClientBase`1..cctor()
    The protected resources (only available with full trust) were:
    All
    The demanded resources were:
    Synchronization, ExternalThreading
    --- End of inner exception stack trace ---
    at System.ServiceModel.ClientBase`1.InitializeChannelFactoryRef()
    at System.ServiceModel.ClientBase`1..ctor()
    at UMGClient..ctor()
    at UMG_StoredProcedures.spUMG_ProcessEmail(SqlInt64 cid_request)
    Here is the code:
    using System;
    using System.Data;
    using System.Data.SqlClient;
    using System.Data.SqlTypes;
    using Microsoft.SqlServer.Server;
    using CredexDB.Workflow;
    using System.Collections.Generic;
    using CredexDB.umgwcftest;
    public partial class UMG_StoredProcedures
    /// <summary>
    /// </summary>
    /// <param name="bankDate"></param>
    /// <param name="stateCategory"></param>
    [Microsoft.SqlServer.Server.SqlProcedure]
    public static void spUMG_ProcessEmail( SqlInt64 cid_request )
    SqlConnection conn = new SqlConnection("Context Connection=true;");
    conn.Open();
    try
    SqlContext.Pipe.Send("A");
    UMGClient umgcl = new UMGClient();
    SqlContext.Pipe.Send("B");
    UMGwcf.SoapExchangeMailMessage email = new UMGwcf.SoapExchangeMailMessage();
    string[] names = new string[1];
    names[0] = "[email protected]";
    email.To = names;
    email.Subject = "Test UmgWcf";
    email.MessageBody = "Testovacia správa - ľľššččťťťýéáí";
    email.From = "[email protected]";
    email.Priority = 20;
    email.Sender = 1;
    email.DoNotArchive = false;
    email.EncryptAndSign = false;
    //long ret = umgcl.SendMailMessage(email);
    catch (Exception e)
    SqlContext.Pipe.Send("C");
    SqlContext.Pipe.Send(e.ToString());
    finally
    SqlContext.Pipe.Send("D");
    conn.Close();
    private static void execSql(string sql, SqlConnection conn)
    new SqlCommand(sql, conn).ExecuteNonQuery();
    The error occurs at this row:
    UMGClient umgcl = new UMGClient();
    Here is the UMG class:
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    [System.ServiceModel.ServiceContractAttribute(Namespace="vub.sk/UMGwcf", ConfigurationName="IUMG")]
    public interface IUMG
    [System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/SendMailMessage", ReplyAction="vub.sk/UMGwcf/IUMG/SendMailMessageResponse")]
    long SendMailMessage(UMGwcf.SoapExchangeMailMessage message);
    [System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/ResendEmailMessage", ReplyAction="vub.sk/UMGwcf/IUMG/ResendEmailMessageResponse")]
    long ResendEmailMessage(long emailid);
    [System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/GetEmailById", ReplyAction="vub.sk/UMGwcf/IUMG/GetEmailByIdResponse")]
    UMGwcf.SoapDeliveredMailMessage GetEmailById(long emailid);
    [System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/SendSMSMessage", ReplyAction="vub.sk/UMGwcf/IUMG/SendSMSMessageResponse")]
    long SendSMSMessage(UMGwcf.SoapSMSMessage smsmessage);
    [System.ServiceModel.OperationContractAttribute(Action="vub.sk/UMGwcf/IUMG/GetSMSById", ReplyAction="vub.sk/UMGwcf/IUMG/GetSMSByIdResponse")]
    UMGwcf.SoapDeliveredSMSMessage GetSMSById(long smsid);
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public interface IUMGChannel : IUMG, System.ServiceModel.IClientChannel
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class UMGClient : System.ServiceModel.ClientBase<IUMG>, IUMG
    public UMGClient()
    public UMGClient(string endpointConfigurationName) :
    base(endpointConfigurationName)
    public UMGClient(string endpointConfigurationName, string remoteAddress) :
    base(endpointConfigurationName, remoteAddress)
    public UMGClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
    base(endpointConfigurationName, remoteAddress)
    public UMGClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
    base(binding, remoteAddress)
    public long SendMailMessage(UMGwcf.SoapExchangeMailMessage message)
    return base.Channel.SendMailMessage(message);
    public long ResendEmailMessage(long emailid)
    return base.Channel.ResendEmailMessage(emailid);
    public UMGwcf.SoapDeliveredMailMessage GetEmailById(long emailid)
    return base.Channel.GetEmailById(emailid);
    public long SendSMSMessage(UMGwcf.SoapSMSMessage smsmessage)
    return base.Channel.SendSMSMessage(smsmessage);
    public UMGwcf.SoapDeliveredSMSMessage GetSMSById(long smsid)
    return base.Channel.GetSMSById(smsid);
    the CLR where created as follows:
    ALTER DATABASE XXXX SET TRUSTWORTHY ON;
    CREATE ASSEMBLY [System.ServiceModel]
    FROM 'C:\ttrojcak\System.Runtime.Serialization.dll'
    WITH PERMISSION_SET = UNSAFE
    CREATE ASSEMBLY [System.ServiceModel]
    FROM 'C:\ttrojcak\System.ServiceModel.dll'
    WITH PERMISSION_SET = UNSAFE
    the message window shows warnings:
    Warning: The Microsoft .NET Framework assembly 'system.servicemodel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.web, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=x86.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.drawing, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.directoryservices, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.directoryservices.protocols, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.enterpriseservices, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=x86.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.runtime.remoting, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.runtime.serialization.formatters.soap, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.design, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.windows.forms, version=2.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'accessibility, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.drawing.design, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.web.regularexpressions, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.serviceprocess, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.configuration.install, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.identitymodel, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.messaging, version=2.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'system.identitymodel.selectors, version=3.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    Warning: The Microsoft .NET Framework assembly 'microsoft.transactions.bridge, version=3.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a, processorarchitecture=msil.' you are registering is not fully tested in the SQL Server hosted environment and is not supported. In the future, if you upgrade or service this assembly or the .NET Framework, your CLR integration routine may stop working. Please refer SQL Server Books Online for more details.
    creating store procedure:
    EXEC sp_executesql N'
    CREATE PROCEDURE [spUMG_ProcessEmail]
    @cid_request bigint
    AS
    EXTERNAL NAME [CredexDB].[UMG_StoredProcedures].[spUMG_ProcessEmail]'
    IF (@@ERROR = 0)
    BEGIN
    DECLARE @procSchema sysname
    DECLARE @procName sysname
    SELECT @procSchema = SCHEMA_NAME(schema_id), @procName = name
    FROM sys.objects
    WHERE object_id = OBJECT_ID(N'[spUMG_ProcessEmail]')
    EXEC sp_addextendedproperty 'AutoDeployed', N'yes',
    'SCHEMA', @procSchema,
    'PROCEDURE', @procName
    EXEC sp_addextendedproperty 'SqlAssemblyFile', N'UMG\UMG.cs',
    'SCHEMA', @procSchema,
    'PROCEDURE', @procName
    EXEC sp_addextendedproperty 'SqlAssemblyFileLine', 95,
    'SCHEMA', @procSchema,
    'PROCEDURE', @procName
    END
    Any tips? 
    Thank you

    and this moves me to another problem. the stored procedure spUMG_ProcessEmail is unable to find and read app.config
    stored procedure is unable to read app.config. it is necesary to rewrite the xml config into c# code:
    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <system.serviceModel>
    <bindings>
    <basicHttpBinding>
    <binding name="BasicHttpBinding_IUMG" closeTimeout="00:01:00"
    openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
    allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
    maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
    messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
    useDefaultWebProxy="true">
    <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
    maxBytesPerRead="4096" maxNameTableCharCount="16384" />
    <security mode="None">
    <transport clientCredentialType="None" proxyCredentialType="None"
    realm="" />
    <message clientCredentialType="UserName" algorithmSuite="Default" />
    </security>
    </binding>
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="http://umgwcftest/UMGwcf.svc" binding="basicHttpBinding"
    bindingConfiguration="BasicHttpBinding_IUMG" contract="IUMG"
    name="BasicHttpBinding_IUMG" />
    </client>
    </system.serviceModel>
    </configuration>
    and the rewrited code:
    BasicHttpBinding myBinding = new BasicHttpBinding();
    myBinding.Name = "BasicHttpBinding_IUMG";
    myBinding.CloseTimeout = new TimeSpan(00, 01, 00);
    myBinding.OpenTimeout = new TimeSpan(00, 01, 00);
    myBinding.ReceiveTimeout = new TimeSpan(00, 10, 00);
    myBinding.CloseTimeout = new TimeSpan(00, 01, 00);
    myBinding.AllowCookies = false;
    myBinding.BypassProxyOnLocal = false;
    myBinding.HostNameComparisonMode = HostNameComparisonMode.StrongWildcard;
    myBinding.MaxBufferSize = 65536;
    myBinding.MaxBufferPoolSize = 524288;
    myBinding.MaxReceivedMessageSize = 65536;
    myBinding.MessageEncoding = WSMessageEncoding.Text;
    myBinding.TextEncoding = System.Text.Encoding.UTF8;
    myBinding.TransferMode = TransferMode.Buffered;
    myBinding.UseDefaultWebProxy = true;
    myBinding.ReaderQuotas.MaxDepth = 32;
    myBinding.ReaderQuotas.MaxStringContentLength = 8192;
    myBinding.ReaderQuotas.MaxArrayLength = 16384;
    myBinding.ReaderQuotas.MaxBytesPerRead = 4096;
    myBinding.ReaderQuotas.MaxNameTableCharCount = 16384;
    myBinding.Security.Mode = BasicHttpSecurityMode.None;
    myBinding.Security.Transport.ClientCredentialType = HttpClientCredentialType.None;
    myBinding.Security.Transport.ProxyCredentialType = HttpProxyCredentialType.None;
    myBinding.Security.Transport.Realm = "";
    myBinding.Security.Message.ClientCredentialType = BasicHttpMessageCredentialType.UserName;
    myBinding.Security.Message.AlgorithmSuite = System.ServiceModel.Security.SecurityAlgorithmSuite.Default;
    EndpointAddress endPointAddress = new EndpointAddress(new Uri("http://umgwcftest/UMGwcf.svc"));
    SqlContext.Pipe.Send("2");
    UMGClient umgcl = new UMGClient(myBinding, endPointAddress);
    after that, I got another error and it's solution is here:
    error and solution
    So I got it finaly working 

Maybe you are looking for

  • IMac will not get a good connection to Linksys WRT54GX4

    I've seen similar reports as this, but nothing exactly like it, so I'm not sure if its the same problem or unrelated. I've got this Early 2006 20" Intel iMac. It will NOT connect correctly to my Linksys WRT54GX4 SRX400 Linksys router. It seems to wor

  • Payment/Credit Limit for Vendors

    Hi SAP Gurus! Is it possible to impose a maximum payment/credit limit for Vendors in SAP? I saw in this forums that it can be done through Contracts but in the contracts, you have to enter a material. Is it possible that you don't have a material and

  • How do I get rid of file folder with question mark at startup?

    Following a force quit, at startup I get, first the startup audio followed by a profile of a file folder with a question mark on it.

  • Ipod mini not updating in itunes on emac

    my mini wont update on my emac in itunes, we have the latest updates for both ipod and emac itunes etc..... first it says that the ipod is connected with another lib and if i want to have the ipod use my library (which is the only lib it has ever bee

  • Making Lumia ringtones

    To start off, the 40 second / 1 MB limit is ridiculous. Whoever decided on it, should be fired. How can Lumia play songs that are longer than that but enforces the limitation on ringtones? Anyway, how can I make ringtones. I've read everything, and i