Type initializer Error

I experience the following error deploying our application to a server.
"The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception"
Development Machine:
Windows 7 x64
Visual Studio 2010
Server (Deployed too):
Windows Server 2008 x64
Application
Basic winforms application
Notes
Set Target CPU in compile options to x86 in VS
Installed CR runtime on the server :  CRforVS_redist_install_64bit_13_0_1
References:
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.CrystalReports.Engine.dll
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.ReportSource.dll
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.Shared.dll
C:\Program Files (x86)\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\dotnet\CrystalDecisions.Windows.Forms.dll
Any help much appreciated. Thank you.
Edited by: Reafidy on Jul 21, 2011 8:42 AM

Hi Furgus/Reafidy ,
I am was also getting the same error, However I buit the application in anyCPU mode and deployed the 64bit app in a 64bit windows 2008 R2 box I installed crystal report runtime for 64bit which installed the version 13.0 dll's for crystalreport. but I get a wiered error
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
   at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
   at Tesco.Instore.PickingControl.ReportController.PrintDriverDocumentation(String driverDocumentation, Int32 vehicleTripId)]
25/10/2011 14:29:26     PCS     Critical        Classic .NET AppPool     Error running End of Van [Logon failed.
Error in File temp_78d6341f-aa5c-4e12-bd2e-c902339bd793 {C48924CE-77E5-4489-960A-785478ADFD24}.rpt:
Unable to connect: incorrect log on parameters .]
Any clue on that ??
this solution works fine on my dev box windows 7 64bit box..
I am using ADO.Net data set as a report datasource. and also included
<startup useLegacyV2RuntimeActivationPolicy="true">
          <supportedRuntime version="v4.0"/>
     </startup>
in my web config as I am using ADO.Net data source..
Edited by: aditisaha on Oct 25, 2011 3:40 PM
Edited by: aditisaha on Oct 25, 2011 3:41 PM

