Unable to stop the event logs on access point console
Hi team,
I have an AIR-LAP1131AG-E-K9 access point having ios c1130-k9w8-mx.124-21a.JHB1.
When I am trying to take the console of it there are many logs generated like LWAPP ...Go join the controller, Discover controller etc. and the ap is unable to register to the controller(2112 with ios version 6.0.199.4). I'm trying to enter the command but there are many event msg generated....How do i stop this event log. I tried entering the command no debug all. but still there are many logs...
I want to enter the the following commands
#lwapp ap ip address <ip addr>.
#lwapp a pip default-gateway <gateway ip addr>
#lwapp ap controller ip addr <controller ip>
#wr me
Revert me back on urgent basis
Thanks in advance..
Thanks Rashika,
Now the access point got registered to the controller..This happened becuse of country Code..
I have changed the country code to UK, Belgium it started working fine.
Initially when it was IN the access point was not getting register..
But now the problem which arised is that the user is unable to get authenticated to the radius server.
Radius server is reachable and we have done every changes required for radius server authentication.
Users are getting rejected.
Customer is saying that the radius server is in IN domain and the WLC/access point is in UK,BE and hence the users are unable to connect..
Is it so??
Rply
Thanks in advance...
Similar Messages
-
Hi,
I have SCSM with remote SQL and the SCSM Management server give below error
Message: Failed to connect to server ‘Name of Server’
Microsoft.EnterpriseManagement.Common.ServiceNotRunningException: The Data Access service is either not running or not yet initialized. Check the event log for more information. —> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://ServerName:5724/DispatcherService.
The connection attempt lasted for a time span of 00:00:04.0070932. TCP error code 10061: No connection could be made because the target machine actively refused it IPAddress:5724. —> System.Net.Sockets.SocketException: No connection could be made
because the target machine actively refused it IPAddress:5724
I had try to restart SQL & MS with same error,
Also i had try the following
https://social.technet.microsoft.com/Forums/systemcenter/en-US/c670d54d-3a92-481f-8dc9-55c475ad196f/problems-with-data-access-service-after-rebooting
https://social.technet.microsoft.com/Forums/systemcenter/en-US/26dc1d5c-fa82-403f-8949-3073f3b82a60/the-data-access-service-is-either-not-running-or-not-yet-initialized
Not help meRegardsI had same error before
below steps to solve it
Make sure SQL Server Running & ServiceManager Database not full
Stop All SCSM Services,
System Center Management Configuration
Microsoft System Center Data Access Service.
Microsoft Monitoring Agent
Rename Health Service State to Health Service State_old --- @ "C:\Program Files\Microsoft System Center 2012 R2\Service Manager"
Start SCSM Services
Microsoft Monitoring Agent
System Center Management Configuration
Microsoft System Center Data Access Service.
Wait 2 min...
check Event Viewer...
hope this help you.
Regards, Ibrahim Hamdy -
File history stopped working after a warning message in the event log
I have encountered this twice that File history stopped working, the event log says:
Unusual condition was encountered during finalization of a backup cycle for configuration C:\Users\xxxx\AppData\Local\Microsoft\Windows\FileHistory\Configuration\Config
If I re-run it, it consumes the backup disk space but still failed to backup.
I have to manually delete all backup, turn off File History and re-configure it again to make it work.
This happened twice already, so all my file history lost after re-config.
Anyone encounter the same situation?MICROSOFT is plagued by idiots!!!!
- Just turn it off
- then click "select drive"
- and when it asks you the retarded question... just click >>>>>"NO"<<<<<<< -_-
Seriously... this is the answer.... frigging retards at microsoft... to think it takes an army of programmers and billions of dollars to create such idiocy!
http://answers.microsoft.com/en-us/windows/forum/windows_8-performance/cannot-change-drive-in-file-history-windows-8/6dbeca54-d05e-4f93-9262-45a56d6a82d1?page=2&msgId=f1792c5e-c5d0-4163-b449-c7165d72f88d&tab=question&status=AllReplies&status=AllReplies%2CAllReplies
I cant believe these morons put everyone through such hell and then don't even bother to follow up with the correct solution.
To top it of the moron moderator marks this as an answer??!!!
What a pathetic joke - I hope everyone reads this message before being punished by the miles of bullcrap in this thread -_-
Microsoft = ridiculous
Thanks! I guess the TL;DR version is "to change your file history drive you need to discard the current temp files."
Exactly :)
It's the bad wording in the messages.
the first message (which I can only vaguely remember so can't quote exactly) that gives you the impression you can continue
something but doesn't make clear that to so will need the "old drive" configured the way the "old drive" was.
Then the next message is just confusing:
“we can't copy files to this location. Your current File History drive is disconnected. Reconnect the drive and try again”
sounds like
“we can't copy files to this location. [because there's a problem with the new location]
Your current File History drive is disconnected. [the new location is disconnected]
Reconnect the drive and try again [reconnect your new location and try again]”
When it should be reworded to say something along the lines of (in more formal language):
"You asked us to continue...give us the drive you were previously using...or if it's no longer available, click here to start from scratch"
(I know that's all the opposite of tldr but I'm trying again to put into words what I think was happening). -
SCOM2012 R2 The Data Access service is either not running or not yet initialized check the event log
Can U guys tell me the solution of it i am using scom 2012 R2 with sql server 2012 High availability solution
Failed to connect to server
The Data Access service is either not running or not yet initialized check the event log
Date: 5/6/2014 5:27:49 PM
Application: Operations Manager
Application Version: 7.1.10226.0
Severity: Error
Message: Failed to connect to server 'PPLKHIHOV23.ppl.com.pk'
Microsoft.EnterpriseManagement.Common.ServiceNotRunningException: The Data Access service is either not running or not yet initialized. Check the event log for more information. ---> System.ServiceModel.EndpointNotFoundException: Could not connect to
net.tcp://pplkhihov23.ppl.com.pk:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:02.0020292. TCP error code 10061: No connection could be made because the target machine actively refused it 172.16.0.107:5724. ---> System.Net.Sockets.SocketException:
No connection could be made because the target machine actively refused it 172.16.0.107:5724
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
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 Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
--- End of inner exception stack trace ---
at Microsoft.EnterpriseManagement.Common.Internal.ExceptionHandlers.HandleChannelExceptions(Exception ex)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.ConstructEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore clientCallback)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.RetrieveEnterpriseManagementGroupInternal[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Connect[T,P](EnterpriseManagementConnectionSettings connectionSettings, ClientDataAccessCore callbackDispatcherService)
at Microsoft.EnterpriseManagement.ManagementGroup.InternalInitialize(EnterpriseManagementConnectionSettings connectionSettings, ManagementGroupInternal internals)
at Microsoft.EnterpriseManagement.Mom.Internal.UI.Common.ManagementGroupSessionManager.Connect(String server)
at Microsoft.EnterpriseManagement.Monitoring.Console.Internal.ConsoleWindowBase.TryConnectToManagementGroupJob(Object sender, ConsoleJobEventArgs args)
System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://pplkhihov23.ppl.com.pk:5724/DispatcherService. The connection attempt lasted for a time span of 00:00:02.0020292. TCP error code 10061: No connection could be made because the target
machine actively refused it 172.16.0.107:5724. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 172.16.0.107:5724
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace ---
Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade)
at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout)
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 Microsoft.EnterpriseManagement.Common.Internal.IDispatcherService.Connect(SdkClientConnectionOptions connectionOptions)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.Initialize(EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
at Microsoft.EnterpriseManagement.Common.Internal.SdkDataLayerProxyCore.CreateEndpoint[T](EnterpriseManagementConnectionSettings connectionSettings, SdkChannelObject`1 channelObjectDispatcherService)
System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 172.16.0.107:5724
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)Get "System Center Data Access Service" is running Automatic not manual and verify that SQL server is running and connectivity between SCOM and SQL is up and not slow for any application run on background.
To make sure that no application take utilize connectivity between SQL and SCOM. Try to restart SQL and SCOM and check again.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
Mai Ali | My blog: Technical | Twitter:
Mai Ali -
HI
Since the SCOM was Upgrade to R2
Almost at every Day, we receive in the Event log application the Event 720 from the correlation service Source MSExchangeMonitoring Correlation
This arrives always around 7:20AM, someday is at 7:19, other at 7:21. It is always approximately at the same hour, but we never have any problem during weekend
The description of the Event
Exceeded maximum time (15 minutes) to wait for completion of all CorrelateBatchTask threads.
After that the correlation stop to work. At the Same time if we tried to open the SCOM Console on that server we was unable to open it. Also we was not able to open the SCOM PowerShell
And also we cannot from that server to get which server is the RMS if we run get-SCOMRMSEmulator . (This the RMS Server)
When this arrive, the only thing we found, it to reboot the server or restart de SCOM service, after the Reboot the Correlation begin to work
We got also many Event 714 Critical and after this Event 711 Warning
ThankHave a look at: https://social.technet.microsoft.com/Forums/systemcenter/en-US/e75e84d9-0c9e-4d83-b3da-45a143757f85/exchange-2010-monitoring-with-scom-2012-correlation-service-issue
One user reported an issue with the exchange correlation engine after upgrade and said that:
I had issues with the corellation engine after upgrading scom 2012 to R2.
The MomBidLdr.dll version changed in the SCOM directories, and needs to be updated in the:
C:\Program Files\Microsoft\Exchange Server\v14\Bin directory.
That seemed to stop the errors for me.
Some troubleshooting steps listed here also:
https://technet.microsoft.com/en-us/library/ff360495(v=exchg.140).aspx
Cheers,
Martin
Blog:
http://sustaslog.wordpress.com
LinkedIn:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Model of MFP = HP LaserJet M4555h MFP = CE738A
With fax accessory for HP LaserJet MFP Analog 500 = CE737A
Firmware Datecode = 20120623
Firmware Revision = 2200643_228339
The inital issue was receiving faxes, so I updated the firmware to the above listed. In the event log it shows since the firmware was updated on Nov 7th the following:
The device keeps prompting to restart the printer.... I haven't been able to screen capture the message off the device yet... on the Information tab through the EWS it's shown: "An unexpected error occurred. We apologize for the inconvenience. Please try again." What is that suppose to mean?
Faxing has stopped working completely....
Can you tell me if this means the firmware is corrupt and show be re-loaded?
Or suggest what my next steps would be?
Anything is helpful...Thanks HP Seeker.Hello, you can also try a partial clean and reload the latest firmware, see if that will work.
-
BOXI 4 SP2 Patch 11 - Constant awt.dll crashes in the Event Log
Hi All,
Since implementing BOXI 4 SP2 Patch 11 I have noticed very frequent awt.dll crash error messages triggered by SAP JVM throughout the event log.
Does anyone know what is causing this and how to resolve?
=================================================================
Faulting application name: java.exe, version: 6.0.170.4, time stamp: 0x4c3bb897
Faulting module name: awt.dll, version: 6.0.170.4, time stamp: 0x4c3bfa5f
Exception code: 0xc0000005
Fault offset: 0x00000000000d2210
Faulting process id: 0x1c80
Faulting application start time: 0x01ccefaba2a15b7a
Faulting application path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\bin\java.exe
Faulting module path: C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\win64_x64\sapjvm\jre\bin\awt.dll
Report Id: a6ef5e00-5ba2-11e1-a8c2-da6052897efd
====================================================================
Also notice this error immediately afterwards reporting Transaction Deadlocks in our repository and auditing databases on SQL Server :-
=====================================================================
Database access error. Reason [Microsoft][SQL Server Native Client 10.0][SQL Server]Transaction (Process ID 63) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction..
=====================================================================
SQL Server version is 2008 Release 2.
Have deployed BOXI 4 using Tomcat 6/Java platform.
O/S in Windows Server 2008 Release 2.
This should be a supported configuration so need ideas on why this is happening?
Cheers,
GaryHi All,
SAP Support finally came through for us on this.
The issue is due to the version of the SAP JVM that comes bundled with BOXI 4 SP2 Patches 11 and 12.
If you download the latest version of the SAP JVM from the SAP support portal and install this instead then the problems are resolved.
Thanks,
Gary -
Audit/Log GPO changes and Logging of new addition of Domain Controllers in the Event Log
Hi all,
We am trying to log the following items in the event log for Windows 2012. This applies to a domain controller.
1) Audit any changes made to the Group Policy
2) Log the addition of new domain controllers added to the system.
We need the windows event log to record the above events for security purposes. Can anyone advise if this is doable? If yes what are the steps.
Thank youHi,
>>1) Audit any changes made to the Group Policy
We can enable audit for directory service object access and configure specific SACL for group policy files to do this.
Regarding how to step-to-step guide for auditing changes of group policy, the following two blogs can be referred to for more information.
Monitoring Group Policy Changes with Windows Auditing
http://blogs.msdn.com/b/ericfitz/archive/2005/08/04/447951.aspx
Auditing Group Policy changes
http://blogs.msdn.com/b/canberrapfe/archive/2012/05/02/auditing-group-policy-changes.aspx
>>2) Log the addition of new domain controllers added to the system.
Based on my knowledge, when a server is successfully promoted to be domain controller, event ID 29223 will be logged in the System log.
Regarding this point, the following thread can be referred to for more information.
Is an Event ID for a completed Domain Controller promotion logged on the PDC?
https://social.technet.microsoft.com/Forums/windowsserver/en-US/11b18816-7db0-49e2-9a65-3de0e7a9645e/is-an-event-id-for-a-completed-domain-controller-promotion-logged-on-the-pdc?forum=winserverDS
Best regards,
Frank Shen -
Hi All
In Message monitoring(RWB) in adapter engine i am getting the following error
SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> The event log file is full
Can any one suggest me what might be the problem
Thanks
Jayaraman
Edited by: Jayaraman P on May 20, 2010 4:27 PM
Edited by: Jayaraman P on May 20, 2010 4:28 PM>
Jayaraman P wrote:
> SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Server was unable to process request. ---> The event log file is full
this is because of a problem at the WS server (it might mostly be a windows server).
You can request the WS team to have a look into this issue. it is not a PI problem. -
Error starting the Planning application, review the event log for details
We are using the Hyperion Demo and there was a problem suddenly cropped up.
While rebooting the system error is displayed saying - Atleast one of the driver is not installed.
VMware is used to access the Hyperion Demo and when Planning application is started it gives the following error:
Error starting the Planning application, review the event log for details
We were using this Demo from some weeks and was able to access the workspace and others but from few days this issue is faced.
Immediate response is highly appreciated as we are planning for a user demo in the weekend.
Thanks,
Ravi KanthHi Nofog / Goodwin,
OLDAP is not running.
Following errors are displayed:
When VMWare is restarted: At least one service or driver failed during system startup. Use Event viewer to examine the Event log for details.
OpenLDAP: Windows could not start the hyperion S9 OpenLDAP on Local Computer. For more information review the system even log. If this is not the microsoft service contact the service vendor, and refer to service specific code 21.
Event log: The Hyperion S9 OpenLDAP service terminated with service - specific - erro 21 (0x15).
Please let me know your email ids so that to send the screen shots.
Thanks,
Ravi -
Unable to open the events in Iphoto or transfer photos to create a book?
Unable to open the events in Iphoto or transfer photos to create a book. The events are there but I am when double clicking they are not opening up. Also I am unable to drag photos to create a book. Any suggestions??
Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder Window should open with the file selected. Does it?
Regards
TD -
Unable to find the IT Resource in Access Policy
Hi,
i have created the IT Resource in OIM11gR2 PS1. then i am trying to create the new access policy. i am unable to find the IT Resource in access policy. can someone please help on this.
Shyamcan you verify the access permissions. By default SYSTEM ADMINISTRATORS role should have read/write permission
or you can click ->Assign Role. then select ALL USERS role and provide read/write permission to it and see if this works. -
how to create an rule with action to subtract from the event log of Ips manager express console?, some knows of has an guide?.
Thank you.
Sent from Cisco Technical Support iPad AppHi,
http://www.cisco.com/en/US/products/sw/secursw/ps2113/products_tech_note09186a0080bc7910.shtml
HTH
Luis Silva
"If you need PDI (Planning, Design, Implement) assistance feel free to reach us"
http://www.cisco.com/web/partners/tools/pdihd.html -
"Event Viewer cannot open the event Log or Custom view. Verify that the Event log service is running or query is too long. The instance name passed was not recognized as valid by a WMI data provider(4201)"
This error keeps cropping up now and again on most of our domain controllers (OS-2008 AND 2008R2)...Usually a restart fixes the issue however the issue repeats and security logs don't generate.
Any advice on how to fix this issue permanently would be greatly appreciated.Please see this: https://social.technet.microsoft.com/Forums/windows/en-US/95987ca3-a1b2-4da6-95b7-d825d06cdac7/error-code-4201-the-instance-name-passed-was-not-recognized-as-valid-by-a-wmi-data-provider?forum=w7itprosecurity
You can also try rebuilding the WMI repository: http://blogs.technet.com/b/askperf/archive/2009/04/13/wmi-rebuilding-the-wmi-repository.aspx
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK
My Website Link
My Linkedin Profile
My MVP Profile -
My problem is when i add a record , for example a BusinessPartner. I want to stop the event et_FORM_DATA_ADD when not comply a condition.This is my code:
Private Sub SBO_Application_FormDataEvent) Handles SBO_Application.FormDataEven
Dim IC As SAPbobsCOM.BusinessPartners
If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD And BusinessObjectInfo.BeforeAction = False Then
Select Case BusinessObjectInfo.Type
Case 2 // BusinessPartners
IC = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
IC.Browser.GetByKeys(BusinessObjectInfo.ObjectKey)
Dim ZP As String = IC.ZipCode
if ZP = "99999"
// STOP. I Dont want to add this record.how can stop it??
End if
End if
Thanks.Hi Edy;
From what my understanding is that you want to stop this Add event if the user type in something wrong in the form.Is this correct ? if so, can you tell me which field ? maybe I can help you with some code.
Remember the code:
If BusinessObjectInfo.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_ADD And BusinessObjectInfo.BeforeAction = True Then
IC = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oBusinessPartners)
IC.Browser.GetByKeys( BusinessObjectInfo.ObjectKey )
//open Form1
oXmlDoc.Load(NameForm)
creationPackage = SBO_Application.CreateObject (SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
creationPackage.XmlData = oXmlDoc.InnerXml
oForm1 = SBO_Application.Forms.AddEx(creationPackage)
dim Class as NewClass = new (oForm1 ,IC)
// STOP. I Dont want to add this record until the Form1 get me a value. This value I have to selected from a Grid on the Form1, so until I select it I can't continue with the execution, because I need to assign to the IC
// assign to the IC the Value
IC.UserFields.Fields().Item("UserField").Value = Class.Value
End if
Thank you very much Edy
Maybe you are looking for
-
Need to validate file Name,split the file name and store the splited values into Variables
Dear All, Below is the my requirement. I have a folder, in that folder I have bunch of text files. The file name is below format ACA_122_pay_20140430_001 Initially the file name start with ACA code,groupid,group name and date time stamp. This is the
-
Finding images to be added to JLabels
I have a bunch of images that are in a folder images, within a package. Can someone tell me how I should refer to these when I'm trying to use the image on a JLabel for example. I have something like the following, but the image doesn't appear. Icon
-
I updated my Adobe Acrobat 10.1.12 and now when I read a page on the Internet or in my email (attached Adobe file), I cannot open it up to read without downloading and then opening Adobe on my computer. I am using Windows 8. The Acrobat on my lapto
-
500 Internal Server Error is coming
500 Internal Server Error java.lang.NoClassDefFoundError at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at java.awt.Toolkit$2.run(Toolkit.java:748) at java.security.AccessController.doPrivileged(
-
ITunes Can't Find iPhone 6 Plus via Wifi
Hi all, I'm running the latest Yosemite beta with the latest iTunes and I've enabled Wifi sync on my iPhone 6 Plus. iTunes fails to find the phone even though they're on the same network. Can anyone help? Thanks