UIX outputs HTML that is not valid XML
Greetings,
I am "experimenting" with UIX in Devloper 9i and I have noticed that the HTML that is output is very far from being valid XML, as a matter of fact it is so far off that Tidy can't even clean it up.
Are theere any plans in place to try to make the output be XHTML instead of "sloppy" html? This would have a number of benefits, one wich would be; One could percivably call an uix page into a xsql page.
Kind Regards
Ola Kvalvaag
The architecture of UIX is actually very well optimized to switch
between XHTML and HTML, as all output is pipelined through an
OutputMethod interface that abstracts away the difference between
the two. I believe our HTML is output is extremely well-formed
HTML, which isn't the same thing as well-formed XHTML. We quote
all our attributes, we close all elements that must be closed,
we escape characters that need escaping, etc.
Until this message, I guess we haven't had any complaints!
I've yet to see a browser that prefers XHTML to HTML.
What are you trying to do with the output that requires it to be
XHTML?
Similar Messages
-
Hi everyone,
I'm facing the following problem in a Server runing Linux with JBoss AS 4.2.2, JRE 1.6, and MSSQL Server 2005 with JDBC 2.0 (sqljdbc4.jar).
The thing is: on friday morning I started up the server and everything worked fine ... next, from Friday at 6pm to Saturday at 8am nobody has used the system.
Then on Saturday at 8:05 got the following warning lines every time I tried to do something in my application. While it seems that everything works, after a few days the system starts to decrease their performance and malfunction, so I want to know why it
might happen these warnings.
I have tried to find a solution to this problem in several places but I'm not succeeding. That's why I'm writing my problem here...
Hope somebody can help me!
Thanks in advance and best regards!
Cristian.
This is the "error" log.
2011-06-11 08:05:29,680 WARN [org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory] Destroying connection that is not valid, due to the following exception: ConnectionID:2941
com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1352)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1339)
at com.microsoft.sqlserver.jdbc.TDSChannel.read(IOBuffer.java:1654)
at com.microsoft.sqlserver.jdbc.TDSReader.readPacket(IOBuffer.java:3694)
at com.microsoft.sqlserver.jdbc.TDSCommand.startResponse(IOBuffer.java:5022)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.doExecuteStatement(SQLServerStatement.java:773)
at com.microsoft.sqlserver.jdbc.SQLServerStatement$StmtExecCmd.doExecute(SQLServerStatement.java:676)
at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4575)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1400)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:179)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:154)
at com.microsoft.sqlserver.jdbc.SQLServerStatement.execute(SQLServerStatement.java:649)
at org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnection(CheckValidConnectionSQL.java:58)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.isValidConnection(BaseWrapperManagedConnectionFactory.java:435)
at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkValid(BaseWrapperManagedConnection.java:231)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:200)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:211)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:538)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:315)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1547)
at org.hibernate.loader.Loader.doQuery(Loader.java:673)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2220)
And this is my mssql-ds.xml
<local-tx-datasource>
<jndi-name>jdbc/bpmsdb</jndi-name>
<connection-url>jdbc:sqlserver://ipaddress:1433;DatabaseName=BPMS</connection-url>
<driver-class>com.microsoft.sqlserver.jdbc.SQLServerDriver</driver-class>
<user-name>user</user-name>
<password>pwd</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>50</max-pool-size>
<exception-sorter-class-name>
org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter
</exception-sorter-class-name>
<metadata>
<type-mapping>MS SQLSERVER2000</type-mapping>
</metadata>
<new-connection-sql>select 1</new-connection-sql>
<check-valid-connection-sql>select 1</check-valid-connection-sql>
<idle-timeout-minutes>5</idle-timeout-minutes>
</local-tx-datasource>I´m facing similar problem with Linux and SQL Server 2008 R2. I made the downgrade of JDK 1.6 from 27 to 26 (some people reporting errors when upgraded to jdk1.6_29 and rolling back is ok) but for me the error persists. At this moment we are testing with
sqljdbc4.jar version 4.0 (released in 3/6/2012). The curious I have two equals Linux boxes and only one have presented connection reset errors.
Thanks in advance.
Carlos -
The page contains markup that is not valid when attached to master page
Hi,
I have create an web application in VS 2005 and convert into VS2008. now i am facing a problem that a single page is not open in design mode which is inherit from master page.
and a message comes.
Error: The page contains markup that is not valid when attached to master page
please give me the suggestion that how can i open this page in design mode.
Thanks
Gaurav AnandNeither worked for me. Here is my code.
<
asp:Content ID="Content1" ContentPlaceHolderID="fkhead" Runat="Server">
<script runat="server">
Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
Dim a As String = "This is other data"
pqriminadpaylbl.Text = a
pqrimincustlbl.Text = a
pqriminadpaylbl.Text = a
pqriminpcdevlbl.Text = a
pqriminpctoollbl.Text = a
pqriminsaleslbl.Text = a
pqriminspadeslbl.Text = a
pqriminspamatlbl.Text = a
pqrimintdamortlbl.Text = a
pqrimintdcclbl.Text = a
pqrimintddtlbl.Text = a
pqrimintdfclbl.Text = a
pqrimintucdeslbl.Text = a
pqrimintucdollarlbl.Text = a
pqrimintucmatlbl.Text = a
pqriminvolaslbl1.Text = a
pqriminvolaslbl2.Text = a
pqriminvolasyear1lbl1.Text = a
pqriminvolasyear1lbl2.Text = a
pqriminvolasyear1lbl3.Text = a
pqriminvolasyear1lbl4.Text = a
pqriminvolasyear1lbl5.Text = a
pqrimindislbl.Visible =
False
pqriminprevbtn.Visible =
False
pqriminnextbtn.Visible =
False
End If
End Sub
</script>
<style type="text/css">
.trest
.newStyle1
text-align: right;
.table
width: 100%;
.newStyle2
font-size: 20pt;
font-weight: bold;
text-decoration: underline;
text-align: center;
.tdparts2
font-size: 16pt;
font-weight: bold;
.tb25
width: 25%;
font-size: 9pt;
.tb20
width: 20%;
font-size: 9pt;
.tb40
width: 40%;
font-size: 9pt;
.tb30
width: 30%;
font-size: 9pt;
</style>
</
asp:Content>
It works fin, but the designer keeps craping out. This was not happening until recently. Not sure what is up with it. -
All,
I am having a very odd problem.
I have recently setup a Mac OS X Mavericks Server for the purposes of NetRestore.
Everything setup fine, no issues whatsoever and the server has been running non-stop for the past 78 days.
I've already imaged about 100 MacBook pros off of this server without a problem.
This morning I come in, start up an MBP that needs to be imaged and it sees the netrestore volumes and attemps to boot to it
then stops and doesn't go anywhere.
I've had my NBI's on an external firewire 800 drive (1TB Lacie Rugged) and its been working fine.
I've checked my logs numerous times and the only error I can find is: servermgrd[584]: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "v\035\363d".
The exact same error keeps repeating every 10 seconds or so.
I read in another forum that sometime Mavericks Server doesn't like NBI images on external volumes, so I moved them to the standard /Library/Netboot/NetBootSP0 folder on the boot volume and turned off the external drive.
I'm able to NetRestore again now, but the process is far slower then it was previsously and the error above still persists.
I've rebooted the server, stopped and restarted the services, made sure no changes have been made on the network, and fully updated the server via software update.
Any ideas would be greatly appreciated!
Thanks in advance.I post some other error.
I don't understand why some times when I reboot I don't get any errors and why some Ive this:
Mac OS X Versione 10.4.9 (Build 8P2137)
2007-04-26 09:26:54 +0200
At revision 7057.
Apr 26 09:27:02 MacBook diskarbitrationd[49]: SystemUIServer [265]:15143 not responding.
Apr 26 09:27:02 MacBook /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framewo rk/Support/ATSServer: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "ˆ®˜Ëî^?Ío".
Can any help me to found the problem???????
Thanks so much to all -
Hi all,
While viewing report in SSRS 2008 i am getting an error like this
Warning 1 [rsInvalidExpressionDataType] The Value expression used in textrun ‘Textbox21.Paragraphs[0].TextRuns[0]’ returned a data type that is not valid.
sotred procedure
ALTER
Procedure [dbo].[spGetSupervisor]
@START_DATE
datetime,
@END_DATE
datetime,
@CenterID
varchar(4000),
@TITLE
varchar(100)
=
NULL
as
Select
Distinct L1_ID SupID,
L1_Name SupName
from
REF_DB.info v
inner
join dbo.fn_MVParam(@CenterID
+
P
v
.CenterID
= p.Column1
where
v.startdate
<= @END_DATE
and v.enddate
>= @START_DATE
and
(v.title
IN
(@TITLE)
or @title
is
order
by Name
Here is the expression in Report textbox
=Parameters!CenterID.Label
Please
help me
Thanks
in advance
Jyo
null)
ONHi Jyo1105,
Thanks for your question. Based on my research and experiences, the issue may be caused by you set the @CenterID
is a multiple values parameter.
If in this condition, you couldn’t use the expression of
Parameters!CenterID.Value directly, you
should use a join() function on the parameter to merge the whole values, or add a sequence number behind the expression to use a specific value, just like this:
=join(Parameters! CenterID.Value) or
=Parameters! CenterID.Value(0)
If your issue still exsits, please feel free to let me know.
Thanks,
Sharp Wang
Best Regards. Sharp Wang -
I am trying to log into the itunes store for the first time and it asks me to review my account so I do but every time I get to the bit where you fill in your bank details and address it tells me my payment method was declined and that its not valid?
Same here and this is driving me crazy. I can buy, but can't upgrade. Grrr.
-
We are trying to convert a physical windows 2003 R2 32 bit server to a VM using VMM 2008 R2 with all updates installed. Each time when we scan the system on VMM, it gets this message: Error (2901) The operation did not complete successfully because of
a parameter or call sequence that is not valid. (The parameter is incorrect (0x80070057)). If I use disk2vhd.exe to convert only C drive, I get parameter is incorrect. Any ideas?
Bob Lin, MCSE & CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.comHi Sir,
>> If I use disk2vhd.exe to convert only C drive, I get parameter is incorrect. Any ideas?
>> gets this message: Error (2901) The operation did not complete successfully because of a parameter or call sequence that is not valid. (The parameter is incorrect (0x80070057)
Please refer to following article regarding this error :
http://blogs.technet.com/b/hugofe/archive/2010/07/09/abe.aspx
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
I have an iMac late 2013 which hangs after one night in sleep mode. The only way to get it back working again is to power cycle it (5 sec power button)
It is a late 2013 21'' imac with 16GB RAM, and a fusion drive, with Mavericks installed.
When I look in the console the following entries appear just before the reboot:
10/10/14 00:45:17,000 kernel[0]: [0x2e0685000, 0x100000]
10/10/14 00:45:17,000 kernel[0]: [0x2e07c5000, 0x80000]
10/10/14 00:45:17,000 kernel[0]: [0x2e0885000, 0x100000]
10/10/14 00:45:17,000 kernel[0]: [0x2e09c5000, 0x180000]
10/10/14 08:15:58,000 bootlog[0]: BOOT_TIME 1412921758 0
A lot of kernel messages, this is always the same. Just before the kernel messages appear these messages:
10/10/14 00:44:50,000 kernel[0]: AppleThunderboltNHI::prePCIWake - power up complete - took 0 us
10/10/14 00:44:50,000 kernel[0]: AppleThunderboltHAL::earlyWake - complete - took 0 milliseconds
10/10/14 00:44:50,000 kernel[0]: VNOP_ALLOCATE(0) 413138944
10/10/14 00:44:50,000 kernel[0]: Thunderbolt Self-Reset Count = 0xedefbe00
10/10/14 00:44:50,000 kernel[0]: IOThunderboltSwitch<0xffffff8023b5c400>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 11 unplug = 0
10/10/14 00:44:51,000 kernel[0]: IOThunderboltSwitch<0xffffff8023b5c400>(0x0)::listenerCallback - Thunderbolt HPD packet for route = 0x0 port = 12 unplug = 0
10/10/14 00:45:17,000 kernel[0]: [0x1530d2000, 0x13000]
These messages are always Thunderbold related. When I look in to the logs these events occur regularly, also when the system does not hangs over night. Today I discovered the following. Just before the crash there is an IOUnserialize error that is related to Sleep :
10/10/14 00:44:21,874 SleepServicesD[68]: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "P ��".
Just after restart it generated several similar error, as:
10/10/14 08:16:19,760 configd[18]: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "P ��".
I am not sure but it seems like that the crashes are more likely to occur when both me and my wife are logged in to the system. My wife is using Parallels desktop 9 with windows 8.1. And it seems that the hangs occur the night after she worked for multiple hour on the virtual machine, but I have to stress that this is just a feeling, I am not sure if that is the cause of the problems. Maybe working for extensive periods is the cause not the virtual machine.
I am wondering did anyone other experience this and what worked for you? I am tired of the hard reboots. Today even the keyboard had crashed (apple wired keyboard with numerical input) I had to unplug it for a while (several minutes) before it started working again. The USB ports were fine after reboot. I tested them with another wired keyboard, while the other one was connected and not working. Switching ports did not help, thus that problem was really keyboard related.
I hope someone has any ideas.
Thanks in advance!To be sure I reinstalled Mavericks again, the first night exactly the same. This morning the imac did not wake up from sleep again. I checked the logs after a hard reboot. Exactly the same issue as above
It contained multiple FIXME entries. The SleepService was the first FIXME that appeared in the log and is followed by multiple FIXMEs from various sources:
11/10/14 03:05:29,052 SleepServicesD[71]: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "Q
��".
11/10/14 09:25:45,215 configd[17]: FIXME: IOUnserialize has detected a string that is not valid UTF-8, "1 � ". -
"The new table link contain TargetFieldNames that are not valid?
I am designing a report based on a sql stored procedure with 3 parameters required. I have a parameter that I would like to make dynamic based on an "Item" table for multiple selections.
I keep getting this error when I run the report
Prompting failed with the following error message: 'List of VAlues failure: fail to get values. (Cause of error: the new table link contains TargetFieldNames that are not valid. Error source: prompt.dll
Error code: 0x8004380d
Can someone point me to an example or tell me if this even possible to do?
Edited by: SHARON SCHMIDT on Feb 17, 2009 3:16 PMHi Sharon,
Searching for the error message got many KBase but I hope referring to the following would help you:
1211133 - Using parameters to select one, some or all values in a record selection formula
1220118 - Error: "List of Values failure"prompt.dll Error code: 0x8004380D"
Regards,
Sheeba -
I have incorrectly entered an email address that is not valid. I have requested the change to the correct email but if cannot verify it as the verification email is being sent to the email address that I entered incorrectly and is invalid. Help!
Hey Givemepaperandapen,
Thanks for using Apple Support Communities.
For more information, take a look at:
Apple ID: Associating and verifying email addresses with your Apple ID
http://support.apple.com/kb/he68
How to edit or change your Apple ID and primary email address
Have a nice day,
Mario -
Iam in another country but it doesnot get a sim card becouse it says that its not valid what do i do
iam in another country but it doesnot get a sim card becouse it says that its not valid what do i do please helpme
You need a SIM card from the carrier your phone is locked to. If you are trying to use a SIM card from a different carrier, that is why you are getting the error message. Either get a supported sim or request that your phone be unlocked by contacting that carrier.
-
Compare data and output data that does not exist
Hello,
i wrote a procedure to insert the data into a 3rd table where i compare the data between two tables, if it matches it shouls insert into the test_a table. if the does not exist either one of the tables i.e. test_code and test_type it should output that data where it doesn't exist. my code works for only one table i.e. test_code. its not dbms outputing a row that is not in test_type table. could any tell my why?suppose if test_code a row that is not in test_type it should output saying this row mismatches with test_type and vice versa.
--here is my code
CREATE OR REPLACE PROCEDURE test.GET_data
IS
BEGIN
DELETE test.test_a;
FOR c IN (select a.cCODE ,
a.type,
a.indicator,
rtrim (xmlagg (xmlelement (e, a.codenum || ',' )order by a.codenum).extract ('//text()'), ',') codeNUMber,
b.ccode cc,
b.type tp,
b.indicator ind
from test.test_code a, test.test_type b
where a.ccode = b.ccode(+)
AND a.type = b.type(+)
AND a.indicator = b.indicator(+)
Group by a.ccode, a.type, a.indicator, b.CCODE,b.type, b.indicator
order by a.ccode)
LOOP
BEGIN
IF (c.cCODE = c.CC
AND C.type = C.tp
AND C.indicator = C.ind
AND C.SYS_IND = C.SYSIND) THEN
insert into test.test_a (CCODE, type, indicator)
values (C.cCODE, C.type, C.indicator);
ELSE
dbms_output.put_line('Rules Problem For cCODE: ' || C.cCODE);
dbms_output.put_line('type: ' || C.type);
dbms_output.put_line('indicator: ' || C.indicator);
dbms_output.put_line('Rules Problem For CC: ' || C.CC);
dbms_output.put_line('tp: ' || C.tp);
dbms_output.put_line('ind: ' || C.ind);
END IF;
EXCEPTION
WHEN OTHERS THEN
dbms_output.put_line('Rules Problem For cCODE: ' || C.cCODE);
dbms_output.put_line('type: ' || C.type);
dbms_output.put_line('indicator: ' || C.indicator);
dbms_output.put_line('Rules Problem For CC: ' || C.CC);
dbms_output.put_line('tp: ' || C.tp);
dbms_output.put_line('ind: ' || C.ind);
END;
end loop;
commit;
END;
ThanksYou need to use a FULL OUTER JOIN instead an OUTER JOIN for that.
Just curious, why do you need to use dbms_output instead of running the SQL query with additional conditions (the if part of your procedure)?. You can use it twice, one to insert the ones that match, and one for selecting the others that do not match.
Regards. -
Method needed to identify Contacts that are not valid from the Comp Screen
Problem
My Company has 65k contacts in the system, we do not delete contacts that are no longer at company, as when we buy data our data in some cases will be more up to date that the third party data available on the market. This then means when a user looks at a company record and the related contacts, he has to hover the cusor over each of the contacts to check if they are valid or not.
Goal
When a user looks at the contacts linked to the company the following fields will be presnt:
Contact Valid
Contact Leave Date.
This will then mean the user will be able to see without looking which contacts are valid and which are not.
Problems
I have tried to create a contact page layout with the fields needed however the only fields avaiable are as follows:
Company ID
Company Name
Company Status
Contact ID
Contact Name
Contact Roles
Location
Primary
Can anybody help?Thanks for the reply.
However I think I didn't make myself clear in my post in terms of the problem. The problem I have is that when a user looks at a company (account) record the user see the following information in relation to which of the available contacts to select "Primary,Last & First name,Job Title, Contact Role, Work Phone and Email". However none of these fields show if the contact is valid or if they have a leave date.
Both Contact Valid and Contact Leave date have been set up in the system within the contact record. I want to change the layout and have spent hours in the following screens and functions.
Page layout Management
Company/Contact Related Information layout
Related Information Setup
Company/Contact page layout
The problem is the screens/functions where I think I could add the two above mentioned fields end up with me turning the fileds into required or read only fields, and the section where I want to drag in the fields to display has the two fields missing. -
Synth.dtd not valid XML
Hi. I'm trying to make my own Look&Feel with Synth. I'm reading stuff here, and nothing will work because [synth.dtd|http://java.sun.com/javase/6/docs/api/javax/swing/plaf/synth/doc-files/synth.dtd] is all messed up and won't validate in NetBeans.
If anyone could help me with this problem it would be really nice.
Thanks, BoB.This is not unusual to see if you are missing a tag, the tag ordering is
wrong or you have some extra characters in the descriptor.
I reproduced the same error by adding the invalid characters <> before
<weblogic-web-app> tag that should begin the document after the dtd
declaration.
Patrick
"Richard Dedeyan" <[email protected]> wrote in message
news:3ebfbb76$[email protected]..
>
Hi All,
In Weblogic 7, the dtd for the weblogic.xml file(http://www.bea.com/servers/wls700/dtd/weblogic700-web-jar.dtd)
seems to be invalid.
When deploying a web app, I get the error message:
"org.xml.sax.SAXParseException: The markup in the document preceding theroot
element must be well-formed"
Has anyone else experienced this problem?
Thanks,
Richard -
I found this article, and used it, and it seems as though my script resource node items are being properly expanded, and honestly I think it passes through being loaded up, but then when I go to start it, it fails. so let me put up some links with code and
error messages for you all.
http://social.technet.microsoft.com/Forums/exchange/en-US/2eb97d67-f1fb-4857-8840-de9c4cb9cae0/dsc-configuration-data-for-script-resources
Ok, so here is my configuration. The idea is that I need some specific permissions set on a specific registry key on my sql servers. This is so I can do the SQL LowPriv monitoring. I'm just setting one key right now, premise is once this is working I can
then duplicate that for the remaining keys.
https://gist.github.com/jeffpatton1971/1bfb19a06782f0975f6e
When I paste that into the prompt it appears to be perfectly happy
https://gist.github.com/jeffpatton1971/3aeb568130988a460738
In fact, the resulting MOF file looks ok to me
https://gist.github.com/jeffpatton1971/a94858f0c1e9e5612f90
When I attempt to start the configuration on my local machine, which has the key this is what I get
https://gist.github.com/jeffpatton1971/82da888bb7aac31ef4ad
lol...well so it's a different error now, I removed a credential param that I wasn't using, so now i'm left with an & that I can't seem to find anywhere... at any rate...so now my issue has become where is the bad &?I'm going back to the internets
to see if there is something akin to this error, and i'm open to any questions the most pressing one is why are my scriptblocks all smooshed together? well, early on I was wondering if random whitespace and extra characters were mucking up the waters. I may
actually dial down the script and see if I can add things until I get the error as well.
Jeffrey S. Patton Jeffrey S. Patton Systems Specialist, Enterprise Systems University of Kansas 1001 Sunnyside Ave. Lawrence, KS. 66045 (785) 864-0242 | http://patton-tech.comI looked at the first link, and it looks like you might be missing quotes around the $Node.ActionAccount part of the comparison, which would cause the script block creation to fail. Maybe change the sections that look like this:
Where-Object {$_.IdentityReference -eq $Node.ActionAccount}
to this:
Where-Object {$_.IdentityReference -eq '$Node.ActionAccount'}
If you're looking to do permission changes with DSC, I'm actually looking for testers for my
PowerShellAccessControl module. The 3.0 beta has two DSC resoruces: cAccessControlEntry (lets you make sure an ACE is present or absent) and cSecurityDescriptor (lets you specify an SDDL string for an object). The current cSecurityDescriptor is going to
be called cSecurityDescriptorSddl in a future release, and a new cSecurityDescriptor is going to be added that lets you control the different sections without using SDDL. If you were to use it, I think you could change your configuration to the following (at
least for the permission part):
Configuration SQLLowPrivRegistry {
param(
[string[]] $ComputerName = "localhost"
Import-DscResource -Module PowerShellAccessControl
Node $ComputerName {
cAccessControlEntry TopLevelActionAccountPermissions {
Ensure = "Present"
Path = "HKLM:\Software\Microsoft\Microsoft SQL Server\"
ObjectType = "RegistryKey"
AceType = "AccessAllowed"
AccessMask = ([System.Security.AccessControl.RegistryRights]::ReadKey)
Principal = "DOMAIN\SqlDefaultAction_sa"
What you're doing should work just fine, so I'm not saying you need to use mine. If you do get a chance to look at it, though, please let me know what you think (or if it even works). There are two scripts in the examples folder of the module that demo more
with the two resources (hopefully that will do until I finalize the documentation).
Maybe you are looking for
-
Firefox stops responding showing unresponsive script error at tabbrowser.xml line 2255
When firefox is started it gives error regarding unresponsive script at chrome://browser/content/tabbrowser.xml:2255 since last few days. Earlier it was working fine It just shows firefox quick launch lightened up and then fades down and after lots o
-
How do I share files across accounts on the same iMac?
I used Migration Assistant to bring documents from a Windows laptop over to my new iMac. I setup several accounts already on the iMac. I want to be able to view the migrated documents across all of the accounts on my iMac. How do I do that?
-
I found a video at youtube I want to add to my web site. I see at youtube you can add an embedded video player and I was wondering if anyone had tried this yet with iWeb and what sort of result you had.
-
I had been running Vista fine on a dedicated internal HD, but when I tried to re-partition it using BootCamp assistant, it immediately unmounted from Desktop and now I cannot access it or get it back via Disk Utility altho shows up dimmed in Disk Uti
-
Delivery creation during transfer postings and posting changes
Dear Experts, Whenever i am posting a transfer posting with movement type 412 'Q' in a HUM managed storage location it is creating a outbound delivery. Basically this is a posting change and the system should not create a delivery. I want to prevent