Similar Messages

  • Error occurred in deployment step 'Activate Features': The type initializer for ' 'threw an exception

    Hi,
    I have develeoped custom timer job using vs 2010 to deploy in sharepoint server.
    While I right click on solution explorer and click on deploy then system throws an error "Error occurred in deployment step 'Activate Features': The type initializer for 'TestTimerJob.TestTimerJob' threw an exception."
    Please suggest.
    Thanks.
    Knowledge is power.

    Debugger is not firing at all. SO not able t do debugging.
    Knowledge is power.
    Have you tried to set break point on feature activate? If not then set break point on feature activate and try to debug your code line by line.
    See this mSDN article to debug timer job:
    http://msdn.microsoft.com/en-us/library/ff798310.aspx
    http://www.codeproject.com/Articles/70866/Debugging-Custom-SharePoint-Timer-Jobs
    Also make sure that:
    1. Once you deploy the time job, you need to reset the IIS
    2. restart the window timer service from services.msc
    Let us know your result
    Hemendra: "Yesterday is just a memory,Tomorrow we may never see"
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Error-System Type Initialization Exception occured in system data dll

     hello sir,
                 because of transferring my project from one pc to another pc i am getting following error:
    error massage:
    first chance exception of type 'System.TypeInitializationException' occurred in System.Data.dll
    Additional information: The type initializer for 'System.Data.Common.DbConnectionOptions' threw an exception.
    If there is a handler for this exception, the program may be safely continued.
    also attached image of error massage
    so how to by pass this error
    please help,
    regards,
    kavi-kalash

    Hello,
    >>because of transferring my project from one pc to another pc i am getting following error:
    This seems to be related with an environment issue, please have a check the worked machine and the non-worked one, to compare if there are some difference.
    >>If there is a handler for this exception, the program may be safely continued.
    This could be due to missing references. Or it could be due to an error in the app config file. Is it possible for you to post your code about the connect part and the connection string? And here is an article describes how to process the first chance exception:
    https://msdn.microsoft.com/en-us/library/dd997368(v=vs.110).aspx
    Regards.
    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.

  • SSRS Database Configuration Manager Error - Could not connect to server: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception

    I'm Getting the "Could not connect to server: The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception" Error on an existing Instance of SSRS that had been working previously (lots of installs/patches since).
    Any time I try to hit the "Test Connection" button on existing connections or create new ones from the SSRS Config Mgr., it throws that error.
    I know the SQL Server connectivity works (I have SSMS installed on there and can cut and paste server Login to connect). The problem is I can't really get any more details on the error...Event Viewer isn't logging anything, I have upped the trace level
    to 4 in the reportingservicesservice.config file, I have even watched it with procmon and nothing obvious pops up.
    Let me know if anyone else has been down this path and what they have tried.

    Hi BillOlive,
    Based on my research, the issue may be related to user access permission. You can refer to the following method to troubleshooting the issue:
    Open C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG folder | right click on the machine.config file | Properties | Security | make sure your domain account has FULL CONTROL permission on this file.
    If above steps still do not work, please backup your machine.config file to somewhere else and replace with the attached one from my Windows Server 2008 environment.
    Alternatively, app.config file also may cause the same issue. There is a similar issue, you can refer to it.
    http://stackoverflow.com/questions/6922879/exception-type-initializer-for-system-data-sqlclient-sqlconnection
    Hope this helps.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Unexpected Error - Type Initializer for Microsoft.Mashup.Host.Document.Formulas.SimpleFilterRowsFormula

    Hello!
    I have a client experiencing the following error regularly with Power Query (2.10.3547.461, 32-bits). I have a hard time reproducing the issue and identifying the cause, anyone experienced the same and maybe even have a solution?
    Best regards,
    Daniel

    I'm a little surprised that the text "Unexpected Error" is in English while the text of the exception message is in Swedish. Which language Power Query addin was installed, and how does it compare to the languages configured for Excel?
    The type initializer for this type is trying to load language-specific resources.

  • Error: The type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule`1' threw an exception.

    having problems on new server so I followed instructions to remove Exchange Server 2013 Sp1 using ADSI edit p;er these instructions:
    http://blog.dargel.at/2012/11/20/complete-remove-exchange-2013-using-adsiedit/
    now when I re-run setup for exchange 2013 SP1 I get the error :    
    "Error: The type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule`1' threw an exception."
    David Sheetz MCP

    contrary to what Ed says you can fix this, it is way harder than it should be and I have NEVER had this many issues on a  fresh build! 
    things to note on Exchange 2013
    1. IPv6 MUST work and also DNS set manually, verify port 25 is open on your firewalls!
    2. even if services are running make sure there are no errors in the application event log and check that all services on the Exchange server are set to ACTIVE. to find out type the below command in exchange management shell
    Get-ServerComponentState –Identity servername
    3. The group "everyone" did not have the right "Access this computer from the network". This could be seen by an audit failure in the security log stating that the user
    "<mailbox server name>" did not have the required login type (login type 3).
    Adding everyone to the "Access this computer from the network" right solved the issue. 
    To enable "Access this computer from the network" :
    Run "gpedit.msc"
    Navigate through
    Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment
    Double click
    on "Access this computer from the network", and ensure "Everyone" is added.
    4. verify all connectors are setup correctly
    Also I found an error in the event log Event
    ID: 1009 once I fixed that emails started to fly!
    To resolve the issue, use one of the following methods.
    Method 1
    Create a new Active Directory group that is named “ContentSubmitters,” and then grant Admistrators and NetworkService full access to the group. This is a dummy group and should be used as a placeholder only. You might want to add a description so that
    the group is not removed.
    Force or wait for Active Directory replication.
    Restart the following services:
    Microsoft Exchange Search
    Microsoft Exchange Search Host Controller
    Method 2
    You can also resolve this problem by removing a configuration entry that refers to the ContentSubmitters group. This entry is present in four files. Each file is calledWcfConfigurator.xml,
    and you can find each file in the following folder:
    %ExchangeInstallPath%\Bin\Search\Ceres\HostController\Data\Nodes\Fsis\<var style="border:0px;font-family:monospace, monospace;font-size:1em;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;">NODENAME</var>\Configuration\Local
    Here, “%ExchangeInstallPath%” is the Exchange installation root path (available in the environment variable of that name), and the placeholder <var style="border:0px;font-family:monospace, monospace;font-size:1em;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;">NODENAME</var> represents
    one of the following names. (There is one name for each of the four files that are to be edited.)
    Helpful articles
    http://blog.dargel.at/2012/11/20/complete-remove-exchange-2013-using-adsiedit/
    http://exchangeserverpro.com/exchange-2013-manually-configure-dns-lookups/
    David Sheetz MCP

  • The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. InnerException: Requested registry access is not allowed.

    I have read some of the other posts for people that got this error, but none seem to apply to me.
    My program has been working for weeks.  I made some minor changes, and started getting the error (full details below).
    I did a TFS "undo pending changes" and still getting the same error, even after logging off.  The one odd thing is that I did change my Windows password this week. The connection string is using a SQL user id and password that has no issues.
    I'm an Admin own my own box (running WIn XP SP3).  I even tried "Run as Admin" on Visual Studio.
    I'm doing a Debug-Start, running a Console-Test-Program that calls a WCF service, which on local machine is hosted by "ASP.NET Development Server".
    We have two other developers, one has the same problem, one does not.  In theory, we have all done "get latest" and are running the same code.
    The SQL Connection is related to a trace database; we are using this library http://ukadcdiagnostics.codeplex.com which has worked fine for months.
    When I do "Start Run" in Visual Studio, I get this error:
    {"The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. "}
    with InnerException: {"The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception."}
    and it has InnerException: {"Requested registry access is not allowed. "}
    Outmost StackTrace:
       at System.Data.SqlClient.SqlConnection..ctor()
       at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
       at FRB.Diagnostics.Listeners.SqlDataAccessCommand..ctor(String connectionString, String commandText, CommandType commandType)
       at FRB.Diagnostics.Listeners.SqlDataAccessAdapter.CreateCommand()
       at FRB.Diagnostics.Listeners.SqlTraceListener.TraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.FilterTraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceInformation(String message)
       at FRB.EC.AdminService.AdminService.TestHelloWorldWithTrace(String name)
       at SyncInvokeTestHelloWorldWithTrace(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    Second Inner StackTrace:
       at System.Data.SqlClient.SqlConnection..cctor()
    Third Inner StackTrace:
          at System.Data.SqlClient.SqlConnectionFactory..cctor()
    When I do "Run as Admin", I get this error:
    {"Could not load file or assembly 'FRB.EFDataAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied. "}
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at FRB.EC.AdminService.ConsoleTester.svcRef.IAdminService.GetDispositionStatusTypeList()
       at FRB.EC.AdminService.ConsoleTester.svcRef.AdminServiceClient.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\Service References\svcRef\Reference.cs:line 2459
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 565
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.ExecuteNewRelease103QueryMethods() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 189
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.Main(String[] args) in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 76
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    I am also posting the web.config/app.config, but I would rather not focus on that since there were absolutely no changes to it between the time it was working and the time it began failing. 
    Client app.config
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <connectionStrings>
      </connectionStrings>
      <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="ServiceBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
              <serviceAuthorization impersonateCallerForAllOperations="true"/>
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <bindings>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IAdminService" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
              maxBufferPoolSize="524288" maxReceivedMessageSize="5565536"
              messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
              allowCookies="false">
              <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                maxBytesPerRead="4096" maxNameTableCharCount="16384" />
              <reliableSession ordered="true" inactivityTimeout="00:10:00"
                enabled="false" />
              <security mode="Message">
                <transport clientCredentialType="Windows" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="Windows" negotiateServiceCredential="true"
                  algorithmSuite="Default" />
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
            <client>
                  <endpoint address="http://localhost:3588/AdminService.svc" binding="wsHttpBinding"
                        bindingConfiguration="WSHttpBinding_IAdminService" contract="svcRef.IAdminService"
                        name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
        </system.serviceModel>
    </configuration>
    web.config of WCF service:
      <?xml version="1.0"?>
    <configuration>
        <configSections>
        <section name="FRB.Diagnostics" type="FRB.Diagnostics.Configuration.UkadcDiagnosticsSection, FRB.Diagnostics"/>
      </configSections>
        <appSettings>
           <!-- whatever goes here -->
        </appSettings>
        <!-- connection string section -->
      <connectionStrings>
        <add name="log" connectionString="Data Source=myserver;Initial Catalog=ECWCFLOG_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="DBConn" connectionString="Data Source=myserver;Initial Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="EagleConnectEntities" connectionString="metadata=res://*/EagleConnect.csdl|res://*/EagleConnect.ssdl|res://*/EagleConnect.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=myserver;Initial
    Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient"/>
      </connectionStrings>
        <!-- FRB.Diagnostics logging section -->
        <FRB.Diagnostics>
            <sqlTraceListeners>
                <sqlTraceListener name="sqlTraceListenerSettings"
                            connectionStringName="log"
                            commandText="INSERT INTO LogStore VALUES(@Source, @ActivityId, @ProcessId, @ThreadId, @EventType, @Message, @Timestamp)"
                            commandType="Text">
                    <parameters>
                        <parameter name="@Source" propertyToken="{Source}"/>
                        <parameter name="@ActivityId" propertyToken="{ActivityId}"/>
                        <parameter name="@ProcessId" propertyToken="{ProcessId}"/>
                        <parameter name="@ThreadId" propertyToken="{ThreadId}"/>
                        <parameter name="@EventType" propertyToken="{EventType}" callToString="true"/>
                        <parameter name="@Message" propertyToken="{Message}"/>
                        <parameter name="@Timestamp" propertyToken="{DateTime}"/>
              <!-- <parameter name="@UserId" propertyToken="{WindowsIdentity}"/> -->
            </parameters>
                </sqlTraceListener>
            </sqlTraceListeners>
            <smtpTraceListeners>
                <smtpTraceListener name="smtpTraceListenerSettings"
                             host="vssmtp"
                             port="25"
                             from="[email protected]"
                             to="[email protected]"
                             subject="AdminService Logging Event: {EventType}, {MachineName}"
                             body="{Message}&#xA;=======&#xA;Process={ProcessId},&#xA;Thread={ThreadId},&#xA;ActivityId={ActivityId}"/>
            </smtpTraceListeners>
        </FRB.Diagnostics>
        <!-- System.Diagnostics logging section -->
        <system.diagnostics>
            <sources>
                <source name="FRB.EC.AdminService" switchValue="All">
                    <listeners>
                        <clear/>
                        <add name="ods"/>
                        <add name="smtp"/>
                        <add name="sql"/>
                    </listeners>
                </source>
                <source name="System.ServiceModel" switchValue="Off" propagateActivity="true">
                    <listeners>
                        <add name="ignored" type="System.Diagnostics.ConsoleTraceListener"/>
                    </listeners>
                </source>
            </sources>
            <sharedListeners>
                <!-- OutputDebugStringTraceListener -->
                <add name="ods"
               type="FRB.Diagnostics.Listeners.OutputDebugStringTraceListener, FRB.Diagnostics"
               initializeData="{ActivityId}|{EventType}: {Message} - {DateTime}, Process={ProcessId}, Thread={ThreadId}"/>
                <!-- SqlTraceListener -->
                <add name="sql"
               type="FRB.Diagnostics.Listeners.SqlTraceListener, FRB.Diagnostics"
               initializeData="sqlTraceListenerSettings"
               traceOutputOptions="Timestamp"/>
                <!-- SmtpTraceListener -->
                <add name="smtp"
               type="FRB.Diagnostics.Listeners.SmtpTraceListener, FRB.Diagnostics"
               initializeData="smtpTraceListenerSettings">
                       <filter type="System.Diagnostics.EventTypeFilter"
                       initializeData="Error"/>
                </add>
            </sharedListeners>
            <trace autoflush="true"/>
        </system.diagnostics>
        <system.web>
        <compilation debug="true" targetFramework="4.0">
        </compilation>
            <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"/>
        </system.web>
        <system.serviceModel>
            <services>
                <service name="FRB.EC.AdminService.AdminService"
                   behaviorConfiguration="FRB.EC.AdminService.AdminServiceBehavior">
                    <!-- Service Endpoints -->
                    <endpoint address="" binding="wsHttpBinding"
                      bindingConfiguration="wsHttpEndpointBinding"
                      contract="FRB.EC.AdminService.IAdminService">
                        <!--
                  Upon deployment, the following identity element should be removed or replaced to reflect the
                  identity under which the deployed service runs. 
                  If removed, WCF will infer an appropriate identity automatically.
              -->
                        <identity>
                            <dns value="localhost"/>
                        </identity>
                    </endpoint>
                    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
                </service>
            </services>
            <bindings>
                <wsHttpBinding>
                    <binding name="wsHttpEndpointBinding"
                     maxBufferPoolSize="2147483647"
                     maxReceivedMessageSize="500000000">
                        <readerQuotas maxDepth="2147483647"
                            maxStringContentLength="2147483647"
                            maxArrayLength="2147483647"
                            maxBytesPerRead="2147483647"
                            maxNameTableCharCount="2147483647"/>
                        <security>
                            <message clientCredentialType="Windows"/>
                        </security>
                    </binding>
                </wsHttpBinding>
            </bindings>
            <behaviors>
                <serviceBehaviors>
                    <behavior name="FRB.EC.AdminService.AdminServiceBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="true"/>
                        <serviceCredentials>
                        </serviceCredentials>
                        <!--<serviceAuthorization principalPermissionMode="UseAspNetRoles"
                    roleProviderName="AspNetWindowsTokenRoleProvider"/>-->
                        <serviceAuthorization principalPermissionMode="UseWindowsGroups"
                                    impersonateCallerForAllOperations="true"/>
                    </behavior>
                    <behavior name="FRB.EC.AdminService.IAdminServiceTransportBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="false"/>
                        <serviceCredentials>
                            <clientCertificate>
                                <authentication certificateValidationMode="PeerTrust"/>
                                <!--<authentication certificateValidationMode="Custom" customCertificateValidatorType="DataFactionServices.FRBX509CertificateValidator"/>-->
                            </clientCertificate>
                            <serviceCertificate findValue="WCfServer"
                                    storeLocation="LocalMachine"
                                    storeName="My" x509FindType="FindBySubjectName"/>
                        </serviceCredentials>
                    </behavior>
                </serviceBehaviors>
            </behaviors>
            <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
        </system.serviceModel>
        <system.webServer>
            <modules runAllManagedModulesForAllRequests="true"/>
        </system.webServer>
    </configuration>
    Thanks for any help.
    Neal

    I think I found it... this is sure a strange error for what is really happening.
    Apparently it had happened to me before, and fortuantely, I actually added the following comment:
                // Above is related to the WCFLOG SQL Diagnostics Trace 
                // If you get error here an inner exception "requested registry access is not allowed"
                // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                // then make sure you have impersonation enabled in your client.
                // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
    Now I think I will do a try catch and spit out the same text.
    Still testing to assure that this really was the issue.
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate ">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
    The line below in BOLD below is what somehow seemed to disappear from my app.config - probably due to a TFS human error - still checking that also:
            <client>
                  <endpoint address="http://localhost:4998/AdminService.svc"
                                  behaviorConfiguration="FRB.AllowImpersonate"
                                  binding="wsHttpBinding"
                                  bindingConfiguration="WSHttpBinding_IAdminService"
                                 contract="svcRef.IAdminService"
                            name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
    Here's how I "idiot-proofed" this error for now, to give an error that actually at least points to a solution:
            public SqlDataAccessCommand(string connectionString, string commandText, CommandType commandType)
                try
                    _connection = new SqlConnection(connectionString);
                    // Above is related to the WCFLOG SQL Diagnostics Trace  
                    // If you get error here an inner exception "requested registry access is not allowed"
                    // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                    // then make sure you have impersonation enabled in your client.
                    // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
                catch (Exception ex)
                    if (ex.ToString().Contains("The type initializer for"))
                    throw new System.ApplicationException(@"
                    Your client app <endpoint> must be cofigured have a
                  'behaviorConfiguration' attribute like this:
                    behaviorConfiguration='FRB.AllowImpersonate'
                   that points back to a behavior that has this syntax:         
              <behavior name='FRB.AllowImpersonate'>
                 <clientCredentials>
                     <windows allowedImpersonationLevel='Impersonation'/>
                 </clientCredentials>
              </behavior>
              ", ex);
                   else
                        throw ex;
                _command = _connection.CreateCommand();
                _command.CommandText = commandText;
                _command.CommandType = commandType;
                // TODO _command.CommandTimeout = ;
    Neal

  • File Adapter: Initialization error: Conversion initialization failed

    Hi all,
    I'm trying to establish a file adapter (FTP, File Content Conversion).
    In the adapter monitor I' ve got the following error:
    Sender Adapter v1325 for Party '', Service 'BS_ACN_PCS_A':
    Configured at 14:49:34 2005-08-29
    Initialization error: Conversion initialization failed with java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found:
    Format error in 'xml.recordset' argument: incomplete structure (name,number) pair
    My content conversion parameters are:
    BP_BusinessPartnerMasterData_IncomingData.fieldFixedLengths:
    20,50,50,1,10,50,10,50,5,20,20,15,15
    BP_BusinessPartnerMasterData_IncomingData.fieldNames: Number,Name2,Name1,Gender,Birthdate,City,Postcode,Street,
    HouseNo,PhoneNumber,Fax,BankId,BankAccount
    BP_BusinessPartnerMasterData_IncomingData.fieldContentFormating:
    trim
    BP_BusinessPartnerMasterData_IncomingData.keyFieldInStructure:
    ignore
    What could be the error or where I have to look for it?
    Thanks,
    Fabian

    Yes,
    Recordset name: BP_BusinessPartnerMasterData_IncomingData
    Recordset structure: BP_BusinessPartnerMasterData_IncomingData
    The corresponding Message Type:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://pcs.acn.com/basicdata" targetNamespace="http://pcs.acn.com/basicdata">
         <xsd:element name="BP_MasterDataIncomingFil" type="BP_BusinessPartnerMasterData_IncomingData" />
         <xsd:complexType name="BP_BusinessPartnerMasterData_IncomingData">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   f323a4b018a911da9fd9000bcd69ce64
                   </xsd:appinfo>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="Number">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8500fe111da89f2d1210a87220d
                             </xsd:appinfo>
                             <xsd:documentation xml:lang="EN">
                             Id from Sender for BP
                             </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="20" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Name2">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8510fe111dacfd7d1210a87220d
                             </xsd:appinfo>
                             <xsd:documentation xml:lang="EN">
                             Last name or Company name
                             </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="50" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Name1">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8520fe111da94bad1210a87220d
                             </xsd:appinfo>
                             <xsd:documentation xml:lang="EN">
                             First name or Company name 2
                             </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="50" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Gender">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8530fe111da99add1210a87220d
                             </xsd:appinfo>
                             <xsd:documentation xml:lang="EN">
                             m or f or blank
                             </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="1" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Birthdate">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8540fe111dab156d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="City">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8550fe111daa58cd1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="50" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Postcode">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8560fe111dac0c2d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="10" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Street">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8570fe111dabbd3d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="50" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="HouseNo">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8580fe111dab63fd1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="5" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="PhoneNumber">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e8590fe111dac782d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="20" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="Fax">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e85a0fe111daa9ebd1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="20" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="BankId">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e85b0fe111dace1ed1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="15" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
                   <xsd:element name="BankAccount">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             7679e85c0fe111da8801d1210a87220d
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:simpleType>
                             <xsd:restriction base="xsd:string">
                                  <xsd:maxLength value="15" />
                             </xsd:restriction>
                        </xsd:simpleType>
                   </xsd:element>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>

  • Photoshop CS3 Initialization Error

    Successfully installed & activated Photoshop CS3  on a new PC with a fresh Windows 7 Pro 64bit installation, along with Photoshop CS3 10.0.1 & Bridge CS3 2.1.1.9 updates.  Bridge runs fine, but Photoshop returns the following error when attempting to launch the program, "Could not initialize Photoshop because of a program error."  Attempted to resolve by the following steps:
    Remove/reinstall CS3 in root directory
    Remove/reinstall CS3
    Disable TWAIN driver
    Downloaded & installed latest NVidia video card drivers.
    Noticed the following message in PSErrorLog.txt every time Photoshop CS3 is launched, "2013:10:31 09:41:33 : ..\..\sources\OWLPanelManager.cpp : 1602 : REQUIRE failed"  Downloaded & installed AdobeOwl.dll for this reason, but without success. 
    ALM.log prinout indicates that several steps failed, but I do not know whether this is a problem or how it might be resolved:
    2013-10-31 09:08:41 [4064] ALM: _info_: ==========================================
    2013-10-31 09:08:41 [4064] ALM: _info_: Start ALM 2.1 Release (build 2.1.2.1082)
    2013-10-31 09:08:41 [4064] ALM: _info_:      TYPE = 1
    2013-10-31 09:08:41 [4064] ALM: _info_:      GUID = License-GUID-Photoshop-CS3-Win
    2013-10-31 09:08:41 [4064] ALM: _info_:      LANG = en_US
    2013-10-31 09:08:41 [4064] ALM: _info_: Load AdobeConfig (version = 1.3)
    2013-10-31 09:08:41 [4064] ALM: _info_: Use Serial Number In PCD
    2013-10-31 09:08:42 [4064] ALM: _info_: Find License (type = 0x01, property = 0x00, status = 0x00)
    2013-10-31 09:08:42 [4064] ALM: _info_: Start License Session Succeed!
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature Photoshop_Premium (version = 10.0) Failed (status = -5)
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature Photoshop_Standard (version = 10.0) Succeed
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature Bridge_Base (version = 2.0) Succeed
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature Bridge_CameraRaw (version = 2.0) Succeed
    2013-10-31 09:08:42 [4064] ALM: _info_: Query Feature MobileCenter_Base (version = 1.0) Succeed
    2013-10-31 09:18:20 [3180] ALM: _info_: ==========================================
    2013-10-31 09:18:20 [3180] ALM: _info_: Start ALM 2.1 Release (build 2.1.5.1504)
    2013-10-31 09:18:20 [3180] ALM: _info_:      TYPE = 2
    2013-10-31 09:18:20 [3180] ALM: _info_: Start License Session Succeed!
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_Base (version = 2.0) Succeed
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_Base (version = 2.0) Succeed
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_ColorSettings (version = 2.0) Failed (status = -5)
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_CameraRaw (version = 2.0) Succeed
    2013-10-31 09:18:20 [3180] ALM: _info_: Query Feature Bridge_PhotoshopElements (version = 2.0) Failed (status = -5)
    2013-10-31 09:18:45 [3180] ALM: _info_:
    2013-10-31 09:18:45 [3180] ALM: _info_: End License Session!
    2013-10-31 09:18:45 [3180] ALM: _info_: End ALM
    2013-10-31 09:18:45 [3180] ALM: _info_: ==========================================
    AMT.log report is as follows:
    2013-10-31 09:41:20 [3264]  AMT: START SESSION, library version 1.0.0.1082,46.278103
    2013-10-31 09:41:20 [3264]  AMT: Initializing C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\ [en_US]
    2013-10-31 09:41:20 [3264]  AMT: Adobe License Manager version 2.1 (build 2.1082) RELEASE
    2013-10-31 09:41:20 [3264]  /AMT0069688654/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:20 [3264]  /AMT0194694755/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:20 [3264]  /AMT0073107491/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:20 [3264]  /AMT0087759331/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:20 [3264]  /AMT0051932803/ License-GUID-Photoshop-CS3-Win
    2013-10-31 09:41:20 [3264]  /AMT0186350190/
    2013-10-31 09:41:20 [3264]  /AMT0013778542/
    2013-10-31 09:41:20 [3264]  /AMT0141832179/ C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\AMT
    2013-10-31 09:41:20 [3264]  /AMT0166617427/ C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\AMT\application.sif
    2013-10-31 09:41:20 [3264]  /AMT0268432926/ 91198956814627932656
    2013-10-31 09:41:20 [3264]  /AMT0172021198/
    2013-10-31 09:41:20 [3264]  /AMT0201805758/
    2013-10-31 09:41:20 [3264]  /AMT0013754766/
    2013-10-31 09:41:20 [3264]  /AMT0088421566/
    2013-10-31 09:41:20 [3264]  /AMT0171050355/
    2013-10-31 09:41:33 [3520]  AMT: START SESSION, library version 1.0.0.1082,46.278103
    2013-10-31 09:41:33 [3520]  AMT: Initializing C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\ [en_US]
    2013-10-31 09:41:33 [3520]  AMT: Adobe License Manager version 2.1 (build 2.1082) RELEASE
    2013-10-31 09:41:33 [3520]  /AMT0069688654/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:33 [3520]  /AMT0194694755/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:33 [3520]  /AMT0073107491/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:33 [3520]  /AMT0087759331/ {30C4B843-28DA-466F-AFCA-CB0ED153C826}
    2013-10-31 09:41:33 [3520]  /AMT0051932803/ License-GUID-Photoshop-CS3-Win
    2013-10-31 09:41:33 [3520]  /AMT0186350190/
    2013-10-31 09:41:33 [3520]  /AMT0013778542/
    2013-10-31 09:41:33 [3520]  /AMT0141832179/ C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\AMT
    2013-10-31 09:41:33 [3520]  /AMT0166617427/ C:\Program Files (x86)\Adobe\Adobe Photoshop CS3\AMT\application.sif
    2013-10-31 09:41:33 [3520]  /AMT0268432926/ 91198956814627932656
    2013-10-31 09:41:33 [3520]  /AMT0172021198/
    2013-10-31 09:41:33 [3520]  /AMT0201805758/
    2013-10-31 09:41:33 [3520]  /AMT0013754766/
    2013-10-31 09:41:33 [3520]  /AMT0088421566/
    2013-10-31 09:41:33 [3520]  /AMT0171050355/
    Any suggestions to resolve this dilemma are appreciated. 

    I managed to resolve the Photoshop CS3 initialization error by reinstalling Windows 7 Pro 64-bit from scratch.  This took a lot of time, but it amounted to less effort than I had spent troubleshooting the problem. 

  • Initialization Error: Failed to read POST response

    Guys,
    I need help, I am cloning ,y PROD DB to a test environment, I did first using my test database and it worked, but running with my PROD failed.
    I am using OEMGrid Control, Wind2003, DBOracle9i, I am trying to connect using OEMGC and when start trasnfering "One datafile" via HTTP (I guess is the temp file) fialed with the error: Initialization Error: Failed to read POST response.
    Please does anybody have a little idea what could happen?...please I need some guide...I will appreciate so much....Thanks
    I tried looking for the error I the only I got was the follwoing:...It looks like a patch
    Subject: Oracle Enterprise Manager Management Agent Patch Set Notes for Windows 10g Release 2 (10.2.0.2)
    Doc ID: Note:375161.1 Type: README
    Last Revision Date: 01-AUG-2006 Status: ARCHIVED
    Skip Headers
    Oracle® Enterprise Manager Management Agent Patch Set Notes for Windows
    10g Release 2 (10.2.0.2)
    B31109-01

    What is the size of the data file which fails during transfer? I could find one reference on Metalink where the large file size (6GB) resulted in this error but that is in Oracle 10g.

  • "Track initialization error" when burning DVD

    This message keeps coming up when I try to burn a DVD in iDVD from my G4 laptop. Movie is 28 minutes long. ANY help would be very gratefully appreciated. THANKS

    Rob,
    Thanks for posting!
    I was at the point of starting a new discussion as I was afraid nobody was watching this one any more. To make things easy for everyone, I'll use the quoting method in order to answer to each and every question I have an answer for. So let's just go for it...
    "If i understand correctly...you shot new footage and used a different computer and it still did the same thing!"
    Nope. I've always used the same hardware/software for importing/editing my footage(s). Hardware: Power Mac G5 DP 1.8GHz / Software: iMovie v5.0.2 and iDVD v5.0.1
    "Can you down load the video to the Mac Mini and try it from there rather than transferring the project?"
    As you can imagine, it would be such a big hassle to import/edit the movie in the Mac mini, executing precisely the same steps I did when using the Power Mac G5.
    "Delete your audio track and try it again."
    Been there, done that. No way Jose!
    "Without any chapter markers."
    Didn't try that, though I've removed the chapter markers from 'risky' points, like transitions, etc.
    "What is on your audio track and where did it come from?"
    My audio tracks consist of the sound contained by the movie itself, plus two AAC (m4a) songs bit rated at 192kbps using iTunes v5.0 (also tried with .mp3 format but the result was the same). The tracks have a 30 to 40 seconds gap between them, so no sound mix between these 2 songs.
    "As well how did you shoot the footage and with what type of camera....just wondering."
    No special procedures here, Rob. I'm no professional, so I usually turn camera ON and start recording straight away. My camera is a JVC Mini DV GR-DX77E perfectly recognised by the Apple iMovie software.
    "Have you successfully burned any DVD's before? What method are you burning it in Best quality or Performance? How do you transfer the project to DVD?"
    Yes. My first tape was imported using iMovie v5.0.2, using the 'Best Quality' preference, edited there and exporting to iDVD, and there (in iDVD) is where trouble starts. So I googled for troubleshooting and stopped here for a carefull reading:
    http://dvd.kentidwell.com/?page_id=65
    I ran OnyX v1.5.2 for Panther and able to burn my project into a DVD without glitches. One thing I noticed (and honestly this can make the difference here), is that before I ran OnyX, everytime iDVD finished the assets task, it started encoding audio and here's where the error took place. After the OnyX intervention, it started encoding video and then audio successfully.
    "I know it is a pain to do these things but we will probably find out it is something simple blocking the burn. Try it also with a different Menu theme. Get a real simple one."
    I've tried the 'real simple' menus, like the ones bundled with iDVD. Sorry, but it makes no difference.
    "What photos are you putting in the menu theme?"
    No photos in the projects. Just the movie and audio tracks (preferable all AAC).
    "You could also try to burn it as a disc image to disc utilities and see if that works."
    Burn as disc image gives exactly the same error at exactly the same point: Track initialization error.
    "Start from the very beginning and dellete anything to do with iMovie or iDVD. In the libraries and in Documents"
    I've deleted the .plist docs for iMovie and iDVD software, but it didn't solve.
    "I know you used Onyx but I have Onyx too and it never worked for me."
    Carefull to see if you're using the correct version for your operating system, as there are different ones for Jaguar, Panther and Tiger.
    "It didn't delete or clean anything."
    It does for me. You have to use the 'cleanning' option in the application's toolbar.
    "I am going to toss it and try and down load it again."
    http://www.titanium.free.fr/pgs/english.html
    "Now everytime I use it it comes up with an error message...so delete what you can yourself."
    I suppose OnyX comes with an uninstaller, so give it a try.
    (see next post)

  • The Type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule1' threw an exception

    Hello,
    I am getting the error message listed in the topic subject when i try to install the Exchange Server 2013 SP1 Evaluation Mode downloaded from your website. After completing all requirements & pre-requisites, I started the installation with the Mailbox
    & Client Access role selected, when i get to the screen which says "Readiness Check" main page subject, and the progress says Configuring Prerequisites, before any progress in the %, i get the error message:
    The Type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule1' threw an exception
    and it says retry.
    Knowing that the server is a member of a domain.How would i resolve this issue?
    Thanks,
    Elie

    hi Ed,
    i am running Windows Server 2012 R2 Standard Evaluation Edition with Exchange Server 2013 Evaluation, But that error message was resolved by removing and re-installing .NET Framework 3.5. That is fine now.
    But now i am getting another error message When it tries to install the Management Tools.
    (Step 1 of 9: Management Tools)
    Error: The Following error was generated when "$error.Clear();
    Set-LocalPermissions
    "was run: "The process does not possess the 'SeSecurityPrivilege' privilege which is required for this operation"'
    knowing that the server is part of a domain and the domain controller runs Windows Server 2008 R2 Evaluation Edition.
    Any ideas why this error message popups up?
    Regards,

  • Exchange 2013 CU3 Fails "The type initializer for 'Microsoft.Exchange.Flighting.RotationHash' threw an exception."

    I can't get Exchange 2013 to install in our Server 2008 R2 infrastructure. Setup fails with the following error when preparing AD. This is running on Server 2008 R2 SP1 VM's.
    Welcome to Microsoft Exchange Server 2013 Cumulative Update 3 Unattended Setup
    Copying Files...
    File copy complete. Setup will now collect additional information needed for installation.
    Performing Microsoft Exchange Server Prerequisite Check
        Prerequisite Analysis                                                                            
    COMPLETED
     Task module "CmdletHealthCountersModule.Task_IterateCompleted" fails with exception "The type initializer for 'Microsof
    t.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be aff
    ected.
     Task module "CmdletIterationEventModule.LogCmdletIterationEvent" fails with exception "The type initializer for 'Micros
    oft.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be a
    ffected.
     Task module "CmdletHealthCountersModule.Task_Release" fails with exception "The type initializer for 'Microsoft.Exchang
    e.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be affected.
    Configuring Microsoft Exchange Server
        Organization Preparation                                                                         
    FAILED
         The following error was generated when "$error.Clear();
            install-DefaultAcceptedDomain -Name $RoleFullyQualifiedDomainName -DomainName $RoleFullyQualifiedDomainName -Dom
    ainController $RoleDomainController
    " was run: "The type initializer for 'Microsoft.Exchange.Flighting.RotationHash' threw an exception.".
     Task module "CmdletHealthCountersModule.Task_IterateCompleted" fails with exception "The type initializer for 'Microsof
    t.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be aff
    ected.
     Task module "CmdletIterationEventModule.LogCmdletIterationEvent" fails with exception "The type initializer for 'Micros
    oft.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be a
    ffected.
     Task module "CmdletHealthCountersModule.Task_Release" fails with exception "The type initializer for 'Microsoft.Exchang
    e.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be affected.
    The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the

    I have set the PowerShell Execution Policy to unrestricted. After running setup /PS I get the following output
    PS C:\Windows\system32> cd c:\temp\ex2013cu3
    PS C:\temp\ex2013cu3> ./setup /ps /iacceptexchangeserverlicenseterms
    Welcome to Microsoft Exchange Server 2013 Cumulative Update 3 Unattended Setup
    Copying Files...
    File copy complete. Setup will now collect additional information needed for installation.
    Performing Microsoft Exchange Server Prerequisite Check
        Prerequisite Analysis                                                                            
    COMPLETED
     Task module "CmdletHealthCountersModule.Task_IterateCompleted" fails with exception "The type initializer for 'Microsof
    t.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be aff
    ected.
     Task module "CmdletIterationEventModule.LogCmdletIterationEvent" fails with exception "The type initializer for 'Micros
    oft.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be a
    ffected.
     Task module "CmdletHealthCountersModule.Task_Release" fails with exception "The type initializer for 'Microsoft.Exchang
    e.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be affected.
    Configuring Microsoft Exchange Server
        Extending Active Directory schema                                                                
    COMPLETED
     Task module "CmdletHealthCountersModule.Task_IterateCompleted" fails with exception "The type initializer for 'Microsof
    t.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be aff
    ected.
     Task module "CmdletIterationEventModule.LogCmdletIterationEvent" fails with exception "The type initializer for 'Micros
    oft.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be a
    ffected.
     Task module "CmdletHealthCountersModule.Task_Release" fails with exception "The type initializer for 'Microsoft.Exchang
    e.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be affected.
    The Exchange Server setup operation completed successfully.
    PS C:\temp\ex2013cu3>
    The installation was started at 10:13am and hung for sometime at 94% of the prereq stage. Installation finally completed at 10:47am. The errors seem to indicate that setup will continue. However upon running setup /prepareAD the installation hangs for sometime
    at 21% of Organization Preparation before finally failing with the following output....
    PS C:\temp\ex2013cu3> ./setup /prepareAD /iacceptexchangeserverlicenseterms
    Welcome to Microsoft Exchange Server 2013 Cumulative Update 3 Unattended Setup
    Copying Files...
    File copy complete. Setup will now collect additional information needed for installation.
    Performing Microsoft Exchange Server Prerequisite Check
        Prerequisite Analysis                                                                            
    COMPLETED
     Task module "CmdletHealthCountersModule.Task_IterateCompleted" fails with exception "The type initializer for 'Microsof
    t.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be aff
    ected.
     Task module "CmdletIterationEventModule.LogCmdletIterationEvent" fails with exception "The type initializer for 'Micros
    oft.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be a
    ffected.
     Task module "CmdletHealthCountersModule.Task_Release" fails with exception "The type initializer for 'Microsoft.Exchang
    e.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be affected.
    Configuring Microsoft Exchange Server
        Organization Preparation                                                                         
    FAILED
         The following error was generated when "$error.Clear();
            install-DefaultAcceptedDomain -Name $RoleFullyQualifiedDomainName -DomainName $RoleFullyQualifiedDomainName -Dom
    ainController $RoleDomainController
    " was run: "The type initializer for 'Microsoft.Exchange.Flighting.RotationHash' threw an exception.".
     Task module "CmdletHealthCountersModule.Task_IterateCompleted" fails with exception "The type initializer for 'Microsof
    t.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be aff
    ected.
     Task module "CmdletIterationEventModule.LogCmdletIterationEvent" fails with exception "The type initializer for 'Micros
    oft.Exchange.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be a
    ffected.
     Task module "CmdletHealthCountersModule.Task_Release" fails with exception "The type initializer for 'Microsoft.Exchang
    e.Flighting.RotationHash' threw an exception.". This module is skipped. Task execution result should not be affected.
    The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the
    <SystemDrive>:\ExchangeSetupLogs folder.
    PS C:\temp\ex2013cu3>

  • Readiness Checks fail with "The type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule`1' threw an exception."

    There's another thread about this issue but the accepted answer actually has nothing at all to do with the original problem/question so that's a bit deceptive.
    Anyway, when trying to install Exchange 2013 SP1 (on 2012 R2 Datacentre) the installation reaches the Configuring Prerequisites part of the Readiness Checks and then fails out with the message:
    The type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule`1' threw an exception.
    I honestly can't find any way around this issue and the only mentions I've seen resulted in people reinstalling Windows which obviously isn't really a resolution to the problem.
    Is there any known fix for this issue?

    Ok well I've managed to get around that now by recreating a few registry keys and documented that here (apparently I'm not allowed to create links so can't put that here).
    I have a new issue now though. It seemed to get almost all the way through the installation process but is now failing due to a "memory" issue although due to the wording I can't tell whether it means RAM or Disk space. Either way, neither should
    apply. The drive has 80GB of space available and the machine has 8GB of RAM (only 2GB in use at the time the installer was ran and the amount didn't drop).
    The exact error is...
    Error:
    The following error was generated when "$error.Clear();
    Write-ExchangeSetupLog -Info "Setting up FIPS configuration based on Exchange Install Path";
    $FipsDataPath = [System.IO.Path]::Combine($RoleInstallPath, "FIP-FS\Data");
    $FipsEnginesPath = [System.IO.Path]::Combine($FipsDataPath, "Engines");
    Write-ExchangeSetupLog -Info "Loading FipFs snapin";
    Add-PsSnapin Microsoft.Forefront.Filtering.Management.PowerShell -ErrorAction SilentlyContinue;
    Set-ConfigurationValue -XPath "/fs-conf:Configuration/fs-sys:Machine/fs-sys:Paths/fs-sys:TraceFile" -Value $FipsDataPath -Confirm:$false
    Set-ConfigurationValue -XPath "/fs-conf:Configuration/fs-sys:Machine/fs-sys:Paths/fs-sys:Engines" -Value $FipsEnginesPath -Confirm:$false
    # Copy Microsoft Engine to Engines folder during the install
    $FipsBinPath = [System.IO.Path]::Combine($RoleInstallPath, "FIP-FS\Bin");
    $MicrosoftEngineSourcePath = [System.IO.Path]::Combine($FipsBinPath, "Engine\Microsoft");
    $MicrosoftEngineDestinationPath = [System.IO.Path]::Combine($FipsEnginesPath, "amd64\Microsoft");
    $MicrosoftEngineExists = Test-Path $MicrosoftEngineDestinationPath
    if(! $MicrosoftEngineExists)
    Robocopy $MicrosoftEngineSourcePath $MicrosoftEngineDestinationPath /S /COPYALL
    " was run: "Creating an instance of the COM component with CLSID {2DC947D7-A2DC-4276-A554-891346CE2032} from the IClassFactory failed due to the following error: 8007000e Not enough storage is available to complete this operation. (Exception from HRESULT: 0x8007000E (E_OUTOFMEMORY)).".
    Error:
    The following error was generated when "$error.Clear();
    Write-ExchangeSetupLog -Info "Setting up FIPS configuration based on Exchange Install Path";
    $FipsDataPath = [System.IO.Path]::Combine($RoleInstallPath, "FIP-FS\Data");
    $FipsEnginesPath = [System.IO.Path]::Combine($FipsDataPath, "Engines");
    Write-ExchangeSetupLog -Info "Loading FipFs snapin";
    Add-PsSnapin Microsoft.Forefront.Filtering.Management.PowerShell -ErrorAction SilentlyContinue;
    Set-ConfigurationValue -XPath "/fs-conf:Configuration/fs-sys:Machine/fs-sys:Paths/fs-sys:TraceFile" -Value $FipsDataPath -Confirm:$false
    Set-ConfigurationValue -XPath "/fs-conf:Configuration/fs-sys:Machine/fs-sys:Paths/fs-sys:Engines" -Value $FipsEnginesPath -Confirm:$false
    # Copy Microsoft Engine to Engines folder during the install
    $FipsBinPath = [System.IO.Path]::Combine($RoleInstallPath, "FIP-FS\Bin");
    $MicrosoftEngineSourcePath = [System.IO.Path]::Combine($FipsBinPath, "Engine\Microsoft");
    $MicrosoftEngineDestinationPath = [System.IO.Path]::Combine($FipsEnginesPath, "amd64\Microsoft");
    $MicrosoftEngineExists = Test-Path $MicrosoftEngineDestinationPath
    if(! $MicrosoftEngineExists)
    Robocopy $MicrosoftEngineSourcePath $MicrosoftEngineDestinationPath /S /COPYALL
    " was run: "Creating an instance of the COM component with CLSID {2DC947D7-A2DC-4276-A554-891346CE2032} from the IClassFactory failed due to the following error: 8007000e Not enough storage is available to complete this operation. (Exception from HRESULT: 0x8007000E (E_OUTOFMEMORY)).".
    So if it's not the drive (there's only one drive in the machine) or RAM then what exactly has it ran out of?

  • The type initializer for 'Event.ReportDocument' threw an exception

    I know that I asked this question last week, but I cannot access that account anymore, and this issue that I'm having hasn't been fixed as of yet.
    Situaiton:
    Crystal Reports web app previously built using VS.NET 2003 (.NET 1.1), was upgraded to .NET 2.0 with Visual Studio 2005.  Built, and works perfect on local machine.
    Deployed application to remote Windows 2003 SP1 server, with .NET 2.0 SP1, Crystal Reports for .NET framework 2.0, and Microsoft Visual C++ 2005 Redistributable installed.
    When the application is run, I receive the following error when trying to build my report:
    The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.
    I've tried to install a Merge Module package, but each time I do, I get about 19 .dll's that can't/won't register.  Also, these dll's all point to a drive that's different from C:/.
    Seriously confused, and a little agitated.  I've torqued the SysAdmin's as well due to so many restarts on the server.
    Any help would be greatly appreciated.

    The fact that things are not registering is likely the cause of this issue.  They may not be installing for a few reasons.  Not enough permissions and missing dependancies are the main two you want to look at. 
    Try running a utility called [process monitor |http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx] , this will allow you to monitor all registry and file access during the install to see if you are getting an access denied somewher.
    To detect dependancies, try running [Dependency Walker|http://dependencywalker.com/] on the Dlls that are not registering.

Maybe you are looking for