Query for 3 party access
Hi all,
I have got the requirement where my user want have Access Bex Query into his system.
I know that in Query Properties we have option "Allow External Access to this Query" and I have selected that option.
But I don't know what sould be configuration I need to do after that.
anyone who have worked on it please tell me.
Hello,
See the below inforamtion, i think this option wont solve ur requirement:
Release for OLE DB for OLAP
External reporting tools that communicate using the OLE DB for OLAP interface use queries as data sources. If you want to release this query as a data source for external Reporting tools, select Allow External Access to this Query.
Note: Queries containing formulas with the operators %RT, %CT, %GT, SUMRT, SUMCT, SUMGT, and LEAF cannot be released for OLE DB for OLAP. These operators are dependent on how the list is displayed in the BEx Analyzer and the formulas return unexpected values when using OLE DB for OLAP or MDX. You may be able to obtain the required result by selecting constants.
Go thru the link below for detailed information:
http://help.sap.com/saphelp_nw04/helpdata/EN/03/cf903c47c95875e10000000a11405a/frameset.htm
Regards,
Shashank
Similar Messages
-
Hi all,
i am searching for an queryby using MS Access.I have a table called stock.
Stock Table:
stock_id comp_id prod_id item_id Quantity module
1 100 200 300 10 P
2 101 200 300 20 P
3 100 200 300 5 S
4 101 200 300 4 S
From this table I want to group by comp_id,prod_id and item_id by (sum(quantity) whose module='P' -
sum(quantity) whose module='S'). the result what I am expecting is given below:
comp_id prod_id item_id Quantity
100 200 300 5
101 200 300 16
So please go through and send me the single query for MS-Access.
Edited by: IRALALVIPIN on Oct 4, 2009 10:39 PMSo please find an SQL or MS Access forum and maybe they will do your work for you. This, however, has nothing to do with Java and we wouldn't do your work for you, anyway.
-
Source, and Fix, for Event 8194 VSS "access denied" querying for the IVssWriterCallback
Friends I encountered this error, pasted intact below, just a couple of days ago on a ia64 architecture HP system running Windows 7 Ultimate x64
It appears that I may have a permissions issue somewhere but I do not know how to permanently root-cause-remedy it. I should note that I do not have any routine backup service running on this particular mule, and no such animal was working at the time
of the issue, so I'm baffled as to what invoked the process. To anticipate a question you may have: I did not use on this system a recent "registry cleanup" tool except that which Microsoft uses in a couple of automated packages: one to do
.NET cleanup, and another to resolve Uninstall/Install issues [this one succeeded... the .NET issue is another story].
This system is a Homegroup owner/creator, but is not on a domain. It is essentially a lab mule that I use for tech work - other windows 7 clients fetch files from it via a bridged wifi AP.
Thank you in advance for any direction you have for me.
Paste below
twest
Log Name: Application
Source: VSS
Date: 8/18/2012 6:36:49 PM
Event ID: 8194
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: BossHoss-PC
Description:
Volume Shadow Copy Service error: Unexpected error querying for the IVssWriterCallback interface. hr = 0x80070005, Access is denied.
. This is often caused by incorrect security settings in either the writer or requestor process.
Operation:
Gathering Writer Data
Context:
Writer Class Id: {e8132975-6f93-4464-a53e-
1050253ae220}
Writer Name: System Writer
Writer Instance ID: {a2af3afe-afb1-4346-bfd6-380873f59328}
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="VSS" />
<EventID Qualifiers="0">8194</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2012-08-18T23:36:49.000000000Z" />
<EventRecordID>34091</EventRecordID>
<Channel>Application</Channel>
<Computer>BossHoss-PC</Computer>
<Security />
</System>
<EventData>
<Data>0x80070005, Access is denied.
</Data>
<Data>
Operation:
Gathering Writer Data
Context:
Writer Class Id: {e8132975-6f93-4464-a53e-1050253ae220}
Writer Name: System Writer
Writer Instance ID: {a2af3afe-afb1-4346-bfd6-380873f59328}</Data>
<Binary>2D20436F64653A20575254575254494330303030313236302D2043616C6C3A20575254575254494330303030313231342D205049443A202030303030313235322D205449443A202030303030313236382D20434D443A2020433A5C57696E646F77735C73797374656D33325C737663686F73742E657865202D6B204E6574776F726B53657276696365202020202020202D20557365723A204E616D653A204E5420415554484F524954595C4E4554574F524B20534552564943452C205349443A532D312D352D3230</Binary>
</EventData>
</Event>
Techwest ResourcesHi,
Firstly, would you please let us know what backup application you do use. Is it the build-in one?
Meanwhile, please refer to
Security Considerations for Requesters for details.
Hope this helps.
Jeremy Wu
TechNet Community Support -
How changing the criterion for an access query in java?
Hi @ all
I would like to change a criterion for an access-query in java. I know how to run a access-query in java. How can I change the criterion in my access query in java without running the query it selfs? Can anybody help me?
Thx
DarioI would like to change a criterion for an
access-query in java. I know how to run a
access-query in java. How can I change the criterion
in my access query in java without running the query
it selfs? Can anybody help me?
You can't.
The database processes the query and then returns the result to you. Thus to change the query you must run the query again.
You can of course add code do do the same thing. But unless it is very simple it is going to take a lot of code and might even be slower than doing the database call. -
QUERY FOR HOW TO ACCESS NEXT ROW WHILE IN CURRENT ROW
Hi, can you please make a oracle sql query for the following.
My Data in table dt0attlog:
ID staffid logdt login logout
01 aw101 01.12.11 01.12.11 08.30
01 aw101 01.12.11 01.12.11 10.30
01 aw101 01.12.11 01.12.11 11.40
01 aw101 01.12.11 01.12.11 14.30
01 aw101 01.12.11 01.12.11 15.00
01 aw101 01.12.11 01.12.11 17.45
01 aw102 01.12.11 01.12.11 19.20
01 aw102 01.12.11 01.12.11 20.30
01 aw102 01.12.11 01.12.11 21.50
01 aw102 01.12.11 01.12.11 23.10
01 aw102 01.12.11 01.12.11 23.20
01 aw102 02.12.11 02.12.11 07.00
01 aw102 02.12.11 02.12.11 18.00
01 aw102 03.12.11 03.12.11 04.30
01 aw103 01.12.11 01.12.11 09.40
01 aw104 01.12.11 01.12.11 18.00
My required output:
ID staffid logdt login logout diff-in-seconds
01 aw101 01.12.11 01.12.11 08.30 01.12.11 10.30 7200
01 aw101 01.12.11 01.12.11 11.40 01.12.11 14.30 10200
01 aw101 01.12.11 01.12.11 15.00 01.12.11 17.45 9900
01 aw102 01.12.11 01.12.11 19.20 01.12.11 20.30 4200
01 aw102 01.12.11 01.12.11 21.50 01.12.11 23.10 4800
01 aw102 01.12.11 01.12.11 23.20 02.12.11 07.00 27600
01 aw102 02.12.11 02.12.11 18.00 03.12.11 04.30 37800
01 aw103 01.12.11 01.12.11 09.40
01 aw104 01.12.11 01.12.11 18.00
Here record aw102 & dt. 01.12.11 / 02.12.11, it should shows the next day out in
the current date ie. 01.12.11.
thanks and await your great help please.the followings are the testcase
SQL> create table dt0device (
2 deviceid varchar2(15),
3 staffid varchar2(10),
4 logdt date,
5 in_out_flag varchar2(3));
Table created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 08:30','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 10:30','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 11:40','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 14:30','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 15:00','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw101',to_date('01.12.2011 17:45','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL>
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 19:20','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 20:30','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 21:50','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 23:10','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('01.12.2011 23:20','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('02.12.2011 07:00','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('02.12.2011 18:00','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw102',to_date('03.12.2011 04:30','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL>
SQL> insert into dt0device values('01','aw103',to_date('01.12.2011 09:40','DD/MM/RRRR HH24.MI'),'IN');
1 row created.
SQL> insert into dt0device values('01','aw104',to_date('01.12.2011 18:00','DD/MM/RRRR HH24.MI'),'OUT');
1 row created.
SQL> create table dt0attlogdevice
2 ( staffid varchar2(10),
3 logdt date,
4 login date,
5 logout date);
Table created.
SQL> insert into dt0attlogdevice select staffid,logdt,
2 decode(in_out_flag,'IN',logdt,null) login,
3 decode(in_out_flag,'OUT',logdt,null) logout
4 from dt0device;
16 rows created.
SQL> select staffid,to_char(logdt,'DD/MM/RR') logdt, to_char(login,'DD/MM/RR HH24.MI') login,
2 to_char(logout,'DD/MM/RR HH24.MI') logout
3 from dt0attlogdevice;
STAFFID LOGDT LOGIN LOGOUT
aw101 01/12/11 01/12/11 08.30
aw101 01/12/11 01/12/11 10.30
aw101 01/12/11 01/12/11 11.40
aw101 01/12/11 01/12/11 14.30
aw101 01/12/11 01/12/11 15.00
aw101 01/12/11 01/12/11 17.45
aw102 01/12/11 01/12/11 19.20
aw102 01/12/11 01/12/11 20.30
aw102 01/12/11 01/12/11 21.50
aw102 01/12/11 01/12/11 23.10
aw102 01/12/11 01/12/11 23.20
STAFFID LOGDT LOGIN LOGOUT
aw102 02/12/11 02/12/11 07.00
aw102 02/12/11 02/12/11 18.00
aw102 03/12/11 03/12/11 04.30
aw103 01/12/11 01/12/11 09.40
aw104 01/12/11 01/12/11 18.00
16 rows selected.
===
from the above table , I want to generate ouput as below:
staffid logdt login logout diff-in-seconds
aw101 01.12.11 01.12.11 08.30 01.12.11 10.30 7200
aw101 01.12.11 01.12.11 11.40 01.12.11 14.30 10200
aw101 01.12.11 01.12.11 15.00 01.12.11 17.45 9900
aw102 01.12.11 01.12.11 19.20 01.12.11 20.30 4200
aw102 01.12.11 01.12.11 21.50 01.12.11 23.10 4800
aw102 01.12.11 01.12.11 23.20 02.12.11 07.00 27600
aw102 02.12.11 02.12.11 18.00 03.12.11 04.30 37800
aw103 01.12.11 01.12.11 09.40
aw104 01.12.11 01.12.11 18.00
Here record aw102 & dt. 01.12.11 / 02.12.11, it should shows the next day out in
the current date ie. 01.12.11.
I dont know how to make query for the above output.
please help me. -
How to use the same POWL query for multiple users
Hello,
I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
"Query 'ABC' is already open in another session."
where 'ABC' is the query name.
Can you please tell me how to use the same POWL query for multiple users ?
A fast reply would be highly appreciated.
Thanks and Regards,
SandhyaBatch processing usually involves using actions you have recorded. In Action you can insert Path that can be used during processing documents. Path have some size so you may want to only process document that have the same size. Look in the Actions Palette fly-out menu for insert path. It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..
-
Error while executing a sql query for select
HI All,
ORA-01652: unable to extend temp segment by 128 in tablespace PSTEMP i'm getting this error while i'm executing the sql query for selecting the data.I am having 44GB of temp space, while executing the below query my temp space is getting full, Expert please let us know how the issue can be resolved..
1. I dont want to increase the temp space
2. I need to tune the query, please provide your recomendations.
insert /*+APPEND*/ into CST_DSA.HIERARCHY_MISMATCHES
(REPORT_NUM,REPORT_TYPE,REPORT_DESC,GAP,CARRIED_ITEMS,CARRIED_ITEM_TYPE,NO_OF_ROUTE_OF_CARRIED_ITEM,CARRIED_ITEM_ROUTE_NO,CARRIER_ITEMS,CARRIER_ITEM_TYPE,CARRIED_ITEM_PROTECTION_TYPE,SOURCE_SYSTEM)
select
REPORTNUMBER,REPORTTYPE,REPORTDESCRIPTION ,NULL,
carried_items,carried_item_type,no_of_route_of_carried_item,carried_item_route_no,carrier_items,
carrier_item_type,carried_item_protection_type,'PACS'
from
(select distinct
c.REPORTNUMBER,c.REPORTTYPE,c.REPORTDESCRIPTION ,NULL,
a.carried_items,a.carried_item_type,a.no_of_route_of_carried_item,a.carried_item_route_no,a.carrier_items,
a.carrier_item_type,a.carried_item_protection_type,'PACS'
from CST_ASIR.HIERARCHY_asir a,CST_DSA.M_PB_CIRCUIT_ROUTING b ,CST_DSA.REPORT_METADATA c
where a.carrier_item_type in('Connection') and a.carried_item_type in('Service')
AND a.carrier_items=b.mux
and c.REPORTNUMBER=(case
when a.carrier_item_type in ('ServicePackage','Service','Connection') then 10
else 20
end)
and a.carrier_items not in (select carried_items from CST_ASIR.HIERARCHY_asir where carried_item_type in('Connection') ))A
where not exists
(select *
from CST_DSA.HIERARCHY_MISMATCHES B where
A.REPORTNUMBER=B.REPORT_NUM and
A.REPORTTYPE=B.REPORT_TYPE and
A.REPORTDESCRIPTION=B.REPORT_DESC and
A.CARRIED_ITEMS=B.CARRIED_ITEMS and
A.CARRIED_ITEM_TYPE=B.CARRIED_ITEM_TYPE and
A.NO_OF_ROUTE_OF_CARRIED_ITEM=B.NO_OF_ROUTE_OF_CARRIED_ITEM and
A.CARRIED_ITEM_ROUTE_NO=B.CARRIED_ITEM_ROUTE_NO and
A.CARRIER_ITEMS=B.CARRIER_ITEMS and
A.CARRIER_ITEM_TYPE=B.CARRIER_ITEM_TYPE and
A.CARRIED_ITEM_PROTECTION_TYPE=B.CARRIED_ITEM_PROTECTION_TYPE
AND B.SOURCE_SYSTEM='PACS'
Explain Plan
==========
Plan
INSERT STATEMENT ALL_ROWSCost: 129 Bytes: 1,103 Cardinality: 1
20 LOAD AS SELECT CST_DSA.HIERARCHY_MISMATCHES
19 PX COORDINATOR
18 PX SEND QC (RANDOM) PARALLEL_TO_SERIAL SYS.:TQ10002 :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1
17 NESTED LOOPS PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,103 Cardinality: 1
15 HASH JOIN RIGHT ANTI NA PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 129 Bytes: 1,098 Cardinality: 1
4 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 63 Bytes: 359,283 Cardinality: 15,621
3 PX SEND BROADCAST PARALLEL_TO_PARALLEL SYS.:TQ10001 :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621
2 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621
1 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1001Cost: 63 Bytes: 359,283 Cardinality: 15,621
14 NESTED LOOPS ANTI PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 40,256,600 Cardinality: 37,448
11 HASH JOIN PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 65 Bytes: 6,366,160 Cardinality: 37,448
8 BUFFER SORT PARALLEL_COMBINED_WITH_CHILD :Q1002
7 PX RECEIVE PARALLEL_COMBINED_WITH_PARENT :Q1002Cost: 1 Bytes: 214 Cardinality: 2
6 PX SEND BROADCAST PARALLEL_FROM_SERIAL SYS.:TQ10000 Cost: 1 Bytes: 214 Cardinality: 2
5 INDEX FULL SCAN INDEX CST_DSA.IDX$$_06EF0005 Cost: 1 Bytes: 214 Cardinality: 2
10 PX BLOCK ITERATOR PARALLEL_COMBINED_WITH_CHILD :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448
9 MAT_VIEW ACCESS FULL MAT_VIEW PARALLEL_COMBINED_WITH_PARENT CST_ASIR.HIERARCHY :Q1002Cost: 63 Bytes: 2,359,224 Cardinality: 37,448
13 TABLE ACCESS BY INDEX ROWID TABLE PARALLEL_COMBINED_WITH_PARENT CST_DSA.HIERARCHY_MISMATCHES :Q1002Cost: 0 Bytes: 905 Cardinality: 1
12 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT SYS.HIERARCHY_MISMATCHES_IDX3 :Q1002Cost: 0 Cardinality: 1
16 INDEX RANGE SCAN INDEX PARALLEL_COMBINED_WITH_PARENT CST_DSA.IDX$$_06EF0001 :Q1002Cost: 1 Bytes: 5 Cardinality: 1 -
Using Powershell Script Run simple query in MS Access 2007 and export the results of query to Excel
Hi Experts,
I have a Access 2007 DB file and 2 Big tables inside that (bigger than the size that can be easily handled by MS Excel 2007).
My requirement is automate using powershell scripts the below things.
1. Create a SQL query in Access DB and save that in access DB
2. Run the saved query and export the result in excel sheet where I can create the charts and Pivots. Thanks in advance
PrajeshDo you have to use the Access query, couldn't you just recreate the query in Powershell? Here's a link with good info that references an existing script for querying an Access database:
http://blogs.technet.com/b/heyscriptingguy/archive/2009/08/13/hey-scripting-guy-can-i-query-a-microsoft-access-database-with-a-windows-powershell-script.aspx
Once you have your dataset you can pipe it to
Export-Csv -NoType c:\pathtofile\output.csv -
SQL Query with MS-Access Database
Hi,
I have linked my oracle database with MS-Access via a DB LINK. i can access the data from MS-ACCESS, but i have a problem that when i specify the column name or define a where clause in my query it gives me the error ORA-00904: invalid identfier ..
This query fetch the data without any problem SELECT * FROM TBLREPORT@M_ACCESS but when i run SELECT EMP_ID FROM TBLREPORT@M_ACCESS it gives me the error i mentioned above. (Column name have No problem or mistake of spelling even CASE)
also when i try to put where clause in the query it gives me same error SELECT * FROM TBLREPORT@M_ACCESS WHERE EMP_ID = '100' (Error)
is there any change in SQL query for ACCESS database ??
any clue
Regards
RehmanAre column/table names in access case sensitive? Issue
DESC TBLREPORT@M_ACCESS If column EMP_ID actual name shows up in mixed/lower case, enclose it in double quotes and use the exact case. E.g., if column name shows up as Emp_Id, use:
SELECT "Emp_Id" FROM TBLREPORT@M_ACCESSSY. -
I can´t add preferred, chosen, most visited or bookmarked websites to the 28,15 or 6fields in"file" - "new tab". I have a PC with Windows Vista and have been using Firefox with additional Google toolbar as my preferred or default browser for several years. I have downloaded several updates. I suspect that my version is now 4 or 5. Originally the Google for Firefox new tab feature showing chosen favourite or preferred websites for quick one click access worked fine but I seem to have lost the abiiity or forgotten how to add new such favourites for quick access. The "edit" button there on the bottom left can only delete valuable chosen sites, which then seem to the be lost forever. This edit button is very dangerous! The "bookmarks" and "most visited" tabs listed show a wild coincidental mixture of sites I once visited sometime but have nothing to do with my real favourites or chosen or most visited sites. So I don´t use these bookmark or "most visited" features.
Most visited would not be your bookmarks, but your tab history.
You can check that out via Ctrl+Shift+H then search on ":" (colon without the quotes). Sort on the "Visits Count" (descending) and you will see that they agree.
'''Most visited''' is one of the '''smart bookmark folders''' which are database queries.
'''More information:'''
* [https://developer.mozilla.org/en/Places_query_uris Places query URIs - MDC Docs]
* [https://support.mozilla.com/kb/Smart+Bookmarks+folders Smart Bookmarks folders | How to | Firefox Help]
* [https://support.mozilla.com/kb/Restore+the+default+Smart+Bookmarks+Folders Restore the default Smart Bookmarks Folders | Troubleshooting | Firefox Help]
'''Related information:'''
* [http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox Viewing the browsing history - Firefox - MozillaZine Knowledge Base]
* [https://support.mozilla.com/hu/questions/830859 When I search in "History" for items I've called up, I get a page with the heading "Library." but with no text beneath it. Thanks.]
Google Toolbar is no longer supported in Firefox 5 or newer versions.<br>http://kb.mozillazine.org/Using_Google_Toolbar_features_without_toolbars -
Operations manager failed to run a wmi query for wmi events (0x800706ba)
Hi everyone,
I've been working on this issue for a while and I am still no closer to finding out what the problem is. If anybody can offer any other advice or things to check, I'm all ears.
I'm running SCOM 2012 R2 with UR2, and the Cluster Management Pack v6.0.7063.0
My problem is on one particular batch of cluster servers where I am getting the following error.
Name: Operations Manager failed to run a WMI query for WMI events
Alert Description:
Module was unable to enumerate the WMI data
Error: 0x800706ba
Details: The RPC server is unavailable
Workflow name: Microsoft.Windows.Cluster.Node.StateMonitoring
Instance Name: servername.domain.local
Instance ID: {instance_id}
Management group: SCOM_Management_Grp_Name
I am getting this alert regardless of whether I run the Windows Cluster Action Account as Local System, or as a domain user with full local admin privileges on all the cluster nodes.
When looking at the management pack and the workflow in particular (Microsoft.Windows.Cluster.Node.StateMonitoring), I can see that it's trying to access
MSCluster_Node in the root\MSCLUSTER WMI namespace.
This is the workflow for your information...
<UnitMonitor> ID="Microsoft.Windows.Cluster.Node.StateMonitoring" Accessibility="Public" Enabled="onEssentialMonitoring" Target="ClusLibrary!Microsoft.Windows.Cluster.Node" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="ClusLibrary!Microsoft.Windows.Cluster.CheckState" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Cluster.Node.StateMonitoring.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter1>
<AlertParameter2>$Target/Property[Type="ClusLibrary!Microsoft.Windows.Cluster.Node"]/ClusterName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Success" MonitorTypeStateID="Online" HealthState="Success" />
<OperationalState ID="Warning" MonitorTypeStateID="Partial" HealthState="Warning" />
<OperationalState ID="Error" MonitorTypeStateID="NotOnline" HealthState="Error" />
</OperationalStates>
<Configuration>
<ClusterObjectName>$Target/Property[Type='ClusLibrary!Microsoft.Windows.Cluster.Node']/NodeName$</ClusterObjectName>
<PollInterval>60</PollInterval>
<ClusterObjectClass>MSCLUSTER_Node</ClusterObjectClass>
<OnlineExpression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</OnlineExpression>
<OnlineExpressionOnDemand>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</OnlineExpressionOnDemand>
<PartialExpression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</PartialExpression>
<PartialExpressionOnDemand>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</PartialExpressionOnDemand>
<NotOnlineExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='EventNewState']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</NotOnlineExpression>
<NotOnlineExpressionOnDemand>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">0</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">2</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Property[@Name='State']</XPathQuery>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String">3</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</NotOnlineExpressionOnDemand>
<WMIFields>Name, State</WMIFields>
</Configuration>
</UnitMonitor>
I can confirm that I am able to browse the MSCluster_Node class locally, as well as remotely using WMIEXPLORER and WBEMTEST,
however it only works when I set the Authentication Level to
Packet Privacy. If I do not select Packet Privacy, a WMI event log error 5605 is logged on the remote servers application log that says...
The root\mscluster namespace is marked with the RequiresEncryption flag. Access to this namespace might be denied if the script or application does not have the appropriate authentication level. Change the authentication level to Pkt_Privacy
and run the script or application again.
I can confirm that all firewalls are turned off, and there are no firewalls between the management servers and the agents in question. AV exclusions have been done and appear to be in place. The nodes are all Windows 2008 R2 with SP1. As
far as I can tell there is plenty of memory available on each of the nodes in question (50%+) of RAM is available.
If I manually run the "Discover the Windows Server 2008 R2 Cluster Components" task in the Cluster Service State section of the management pack in the Monitoring Pane in the console, on the nodes in question - the discovery runs successfully.
Does anybody have any other ideas or suggestions I could try?
Many thanks in advance,
Noel.
http://www.dreamension.netHi,
Common causes of RPC errors include:
Errors resolving a DNS or NetBIOS name.
The RPC service or related services may not be running.
Problems with network connectivity.
File and printer sharing is not enabled.
For more information, please review the link below:
Windows Server Troubleshooting: "The RPC server is unavailable"
http://social.technet.microsoft.com/wiki/contents/articles/4494.windows-server-troubleshooting-the-rpc-server-is-unavailable.aspx#Identify
Troubleshooting RPC Errors
http://technet.microsoft.com/en-us/magazine/2007.07.howitworks.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. -
Guest OS Windows 7 for remote access
We are setting up 4 VM's with Windows 7 OS for staff access on a Dell PowerEdge R320.
We had all of the VM's working as specified above but had to re-install Server 2012 Standard because the factory tech setup the Raid 5 to only give the server OS 40 GB of space.
Installed Windows Server 2012 Standard with the following Roles and Features:
File and Storage Services
Hyper-V
Network Policy and Access Services - Network Policy Server - Health Registration Authority
Web Server (IIS) - Web Server (Defaults)
Management Tools (Default)
We will be joining this server to a Domain Controller on another server.
This server will need to have mapped drives to a third party software database and storage file installed in it for business management.
For setup purposes the NIC1 has been disabled to reserve it for iDRAC.
The NIC2 is set to a static IP address for RDP and DOES have internet access.
An External virtual switch has been installed in Hyper-V on the NIC2 named "Virtual Switch NIC 2" All of the guset VM's have the Virtual Switch "Virtual Switch NIC 2" installed (without VLAN ID and Bandwidth Management checked).
The guest OS does show the network adpater as a device and is also set to a static IP for RDP. The networking and sharing window shows "No Internet Access" and cannot repair or resolve the issue. The Guest OS also does not see the Host files shared
or the Host in Network. It displays as an unidentified network.
Please advise and thank you in advance for your assistance.NIC 2 should not have anything on it except for Hyper-V Extensible Virtual Switch. Anything else and you do not have a virtual switch on that NIC. By default, when you create an External Virtual Switch, Hyper-V will automatically remove all the
other protocols and settings and enable the Hyper-V Extensible Virtual Switch. It looks like you went in and made manual changes which broke everything.
Delete your virtual switch and recreate it. When you recreate it, click the box to Allow management operating system to share this network adapter. Then configure your IP information on the vEthernet that is created, not NIC2. DO NOT MAKE ANY
CHANGES TO THE PROPERTIES OF NIC2.
"In the Hyper-V manager - Network Tab - it shows the IP address for the Guest OS as:
169.254.181.237"
I don't know what you are talking about here. Hyper-V Manager does not have a 'Network Tab'. Hyper-V does not perform any networking functions for the VMs. You need to configure the network within the VMs themselves. If you do not
have DHCP configured for your environment (not a Hyper-V function), your VMs will come up with a 169.254.0.0/16 address. That's an APIPA address and is a standard.
One last thing, you might want to read this blog in order to better understand how networking works within Hyper-V -
How
does basic networking work in Hyper-V? It's written for 2008, but it's a primer and it is still valid for 2012.
. : | : . : | : . tim -
hai to all
iam new to java
what is select query in ms-access with where condition?
is this query work in ms-access
rsAdmnno=stAdmnno.executeQuery("select * from StudentDetails where Admnno=''"+Admnno+"'");
here Admnno is the field name
and student details is the table name is it works
please help me
thanksNever used access myself. Your statement looks okay and you didn't mention a specific problem, are you getting an error message?
Here is a guide on SQL for access
http://www.adit.co.uk/html/sql_for_access.htm -
MRP - want to create query for Exception message number (MD04)
Dear all MM kings
consider i had one purchase against xxxx material , if i go to MD04 In Exception message number column i got massage number 20 Cancel process, now i want to know how many purchase order exist in system having the Exception message number 20
i want to define query for Exception message number 20
is there any way to do the sameHi,
There are links on the first thread on this MM board that describe how to produce a query.
But if you have not done this before and have no ABAP experience, you might find it a bit tricky.
You need someone to find the tabkle that stores the MRP lists and see if this contains the exception message, first.
the structure I gave you is probably built dynamically by the program and so may not be available for a query.
One simpler option is to use the "Collective access" tab in MD04. here you can enter an MRP controller etc. and get a list of materials. You can then find out which of the 8 numbered columns contains the exception message 20 and then sort the list in this sequence (the exception messages are linked to one of the columns and this can be different in every implementation and so I can't tell you which one it is)
This will not just get the "20" messages unless they have been configured to use a separate column, but at least it is avail;able now without config and may be enough for your purposes.
Steve B -
Question/issue regarding querying for uncommited objects in Toplink...
Hi, was hoping to get some insight into this problem we are encoutering
We have this scenario were we are creating a folder hierarchy (using Toplink)
1. a parent folder is created
2. child elements are created (in the same transaction as step 1),
3. we need to lookup the parent folder and assign it as the parent
of these child elements
4. end the transaction and commit all data
In our system we control access to objects by appending a filter to the selection criteria, so we end up with SQL like this example
(The t2 stuff is the authorization lookup part of the query.) ;
SELECT t0.ID, t0.CLASS_NAME, t0.DESCRIPTION, t0.EDITABLE,
t0.DATE_MODIFIED, t0.DATE_CREATED,
t0.MODIFIED_BY, t0.ACL_ID, t0.NAME, t0.CREATED_BY,
t0.TYPE_ID, t0.WKSP_ID, t1.ID, t1.LINK_SRC_PATH,
t1.ABSOLUTE_PATH, t1.MIME_TYPE, t1.FSIZE,
t1.CONTENT_PATH, t1.PARENT_ID
FROM XDOOBJECT t0, ALL_OBJECT_PRIVILEGES t2,
ARCHIVEOBJECT t1
WHERE ((((t1.ABSOLUTE_PATH = '/favorites/twatson2')
AND ((t1.ID = t2.xdoobject_id)
AND ((t2.user_id = 'twatson2')
AND (bitand(t2.privilege, 2) = 2))))
AND (t1.ID = t0.ID))
AND (t0.CLASS_NAME = 'oracle.xdo.server.repository.model.Archivable'))
When creating new objects we also create the authorization lookup record (which is inserted into a different table.) I can see all the objects are registered in the UOW identity map.
Basically, the issue is that this scenario all occurs in a single transaction and when querying for the newly created parent folder, if the authorization filter is appended to the query, the parent is not found. If I remove the authorization filter then the parent is found correctly. Or if I break this up into separate transactions and commit after each insert, then the parent is found correctly.
I use the conformResultsInUnitOfWork attribute on the queries.
This is related to an earlier thread I have in this discussion forum;
Nested UnitOfWork and reading newly created objects...
Thanks for any help you can provide,
-TimHi Doug, we add the authorization filter directly in the application code as the query is getting set up.
Here are some code examples; 1) the first is the code to create new object in the system, followed by 2) the code to create a new authorization lookup record (which also uses the first code to do the actual Toplink insert), then 3) an example of a read query where the authorization filter is appended to the Expression and after that 4) several helper methods.
I hope this is of some use as it's difficult to show the complete flow in a simple example.
1)
// create new object example
public Object DataAccess.createObject(....
Object result = null;
boolean inTx = true;
UnitOfWork uow = null;
try
SessionContext sc = mScm.getCurrentSessionContext();
uow = TLTransactionManager.getActiveTransaction(sc.getUserId());
if (uow == null)
Session session = TLSessionFactory.getSession();
uow = session.acquireUnitOfWork();
inTx = false;
Object oclone = (Object) uow.registerObject(object);
uow.assignSequenceNumbers();
if (oclone instanceof BaseObject)
BaseObject boclone = (BaseObject)oclone;
Date now = new Date();
boclone.setCreated(now);
boclone.setModified(now);
boclone.setModifiedBy(sc.getUserId());
boclone.setCreatedBy(sc.getUserId());
uow.printRegisteredObjects();
uow.validateObjectSpace();
if (inTx == false) uow.commit();
//just temp, see above
if (true == authorizer.requiresCheck(oclone))
authorizer.grantPrivilege(oclone);
result = oclone;
2)
// Authorizer.grantPrivilege method
public void grantPrivilege(Object object) throws DataAccessException
if (requiresCheck(object) == false)
throw new DataAccessException(
"Object does not implement Securable interface.");
Securable so = (Securable)object;
ModulePrivilege[] privs = so.getDefinedPrivileges();
BigInteger pmask = new BigInteger("0");
for (int i = 0; i < privs.length; i++)
BigInteger pv = PrivilegeManagerFactory.getPrivilegeValue(privs);
pmask = pmask.add(pv);
SessionContext sc = mScm.getCurrentSessionContext();
// the authorization lookup record
ObjectUserPrivilege oup = new ObjectUserPrivilege();
oup.setAclId(so.getAclId());
oup.setPrivileges(pmask);
oup.setUserId(sc.getUserId());
oup.setXdoObjectId(so.getId());
try
// this recurses back to the code snippet from above
mDataAccess.createObject(oup, this);
catch (DataAccessException dae) {
Object[] args = {dae.getClass().toString(), dae.getMessage()};
logger.severe(MessageFormat.format(EXCEPTION_MESSAGE, args));
throw new DataAccessException("Failed to grant object privilege.", dae);
3)
// example Query code
Object object = null;
ExpressionBuilder eb = new ExpressionBuilder();
Expression exp = eb.get(queryKeys[0]).equal(keyValues[0]);
for (int i = 1; i < queryKeys.length; i++)
exp = exp.and(eb.get(queryKeys[i]).equal(keyValues[i]));
// check if need to add authorization filter
if (authorizer.requiresCheck(domainClass) == true)
// this is where the authorization filter is appended to query
exp = exp.and(appendReadFilter());
ReadObjectQuery query = new ReadObjectQuery(domainClass, exp);
SessionContext sc = mScm.getCurrentSessionContext();
if (TLTransactionManager.isInTransaction(sc.getUserId()))
// part of a larger transaction scenario
query.conformResultsInUnitOfWork();
else
// not part of a transaction
query.refreshIdentityMapResult();
query.cascadePrivateParts();
Session session = getSession();
object = session.executeQuery(query);
4)
// builds the authorzation filter
private Expression appendReadFilter()
ExpressionBuilder eb = new ExpressionBuilder();
Expression exp1 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("xdoobject_id");
Expression exp2 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("user_id");
Expression exp3 = eb.getTable("ALL_OBJECT_PRIVILEGES").getField("privilege");
Vector args = new Vector();
args.add(READ_PRIVILEGE_VALUE);
Expression exp4 =
exp3.getFunctionWithArguments("bitand",args).equal(READ_PRIVILEGE_VALUE);
SessionContext sc = mScm.getCurrentSessionContext();
return eb.get("ID").equal(exp1).and(exp2.equal(sc.getUserId()).and(exp4));
// helper to get Toplink Session
private Session getSession() throws DataAccessException
SessionContext sc = mScm.getCurrentSessionContext();
Session session = TLTransactionManager.getActiveTransaction(sc.getUserId());
if (session == null)
session = TLSessionFactory.getSession();
return session;
// method of TLTransactionManager, provides easy access to TLSession
// which handles Toplink Sessions and is a singleton
public static UnitOfWork getActiveTransaction(String userId)
throws DataAccessException
TLSession tls = TLSession.getInstance();
return tls.getTransaction(userId);
// the TLSession method, returns the active transaction (UOW)
// or null if none
public UnitOfWork getTransaction(String uid) {
UnitOfWork uow = null;
UowWrapper uw = (UowWrapper)mTransactions.get(uid);
if (uw != null) {
uow = uw.getUow();
return uow;
Thanks!
-Tim -
Query works in Access but not CF
I wrote this query initially in access to extract the data I
wanted out of my table. In MS Access, the query works fine, returns
the desired data. When I run the query from my CF page, i get the
following error:
Error Executing Database Query.
[Macromedia][SequeLink JDBC Driver][ODBC
Socket][Microsoft][ODBC Microsoft Access Driver] Too few
parameters. Expected 2.
Can anyone tell me why? Below is my queryAs the IIF function is a valid CF function, it may not be
getting passed as 'plain text' to Access, instead CF
may be attempting to compile the function and pass the
result. If you can turn on debugging and for a short time set it to
include the SQL being passed in error messages, you can see what is
really going on.
Another option is to create/save the query in the Access
database and reference that instead of a table in your CFQUERY
call. Since you are just running a staright query and not passing
anything from CF (unless I am mistaken), calling the Access query
for your results would work fine.
<CFQUERY ...>
SELECT * FROM myQueryName
</CFQUERY>
HTH,
CR
Maybe you are looking for
-
How can you make FMS 4.5 stop limiting itself to 20-25 Mbps of bandwidth?
I'm working on an upgrade to an ActionScript 3.0 website, and this upgrade multiplies the number of RTMP connections that are liable to be used at one time for streaming live video and audio (sometimes uploading, but more often downloading). Well, w
-
Can I use the second TCP / IP port on my cRIO to drive a meter Agilent
I would like to use the second TCP / IP port of my NI cRIO-9024 to control my Agilent 33210A pulse generator with VISA TCP/IP. My Agilent has only TCP/IP and GPIB ports. Is it possible? cordially
-
How do you rename a disk without breaking Lightroom?
Hi There, I'm using Lightroom 5.3 and need to rename a volume. Obviously doing this in the finder ruins the catalogue and I can't find an automated way to update the root directory name in Lightroom. I've temporarily changed the name back but still n
-
Best method for duplicating a page layout
As you may have seen form my other detailed queries I am struggling to relpicate layouts to new pages. What is the best method for this?
-
I'm in a java class and I'm stuck on this issue. I cant figure out where I went wrong. Any help will be most welcome. I found two examples on how to do this. I used a little from both in order to make mine. The program is suppose to loop back and min