Bpelx:validate exception message is not machine parsable
I have an enhancement request for bpelx:validate
bpelx:validate exception message is not machine parsable as the exeption message is "free text" this makes it hard to
parse the message and send it back to a client.
An example "exeption message" is :
<summary>Invalid xml document. According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-enumeration-valid: Value '144'
is not facet-valid with respect to enumeration '[Z04, Z03, Z02, Z01, 31, 67,
94, 99, 136, 137, 138, 139, 140, 143]'. It must be a value from the
enumeration. Error::cvc-complex-type.2.2: Element 'Element-6063' must have no
element [children], and the value must be valid. Please make sure that the xml
document is valid against your schemas. </summary>
If multiple fields are incorrect the summary field is even harder to parse.
The error should be returned in a XML schema I think
Hi,
I got a bug id of 6670679 for this, no news yet.
You could use the Saxon schema-aware parser (http://www.saxonica.com/)
Saxon-B is that Saxon-SA is schema-aware: it allows stylesheets and queries to import an XML Schema, to validate input and output trees against a schema.
You could also have a look at Schematron (www.schematron.com)
Regards,
Orjan
Similar Messages
-
Bpelx:validate exception message is not machine parsable : need answer asap
I have an enhancement request for bpelx:validate
bpelx:validate exception message is not machine parsable as the exeption message is "free text" this makes it hard to
parse the message and send it back to a client.
An example "exeption message" is :
<summary>Invalid xml document. According to the xml schemas, the xml document is invalid. The reason is: Error::cvc-enumeration-valid: Value '144'
is not facet-valid with respect to enumeration '[Z04, Z03, Z02, Z01, 31, 67,
94, 99, 136, 137, 138, 139, 140, 143]'. It must be a value from the
enumeration. Error::cvc-complex-type.2.2: Element 'Element-6063' must have no
element [children], and the value must be valid. Please make sure that the xml
document is valid against your schemas. </summary>
If multiple fields are incorrect the summary field is even harder to parse.
The error should be returned in a XML schema . This means what ever the error returned by bpelx: validate should be returned to Catch block. same summary should be received in catch. Please reply asap if anybody would have come
across already this and having solution. Thanks in advance.
regards
Jr.Hi,
I got a bug id of 6670679 for this, no news yet.
You could use the Saxon schema-aware parser (http://www.saxonica.com/)
Saxon-B is that Saxon-SA is schema-aware: it allows stylesheets and queries to import an XML Schema, to validate input and output trees against a schema.
You could also have a look at Schematron (www.schematron.com)
Regards,
Orjan -
MRP exception message 64 and planning strategy group 52
Hi Gurus,
I have done extensive search online in the forum to find the route cause why we are getting MRP exception message 64 for a specific material in one of our plants. This exception message does not occur for the same materials which is also produced in another plant.
I was just wondering whether the planning strategy group of 52 in MRP 3 view would have any effect on the frequent occurrence of exception message 64. I know that the 64 message occurs when the routing time is higher than the in house production time. If that's the case where to look for in routing to correct this, apart from this do we need to look at work centers and other details. I'm not a PP person but still was curious to know see if i could take a shot at it.
Also the MRP settings that we follow in the plant where this problem does not occur is NETCH, Create PR - 2, Schedule lines - 3, create MRP list - 1, Planning mode - 3, scheduling -2
in the plant where the 64 message occurs quite often is Netch, Create PR -2, Schedule lines - 3, create MRP list - 1, planning mode - 1, Schdeduliing - 1
I was thinking do MRP settings and planning strategy group would have any impact on why we are getting the 64 wexception message
Because of this 63 exception message, the downstream components are getting wrong signals.
Thanks
RaviHello Ravi
Generallt, exception message "64 - Production finish after order finish" is triggered when the order start date is in the past and system automatically changes to forward scheduling to calculate the finish date.
Note 1913017 explains how the order basic date is calculated and adjusted in case of forward scheduling, however, you are using strategy 52 and this is a very special scenario, whever VP planned orders are generated.
The VP planned orders will always be adjusted to the requirements date even if the requirements date is in the past. This is a special feature in the planning segment, since these orders are only kind of 'virtual' planned orders. These orders only have to provide the demand requirements for the components in time.
Therefore, there is a relationship between strategy 52 (VP planned order) and the exception message observed.
BR
Caetano -
hi
I have only one planned order with Exception message 62 i.e. master data inconsistent and all other planned orders of this material are having no exception message.
I am running MRP again with planning mode = 2
but still exception message is not going.
AmitHi,
You said that for the same material , you have some other planned orders into which the routing is transferred - right?
so , pls change the order start date of this planned order with the start date of those problem free planned orders and try to schedule this planned order again. If now, this planned order gets scheduled and routing is transferred /Det sched tab is added , then we can conclude that the problem is with the validity date only.
pls check -
Exception Messages Report / List
I have been unable to locate an exception messages report, either for production orders, requisitions, or purchase orders. I am looking for a report that will contain all of the exception mesages.
Ideally, the output would be something like:
1. WBS element (project)
2. Material number
3. Material Description
4. Make or buy code
5. Recd. / Reqd. Quantity (This would be the qty affected by the exception message)
6. Date (e.g. date on which the material is currently expected to be received)
7. Purchase order or work order #
8. Purchase order line #
9. Purchasing group
10. MRP Controller
11. Exception message Number
12. Exception message Description
13. Re-Scheduling date
14. Various additional MM fields
I have requested the report, but I am told by my IT group that the exception messages do not reside in any table, so they cannot be retrieved, much less exported to excel, so a list of teh applicable tables/fields would also help.
I assume that this issue has been raised and solved many times, since SAP is not new and my request not unique.
I welcome any suggestions.
Thank you.HI,
Why dont you try to list the messages in SE91 and by giving the application area.
Thanks & Regards,
Kiran -
MRP exception message configuration in SPRO
Hi all,
Please advise where we can do configuration settings of exception message in SPRO.Please check the first link of my post. Path and usefull info is mentioned there:
MRP exception message:
spro -> pp -> mrp -> evaluation -> exception messages -> define & group exception messages.
Define and Group Exception Messages
In this step, you define the following parameters for exception messages:
Whether exception messages are displayed for particular exception situations
If a particular exception message is not relevant to your company, select the field No exception message. In the planning run, this exception message is then no longer created for this situation.
The priority in which exception messages are to be displayed
If several exception messages exist for one MRP element, you can assign priorities to determine which exception message is to be displayed in the MRP evaluations. The system always displays the exception message with the highest priority directly in the list. The exception message selected with the next highest priority can be displayed in the list by accessing the additional data.
You enter the priority of the exception messages in the field entitled Excep.mssge priority.
You can see the sequence of priorities by selecting the possible entries pushbutton on the input field. Thus, you can gain an overview of the previous sequence of the exception messages. The exception messages with the higher number also has higher priority.
How exception messages are grouped to exception groups
For the collective display of the MRP list and the stock/requirements list, as well as for all material lists created as a result of the single-item, multi-level planning run, exception messages are grouped into exception groups. In the standard system, a grouping exists that you can change, if necessary, in the field entitled Selection group. You can adapt the long text of the exception group in the step Check Exception Group Texts.
Depending on which exception messages MRP lists are created
In the initial screen of the planning run as well as in in the MRP group, you can define that the system is only to create an MRP list if certain exceptional situations exist (creation indicator "Create MRP list - depending on exception messages"). The exception messages that lead to the creation of the MRP list are selected in the field entitled Create MRP list.
Actions
1. Define whether the exception message is set.
2. Define the priority of the exception message.
3. If necessary, change the exception groups.
4. If necessary, select the exception for the creation of the MRP lists depending on the exception messages.
Edited by: Afshad Irani on Jun 3, 2010 4:27 PM -
SSL VPN message "This (client) machine does not have the web access privilege."
Hello!
I am trying to configure the SSL VPN (WebVPN) and I am almost done but when clicking on the URL's I configured in the bookmarks, I get the message "This (client) machine does not have the web access privilege. Please contact your SSLVPN provider for assistance." I looked through the many tutorials and guides in existence and none talks about such error and the fix for it. In fact, if I search the net for this error message I get only one match, in the Cisco website, where is say that "The client computer does not meet the security criteria of having web access functionality through the SSL VPN gateway." and as fix it gave this tip "Check the URL to the gateway or contact the administrator if it persists." So, nothing on the website about what this issue is and how to fix it. I will provide my IOS configuration and hopefully someone will spot the issue. Here it goes:
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname R1
boot-start-marker
boot-end-marker
logging message-counter syslog
no logging buffered
enable secret 5 $1$1LLX$u7aTc8XfNqPZhPVGwEF/J0
enable password xxxxxxxx
aaa new-model
aaa authentication login userAuthen local
aaa authentication login sdm_vpn_xauth_ml_1 local
aaa authorization network groupauthor local
aaa session-id common
crypto pki trustpoint TP-self-signed-1279712955
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-1279712955
revocation-check none
rsakeypair TP-self-signed-1279712955
crypto pki certificate chain TP-self-signed-1279712955
certificate self-signed 01
3082023A 308201A3 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
69666963 6174652D 31323739 37313239 3535301E 170D3130 30333233 31313030
33375A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 32373937
31323935 3530819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
8100A8EF 34E3E792 36660498 9801F934 E8A41865 3599EA35 B073AC91 D7A53AF4
A4390D2F CB3DB2DE 936B28F0 A25F3CE1 6F40FD9E E79096F2 F89620E0 B31A7B34
649BBA22 AE44CB55 9F38BF0C 2F2770CF 8380C167 C17D760C 380E28E4 FF7D6874
9EFC310A 2AA60835 F1AA384F CD1A0173 19C98192 EBFBD531 24CB9203 EA9E7D54
B2C30203 010001A3 62306030 0F060355 1D130101 FF040530 030101FF 300D0603
551D1104 06300482 02523130 1F060355 1D230418 30168014 0D9D62EC DA77EAF3
11ABF64D 933633F9 2BA362DC 301D0603 551D0E04 1604140D 9D62ECDA 77EAF311
ABF64D93 3633F92B A362DC30 0D06092A 864886F7 0D010104 05000381 81006853
48ED4E3E 5721C653 D9A2547C 36E4F0CB A6764B29 9AFFD30A 1B382C8C C6FDAA55
265BCF6C 51023F5D 4AF6E177 C76C4560 57DE5259 40DE4254 E79B3E13 ABD0A78D
7E0B623A 0F2D9C01 E72EF37D 5BAB72FF 65A176A1 E3709758 0229A66B 510F9AA2
495CBB4B 2CD721A7 D6F6EB43 65538BE6 B45550D7 A80A4504 E529D092 73CD
quit
dot11 syslog
ip source-route
ip dhcp excluded-address 192.168.0.1 192.168.0.10
ip dhcp pool myPOOL
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
dns-server 87.216.1.65 87.216.1.66
ip cef
ip name-server 87.216.1.65
ip name-server 87.216.1.66
ip ddns update method mydyndnsupdate
HTTP
add http://username:[email protected]/nic/update?system=dyndns&hostname=<h>&myip=<a>
interval maximum 1 0 0 0
no ipv6 cef
multilink bundle-name authenticated
vpdn enable
vpdn-group pppoe
request-dialin
protocol pppoe
username cisco privilege 15 password 0 xxxxxxxx
crypto isakmp policy 3
encr 3des
authentication pre-share
group 2
crypto isakmp fragmentation
crypto isakmp client configuration group vpnclient
key cisco123
domain selfip.net
pool ippool
acl 110
crypto ipsec transform-set myset esp-3des esp-md5-hmac
crypto dynamic-map dynmap 10
set transform-set myset
reverse-route
crypto map clientmap client authentication list userAuthen
crypto map clientmap isakmp authorization list groupauthor
crypto map clientmap client configuration address respond
crypto map clientmap 10 ipsec-isakmp dynamic dynmap
archive
log config
hidekeys
interface Loopback0
ip address 10.11.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
interface Loopback2
description SSL VPN Website IP address
ip address 10.10.10.1 255.255.255.0
interface Loopback1
description SSL DHCP Pool Gateway Address
ip address 192.168.250.1 255.255.255.0
interface FastEthernet0
description $ES_LAN$
ip address 192.168.0.1 255.255.255.0
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
interface BRI0
no ip address
encapsulation hdlc
shutdown
interface FastEthernet1
interface FastEthernet2
switchport access vlan 2
interface FastEthernet3
interface FastEthernet4
interface FastEthernet5
interface FastEthernet6
interface FastEthernet7
interface FastEthernet8
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
bundle-enable
dsl operating-mode auto
interface Vlan1
no ip address
interface Dialer1
ip ddns update hostname myserver.selfip.net
ip ddns update mydyndnsupdate host members.dyndns.org
ip address negotiated
ip nat outside
ip virtual-reassembly
encapsulation ppp
ip policy route-map VPN-Client
dialer pool 1
ppp chap hostname xxx
ppp chap password 0 xxxx
ppp pap sent-username xxx password 0 xxxx
crypto map clientmap
ip local pool ippool 192.168.50.100 192.168.50.200
ip local pool sslvpnpool 192.168.250.2 192.168.250.100
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer1
ip http server
ip http authentication local
ip http secure-server
ip nat inside source static tcp 192.168.0.2 21 interface Dialer1 790
ip nat inside source static tcp 192.168.0.15 21 interface Dialer1 789
ip nat inside source list 102 interface Dialer1 overload
ip nat inside source static tcp 10.10.10.1 443 interface Dialer1 443
ip nat inside source static tcp 10.10.10.1 80 interface Dialer1 80
access-list 102 deny ip 192.168.0.0 0.0.0.255 192.168.50.0 0.0.0.255
access-list 102 permit ip 192.168.0.0 0.0.0.255 any
access-list 110 permit ip 192.168.0.0 0.0.0.255 192.168.50.0 0.0.0.255
access-list 144 permit ip 192.168.50.0 0.0.0.255 any
route-map VPN-Client permit 10
match ip address 144
set ip next-hop 10.11.0.2
control-plane
banner motd ^C
================================================================
UNAUTHORISED ACCESS IS PROHIBITED!!!
=================================================================
^C
line con 0
line aux 0
line vty 0 4
password mypassword
transport input telnet ssh
webvpn gateway MyGateway
ip address 10.10.10.1 port 443
http-redirect port 80
ssl trustpoint TP-self-signed-1279712955
inservice
webvpn install svc flash:/webvpn/svc_1.pkg sequence 1
webvpn install csd flash:/webvpn/sdesktop.pkg
webvpn context SecureMeContext
title "My SSL VPN Service"
secondary-color #C0C0C0
title-color #808080
ssl authenticate verify all
url-list "MyServers"
heading "My Intranet"
url-text "Cisco" url-value "http://192.168.0.2"
url-text "NetGear" url-value "http://192.168.0.3"
login-message "Welcome to My VPN"
policy group MyDefaultPolicy
url-list "MyServers"
functions svc-enabled
svc address-pool "sslvpnpool"
svc keep-client-installed
default-group-policy MyDefaultPolicy
aaa authentication list userAuthen
gateway MyGateway domain testvpn
max-users 100
csd enable
inservice
end
Thank you!Hi,
Please check SAP note:
2004579 - You cannot create a FR company from a Package
Thanks & Regards,
Nagarajan -
Hi,
I am getting an issue during a SCOM 2012 R2 installation while creating the SCOM DataWarehouse database. Setup seems to timeout during creating the datawarehouse database. I can see all database files created in windows explorer on the SQL server before
setup rolls the SCOM install back.
Has anyone seen this issue before or know how to help resolve it?
Appreciate your help, below is the SCOM installation log:
Thanks
Marc
[13:27:27]: Always: :Creating Database: OperationsManagerDW
[13:35:28]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:43:28]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:51:29]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[13:59:30]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:07:30]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:15:31]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:23:31]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:31:32]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:39:32]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:47:33]: Warn: :Warning:Retry on SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :DB operations failed with SQL error -2: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Error: :Error:Failed to execute sql command. Setup has reached maximum retry limit.
[14:55:33]: Warn: :Sql error: 11. Error: -2. Error Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :Exception running sql string
DECLARE @sql NVARCHAR(MAX);
SET @sql = 'CREATE DATABASE ' + QUOTENAME(@DatabaseName) + '
ON PRIMARY(NAME=MOM_DATA,FILENAME=''' + REPLACE(@Filename, '''', '''''') + ''',SIZE=' + CAST(@Size AS VARCHAR) + 'MB,MAXSIZE=UNLIMITED,FILEGROWTH=' + CAST(@FileGrowth AS VARCHAR) + 'MB)
LOG ON(NAME=MOM_LOG, FILENAME=''' + REPLACE(@LogFilename, '''', '''''') + ''',SIZE=' + CAST(@LogSize AS VARCHAR) + 'MB,MAXSIZE=UNLIMITED,FILEGROWTH=' + CAST(@LogFileGrowth AS VARCHAR) + 'MB)';
EXEC(@sql);: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.
[14:55:33]: Error: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Always: :Failed to create and configure the DB with exception.: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion
of the operation or the server is not responding.
[14:55:33]: Always: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.RunAdminScripts(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath, String logPath)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.ConfigureDataWarehouseDatabase(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath,
String logPath)
[14:55:33]: Always: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Always: :InnerException.StackTrace:
[14:55:33]: Error: :CreateDataWarehouse failed: Threw Exception.Type: System.Data.SqlClient.SqlException, Exception Error Code: 0x80131904, Exception.Message: Timeout expired. The timeout period elapsed prior to completion of the operation or
the server is not responding.
[14:55:33]: Error: :StackTrace: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.ExecuteNonQuery(SqlCommand sqlCommand, Int32& result)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.Common.SqlRetryHandler.Execute[T](SqlCommand sqlCommand, SqlRetryPolicy retryPolicy, GenericExecute`1 genericExecute)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DBConfigurationHelper.DBConfiguration.RunSqlCommandsList(IEnumerable`1 sqlCommands)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.RunAdminScripts(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath, String logPath)
at Microsoft.EnterpriseManagement.OperationsManager.Setup.DWConfigurationHelper.DWConfigurationProcessor.ConfigureDataWarehouseDatabase(String sqlServerInstance, Nullable`1 port, String databaseName, Int64 dbSize, Int64 logSize, String dbPath,
String logPath)
at Microsoft.SystemCenter.Essentials.SetupFramework.InstallItemsDelegates.OMDataWarehouseProcessor.CreateDataWarehouse()
[14:55:33]: Error: :Inner Exception.Type: System.ComponentModel.Win32Exception, Exception Error Code: 0x80131904, Exception.Message: The wait operation timed out
[14:55:33]: Error: :InnerException.StackTrace:
[14:55:33]: Error: :FATAL ACTION: CreateDataWarehouse
[14:55:33]: Error: :FATAL ACTION: DWInstallActionsPostProcessor
[14:55:33]: Error: :ProcessInstalls: Running the PostProcessDelegate returned false.
[14:55:33]: Always: :SetErrorType: Setting VitalFailure. currentInstallItem: Data Warehouse Configuration
[14:55:33]: Error: :ProcessInstalls: Running the PostProcessDelegate for OMDATAWAREHOUSE failed.... This is a fatal item. Setting rollback.
marc nalderHi,
Based on the log, I recommend you use the following way to test SQL connectivity.
You can use a UDL file to test various connectivity scenarios, create a simple text file, rename the extension from TXT to UDL, fill out the necessary information on the connection tab then test the connection, and troubleshoot as necessary
if it fails to connect.
For more information, please review the link below:
The easy way to test SQL connectivity
http://blogs.technet.com/b/michaelgriswold/archive/2014/01/06/the-easy-way-to-test-sql-connectivity.aspx
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. -
Why am i not able to see the exception message?
i wrote an 'instead of insert' trigger on a view.
and there are some exception situations in which the insertion should be stopped. my trigger works correctly. i mean it implements its purpose. however, the message i am taking after the trigger execution is not satisfying. ( i am using iSQL*Plus as the editor.)
here is my trigger: (after trigger there is some extra explanation below.)
CREATE OR REPLACE TRIGGER DemandOfCourses_T1_II
INSTEAD OF INSERT ON DemandOfCourses
REFERENCING NEW AS NEW OLD AS OLD
FOR EACH ROW
DECLARE
cpc NUMBER;
currentNum NUMBER;
stud1 NUMBER;
stud2 NUMBER;
prec NUMBER;
exc1 EXCEPTION;
exc2 EXCEPTION;
BEGIN
SELECT capacity
INTO cpc
FROM LimitedCourse
WHERE course = :NEW.course;
IF cpc IS NULL THEN
cpc := 1000;
END IF;
SELECT COUNT(course)
INTO currentNum
FROM Registered
WHERE course = :NEW.course;
SELECT COUNT(student)
INTO stud1
FROM Registered
WHERE student = :NEW.student
AND course = :NEW.course;
SELECT COUNT(student)
INTO stud2
FROM WaitingFor
WHERE student = :NEW.student
AND course = :NEW.course;
SELECT COUNT(hp.preCourse)
INTO prec
FROM HasPrereq hp
WHERE hp.course = :NEW.course
AND hp.preCourse NOT IN (SELECT course FROM CourseResult WHERE student = :NEW.student);
IF (prec = 0) THEN
IF (stud1 = 0) AND (stud2 = 0) THEN
IF (currentNum = cpc) THEN
INSERT INTO WaitingFor
VALUES (:NEW.student, :NEW.course, SYSDATE);
ELSE
INSERT INTO Registered
VALUES (:NEW.student, :NEW.course);
END IF;
ELSE
RAISE exc1;
END IF;
ELSE
RAISE exc2;
END IF;
EXCEPTION
WHEN exc1 THEN
RAISE_APPLICATION_ERROR (-20002, 'Already registered for this course.');
WHEN exc2 THEN
RAISE_APPLICATION_ERROR (-20003, 'First the prerequesite course(s) must be taken.');
WHEN NO_DATA_FOUND THEN
NULL;
END;
for eample, if i want to insert the row below:
INSERT INTO DemandOfCourses VALUES (100005, 'BAK127', 'REGISTERED');
-- 100005 : STUDENT ID
-- BAK127 : COURSE CODE
-- REGISTERED : SITUATION
when i run this insert comment, i receive this result:
1 row created.
Actually, it should not insert anything. and it is not inserting anything. i mean, it is working correctly. however, i want it to write my exception message: "-20003, 'First the prerequesite course(s) must be taken.'"
why cannot i see my expected exception message?
all the data and structure is certainly true. if you have a question about them, i can answer.
by the way, i will catch this exception from my java code. what should i do in this situation?
any help will be appreciated.
regardsHi,
i don't understand your logic.
See, I added output to trace the counters value :
SQL> drop table courses cascade constraints;
Table dropped.
SQL> CREATE TABLE Courses (
2 code VARCHAR2(15),
3 name VARCHAR2(40) NOT NULL,
4 credit NUMBER(2) CHECK (credit BETWEEN 1 AND 20),
5 PRIMARY KEY (code)
6 );
Table created.
SQL>
SQL> drop table LimitedCourse;
Table dropped.
SQL> CREATE TABLE LimitedCourse (
2 course VARCHAR2(15),
3 capacity NUMBER(3) NOT NULL,
4 PRIMARY KEY (course),
5 FOREIGN KEY (course) REFERENCES Courses(code)
6 );
Table created.
SQL>
SQL> drop table Registered;
Table dropped.
SQL> CREATE TABLE Registered (
2 student NUMBER(6),
3 course VARCHAR2(15),
4 PRIMARY KEY (student, course),
5 --FOREIGN KEY (student) REFERENCES Students(studentID),
6 FOREIGN KEY (course) REFERENCES Courses(code)
7 );
Table created.
SQL>
SQL> drop table WaitingFor;
Table dropped.
SQL> CREATE TABLE WaitingFor (
2 student NUMBER(6),
3 course VARCHAR2(15),
4 regisDate TIMESTAMP NOT NULL,
5 PRIMARY KEY (student, course),
6 --FOREIGN KEY (student) REFERENCES Students(studentID),
7 FOREIGN KEY (course) REFERENCES Courses(code)
8 );
Table created.
SQL>
SQL> drop table HasPrereq ;
Table dropped.
SQL> CREATE TABLE HasPrereq (
2 course VARCHAR2(15),
3 preCourse VARCHAR2(15),
4 PRIMARY KEY (course, preCourse),
5 FOREIGN KEY (course) REFERENCES Courses(code),
6 FOREIGN KEY (preCourse) REFERENCES Courses(code)
7 );
Table created.
SQL>
SQL>
SQL> drop table CourseResult;
Table dropped.
SQL> CREATE TABLE CourseResult (
2 student NUMBER(6),
3 course VARCHAR2(15));
Table created.
SQL>
SQL> CREATE OR REPLACE VIEW DemandOfCourses (student, course, situation) AS
2 (SELECT student, course, 'REGISTERED' FROM Registered)
3 UNION
4 (SELECT student, course, 'WAITING' FROM WaitingFor);
View created.
SQL>
SQL> INSERT INTO Courses VALUES ('EDA242', 'MATHEMATICS 1', 5);
1 row created.
SQL>
SQL> INSERT INTO LimitedCourse VALUES ('EDA242', 15);
1 row created.
SQL>
SQL>
SQL> CREATE OR REPLACE TRIGGER DemandOfCourses_T1_II
2 INSTEAD OF INSERT ON DemandOfCourses
3 REFERENCING NEW AS NEW OLD AS OLD
4 FOR EACH ROW
5 DECLARE
6 cpc NUMBER;
7 currentNum NUMBER;
8 stud1 NUMBER;
9 stud2 NUMBER;
10 prec NUMBER;
11 exc1 EXCEPTION;
12 exc2 EXCEPTION;
13
14 BEGIN
15
16 SELECT capacity
17 INTO cpc
18 FROM LimitedCourse
19 WHERE course = :NEW.course;
20 dbms_output.put_line('cpc '||cpc);
21
22 IF cpc IS NULL THEN
23 cpc := 1000;
24 END IF;
25
26
27 SELECT COUNT(*)
28 INTO currentNum
29 FROM Registered
30 WHERE course = :NEW.course;
31 dbms_output.put_line('currentNum '||currentNum);
32
33 SELECT COUNT(*)
34 INTO stud1
35 FROM Registered
36 WHERE student = :NEW.student
37 AND course = :NEW.course;
38 dbms_output.put_line('stud1 '||stud1);
39
40 SELECT COUNT(*)
41 INTO stud2
42 FROM WaitingFor
43 WHERE student = :NEW.student
44 AND course = :NEW.course;
45 dbms_output.put_line('stud2 '||stud2);
46
47
48 SELECT COUNT(*)
49 INTO prec
50 FROM HasPrereq hp
51 WHERE hp.course = :NEW.course
52 AND hp.preCourse NOT IN (SELECT course FROM CourseResult WHERE student = :NEW.student);
53 dbms_output.put_line('prec '||prec);
54
55
56 IF (prec = 0) THEN
57 IF (stud1 = 0) AND (stud2 = 0) THEN
58 IF (currentNum = cpc) THEN
59 dbms_output.put_line('IF_1');
60 INSERT INTO WaitingFor
61 VALUES (:NEW.student, :NEW.course, SYSTIMESTAMP);
62 ELSE
63 dbms_output.put_line('ELSE_1');
64 INSERT INTO Registered
65 VALUES (:NEW.student, :NEW.course);
66 END IF;
67 ELSE
68 dbms_output.put_line('ELSE_2');
69 RAISE exc1;
70 END IF;
71 ELSE
72 dbms_output.put_line('ELSE_3');
73 RAISE exc2;
74 END IF;
75
76 EXCEPTION
77 WHEN exc1 THEN RAISE_APPLICATION_ERROR (-20002, 'Already registered for this course.');
78 WHEN exc2 THEN RAISE_APPLICATION_ERROR (-20003, 'First the prerequesite course(s) must be taken
79 WHEN NO_DATA_FOUND THEN dbms_output.put_line('NO_DATA_FOUND');
80 END;
81 /
Trigger created.
SQL>
SQL> INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED');
cpc 15
currentNum 0 --here all count are 0, also you insert...
stud1 0
stud2 0
prec 0
ELSE_1
1 row created.
SQL> INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED');
INSERT INTO DemandOfCourses VALUES (100005, 'EDA242', 'REGISTERED')
ERROR at line 1:
ORA-20002: Already registered for this course. --For the second time, you have your excetion...
ORA-06512: at "SCOTT.DEMANDOFCOURSES_T1_II", line 73
ORA-04088: error during execution of trigger 'SCOTT.DEMANDOFCOURSES_T1_II'
SQL> Nicolas. -
Hi,
In tcode MD04, there's a Purchase Order, which delivery date lies <b>after</b> the date of requirement elements, but no execptio message showed by the system,
is there anything wrong with the settings?
Please kindly advise.
Thanks and best regards.Hi,
Thank you very much for your attention.
It's caused by the settings of "<b>Tolerance value for bringing forward receipt elements"</b> under Tcode OPPQ, OPPR --> resheduling.
The data difference between issue elements and receipt elements are not greater than the value of settings "Tolerance value for bringing forward receipt elements", so the system does not issue any exception message.
Best regards. -
Exception message not thrown back to the page
Hello All,
I have a servlet that listens for some data. Everything works perfectly if the data is intact. I do a whole bunch of processing on the data and verify its integrity etc...
HOwever if something is wrong, my app throws an exception and I could see from the system outs that the exception message I want to send back to the browser is being printed. But the browser does not completly load the page. In internet explorer, the page status still reads "opening page ........ "
If I see the trace it is past the out.print) line where the error message has already been printed out.
Is this a browser issue? Any suggestions are welcomed.
Thanks,
Praveen.The response of the servlet should go back to the mainframe system from which I receive the data. But for testing purposes I am sending the data through a url's get parameter. So I really do not want to make a error page.
What is bothering me though is that the response gets printed in the command window and still not shown in the page giving you the impression that the request was never fully completed.
Any ideas ?
Thanks,
Praveen. -
Hi all , I have an exchange 2010 SP 2 environment with 2 sites , the remote site FL free busy has NEVER worked and I get this error on the remote site , is this related ?
thanks
Log Name: Application
Source: System.ServiceModel 3.0.0.0
Date: :
Event ID: 3
Task Category: WebHost
Level: Error
Keywords: Classic
User: SYSTEM
Computer: FL-CAS1.WOMBAT.LOCAL
free bust works from WITHIN the remote (FL ) site , but NEVER to the main (WASH) site , it has Never worked ,I am thing that this error is related
thanks I have no idea how to fix
Description:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/17256489
Exception: System.ServiceModel.ServiceActivationException:
The service '/EWS/exchange.asmx' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme http for the endpoint with binding CustomBinding. Registered base address schemes
are [https].. ---> System.InvalidOperationException:
Could not find a base address that matches scheme http for the endpoint with binding
++++Hi
This issue could be with corruption in Autodiscover and web services virtual directory
Replace Web.config file for Autodiscover and web services virtual directory from the other working site
Delete and Recreate Autodiscover and web services virtual directory
Do this only on the affected site
Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on http://exchangequery.com Thanks Sathish
(MVP) -
Exception message 26, (only warnning not an error mesage).
Dear Experts
my environment is MTO, which generates a huge number of production orders daily with a big number of exception messages which some times are not enough to adopt the PP activities on the system,
in the case of (Procurement type:X) which the planned order for a HALB or FERT, material can be produced internally or procured externally, i can partially convert a part of the total quantity into a production order or a purchase requisition and so the remaining qty, into any of the both procurement proposals.
now if the total quantities of the partially converted production orders and purchase requisition, is exceeding than the planned order qty, i am getting the exception message 26, (only warnning not an error mesage).
my requirement: i want the system to restrict users to covert the planned order into a production order or a purchase requisition if the total quantities of all the partially converted production orders and purchase requisitions are exceeding more than the original planned order quantity.
Example:
planned order qty, is 10 EA, if i convert a qty, of 3 EA into a partial production order and another qty, with 4 EA into a purchase requisition,
system must restrict me to convert the remaining qty, into a production order or a purchase requisition if i changed the qty, to a qty, exceeds more than 3 EA.
Thanks in advance.Ahmed,
Exception message 26 is neither a warning nor an error. It is an alert that a certain business condition exists (excess stock in a segment). The general rule for exceptions is that it is up to the planner to determine the significance, and to use your company's business rules to react accordingly.
The solution to your stated requirement does not exist in standard SAP. To me, it makes no sense to lock the system down in this way. Message 26 can come from overconversion, but it can also come if the requirements are reduced.
If you still feel that this functionality must be implemented, I would suggest this partial solution, that uses standard functionality. Have your planners perform only the conversions of the plndords to firmed purchase reqs, for a given time frame, all at one time, and decline to convert the remaining balances to production orders. Then, re-run MRP with delete/recreate. This will create planned orders for exactly the balance(s) required. Then, you could immediately use the standard mass program to convert the 'balance' Planned orders to Production orders. The mass conversion could be the second step of an auxiliary MRP job.
If you insist that the requirements must be met using the method you indicated above, then it implies that every program that could be used to convert a PlndOrd to something else must be modified. I don't think I would attempt this unless there were no other possibilities.
Best Regards,
DB49 -
GR processing time not taken into account for exception message in MD04
Hello Gurus!
In MD04 when we toggle between displaying at GR date and AV date sometimes there is a shortage in AV date view but none in GR date view due to GR processing time.
How can we include the GR processing time to be taken into account so that an exception message is shown for the shortage during AV view?
Thanks in advance!
-AlvinHi There
What you meant by shortage,,,
AV- Available date,
GR- Availble date+GR processing time
if you have not set up the GR processing time in Master, it may come as ZERO days,, so AV and GR date may be same,,
if this is not your quesry, please provide more details on your query,,,
Thanks
Senthil -
reloaded Photoshop CS5 (New Machine) and now it won't open, get a message "Could not open scratch file because disk is not available", so pS won't go any farther.
If prefs are the same as Settings on a MAC, OK, it would have been more
clear to me if you had said Settings since I didn't see anything related to
prefs. On a PC, I know what you mean, On a MAC, wasn't sure.
In a message dated 4/9/2015 9:13:48 A.M. Eastern Daylight Time,
[email protected] writes:
reloaded Photoshop CS5 (New Machine) and now it won't open, geta message
"Could not open scratch file because disk is not available", so pS won't go
any farther.
created by c.pfaffenbichler
(https://forums.adobe.com/people/c.pfaffenbichler) in Photoshop for Beginners - View the full discussion
(https://forums.adobe.com/message/7421714#7421714)
Maybe you are looking for
-
How can i control my new mac mini using my new macbook air? Thanks
Hi, I would like to control and even file share my macmini using my macbook air... the mac mini is plugged into the family 50inch plasma... so getting access to it is not always easy! I'd like to play itunes, films, file share, just about do everythi
-
Configurin​g 1126/1327 in DAQmx
Hi All, I'm having some difficulty findin the right combination of settings, hardware and software, to configure an SCXI-1327 to work with a SCXI-1126 for making frequency measurements of a speed sensor signal. The sensor's signal is a high going low
-
Transferring account from one MacBook Pro to a newer one
Hi, we just bought a brand new MacBook Pro (non-retina) and we want to transfer just one account from our older MacBook Pro. What's the best way to go about this? What kind of firewire do we need? Our current MBP is 2.26 GHz Intel Core 2 Duo, using O
-
Ssis 2012: deployment heartburn
Has anyone seen a symptom when creating an SSIS job step, the environment checkbox is unavailable and the connections are still tied to a previous environment even though the ssisdb catalog is there with the environment settings in place. as an aside
-
ITunes Unresponsive (frozen), or won't complete sync
G4 TiBook, 10.4.9 completely up to date. My original iPod (same model) wouldn't keep a charge; Apple replaced it under extended warrantee in 2006. The iPod plays, charges fine from the AC adaptor, but when I connect it to the Mac, iTunes become unres