Time type Initialization based on financial year instead of calendar year.
Hi All,
I'm facing this problem. By using time type i'm capturing the no of worked days for a calendar year. This Time Type is used for calculating Privilege Leave which will be divided by 20 in the year end for Quota calculation. But when I run PT60 for the period 31.03.2014 to 01.04.2014. The Time types are automatically getting Initialized.
Here Time Evaluation is running based on financial year not as calendar year ? How to change the same to calendar year.
Already I have searched few solution here. As per the below link
PT60 generating for financial year but not for calendar year . But i'm facing the same issue.
Please suggest me the solution for this.
Regards
Jagan
Hi Vivek and sikandar,
Thanks for the immediate response.
The Time evaluation is running for Financial year (Apr - mar). But I need it to be run for Calendar Year. I gave PL Quota Time Type as an Example. But its happening to all the Time types.
Pls suggest me how to run Time evaluation for calendar year.
Please see the screenshot below (Time Type 9t01, 9t78, 9t80)
All the above three time types are getting initialized on April, but i want this to happen on 1st Jan.
I'll share my PCR if needed.
On 31.03.2015
On 01.04.2015
Thanks and Regards
Jagan
Similar Messages
-
Changing from a Fiscal year to a calendar year
Hi Everyone,
We need the supporting documentation, guidance to change from a Fiscal year to a calendar year. Also please share your experience, suggestions, thoughts on this?
Currently, our year-end is SEP 30th, now there is a requirement to change the year end from SEP 30th to DEC 31st.
N:> Keithley GL Superuser USA > Setup > Financials > Calendars > Accounting
Calendar is already associated to the set of books and the budget year for 2011 is already opened in the Production instance
We entered the budget through a spreadsheet upload using ADI. We can roll back the budget and reenter if required
We have already gone through the metalink note IDs 102460.1, 134362.1, and also the below document from Oracle Support
http://download.oracle.com/docs/cd/E15799_01/books/OnDemOLH/index.h...,
Below are our open questions at this point
1) Can you please let us know what would happen if the transition closes on the middle of the month
Example: We will close the month end, year end at the end of the month but what would happen if we close at the middle of the month (say DEC 15th instead of DEC 31st)
2) Will it be short? From 1st October 2010 - 31st December 2010.
Or will it be long? From 1st October 2010 - 31st December 2011.
Can you please let us know the pros and cons for each of these?
3) According to the Metalink note Id 102460.1, the application will prevent you from making changes to calendar the unless you meet the following qualifications:
a) All the periods to be changed have a status of Never Opened.
This condition does not match to the current situation at the clients place as we don’t have the status "Never Opened" for any of the periods in the accounting calendar in
subledgers
b) A budget year that includes the periods to be changed is no t yet opened.
Budget year is already opened for the year 2011 at the clients placec) An encumbrance year that includes the periods to be changed is not yet opened.
“Encumbrance” is not applicable at the clients placed) The periods to be changed have not yet been copied from the GL Calendar to Project
“Projects” is not applicable at the clients placeThanks
VeenaPl post details of OS, database and EBS versions. Pl see if these MOS Docs can help
How to change GL Calendar from a Fiscal to a Calendar year? (Doc ID 102460.1)
CHANGING SET OF BOOKS CALENDAR FROM CALENDAR YEAR TO FISCAL YEAR (Doc ID 1060624.6)
R12: Is It Still Possible To Change GL Calendar From Fiscal to Calendar Year In Release12? (Doc ID 836263.1)
General Ledger Calendar FAQ (Doc ID 134362.1)
HTH
Srini -
Calendar day and Calendar Year/Week mapping
Dear SDN,
I am unable to view Calendar Year/Week and Calendar Day ...Data..
I have observed that they have not mapped in the Update rules of 0SD_C03 InfoCube...
I have checked all the InfoSources (2LIS_11_VAHDR, 2LIS_11_VAITM, 2LIS_11_V_ITM, 2LIS_12_VCHDR, 2LIS_12_VCITM, 2LIS_13_VDHDR, 2LIS_13_VDITM)...
There in all the Update Rules...
Update Rules -- Details -- Time Ref.---
Time Characteristic of Fiscal Year Variant is mapped with Source fields of Fiscal Year variant
similarly,
Calendar Year/Month is mapped with Update Date Statistics
But Calendar Year/Week and Calendar Day are Blanck...
I am thinking they also should be mapped..
Please suggest me how to resolve this...
Help will be greatly appreciated with points..
Thanks in advance..
This is very urgent...Thanks...
But i have already assigned my self...
0calyear/week to Update date statistics...
and
0calendarday to Update date statistics..
I have assigned points to you...
Thanks for your informatioon -
Hello,
I extended my Gamer's club extension last week and noticed it extended to 2 years from the time of purchase instead of 2 years from 2/10/14 when the membership was due to expire prior to the extension. Could someone help me get this fixed?
Thank you,
RichHello gamesaholic,
Thank you for renewing your Unlocked membership. I am sorry for the concern that the date has caused you. The My Best Buy team is aware that some accounts are showing an expiration date based on when they renewed rather than their previous expiration date. This is being investigated and you should see any necessary changes reflected long before your currently listed expiration date. Thank you for your patience in the meantime.
Best regards,
Mike|Social Media Specialist | Best Buy® Corporate
Private Message -
Hi, i forgot my macbook pro(snow leopard) password and i tried to reset it through single user mode, but whenever i type, everything comes out in CAPs instead of lower case. Each time i press the minus(-), it always comes out as an underscore(_).Pls help.
Well, you can try easing the shift key up with something thin but flexible (credit card sort of thing) but if the contacts below are stuck you may need to get it seen to by an authorised repairer.
If you can borrow a keyboard (a PC one will probably work as long as the password is alpha-numeric with no special characters) you can at least get in to backup your HD before going for repair. -
0HR_PT_2 How to get back historical data for new report time type
Hi All Expert,
We have implemented and using the 0HR_PT_2 extractor for the past whole year. The Delta is working. Recently, there is requirement to read more data from the ZL custer table, and more new BW Report Time Types are added to extract such data.
The delta doesn't pick up the the past whole year data of the new report time type that we added.
Do we need to re-initialize the load to get back those historical data every time when we add a new report time type?
Please advice and Thx
Ken
Edited by: Ken Hong on Feb 27, 2008 9:24 PM
Edited by: Ken Hong on Feb 27, 2008 9:25 PMP.s, all hidden files are shown in es file explorer as this backup folder was hidden originally. It has a '.' in front. So I'm pretty sure the folder it's gone, but as I've not erased my phone again, shouldn't the folder be somewhere in my SD card still and how can I find it using my Mac?
-
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 -
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? -
Selective deletion based on Calendar Year/Month in process chains
Hi all,
I have a requirement from the business wherein I have to delete the past months data before I load the same data into 6 infocubes using a process chain.
I checked the forums to understand how selective deletion is used in a process chain and I have come to know that RSDRD_DELETE_FACTS program or DELETE_FACTS Tcode can be used to generata a G* program that performs the deletion.
I am to integrate this generated program in my process chain. I have 0CALMONTH(Calendar Year/Month) as the time characteristic in all my infocubes and therefore the only time characteristic available for selective deletion.
My problem is that I am unable to create a dynamic selection for the Calendar Year/Month such that it takes the previous month.To be exact I am unable to use the "D" option in the Selection Variable column for this characteristic.
Please can somebody help me out with this.Hi,
Use this ABAP program code in your Process Chain...
Type Pools
TYPE-POOLS: rsdrd, rsdq, rssg.
Local Internal Tables
DATA: lit_msg TYPE rs_t_msg,
lit_sel TYPE rsdrd_thx_sel.
Local Work Area
DATA : lwa_sel_kf1 TYPE rsdrd_sx_sel,
lwa_range_kf1 TYPE rsdrd_s_range.
Local Constants
CONSTANTS : lc_i(1) TYPE c VALUE 'I',
lc_x(1) TYPE c VALUE 'X',
lc_eq(2) TYPE c VALUE 'EQ',
lc_kf1(11) TYPE c VALUE '0CALMONTH'.
CONSTANTS : lc_cube TYPE rsddatatarget VALUE 'Z_C21'.
Delete Existing cube records
Key Field 1 (CALMONTH)
lwa_range_kf1-sign = lc_i.
lwa_range_kf1-option = lc_eq.
lwa_range_kf1-high = space.
lwa_range_kf1-keyfl = lc_x.
lwa_range_kf1-low = <Value of CALMONTH>.
APPEND lwa_range_kf1 TO lwa_sel_kf1-t_range.
CLEAR lwa_range_kf1.
lwa_sel_kf1-iobjnm = lc_kf1.
INSERT lwa_sel_kf1 INTO TABLE lit_sel.
CLEAR : lwa_sel_kf1.
Selective Deletion through FM
CALL FUNCTION 'RSDRD_SEL_DELETION'
EXPORTING
i_datatarget = lc_cube
i_thx_sel = lit_sel
i_authority_check = space
i_mode = lc_c
i_no_enqueue = lc_x
CHANGING
c_t_msg = lit_msg
EXCEPTIONS
x_message = 1
inherited_error = 2
invalid_type = 3
OTHERS = 4.
IF sy-subrc = 0.
REFRESH : lit_sel[],
lit_msg[].
ENDIF.
Thanks,
Saru -
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 -
What are the fields under Time types
Hi All, could you please help me know how system reacts if the below fields are updated while creating Time types.
1.Save as day balanace
2.Cumulate in Period balance
3.Transfer previous period
4.Transfer pervious year
ThanksPls try the time type for calculation in Time evaluations, Use F1 key to understand the actual meaning of the fields
save as day balance will store the results in perticular time type as on day basis
period is the frequency when you running the time evaluations and storing the time results
if you running time evaluation everyday then perivious day is the previous period, so transfer from perious period
same as for prvious year
- Aby -
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="Data Source=myserver;Initial
Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True"" 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}
=======
Process={ProcessId},
Thread={ThreadId},
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.
NealI 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 -
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-kalashHello,
>>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. -
I am using SSRS and I cannot access SQL server to answer my problem, so the solution needs to be done via SSRS only.
I am currently trying to graph some data. The problem is, the months on the X axis are aligned by calendar year. I need the first month to commence with July, with the last month on the axis to be June. This also means that the year series need to be changed
from calendar year to Australian financial year.
Screenshots are provided in the comments.Hi Northern,
Per my understanding that you want to show the month in the x axis as the order of the financial year(7,8,9,10...4,5,6) and also display the year in the series group as the financial year, right?
I have tested on my local environment and we can modify the query in the sql to get the financial year value based on the fields of Calendar year, details information below for your reference:
1. Modify the query as below:
SELECT
Calendar_Date,CASE WHEN MONTH(Calendar_Date)>=7 THEN
YEAR(Calendar_Date)+1
ELSE YEAR(Calendar_Date) END AS Financial_Year,
MONTH(Calendar_Date)as Financial_Month,
Billing_Amount
FROM TableName
order BY
Calendar_Date
2. Add the "Billing_Aomount" in the Value area, "Financial_Month" in the Category group area and "Financial_Year" in the Series group area.
3. Right click the "Financial_Month" under the Category group to select the "Category group properties",click the sorting and add below expression in the Sort by to specify the order for the month in the x-axis:
=switch(Fields!Financial_Month.Value="7",1,Fields!Financial_Month.Value="8",2,
Fields!Financial_Month.Value="9",3,Fields!Financial_Month.Value="10",4,
Fields!Financial_Month.Value="11",5,Fields!Financial_Month.Value="12",6,
Fields!Financial_Month.Value="1",7,Fields!Financial_Month.Value="2",8,
Fields!Financial_Month.Value="3",9,Fields!Financial_Month.Value="4",10,
Fields!Financial_Month.Value="5",11,Fields!Financial_Month.Value="6",12)
4. Preview you will get the sample chart display as below according to my sample data:
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Vicky Liu
TechNet Community Support -
Time Series initialization dates with fiscal periods!
Dear Experts
Problem:
I cannot initialize planning area.
Period YYYY00X is invalid for periodicity P FYV
Configuration
Storage Buckets Profile: Week, Month, Quarter, Year, Post Period FYV all checked.
Horizon
Start: 24.02.2013
End: 31.12.2104
No Time stream defined.
Fiscal Year Variant
2012
Month
1
2
3
4
5
6
7
8
9
10
11
12
Edate
28
25
31
28
26
30
28
25
29
27
24
31
FP
1
2
3
4
5
6
7
8
9
10
11
12
2013
Month
1
2
3
4
5
6
7
8
9
10
11
12
Edate
26
23
30
27
25
29
27
24
28
26
23
31
FP
1
2
3
4
5
6
7
8
9
10
11
12
2014
Month
1
2
3
4
5
6
7
8
9
10
11
12
Edate
25
22
29
26
24
28
26
23
27
25
22
31
FP
1
2
3
4
5
6
7
8
9
10
11
12
2015
Month
1
2
4
5
5
7
8
8
10
10
11
12
Edate
31
28
4
2
30
4
1
29
3
31
28
31
FP
1
2
3
4
5
6
7
8
9
10
11
12
Question
What goddamn dates should I enter in the planning area initialization start and end to initialize for maximum duration given the settings above?
I tried a few dozens but none is accepted. For a start I tried the same dates as in Horizon of storage bucket profile. But given the kind of error text I have I cannot decipher with tiny little mind what dates I am expected to enter in for time series creation.
Thanks
BSThanks Mitesh,
No its 2014
Here is what worked.
Storage Bucket Horizon
Start: 24.02.2013
End: 22.11.2014
Time Series Initialization
Start: 01.02.2013
End Date: 31.12.2014
The fiscal year variant is what I pasted above.
I thought time series can only be initialized for a subset of period in the storage bucket profile !. This is my first experience of this kind where Initialization period is larger than the storage horizon. Is this the case ? I went by the book always and this is just a chance discovery by me.
I was aware of the limitation by SAP notes on need to have one more year on either sides in fiscal year variant for it to be used for initialization and hence the range of dates I tried.
Appreciate your comments on this.
All dates in dd/mm/yyyy.
Thanks
BS
Maybe you are looking for
-
Hi All am performing remote client copy through scc9, created RFC & tested connection, this server is not in the transport landscape. when i execute scc9 and select profile SAP_ALL from target system (Production server) it runs for 5-7 mins and ends
-
The most awful pvr box I have ever had the misfort...
I got BT Vision a few months ago and have, right from the start, been frustrated by the terrible box. I've been using pvrs for many years, my favourite manufacture is Humax, fwiw. BT box good points: The padding where it will pad programmes that star
-
I would like to automate the installation of FireFox to an alternate directory.
I am trying to automate the installation of FireFox to my servers drive "F:" but I have not found a way to script this option. Typical Windows installations would use the INSTALLDIR= option, but this does not work. I have seen several different spins
-
Conexión tarjeta ni6008 a pc con windows 8 y labview 2010
Hola. Soy nuevo en labview, y estoy intentando conectar una tarjeta de adquisición de datos NI 6008 a un pc con windows 8 y labview 2010, le he instalado los drivers, y todo ok, pero cuando intento hacer una prueba con Measurement & automation, me ap
-
Problem with Chang pointers in ALE
1) what is Chang pointers? use of change pointers? with example if possible?