Debugging SSRS client side script
Hi eb
I would appriciate your recomendations for debbuging SSRS client side functionality
especially when it is embedded in web applications like performancepoint dashboards.
Was any one succesfull in using IE developer tools script debbuger
- or any other tool fot this matter?
For example
I would like to put a breakpoint on the function which opens the plus sign next to row groups and step into its
code but dont know how to locate it inside the script that is presented to me in IE script debbuger...
IE dev tools should be usefull on debuging specific user issues.
Does visual studio have other usefull methods for debugging SSRS reports - I am interested especially
in debugging SSRS functions that sometimes do not work as i expect...
TIA!
Rea
Hi Rea,
Per my understanding you want to know some information about using the Visual Studio to do the debugging, right?
Example, If you want to debug a customized extension for SQL Server Reporting Services(SSRS) in Visual Studio, you can attach the process to ReportingSerivcesService. We need to check the items "Show processes from all users" and "Show
processes in all sessions" to show the "ReportingSerivcesService. exe" process.
Additionally, please make sure the customized extension is invoked in the Reporting Services(make sure all configurations is set correctly), otherwise we won't be able to run into the breakpoint. More Details information in this article for your reference:Start
a debugging session for a Store app in Visual Studio (VB, C#, C++ and XAML)
You can also add the debugger keyword in the code, see
Debug JavaScript and jQuery using Visual Studio in Internet Explorer browser
Similar thread below for your reference:
https://social.msdn.microsoft.com/Forums/sqlserver/en-us/df9dfaab-59af-4a85-916c-ef9e11e07071/debug-custom-net-assembly-in-context-of-sql-reporting-server-2008?forum=sqlreportingservices
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Similar Messages
-
Does URL Services support client side script?
My ASP page it built as a portlet, and displays fine but it
won't submit. When I view the Source in my browser, Portal
didn't include any of my client side vbscript script, then html
is there but everything else is missing....
Question: Does URLServices support client-side VBScript?
I am using some vbscript for validation purposes and then
using the document.ChangePassword.submit() to submit the
form.
If URLServices doesn't support it, then URLServices is totally
useless... Everyone uses some kind of client-side script to
validate the form!Hi Rea,
Per my understanding you want to know some information about using the Visual Studio to do the debugging, right?
Example, If you want to debug a customized extension for SQL Server Reporting Services(SSRS) in Visual Studio, you can attach the process to ReportingSerivcesService. We need to check the items "Show processes from all users" and "Show
processes in all sessions" to show the "ReportingSerivcesService. exe" process.
Additionally, please make sure the customized extension is invoked in the Reporting Services(make sure all configurations is set correctly), otherwise we won't be able to run into the breakpoint. More Details information in this article for your reference:Start
a debugging session for a Store app in Visual Studio (VB, C#, C++ and XAML)
You can also add the debugger keyword in the code, see
Debug JavaScript and jQuery using Visual Studio in Internet Explorer browser
Similar thread below for your reference:
https://social.msdn.microsoft.com/Forums/sqlserver/en-us/df9dfaab-59af-4a85-916c-ef9e11e07071/debug-custom-net-assembly-in-context-of-sql-reporting-server-2008?forum=sqlreportingservices
If you still have any problem, please feel free to ask.
Regards
Vicky Liu -
Can we access popularity trends using client side script?
Hi,
I have a requirement to show the hit count for my image library's item(s). When ever I am opening an image from the image library, I just wanted to show the hit counts. For this I have created a Number column and updating this column by using CSOM
when ever hit happens to that particular item.
The problem arises here, for visitors ( who has read only permission to the site) I am not able to update the column due to permission issue. Since we all know that we can't elevate the privilege from client side script. And also our design says that we
can't give the contribute permission to all the users at the library level. How can we update the count at item level even when the visitors are opening an item from the image library?
Please help me...
Thanks in advance
Sekar - Our life is short, so help others to grow
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer972454 wrote:
can we access 11gr2 oracle using 11g r1 OWB Client? NO .. Oracle 11gR2 db is accessible only from OWB11gR2 client
we have 11g r1 database installed on our machine, and 11g r2 OWB client on other machine.
Please help. we are unable to connect.
Sorry this is different from your 1st question.
For your information OWB11gR2 client can access 11g r1 database
Regards
Gaurav -
Identifying Flash Player versions 10a, 10b and 10c using client side scripting
I need to write a client side script to identify users with 10a, 10b or 10c installed, but I only see version 10 (no letters.) Is there a translation between version keys major/minor/revision, and 10a/10b/10c? I want to use the (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash"))) method in conjuction with the javascript.GetVariable("$version") method, and I need to know what values to check for.
Thanks very much!For your information
Flash10.ocx / FlDbg10.ocx = 10.0.2.54 Shipped with CS4
Flash10a.ocx / FlDbg10a.ocx = 10.0.12.36
Flash10b.ocx / FlDbg10b.ocx = 10.0.22.87
Flash10c.ocx / FlDbg10c.ocx = 10.0.32.18
Flash10d.ocx / FlDbg10d.ocx = 10.0.42.34 -
Can I open a recordset On Client Side Script?
Hi Guys,
On a form I have a client side VBscript thet checks the email
addy a user has added into a text box in a form and if its in the
array of values set in the script it gets refused. This works.....
I would like to adapt this a little if possible and make it
so that instead of hardcoding the array values into the script, I
would like to have the array values taken from a recordset because
it will allow the user to add and delete bad domains via a form and
not need to go into the page code to add to the array I have at the
moment.
I have tried serval times to replace my array loop with a
recordset while loop to get the badDomains from the field in the
database but I just get script error on page in my task bar.
Can I open a recordset from a client side script?
Id apprecaiate eny thoughts on how I can do this.
Thanks again
TagHi Envision,
Its actually VBScript im in at the moment...
I have tried to get my client script to run but im still just
not getting it although I dont think im far away, mixing client
side and server side scripts to get this array loaded is still
throwing me a bit !!!!!!
I tried to follow the For loop suggested in JS but did it in
VBS and wondered if anyone could give it a look and point me to my
errors?
I dont like just posting code without being asked as its a
bit presumptious of me but Im not asking anyone to write this for
just point me to my problems hopefully.....
Here is what I have , when the page loads I used DW to make a
recordset for me to open the table with stored bad domains and this
client script is supposed to harness the recordset created server
side by DW and loop through the field and compare whats in the
forms email textbox..
[code]
Sub CheckMail()
Dim sValidationMessage
Dim sEmail
Dim sBadDomains()
Dim nIndex
dim counter
sValidationMessage = ""
sEmail = Document.Form2.email.value
nIndex = 0
counter =<%=(rsGetBadDomains_total)%>
If Not (InStr(1, sEmail, "@") > 0 And InStr(1, sEmail,
".") > 0) Then
sValidationMessage = "You have entered an invalid email
address!"
End If
If Len(sValidationMessage) = 0 Then
For nIndex = 0 to counter
sBadDomains(nIndex) =
<%=(rsGetBadDomains.Fields.Item("sBadDomains").Value)%>
If InStr(1, sEmail, sBadDomains(nIndex)) > 0 Then
sValidationMessage = "You have entered an unsuitable E-Mail
address please use your main ISP E-Mail address"
Exit For
End If
nIndex=nIndex+1
Next
End If
If Len(sValidationMessage) > 0 Then
MsgBox sValidationMessage
document.Form2.email.select
Else
document.Form2.submit()
End If
End Sub
[/code]
Thanks again for all the support so far.
Regards
Tag -
U0081u009AAbout dropdownListBox client side script?(Urgent)u0081u009A
<script language = "javascript">
function ConfirmShiftAlert(htmlbevent) {
var Check = false;
Check = confirm('Do you wanna change?');
if(Check == false) {
htmlbevent.cancelSubmit = true;
} else {
htmlbevent.cancelSubmit = false;
</script>
<htmlb:dropdownListBox id = "pa_2003-shift"
table = "<%= application->mv_tprog %>"
selection = "<%= application->mv_2003-shift %>"
onSelect = "TPROG_CHANGE"
onClientSelect = "ConfirmShiftAlert(htmlbevent)"
disabled = "<%= pa_disabled %>"
nameOfKeyColumn = "key"
nameOfValueColumn = "value" />
Question..
When user changes listbox's value
Alert window pop up and then clicks "cancel" button
I want that the listbox has previous value.
Because the user clicks the cancel button.....
How can i do?Hai U can check out the following code for ur reference,
<%@page language="abap" %>
<%@extension name="htmlb" prefix="htmlb" %>
<htmlb:content design="design2003" >
<htmlb:page title="dropdowntest " >
<htmlb:form id="form1" >
<%
DATA: t TYPE TIHTTPNVP, entry TYPE IHTTPNVP.
entry-name = 'key_red'. entry-value = ' '. APPEND entry TO t.
entry-name = 'key_green'. entry-value = 'Green'. APPEND entry TO t.
entry-name = 'key_blue'. entry-value = 'Blue'. APPEND entry TO t.
entry-name = 'key_black'. entry-value = 'Black'. APPEND entry TO t.
%>
<htmlb:dropdownListBox id = "abc"
nameOfKeyColumn = "NAME"
nameOfValueColumn = "VALUE"
table = "<%= t %>"
onSelect = "TPROG_CHANGE"
onClientSelect = "ConfirmShiftAlert(htmlbevent)"
selection = "key_green" />
<script language = "javascript">
var sel_var;
sel_var = window.document.form1.abc.options.selectedIndex ;
alert( sel_var);
function ConfirmShiftAlert(htmlbevent) {
var Check = false;
Check = confirm('Do you wanna change?');
if(Check == false) {
window.document.form1.abc.options.selectedIndex = sel_var;
alert( sel_var);
htmlbevent.cancelSubmit = true;
} else {
htmlbevent.cancelSubmit = false;
</script>
</htmlb:form>
</htmlb:page>
</htmlb:content>
regards,
venkatesh
Message was edited by: venkateshwarlu yelagandula -
Not able to debug the client script in IE11
Hello Experts,
I had to debug the client side script though my application but when i try to do the same i am getting error saying "Unable to attach to crashing process. The process has been terminated. Try refreshing the process list before attempting another attach".
Before this when comes to select the debugger , top of the dialog box shows error "An unhandled exception (Script BreakPoint) occured in iexplorer.exe ".
# I have check the registry entry under HKLM/software for the JIT debugger - it's set to 1.
# I have uncheck the internet option checkbox for disabling the debugging the script.
Still no help. Please guide me through this.
Thanks,
Jagbir SinghHi Jb9952,
In addition to what Rob suggested, regarding using F12 tool to debug, you may take a look at the following articles:
How to use F12 Developer Tools to Debug your Webpages
And:
Using the F12 Developer Tools to Debug JavaScript Errors
Best regards
Michael Shao
TechNet Community Support -
How to use KeyChain API from client-side HTML scripting in Safari on iPad?
I have a requirement where I need to add client-side scripting in an HTML page to be supported by Safari on iPad that creates a private / public key pair and that creates a CSR (Certificate Signing Request) in PKCS#10 or SPKAC format that can be sent to a certification authority server using form HTTP/POST that will then return the generated certificate.
I initially thought that I could simply use the HTML 5 tag <keygen> which can do exactly what I need, but unfortunately this tag is not at all supported on mobile Apple devices like iPad or iPhone, so I have to look for another solution.
I have noticed that the KeyChain tool should be available on iPad using the documented API, but I have no idea based on the documentation whether the API can be called from client-side HTML scripting on iPad.
Question : is it technically possible using the functionalities and API's exposed on an iPad to implement what I just described in HTML client-side scripting? If so, do you have some links with useful information that can help me on my way?I have a requirement where I need to add client-side scripting in an HTML page to be supported by Safari on iPad that creates a private / public key pair and that creates a CSR (Certificate Signing Request) in PKCS#10 or SPKAC format that can be sent to a certification authority server using form HTTP/POST that will then return the generated certificate.
I initially thought that I could simply use the HTML 5 tag <keygen> which can do exactly what I need, but unfortunately this tag is not at all supported on mobile Apple devices like iPad or iPhone, so I have to look for another solution.
I have noticed that the KeyChain tool should be available on iPad using the documented API, but I have no idea based on the documentation whether the API can be called from client-side HTML scripting on iPad.
Question : is it technically possible using the functionalities and API's exposed on an iPad to implement what I just described in HTML client-side scripting? If so, do you have some links with useful information that can help me on my way? -
The Group Policy client-side extension Scripts failed ...
This is an error I've been seeing forever and it was always the impression that upgrading would resolve it, but it never has even in 10.3. 100% of our users get these errors in the Event Viewer:
Event Type: Error
Event Source: Userenv
Event Category: None
Event ID: 1085
Date: 10/21/2010
Time: 8:04:52 AM
User: NT AUTHORITY\SYSTEM
Computer: XXXXXX
Description:
The Group Policy client-side extension Scripts failed to execute. Please look for any errors reported earlier by that extension.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
We also seem to have flakey policy issues where once in awhile a user will not be able to logon to Windows with Workstation Only while getting the " not allowed to logon interactively" message, other times the users report not being able to access the Windows Date and Time Properties and further sometimes they are unable to make system changes.
We have troubleshooted this and the only resolutions we've found are to run zac cc, zac ref, zac pl and sometimes it seems like deleting c:\windows\system32\grouppolicy will help.
In regards to the Event Viewer entry I posted, on any given machine I can issue the command gpupdate and it will put another entry into the Event Viewer (sometimes multiple ones). I've learned through research that if I "clean up" c:\windows\system32\grouppolicy\gpt.ini the errors go away, but once the policy is refreshed they come right back.
This is the version ZenWorks gives the users:
[General]
gPCFunctionalityVersion=2
gPCFunctionalityVersion=2
gPCMachineExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{3610EDA5-77EF-11D2-8DC5-00C04FA31A66}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B6664F-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}]
Version=6488106
gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
This is the version I cleaned up:
[General]
gPCFunctionalityVersion=2
gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
I'm not sure how to get Zenworks to use the cleaned up version nor and I too sure what those extra extensions are and how they got in there. I may need to contact Novell in regards to this, but since I'm already working on an SR with them I figured I'd go ahead and post here first.
Any help or advice would be greatly appreciated.Here are the groups I'm using. NOTE: These have been in affect throughout the issues experienced. Users will work perfectly fine then suddenly the problem will start happening without any policy change on our side.
-Member of-
Network Configuration Operators+
Remote Desktop Users+
Users+
-Assigned Rights under a group I called "Other Rights"-
Access this computer from network
Change the system time
Log on locally
Shut down the system
The only condition I have is that these issues happen when logging in Workstation Only and I'm not able to recreate the problem on demand with tests.
Originally Posted by craig_wilson
The "Interactive Logon" is a Windows Security Permission.
It is generally assigned to certain local groups such as "User".
Which groups are assigned this right can be changed manually and
controlled by local security policies.
When user's get this error, it generally means their account is not in a
local group that has been assigned that right.
If using "DLU", make sure the user accounts are a member of "Users".
And If anyone was messing with security policies, make sure they did not
take away "Interactive Logons" from anyone.
On 10/29/2010 7:06 AM, jcsmith1 wrote:
>
> Thanks for replying craig.
>
> My policy woes have only grown since my first post. We are currently
> testing the removal of administrative rights and now we're having
> teleworkers (who login Workstation Only) getting the message "policy
> does not allow interactive login". What -seems- to fix it is a zac cc,
> zac ref and zac pl, however we just started getting call backs from
> users.
>
> I seem to have no further leads and Novell's ZenWorks tech supports
> seems to be going through some kind of painful-to-the-customer
> transition as one of my thoughts on resolving the issue is to go to 10.3
> or 10.3.1, but my Satellites appear to be upgrading but in reality do
> not upgrade (but the primary servers upgraded) (See SR 10655976331).
>
> Does anyone knows how to troubleshoot policy issues when the users
> aren't loggin into ZCM?
>
> craig_wilson;2036646 Wrote:
>> See: 'Group Policy Error: The Group Policy client-side extension Script
>> failed to execute.'
>> (Group Policy Error: The Group Policy client-side extension Script failed to execute.)
>>
>> This would never be fixed in any patch, since it would be the job of
>> GPEDIT to properly maintain the GPT.INI.
>>
>> Most of the Time these errors are cosmetic and caused by stray script
>> extensions.
>>
>> You may want to create an Enhancement Request to allow the creation of
>> "Filters" so certain errors are discarded and not sent to the DB/ZCC.
>> This way an Admin could choose to filter out various error messages
>> that
>> they deem are not actually of concern.
>>
>> On 10/21/2010 9:36 AM, jcsmith1 wrote:
>>>
>>> This is an error I've been seeing forever and it was always the
>>> impression that upgrading would resolve it, but it never has even in
>>> 10.3. 100% of our users get these errors in the Event Viewer:
>>>
>>> -Event Type: Error
>>> Event Source: Userenv
>>> Event Category: None
>>> Event ID: 1085
>>> Date: 10/21/2010
>>> Time: 8:04:52 AM
>>> User: NT AUTHORITY\SYSTEM
>>> Computer: XXXXXX
>>> Description:
>>> The Group Policy client-side extension Scripts failed to execute.
>>> Please look for any errors reported earlier by that extension.
>>>
>>> For more information, see Help and Support Center at
>>> http://go.microsoft.com/fwlink/events.asp.
>>> -
>>> We also seem to have flakey policy issues where once in awhile a
>> user
>>> will not be able to logon to Windows with Workstation Only while
>> getting
>>> the " not allowed to logon interactively" message, other times the
>> users
>>> report not being able to access the Windows Date and Time Properties
>> and
>>> further sometimes they are unable to make system changes.
>>>
>>> We have troubleshooted this and the only resolutions we've found are
>> to
>>> run zac cc, zac ref, zac pl and sometimes it seems like deleting
>>> c:\windows\system32\grouppolicy will help.
>>>
>>> In regards to the Event Viewer entry I posted, on any given machine
>> I
>>> can issue the command gpupdate and it will put another entry into
>> the
>>> Event Viewer (sometimes multiple ones). I've learned through
>> research
>>> that if I "clean up" c:\windows\system32\grouppolicy\gpt.ini the
>> errors
>>> go away, but once the policy is refreshed they come right back.
>>>
>>> This is the version ZenWorks gives the users:
>>>> [General]
>>>> gPCFunctionalityVersion=2
>>>> gPCFunctionalityVersion=2
>>>>
>> gPCMachineExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{3610EDA5-77EF-11D2-8DC5-00C04FA31A66}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B6664F-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957D-509E-11D1-A7CC-0000F87571E3}][{827D319E-6EAC-11D2-A4EA-00C04F79F83A}{803E14A0-B4FB-11D0-A0D0-00A0C90F574B}]
>>>> Version=6488106
>>>>
>> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{42B5FAAE-6536-11D2-AE5A-0000F87571E3}{40B66650-4972-11D1-A7CA-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
>>>>
>>>>
>>>
>>> This is the version I cleaned up:
>>>> [General]
>>>> gPCFunctionalityVersion=2
>>>>
>> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{4CFB60C1-FAA6-47F1-89AA-0B18730C9FD3}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
>>>>
>> gPCUserExtensionNames=[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{0F6B957E-509E-11D1-A7CC-0000F87571E3}][{A2E30F80-D7DE-11D2-BBDE-00C04F86AE3B}{FC715823-C5FB-11D1-9EEF-00A0C90347FF}]
>>>>
>>>>
>>>
>>> I'm not sure how to get Zenworks to use the cleaned up version nor
>> and
>>> I too sure what those extra extensions are and how they got in there.
>> I
>>> may need to contact Novell in regards to this, but since I'm already
>>> working on an SR with them I figured I'd go ahead and post here
>> first.
>>>
>>> Any help or advice would be greatly appreciated.
>>>
>>>
>>
>>
>> --
>> Craig Wilson - MCNE, MCSE, CCNA
>> Novell Knowledge Partner
>>
>> Novell does not officially monitor these forums.
>>
>> Suggestions/Opinions/Statements made by me are solely my own.
>> These thoughts may not be shared by either Novell or any rational
>> human.
>
>
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner
Novell does not officially monitor these forums.
Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human. -
Error in a array populated using jsp in client-side in java-script
hii ,
I have this problem.
I have populated an array with records in jsp.The array is being populated correctly ..i hav check it .
Now I need to get back this array in client side in a java-script function.
I need this bcoz i need to check whether the value entered in a particular field in the form is there in the table before the form is submitted...hence the need of array.
Surprisingly in my java-script function i can get back the length of array,but as soon as i am writing something like arr[0] where arr is the name of array populated in server side using jsp,i am get scripting error.
i.e a code like
funtion partynamecheck()
var n=<%arr[0]%>
alert (n) ;
is giving scripting error.i.e showing error in page at the bottom left -side of browser.
but code like
funtion partynamecheck()
var n=<%arr.length%>
alert (n) ;
} is working fine.
Please help ..all wrk stuck.
ArnabHi,
i cann't help you with javascript, but the jsp-expression must have this syntax
var n=<%=arr[0]%>
Hope this help!
Roland -
Net Use in Script Client Side Extension
Hi,
I just rebuild my home Network. In my old home Network I had my loginscripts added to each user in AD. However - now I want to move my Loginscripts to GPO. So I added a batch to User Configuration\Policies\Windows Settings\Logon
The script is just a simple net use Batch.
But after logon and multiple GPUpdates - drives were not mapped. So I started to troubleshoot.
First I thought the script wasn't started. And yes there were some Problems:
- Sync Processing,
- Local Intranet for \\domain.name\sysvol
But it still didn't work. Executing the script from
\\domain.name\sysvol... mapped the drives.
So I changed the script to vbs and added a msgbox now() - and I got a messagebox during logon. But still no drives mapped.
If I map the drive by Configuration\Preferences\Windows Settings\Drive Maps - the drives will be mapped.
If I add the script to the user object in AD - I also works.
So maybe I am wrong - but is there a Problem to map drives in Script Client Side Extensions?
I searched the web - but didn't find a clear Statement.
thx in advanceHi,
Since the issue persists when you turned off UAC, I suggest you could try to enable the following policy setting “Always wait for the network at computer startup and logon”
to see if it works at this time. You could configure it from the following path in GPMC:
Computer Configuration\Administrative Templates\System\Logon\. For details, please refer to the following article.
Description of the Windows Fast Logon Optimization feature
http://support.microsoft.com/kb/305293
In addition, I suggest you’d better map these drives via GPP. It will reduce your logon scripts. Here is an article as reference, hope it helps.
GP Preferences Will Reduce Logon Scripts : Mapping Drives
http://blogs.technet.com/b/grouppolicy/archive/2009/02/11/gp-preferences-will-reduce-logon-scripts-mapping-drives.aspx
Best Regards,
Andy Qi
TechNet Subscriber Support
If you are
TechNet Subscription user and have any feedback on our support quality, please send your feedback
here.
Andy Qi
TechNet Community Support -
Client Side Validation Problems
Hi,
When I use .Net validation controls on my aspx pages, the validation always executes server-side, even on IE clients, regardless of the EnableClientScript property on the validators.
If i hit the remote server directly, the validators work correctly - ie Client-side for IE and server side for all others.
So I assume that the remote server is unable to correctly identify the client browser as it's gatewayed via the portal. Does anyone know a way around this please?
Cheers,
SimonHi Jonathan,
Thanks for your reply.
I'm a .Net developer who's new to Plumtree development, so my appologies if i'm missing something obvious.
We're using the Broadcast Listener pattern, Portal Server v 5.0.3, Web Controls 2.1 and .Net Framework 1_1_4322_2032. We've generated the client script to support this version of .Net and installed in onto the ImageServer.
We have a menu portlet, which broadcasts a 'linkSelected' event on click of a menu item. Our main portlet is the listener and has an event handler that invokes a PTGetHTTPRequest call to one of a number of page for processing (depending on the menu item selected etc). This 3rd page contains all of the form fields, the validators and the validation summary.
When this aspx page has finished processing, there is an event handler in the 2nd page which scrapes the content of Response.ResponseText into a container <DIV> element on page 2 - ie dynamically building the html content with client script.
I've built a routine that can scrape this dynamically generated content of the <body> of the Listener portlet at this stage and when I examine this output, the validation js file and the inline __doPostback functions are all present.
I've done some debugging of the WebUIValidation.js file and although each individual validator is firing ok, it appears that the problem is manifesting itself in the ValidationSummaryOnSubmit_1_1_4322_2032()function. This function is called correctly, but it can't evaluate the Page_ValidationSummaries object.
This Page_ValidationSummaries object is defined and set within the inline script as follows :
var Page_ValidationSummaries;
function PTSetValidationSummaries_490()
{ [/b]
[b] var valsInput = document.getElementById('PT_VALIDATORS_SUM_490');
if(valsInput)
Page_ValidationSummaries = eval(valsInput.value);
else Page_ValidationSummaries = new Array();
and the PT_VALIDATORS_SUM_490 element is defined as :
<INPUT id=PT_VALIDATORS_SUM_490 type=hidden value="new Array(document.all['vsAll'])">
and the vsAll element is defined as :
<DIV id=vsAll style="DISPLAY: none; COLOR: red" showmessagebox="True"></DIV>
If I debug the WebUIValidation.js file, I can successfully evaluate document.getElementById('PT_VALIDATORS_SUM_490'), so I believe that the error occurs when the PTSetValidationSummaries_490()function executes (or perhaps PTSetValidators_490isn't actually calling it??).
I can't really debug this any further as I've now traced the error back to the inline script that's appended at runtime by the Plumtree environment.
Would it be possible for me to email this source code to you for inspection and comment please?
Cheers,
Simon -
Client side event for h:outputText... and other JSF component
Hello friends...
I need client side (to use Java script ) event for change in <h:outputText /> or <h:inputText...>.
I want to open a popup window when there is a change in there. I donot want to use onblur() for this. Is there any thing for achiev it.
Thanks.
Regard
Roshan Lal ( I don't know why there is "DOG" display in LIST )
:-)Hi Jacek,
Unfortunately I think you may be stuck extending Renderer. Another possibility is creating your component via a template, which will be available in JSF 2.0. However, as JSF 2.0 won't be out for a while... you can use JSFTemplating in the meantime:
http://java.sun.com/developer/technicalArticles/J2EE/jsf_templating/
http://www.theserverside.com/tt/articles/article.tss?l=JSFTemplateComponent
Good luck!
Ken Paulsen
https://jsftemplating.dev.java.net -
How to copy a page( webpart page) with its content using client side.
How to copy a page(in my case webpart page) with its content(it may contain webparts) using client code (i mean using SPservices or ECMA script).
What i am planning is ,to give end user a page where it will contain text box to specify name of page and a button with the help of content editor webpart.
where on click of button we need to write client side code such that it should create a new page from a existing page in a library with given name by user.
Any suggestion would be helpful. For your information we can do it through UI with the help Site Actions / Manage Content and Structure.But i want to automate it using client side code.Server side code is restricted.
or can we create a template of an existing page with content without the help of sharepoint designer.
Thanks in advance
with regards RavichandraThis is good example
http://balajiindia.wordpress.com/2011/05/27/using-jquery-with-custom-web-services-in-sharepoint/
Create web service
http://balajiindia.wordpress.com/2011/05/27/using-jquery-with-custom-web-services-in-sharepoint/. Create method "Create Page" http://www.learningsharepoint.com/2010/09/17/create-publishing-pages-sharepoint-2010-programmatically/
Build your Java Script. You can use Content Editor Web Part if you want to avoid custom web part development http://www.codeproject.com/Articles/544538/JQuery-with-SharePoint
Oleg -
How To Update A Table View From Client Side !!!!
Hi I would like to update a table view from the Client Side. So that the user can keep updating the relevent data on the client and when they have finally finished they can press Save so the entire page is then sent to the Server.
Does anyone know how to do this, I guess u have to use the EPCM, I have just started on it and would really appreciate some Help.
Thanks,
Emmanuel.This is what I found :-
There are a couple of ways to approach this.
1) load the excel spreadsheet into the database "as is". You can use interMedia
text to convert the .xls file into a .htm file (HTML) or use iFS (see
http://technet.oracle.com/
for
more info on that) to parse it as well. InterMedia text will convert your XLS
spreadsheet into a big HTML table (easy to parse out what you need at that
point)
2) Using OLE automation, a program you write can interact with Excel, request
data from a spreadsheet, and insert it. Oracle Forms is capable of doing this
for example as is other languages environments. In this fashion, you can remove
the "manual" and "sqlldr" parts -- your program can automatically insert the
data.
3) You can write a VB script that uses ODBC or Oracle Objects for OLE (OO4O) in
Excel. This VB script would be able to put selected data from the spreadsheet
into the database. We would recommend OO4O. It provides an In-Process COM
Automation Server that provides a set of COM Automation interfaces/objects for
connecting to Oracle database servers, executing queries and managing the
results. OO4O is available from
http://technet.oracle.com
Maybe you are looking for
-
Have windows 8.1 and IPOD NANO Gen 6. Used to work OK. Now, cannot see Nano in Windows, when plugged in starts ITUNES but get message 'cannot reciognize device".
-
Goods Receipt 103/105 - CIN
Hi we need to receive goods first with 103 movt type then 105 we don't have option capture & post excise in MIGO It is need to be done separately using J1IEX Please confirm the sequence of below steps 1. PO 2. J1IEX-Capture 3. MIGO 103 - refer excise
-
Print to RGB PDF from Freehand
Hi everyone, I have been trying to work this out for a while but am only a geologist using the software for drafting purposes. I have Freehand MX on Windows XP, with Adobe acrobat 9 installed. When I print to PDF from Freehand it usually converts the
-
Logo displaying in productin but not displaying in some other user
Hello experts, I developed payment advice sheet using scripts and transported to production successfully.In production also the output is dispalying correct but some other user (clnt uses different user in that only logo is not displaying) remaining
-
IText MMS Messaging and Data HORRIBLY Slow the past 2 or 3 months.
AT&T is my carrier and I have unlimited data from a grandfathered plan. Last month I kept getting data warning messages on my phone saying I was near the end but it's umlimited. It takes about 6 minutes to send a picture through iText and my data spe