PS script errors at 'Begin {}'

I found a
script on blog.powershell.no, and am trying to adjust it to fit my needs. I've pasted my revisions below. 
When I run the script (.\script.ps1 -ToCheck All), I should get a list of the run-as accounts for all services and scheduled tasks on localhost. Instead, I'm getting the error: 
Begin : The term 'Begin' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\shared\test.ps1:184 char:1
+ Begin {
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (Begin:String) [],
CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Get-Process : Cannot evaluate parameter 'Name' because its argument is specified as a script block and there is no input. A script block cannot be evaluated without input.
At C:\shared\test.ps1:190 char:9
+ Process {
+ ~
+ CategoryInfo : MetadataError: (:) [Get-Process], ParameterBindingException
+ FullyQualifiedErrorId : ScriptBlockArgumentNoInput,Microsoft.PowerShell.Commands.GetProcessCommand
End : The term 'End' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At C:\shared\test.ps1:224 char:1
+ End {
+ ~~~
+ CategoryInfo : ObjectNotFound: (End:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
I don't understand why it doesn't like the Begin/Process/End blocks. Here is the entire script:
<#
.SYNOPSIS
Get 'Run As'' value for services and/or scheduled tasks on a user-specified list of computers.
.DESCRIPTION
Users WMI and schtasks.exe to get the 'Run As' value for services and/or scheduled tasks on a user-specified list of computers. The script requires PowerShell version 2.
.NOTES
Author: Jan Egil Ring
Blog: http://blog.powershell.no
LastEdit: 22.11.2011
.LINK
.PARAMETER ComputerName
Default value: localhost. The computer to perform action against. Accepts ValueFromPipeline and ValueFromPipelineByPropertyName.
.PARAMETER RunAsUser
Filters returned objects based on user or domain name.
.PARAMETER ToCheck
.PARAMETER Logfile
Path to log-file (only errors are logged).
.EXAMPLE
.\getRunAsAccounts-Parameterized.ps1 -ComputerName srv01 -RunAsUser managed
This example checks srv01 for services and scheduled tasks that have a "Run As" account with 'managed' in the name.
.EXAMPLE
.\getRunAsAccounts-Parameterized.ps1 -ComputerName srv01 -RunAsUser srvc
This example checks srv01 for services and scheduled tasks that have a "Run As" account with 'srvc' in the name.
.EXAMPLE
.\getRunAsAccounts-Parameterized.ps1 -ComputerName (Get-Content c:\computernames.txt)
This example get's a list of computer names from c:\computernames.txt and returns the run-as accounts for all services.
.EXAMPLE
Get-ADComputer -filter * | .\getRunAsAccounts-Parameterized.ps1 | Out-File c:\output.csv -NoTypeInformation
This example get's a list of all computers in Active Directory and returns the run-as accounts for all services to a CSV file.
#>
#Requires -Version 2.0
[CmdletBinding()]
param(
[Parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)]
[string[]]$ComputerName = "localhost",
[string]$RunAsUser,
[ValidateSet("Services","Tasks","All")]
[string]$ToCheck,
[string]$Logfile
Function Get-RunAsAccountWorker {
param($ComputerName)
Try {
If ((Test-Connection -ComputerName $ComputerName -Quiet) -and ($ComputerSystem = Get-WmiObject -Class win32_ComputerSystem -Computername $ComputerName -ErrorAction Stop)) {
Write-Verbose "Connected to computer $ComputerName"
#$services = Get-WmiObject Win32_Service -filter "(StartName Like '[^NT Authority]%') AND (StartName <> 'localsystem')" -ComputerName $ComputerName -ErrorAction Stop | Select name,Startname,startmode
$services = Get-WmiObject Win32_Service -Filter "(StartName Like '%$runAsUser%')" -ComputerName $ComputerName -ErrorAction Stop | Select-Object name,startname,startmode
$output = @()
If ($services) {
Foreach ($service in $services) {
Write-Verbose "Processing NIC $($service.name)"
$outputService = @{}
$outputService.Computername = $computerSystem.name
$outputService.Connectivity = "Success"
$outputService.Type = "Service"
$outputService.Name = $service.name
$outputService.RunAsAccount = $service.startName
$outputService.StartupType = $service.startMode
$outputService.Status = $null
$output += $outputService
Else {
$outputinfo = @{}
$outputinfo.Computername = $($ComputerName)
$outputinfo.Connectivity = "Failed (ping)"
$outputinfo.Type = $null
$outputinfo.Name = $null
$outputinfo.RunAsAccount = $null
$outputinfo.StartupType = $null
$outputinfo.Status = $null
$output += $outputinfo
Catch {
Write-Verbose "An error occured connecting to computer $ComputerName"
Write-Verbose $error[0].exception
$outputinfo = @{}
$outputinfo.Computername = $($ComputerName)
$outputinfo.Connectivity = "Failed (RPC)"
$outputinfo.Type = $null
$outputinfo.Name = $null
$outputinfo.RunAsAccount = $null
$outputinfo.StartupType = $null
$outputinfo.Status = $null
$output += $outputinfo
If ($logfile) {
$ComputerName | Out-File -FilePath $Logfile -Append
$error[0].exception | Out-File -FilePath $Logfile -Append
Write-Verbose "Writing output object"
If ($output) {
Foreach ($ht in $output) {
New-Object -TypeName PSObject -Property $ht
Else {
$outputinfo = @{}
$outputinfo.Computername = $($ComputerName)
$outputinfo.Connectivity = "Success"
$outputinfo.Type = $null
$outputinfo.Name = $null
$outputinfo.RunAsAccount = $null
$outputinfo.StartupType = $null
$outputinfo.Status = $null
New-Object -TypeName PSObject -Property $outputinfo
Function Get-ScheduledTask {
# Helper function by Claus Nielsen
# http://www.powershellmagazine.com/2011/11/21/managing-scheduled-tasks-in-your-environment-part-i
[CmdletBinding()]
param(
[Parameter(Mandatory=$true,ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)]
[String[]]$ComputerName,
[Parameter(Mandatory=$false)]
[String[]]$RunAsUser,
[Parameter(Mandatory=$false)]
[String[]]$TaskName,
[parameter(Mandatory=$false)]
[alias("WS")]
[switch]$WithSpace
BEGIN {
$Script:Tasks = @()
PROCESS {
$schtasks = schtasks.exe /query /s $ComputerName /V /FO CSV | ConvertFrom-Csv
Write-Verbose "Getting scheduled tasks from: $ComputerName"
If ($schtasks) {
Foreach ($task in $schtasks) {
If ($task."Run As User" -match "$($RunAsUser)" -and $task.TaskName -match "$($TaskName)") {
Write-Verbose "$ComputerName ($task.TaskName).replace('\','') $task.'Run As User' $task.Status"
$task | Get-Member -MemberType Properties | ForEach -BEGIN {$hash=@{}} -PROCESS {
If ($WithSpace) {
($hash.($_.Name)) = $task.($_.Name)
Else {
($hash.($($_.Name).replace(" ",""))) = $task.($_.Name)
} -END {
$script:Tasks += (New-Object -TypeName PSObject -Property $hash)
END {
$Script:Tasks
Begin {
If ($LogFile) {
New-Item -Path $Logfile -ItemType File -Force | Out-Null
Process {
If (($ToCheck -eq 'Services') -OR ($ToCheck -eq 'Both')) {
Foreach ($computer in $ComputerName) {
Get-RunAsAccountWorker -ComputerName $computer
If (($ToCheck -eq 'Tasks') -OR ($ToCheck -eq 'Both')) {
If ($RunAsUser) {
$tasks = Get-ScheduledTask -ComputerName $ComputerName -RunAsUser $RunAsUser | Select-Object taskname,runasuser,status
Else {
$tasks = Get-ScheduledTask -ComputerName $ComputerName | Select-Object taskname,runasuser,status
If ($tasks) {
Foreach ($task in $tasks) {
Write-Verbose "Processing task $($task.TaskName)"
$outputtask = @{}
$outputtask.Computername = $computerSystem.Name
$outputtask.Connectivity = "Success"
$outputtask.Type = "ScheduledTask"
$outputtask.Name = $task.TaskName
$outputtask.RunAsAccount = $task.RunAsUser
$outputtask.StartupType = $null
$outputTask.Status = $task.Status
$output += $outputtask
End {
Write-Host 'end'

Here is a fix for some but the script itself has coding errors.
to test the blocking run with the -Verbose and no other selections. YOu will see each process/begin/end block called as required.
<#
.SYNOPSIS
Get 'Run As'' value for services and/or scheduled tasks on a user-specified list of computers.
.DESCRIPTION
Users WMI and schtasks.exe to get the 'Run As' value for services and/or scheduled tasks on a user-specified list of computers. The script requires PowerShell version 2.
.NOTES
Author: Jan Egil Ring
Blog: http://blog.powershell.no
LastEdit: 22.11.2011
.LINK
.PARAMETER ComputerName
Default value: localhost. The computer to perform action against. Accepts ValueFromPipeline and ValueFromPipelineByPropertyName.
.PARAMETER RunAsUser
Filters returned objects based on user or domain name.
.PARAMETER ToCheck
.PARAMETER Logfile
Path to log-file (only errors are logged).
.EXAMPLE
.\getRunAsAccounts-Parameterized.ps1 -ComputerName srv01 -RunAsUser managed
This example checks srv01 for services and scheduled tasks that have a "Run As" account with 'managed' in the name.
.EXAMPLE
.\getRunAsAccounts-Parameterized.ps1 -ComputerName srv01 -RunAsUser srvc
This example checks srv01 for services and scheduled tasks that have a "Run As" account with 'srvc' in the name.
.EXAMPLE
.\getRunAsAccounts-Parameterized.ps1 -ComputerName (Get-Content c:\computernames.txt)
This example get's a list of computer names from c:\computernames.txt and returns the run-as accounts for all services.
.EXAMPLE
Get-ADComputer -filter * | .\getRunAsAccounts-Parameterized.ps1 | Out-File c:\output.csv -NoTypeInformation
This example get's a list of all computers in Active Directory and returns the run-as accounts for all services to a CSV file.
#>
#Requires -Version 2.0
[CmdletBinding()]
param(
[Parameter(ValueFromPipeline=$True,ValueFromPipelineByPropertyName=$True)]
[string[]]$ComputerName = "localhost",
[string]$RunAsUser,
[ValidateSet("Services","Tasks","All")]
[string]$ToCheck,
[string]$Logfile
Begin{
Write-Host 'Begin called'
Function Get-RunAsAccountWorker {
param($ComputerName)
Try {
If ((Test-Connection -ComputerName $ComputerName -Quiet) -and ($ComputerSystem = Get-WmiObject -Class win32_ComputerSystem -Computername $ComputerName -ErrorAction Stop)) {
Write-Verbose "Connected to computer $ComputerName"
#$services = Get-WmiObject Win32_Service -filter "(StartName Like '[^NT Authority]%') AND (StartName <> 'localsystem')" -ComputerName $ComputerName -ErrorAction Stop | Select name,Startname,startmode
$services = Get-WmiObject Win32_Service -Filter "(StartName Like '%$runAsUser%')" -ComputerName $ComputerName -ErrorAction Stop | Select-Object name,startname,startmode
$output = @()
If ($services) {
Foreach ($service in $services) {
Write-Verbose "Processing NIC $($service.name)"
$outputService = @{}
$outputService.Computername = $computerSystem.name
$outputService.Connectivity = "Success"
$outputService.Type = "Service"
$outputService.Name = $service.name
$outputService.RunAsAccount = $service.startName
$outputService.StartupType = $service.startMode
$outputService.Status = $null
$output += $outputService
Else {
$outputinfo = @{}
$outputinfo.Computername = $($ComputerName)
$outputinfo.Connectivity = "Failed (ping)"
$outputinfo.Type = $null
$outputinfo.Name = $null
$outputinfo.RunAsAccount = $null
$outputinfo.StartupType = $null
$outputinfo.Status = $null
$output += $outputinfo
Catch {
Write-Verbose "An error occured connecting to computer $ComputerName"
Write-Verbose $error[0].exception
$outputinfo = @{}
$outputinfo.Computername = $($ComputerName)
$outputinfo.Connectivity = "Failed (RPC)"
$outputinfo.Type = $null
$outputinfo.Name = $null
$outputinfo.RunAsAccount = $null
$outputinfo.StartupType = $null
$outputinfo.Status = $null
$output += $outputinfo
If ($logfile) {
$ComputerName | Out-File -FilePath $Logfile -Append
$error[0].exception | Out-File -FilePath $Logfile -Append
Write-Verbose "Writing output object"
If ($output) {
Foreach ($ht in $output) {
New-Object -TypeName PSObject -Property $ht
Else {
$outputinfo = @{}
$outputinfo.Computername = $($ComputerName)
$outputinfo.Connectivity = "Success"
$outputinfo.Type = $null
$outputinfo.Name = $null
$outputinfo.RunAsAccount = $null
$outputinfo.StartupType = $null
$outputinfo.Status = $null
New-Object -TypeName PSObject -Property $outputinfo
Function Get-ScheduledTask {
# Helper function by Claus Nielsen
# http://www.powershellmagazine.com/2011/11/21/managing-scheduled-tasks-in-your-environment-part-i
[CmdletBinding()]
param(
[Parameter(Mandatory=$true,ValueFromPipeline=$true,ValueFromPipelineByPropertyName=$true)]
[String[]]$ComputerName,
[Parameter(Mandatory=$false)]
[String[]]$RunAsUser,
[Parameter(Mandatory=$false)]
[String[]]$TaskName,
[parameter(Mandatory=$false)]
[alias("WS")]
[switch]$WithSpace
BEGIN {
$Script:Tasks = @()
PROCESS {
$schtasks = schtasks.exe /query /s $ComputerName /V /FO CSV | ConvertFrom-Csv
Write-Verbose "Getting scheduled tasks from: $ComputerName"
If ($schtasks) {
Foreach ($task in $schtasks) {
If ($task."Run As User" -match "$($RunAsUser)" -and $task.TaskName -match "$($TaskName)") {
Write-Verbose "$ComputerName ($task.TaskName).replace('\','') $task.'Run As User' $task.Status"
$task | Get-Member -MemberType Properties | ForEach -BEGIN {$hash=@{}} -PROCESS {
If ($WithSpace) {
($hash.($_.Name)) = $task.($_.Name)
Else {
($hash.($($_.Name).replace(" ",""))) = $task.($_.Name)
} -END {
$script:Tasks += (New-Object -TypeName PSObject -Property $hash)
END {
$Script:Tasks
If ($LogFile) {
New-Item -Path $Logfile -ItemType File -Force | Out-Null
Process {
Write-Verbose 'Process block executing'
If (($ToCheck -eq 'Services') -OR ($ToCheck -eq 'Both')) {
Foreach ($computer in $ComputerName) {
Get-RunAsAccountWorker -ComputerName $computer
If (($ToCheck -eq 'Tasks') -OR ($ToCheck -eq 'Both')) {
If ($RunAsUser) {
$tasks = Get-ScheduledTask -ComputerName $ComputerName -RunAsUser $RunAsUser | Select-Object taskname,runasuser,status
Else {
$tasks = Get-ScheduledTask -ComputerName $ComputerName | Select-Object taskname,runasuser,status
If ($tasks) {
Foreach ($task in $tasks) {
Write-Verbose "Processing task $($task.TaskName)"
$outputtask = @{}
$outputtask.Computername = $computerSystem.Name
$outputtask.Connectivity = "Success"
$outputtask.Type = "ScheduledTask"
$outputtask.Name = $task.TaskName
$outputtask.RunAsAccount = $task.RunAsUser
$outputtask.StartupType = $null
$outputTask.Status = $task.Status
$output += $outputtask
End {
Write-Verbose 'end called'
We frequently write scripts that are advanced and use all of the elements defined for an advanced function.  Tisi has always been available since PowerShell V1.
The issue is that ALL code must be contained in one of the three block types if nany one is used.  If none are used than all are assumed to be in the "Process" block. This is also true of functions.
¯\_(ツ)_/¯

Similar Messages

  • RH7 HTML - Receive IE script error message when double-clicking link to auto-size pop-up

    Hi, all,
    Anybody ever seen this situation? When double-clicking on a link to an auto-size pop-up, I get the following Internet Explorer script error message:
    This error also occurs when I double-click the link in preview mode within the project. A colleague that is running the same version of IE with the same settings is not receiving this error. A couple of other co-workers are running a different version of IE, and one gets this error and one does not.
    This error does not occur if you single-click the link (which you would normally do), nor does it occur if you double-click a link to a fixed-size pop-up. Once you receive this message and click Yes or No, the link sometimes works correctly when you double-click. I haven't been able to establish a pattern. Also, if you single click the link to display the pop-up, click off of it, and then double-click the link, the error does not occur.
    As you can tell by now, this problem is kind of hard to pin down. I've done some research and I have yet to stumble upon anything that deals with this issue. Unless there is a solution out there, I can do one of two things: 1) change all of the auto-size pop-ups in the project to fixed-sized, which defeats the purpose of creating auto-size pop-ups, or 2) tell our customer not to double-click links.
    Any advice you could give would be welcome.

    Hi there
    Indeed it has been reported on many occasions over the years. Unless someone like Willam has some way cool error detection magick with the scripts, the best approach we have always offered is this.
    Educate your users on the way computers and HTML works. HTML works using SINGLE clicks, not DOUBLE clicks.
    The reason for the error is because the first click caused the computer to launch a JavaScript command to open the sized popup. The second click that followed in rapid succession confused things by asking the script to stop what it was doing and run again.
    Maybe it would help to explain it to your users like this. If you visited a restaurant and when the server asked what you wanted to order, would the become confused if you said to them: I'll have the T-Bone Steak and nearly immediately you repeated it by saying again I'll have the T-Bone Steak.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Need more info on solving script errors -- don't have Webroot on my computer, but it gets tied up for hours at a time with Mozilla script blockages !!!!

    Whenever I am logged into FF, my computer will eventually grind to a halt -- sometimes after a few minutes, and sometimes after a few hours. I then get the script error message shown below.
    "A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete."
    <nowiki>**************************************************************************</nowiki>
    Below that generic message is one of these specific messages:
    Script: resource://gre/modules/XPCOMUtils.jsm:320
    https://secure.wlxrs.com/w!xbEiA1hkt!tswyuOeDSQ/litedepex.js:1
    resource://gre/modules/XPCOMUtils.jsm:323
    resource://gre/modules/XPCOMUtils.jsm:325
    resource:///components/nsPrompter.js:434
    https://gfx7.hotmail.com/mail/16.2.7137.1204/c2a.js:1
    resource://gre/modules/XPCOMUtils.jsm:325
    https://secure.wlxrs.com/w!xbEiA1hkt!tswyuOeDSQ/wlive.js:1
    https://secure.wlxrs.com/_D/w!xbEiA1hkt!tswyuOeDSQ/jquery-min.js:47
    chrome://global/content/bindings/textbox.xml:98
    chrome://mozapps/content/downloads/download.xml:71
    Script: https://mail.google.com/_/mail-static/_/js/main/m_i,t/rt=h/ver=am293eyFlXI.en./sv=1/am=!v8Czf-oeNMn0BO3a1PgLcnZDWwl3f6w7siCzO0WZ4q30IbVM6NJqQEKHLeJhMzB_YcWyBQ/d=1:2729
    http://pagead2.googlesyndication.com/pagead/osd.js:12
    https://gfx7.hotmail.com/mail/16.2.7137.1204/cmpt0.js:1
    http://mail.yimg.com/zz/combo?nq/launch/common-neo-base_6549.js&nq/launch/common-neo-om_6549.js&nq/launch/search-neo_6549.js&nq/launch/inbox-om_6549.js&nq/launch/inbox-listview-new_6549.js&nq/launch/inbox-message-new_6549.js&nq/launch/inbox-minty-fresh_6549.js&nq/launch/inbox-base_6549.js&nq/intl/js/launch/lang_en-US_6549.js&nq/intl/js/launch/conf_us_6549.js:194
    <nowiki>************************************************************************************</nowiki>
    I have no such problem with Internet Explorer or when the computer is not connected to the Internet; it is specific to FF. I do not have Webroot Spysweeper on my computer.
    Strangely enough, we do not have this problem with two other PCs that use FF, nor did I have it on these two computers during the first few years that I used them with FF. I bought a new PC, moved my files onto it, then suddenly it had the same problem, which is what made me think it was a malware issue.
    I checked Windows Defender and found that was not switched on and could not be switched on. So I bought three different anti-malware programs beginning with Malwarebytes and then SpyBlaster and SpyBot S&D. But they did no good.
    Just pressing the "continue" button in response to the script error message does not good, since it allows the computer to continue grinding to a halt. Worse, if those scripts are malware, I don't want them sending private info to internet sites, which is apparently their function.
    Please help me root out the problem. It has made my computer inoperative for several hours a day for the past few months.

    '''Try the Firefox Safe Mode''' to see how it works there. The Safe Mode is a troubleshooting mode, which disables most add-ons.''
    ''(If you're not using it, switch to the Default theme.)''
    * You can open the Firefox 4.0+ Safe Mode by holding the '''Shift''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Don't select anything right now, just use "'Start in Safe Mode"''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shift key) to open it again.''
    '''''If it is good in the Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one.
    Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''

  • FDM Integration Script Error

    Hi Guru's
    When i want to pull the data from SQL table using below integration Script from admin guide, its showing <font color="red">-2147217865 Data access Error at line15 (Line 15:Set rsAppend = DW.DataAccess.farsTable(strWorkTableName) </font>
    I tried with both web client and workbench. i got same error message.
    (FYI: UDL test connection is succeeded)
    Please help me.
    SQL server name: DEV
    Database name: FDM
    Sql Table name: SDR
    SDR Table contains Below Data Example:
    Entity Account ICP Custom1 Custom2 Custom3 Custom4 Amount
    India,      Extsales,      [Icp None],      Nocc,      No Cust,      None,      None,      50000
    India,      rent,      [Icp None],     Nocc,      No Cust,      None,      None,      20000
    Intigration Script:
    Function SQLIntegration(strLoc, lngCatKey, dblPerKey, strWorkTableName)
    'Hyperion FDM Integration Import Script:
    'Created By: admin
    'Date Created: 04/19/2012 2:18:39 PM
    'Purpose: Pull data directly from SQL DB
    Dim objSS 'ADODB.Connection
    Dim strSQL 'SQL String
    Dim rs 'Recordset
    Dim rsAppend 'tTB table append rs Object
    'Initialize objects
    Set cnSS = CreateObject("ADODB.Connection")
    Set rs = CreateObject("ADODB.Recordset")
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    'Connect To SQL Server database
    cnss.open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=FDM;Data Source=DEV;"
    'Create query String
    strSQL = "Select * "
    strSQL = strSQL & "FROM SDR "
    'Get data
    rs.Open strSQL, cnSS
    'Check For data
    If rs.bof And rs.eof Then
    RES.PlngActionType = 2
    RES.PstrActionValue = "No Records To load!"
    Exit Function
    End If
    'Loop through records And append To tTB table In location’s DB
    If Not rs.bof And Not rs.eof Then
    Do While Not rs.eof
    rsAppend.AddNew
    rsAppend.Fields("PartitionKey") = RES.PlngLocKey
    rsAppend.Fields("CatKey") = RES.PlngCatKey
    rsAppend.Fields("PeriodKey") = RES.PdtePerKey
    rsAppend.Fields("DataView") = "YTD"
    rsAppend.Fields("CalcAcctType") = 9
    rsAppend.Fields("Amount") = rs.fields("dblAmt").Value
    rsAppend.Fields("Desc1") = rs.fields("txtAcctDes").Value
    rsAppend.Fields("Account") = rs.fields("txtAcct").Value
    rsAppend.Fields("Entity") = rs.fields("txtCenter").Value
    rsAppend.Update
    rs.movenext
    Loop
    End If
    'Records loaded
    RES.PlngActionType = 6
    RES.PstrActionValue = "SQL Import successful!"
    'Assign Return value
    SQLIntegration = True
    End Function
    <font color="red"> BELOW IS THE ERROR LOG </font>
    Error Log:
    ** Begin FDM Runtime Error Log Entry [2012-07-16-01:57:58] **
    ERROR:
    Code............................................. -2147217865
    Description...................................... Table does not exist.
    Procedure........................................ clsDataAccess.farsTable
    Component........................................ upsWDataWindowDM
    Version.......................................... 1111
    Thread........................................... 8252
    IDENTIFICATION:
    User............................................. admin
    Computer Name....................................xxxx
    App Name......................................... xxxxx
    Client App....................................... WorkBench
    CONNECTION:
    Provider......................................... SQLOLEDB
    Data Server...................................... xxxxx
    Database Name.................................... xxxxx
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... India
    Location ID...................................... 751
    Location Seg..................................... 4
    Category......................................... actual
    Category ID...................................... 13
    Period........................................... Jan - 2012
    Period ID........................................ 1/31/2012
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    regards
    Sarilla

    Hi Sarilla
    I assume you ran the script from the editor.
    You HAVE TO run it from the normal FDM workflow "Import".
    Otherwise "Data access error"
    Hope this helps
    BR

  • Adobe Flash/Photoshop/After Effects CS4 Installation - Internet Explorer Script Error

    Greetings everyone. Another Adobe Installation disaster story.
    I'm trying to install the aforementioned products (Flash, Photoshop, After Effects) on my computer, but I get about 20 "Internet Explorer Script Error"'s every time. [I don't even use Internet Explorer] I don't understand why the installation worked on a different computer I own but not this one. Both of them are running Windows XP Home.
    I've already tried removing all Adobe Products, using msicuu2.exe, CS4CleanupScript from Adobe, etc...
    This is the install log that was generated for Flash.
    Any and all help would be greatly appreciated. Thanks in advance.
    [ 1572] Mon Jan 26 02:11:43 2009 INFO
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    Visit http://www.adobe.com/go/loganalyzer/ for more information
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    START - Installer Session
    *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    RIBS version: 2.0.133.0
    -------------------- BEGIN - Proxy File Summary - BEGIN --------------------
    AdobeCode: {02FD2912-C5C4-41f0-B7D2-0C1871EB9565}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeFlash10-es-ExtensionFL30\AdobeFlash10-es-ExtensionFL30.boot.xml
    AdobeCode: {043A67CA-08C4-4669-A2A1-B03F6D8D509C}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeWinSoftLinguisticsPluginAll\AdobeWinSoftLinguisticsPluginAll.boot.xml
    AdobeCode: {064F0D64-1F54-4F4B-953E-BAED5D7E69B2}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobePDFSettings9-mul\AdobePDFSettings9-mul.boot.xml
    AdobeCode: {092DF7B0-6E10-4718-9763-9704CC4E6EF9}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeALMAnchorService2-mul\AdobeALMAnchorService2-mul.boot.xml
    AdobeCode: {0967604F-33E6-4C6B-934B-157C3AB4ED4C}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeExtensionManager2All\AdobeExtensionManager2All.boot.xml
    AdobeCode: {0A621EC5-B98B-45C9-95FE-A7D0DA3150EA}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeFlashPlayer10_axDbg_mul\AdobeFlashPlayer10_axDbg_mul.proxy.xml
    AdobeCode: {14A5A29B-D252-4575-B40C-695B8D8B34D5}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeBridge3All\AdobeBridge3All.boot.xml
    AdobeCode: {195C539A-1546-43A8-A224-C03FE427F47D}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\extensions\AdobeFlash10-es_MXLanguagePack\AdobeFlash10-es_MXLanguagePack.proxy.xml
    AdobeCode: {2965A5F0-0326-4479-B140-F5799BD025B7}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeCameraRaw5.0All\AdobeCameraRaw5.0All.boot.xml
    AdobeCode: {2B47D5DE-E019-4130-AB69-2DAB4DEEBB0A}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeColorJA_ExtraSettings2-mul\AdobeColorJA_ExtraSettings2-mul.boot.xml
    AdobeCode: {2BD22DAB-D025-4c9a-A62E-DAD828393885}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeFlash10-en-ExtensionFL30\AdobeFlash10-en-ExtensionFL30.boot.xml
    AdobeCode: {3095E614-711B-48D2-BAAF-0CA9D9968F68}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeOutputModuleAll\AdobeOutputModuleAll.boot.xml
    AdobeCode: {3251BB24-1889-4BB4-9774-BA0D57FE7D0E}
    Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\extensions\AdobeFlash10-en_GBLanguagePack\AdobeFlash10-en_GBLanguagePack.proxy.xml
    AdobeCode: {34BBC769-B1F1-412A-8663-50B2EAB6D5A9}
    Path: C:\Docum

    Great, it got cut off.
    Anyways, this is the important part, since it says "ignoring original data since install source is local."
    Updated source path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4
    Updating media info for: {02FD2912-C5C4-41f0-B7D2-0C1871EB9565}, Effective: {02FD2912-C5C4-41f0-B7D2-0C1871EB9565}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeFlash10-es-ExtensionFL30\AdobeFlash10-es-ExtensionFL30.msi
    Updating media info for: {043A67CA-08C4-4669-A2A1-B03F6D8D509C}, Effective: {043A67CA-08C4-4669-A2A1-B03F6D8D509C}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeWinSoftLinguisticsPluginAll\AdobeWinSoftLinguisticsPluginAll.msi
    Updating media info for: {064F0D64-1F54-4F4B-953E-BAED5D7E69B2}, Effective: {064F0D64-1F54-4F4B-953E-BAED5D7E69B2}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobePDFSettings9-mul\AdobePDFSettings9-mul.msi
    Updating media info for: {092DF7B0-6E10-4718-9763-9704CC4E6EF9}, Effective: {092DF7B0-6E10-4718-9763-9704CC4E6EF9}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeALMAnchorService2-mul\AdobeALMAnchorService2-mul.msi
    Updating media info for: {0967604F-33E6-4C6B-934B-157C3AB4ED4C}, Effective: {0967604F-33E6-4C6B-934B-157C3AB4ED4C}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeExtensionManager2All\AdobeExtensionManager2All.msi
    Updating media info for: {0A621EC5-B98B-45C9-95FE-A7D0DA3150EA}, Effective: {0A621EC5-B98B-45C9-95FE-A7D0DA3150EA}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeFlashPlayer10_axDbg_mul\AdobeFlashPlayer10_axDbg_mul.msi
    Updating media info for: {14A5A29B-D252-4575-B40C-695B8D8B34D5}, Effective: {14A5A29B-D252-4575-B40C-695B8D8B34D5}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeBridge3All\AdobeBridge3All.msi
    Updating media info for: {195C539A-1546-43A8-A224-C03FE427F47D}, Effective: {195C539A-1546-43A8-A224-C03FE427F47D}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\extensions\AdobeFlash10-es_MXLanguagePack\AdobeFlash10-es_MXLanguagePack.msi
    Updating media info for: {2965A5F0-0326-4479-B140-F5799BD025B7}, Effective: {2965A5F0-0326-4479-B140-F5799BD025B7}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeCameraRaw5.0All\AdobeCameraRaw5.0All.msi
    Updating media info for: {2B47D5DE-E019-4130-AB69-2DAB4DEEBB0A}, Effective: {2B47D5DE-E019-4130-AB69-2DAB4DEEBB0A}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeColorJA_ExtraSettings2-mul\AdobeColorJA_ExtraSettings2-mul.msi
    Updating media info for: {2BD22DAB-D025-4c9a-A62E-DAD828393885}, Effective: {2BD22DAB-D025-4c9a-A62E-DAD828393885}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeFlash10-en-ExtensionFL30\AdobeFlash10-en-ExtensionFL30.msi
    Updating media info for: {3095E614-711B-48D2-BAAF-0CA9D9968F68}, Effective: {3095E614-711B-48D2-BAAF-0CA9D9968F68}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeOutputModuleAll\AdobeOutputModuleAll.msi
    Updating media info for: {3251BB24-1889-4BB4-9774-BA0D57FE7D0E}, Effective: {3251BB24-1889-4BB4-9774-BA0D57FE7D0E}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\extensions\AdobeFlash10-en_GBLanguagePack\AdobeFlash10-en_GBLanguagePack.msi
    Updating media info for: {34BBC769-B1F1-412A-8663-50B2EAB6D5A9}, Effective: {34BBC769-B1F1-412A-8663-50B2EAB6D5A9}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\extensions\DeviceCentral2LP-fr_CA\DeviceCentral2LP-fr_CA.msi
    Updating media info for: {395FC443-B34B-4E77-9928-23C147FC83F1}, Effective: {395FC443-B34B-4E77-9928-23C147FC83F1}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeTypeSupport9-mul\AdobeTypeSupport9-mul.msi
    Updating media info for: {3A4D8E3D-83E0-425F-A8FB-B04538CDC2A0}, Effective: {3A4D8E3D-83E0-425F-A8FB-B04538CDC2A0}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeCSIAll\AdobeCSIAll.msi
    Updating media info for: {3C2CCCD6-CB9D-4288-8B3D-EF7AEC16C35B}, Effective: {3C2CCCD6-CB9D-4288-8B3D-EF7AEC16C35B}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeFlash10-mul\AdobeFlash10-mul.msi
    Updating media info for: {3CD02B3D-9EEE-4786-95A8-73E7BA8558CA}, Effective: {3CD02B3D-9EEE-4786-95A8-73E7BA8558CA}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeDriveAll\AdobeDriveAll.msi
    Updating media info for: {3D9625C4-525A-4368-932D-749B91B3B222}, Effective: {3D9625C4-525A-4368-932D-749B91B3B222}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeFlash10-fr-ExtensionFL30\AdobeFlash10-fr-ExtensionFL30.msi
    Updating media info for: {490F274E-689A-4ECF-AC3E-322347ED7613}, Effective: {490F274E-689A-4ECF-AC3E-322347ED7613}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\AdobeExtendScriptToolkit3.0.0All\AdobeExtendScriptToolkit3.0.0All.msi
    Updating media info for: {53560287-20EA-4EB6-9B5C-5B1EC080350A}, Effective: {53560287-20EA-4EB6-9B5C-5B1EC080350A}
    Ignoring original data since install source is local
    Type: 0, Volume Order: 1, Media Name: Adobe CS4, Path: C:\Documents and Settings\Chu\Desktop\Adobe CS4\Flash Professional\Adobe CS4\payloads\kuler2.0-mul\kuler2.0-mul.msi
    Updating media info for: {5746C6E3-DC6E-4762-9445-F89C50B5E1D2}, Effective: {5746C6E3-DC6E-4762-944

  • Trying to install latest version of Flash for Firefox on WinXP, get Internet Explorer Script Error

    I'm trying to install the latest version of Flash (filename install_flashplayer11x32_mssd_aih.exe), browser = Firefox 14 (current), OS = Windows XP.  I've tried multiple times, making sure to disable Norton Antivirus Autoprotect first.
    At some point along the process - either during download or during installation - I get the following error message:
    Internet Explorer Script Error
    Line: 1
    Char: 10010
    Error: 'ActionLaunchAdobe' is undefined
    Code: 0
    URL: http://127.0.0.1:1174/app/_js/adobe.js
    Do you want to continue running scripts on this page? [yes] [no]
    Whether I answer [yes] or [no] the result is the same - the program hangs. It does not close, and when I close it manually it asks if I really want to stop it. But if I leave it there, nothing happens.
    Per advice of the website, I uninstalled Flash in order to start over fresh. What that means is that, instead of having an outdated version of Flash, I now have none.
    I've tried to RTFM but searches for this error come up empty.  I'm curious why Internet Explorer is being involved in this to begin with. But mostly, I'm just curious how to get this thing to work.
    Thanks for whatever help you can give me.
    Dave

    We're investigating this issue and we'd like to get some additional details.  I'd appreciate if anyone experiencing these errors could do the following steps:
    Download the Flash Player installer
    Open a command prompt and navigate to the installer location (eg. "cd c:\users\username\downloads\")
    Run the installer, using a “/debug”.argument  (eg. “install_flashplayer11x32ax_chrd_aih.exe /debug”)
    Once the installer runs and the error is reproduced, a file named “host.developer.log” will be created in your system’s temp folder.
    You can quickly access the temp folder by clicking on Start > Run, then type "%temp%". 
    Locate the "host.developer.log" file and either post the contents in a reply or send directly to [email protected]
    Along with the debug log, please include the following info:
    Operating System (if you're on XP, what service pack do you have installed)
    Browser
    Network proxy setup (if applicable)
    Thanks!
    Chris

  • FDM Conditional Map Script Error

    Hi all,
    we trying importing data from EBS to HFM though ERPI by using FDM.
    We used conditional based scripts to importing data from ebs to FDM.
    this scripts used in FDM for ICP dimension between conditional mapping script.script logic is some particular account are related to Intercomapny transaction accounts we have to map to ICP member
    can anyone help me on this:
    this is error :
    ** Begin FDM Runtime Error Log Entry [2011-12-12 15:10:18] **
    ERROR:
    Code............................................. 1014
    Description...................................... Conditional Map Script Error: Expected 'End' at line(2)
    Script:
    If varValues(14)="113401" Then Result="21_ADNIP"
    Else Result="[ICP NONE]"
    End if
    Rule=I1
    Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
    Component........................................ upsWObjectsDM
    Version.......................................... 1112
    Thread........................................... 13888
    IDENTIFICATION:
    User............................................. admin
    Computer Name.................................... ADNIPHYPUAT01
    App Name......................................... FDMHFM
    Client App....................................... WebClient
    CONNECTION:
    Provider......................................... ORAOLEDB.ORACLE
    Data Server......................................
    Database Name.................................... HYPUAT
    Trusted Connect.................................. False
    Connect Status.. Connection Open
    GLOBALS:
    Location......................................... HFMGLLOAD
    Location ID...................................... 750
    Location Seg..................................... 4
    Category......................................... WLCAT
    Category ID...................................... 12
    Period........................................... May - 2011
    Period ID........................................ 5/31/2011
    POV Local........................................ False
    Language......................................... 1033
    User Level....................................... 1
    All Partitions................................... True
    Is Auditor....................................... False
    Thanks.
    Srini

    Hi, please try the mapping script again having the "Result=" statement on a separate line, like:
    If varValues(14)="113401" Then
    Result="21_ADNIP"
    Else
    Result="[ICP NONE]"
    End if
    Kind regards,
    Jeroen

  • 02/18/13 Flash Player Update Has Scripting Errors

    Win XP
    IE 8
    11.6.602.168
    Attempted to install the Flash Player update that apparently released this morning and my install was interrupted by the following scripting error.
    Line 1
    Char 13128
    'ActionGtbCheck' is undefined
    Code 0
    URL" http://127.0.0.1:2318/app/_js/adobe.js
    Do you want to continue running scripts on this page?
    I used the link to the install that the Update Notifier gave me. It appears that I actually have a version installed already that is for IE9 not IE8. Not sure why Adobe would have had me upgrade to an incompatible version or why the Update Notifier is telling me to patch if I already have the most recent version installed Either way, this needs to be fixed. My scripting options are all checked as directed in your tutorial. My Java is also patched and active.
    Downloads should be quick and pain free. All I should have to do is click Install and it should happen. Whatever is going on here needs to be fixed on YOUR end. Customer service chat told me that they are unable to help and suggested I purchase a $39 phone call in order to notify Adobe about the problems with their install. LOLOLOL

    If Adobe is one of the few non-public sector companies left in the US who still observe President's Day by closing their doors and giving staff a holiday then kudo's to them! If this was the case, then might I suggest that releasing a patch the day before the holiday closure might not have been the wisest course of action?
    Pat, I could begin with the on-line chat individual who tried to sell me troubleshooting for a properly functioning system when I was trying to report an issue with the patcher and perhaps also receive some acknowledgement that the issue was known (or not) and being addressed. But let's not go there. I will suggest, that if you believe ignoring those who have questions about your product for an extended length of time is an acceptable way to engage in business, then perhaps you have a bright and promising future at the local mall. End of that topic.
    Chris, I don't understand what you mean by "appropriate stand alone Windows installers". I clicked the link embedded in the update notification and it took me directly to the installer that I attempted to use and that subsequently returned the scripting error. So how could that not be appropriate? But comparing the version the site says is already on my system to the version numbers given on the patch it appears that I already have the most recent version installed.
    If this is the case then perhaps the error was actually in the program that checks for the patches thinking I even needed a patch? Also when I checked the system specs for the download I don't think it listed it as being appropriate for IE 8, which is the most current version available for XP, so perhaps that's causing errors? So I'm confused as to what's going on.
    At this point I'm not certain I need to do anything other than wait for Adobe developers to troubleshoot the patcher? The version of Flash I have installed, though it has the memory issues that have been the topic on this thread for months (http://forums.adobe.com/message/5089040#5089040), seems to be performing the same as it usually does. It still takes 15 minutes or longer to load the thumbnails on the Netflix homepage and Hulu, but I can at least use the Hulu player if I'm willing to ignore the flickering and occasional freezing. Silverlight, as always, runs beautifully.
    Of more concern are potential security loopholes that might still be unplugged if my version isn't correctly updated. I was actually hacked just viewing a fan site and had a game account stolen about a year and a half ago June, when a newly released Flash version left out a security correction included in the older code.
    Thanks to both of you for taking the time to respond to my posts. I realize I was not at my sweetest and most adorable while posting. 

  • Constant script error

    I've had this problem for weeks and asked for help here but no one replied. In Facebook, among others, the browser runs for maybe 5 minutes and then begins to slow down and stop responding. I have done every single step recommended here and it still happens. This is the script error I get each time - A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.
    Script: https://fbstatic-a.akamaihd.net/rsrc.php/v2/yV/r/qjak_gkNqXm.js:42
    PLEASE, can anyone help with this?

    If you use extensions (Firefox/Tools > Add-ons > Extensions) that can block content (e.g. Adblock Plus, NoScript, Flash Block, Ghostery) then make sure that such extensions aren't blocking content or otherwise cause issues.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.
    *Switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance
    *Do NOT click the Reset button on the Safe Mode start window
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • TMG Management Console Script Error

    Hello
    I am receiving a script error when I am trying to access the TMG Management Console. I have uploaded a screenshot of the error message here:
    http://imageupload.org/?d=4D9EC4081
    I hope it works :)
    OS: 2008 R2 SP1
    TMG Standard 2010 SP1
    Virtual server on Citrix XenServer 5.6

    Other option is to edit a file.
    * Open "C:\Program Files\Microsoft Forefront Threat Management Gateway\UI_HTMLs\TabsHandler\TabsHandler.htc"
      * Search for the 3 lines which contain "paddingTop", and remark-out each of them by adding "//" in the begining.
      Example: Change the line: 
    m_aPages [niPage].m_tdMain.style.paddingTop = ((m_nBoostUp < 0) ? -m_nBoostUp : 0) ;
      into: 
    // m_aPages [niPage].m_tdMain.style.paddingTop = ((m_nBoostUp < 0) ? -m_nBoostUp : 0) ;
      * Save the file, and re-open TMG management console.
    AFter that TMG will work in IE9
    This solution works very fine and is a lot more efficient than downgrading IE.
    Carsten Spangsberg

  • Flash install scripting error

    When I try to install the Flash player (or acrobat reader) under Windows XP SP3, I get an "Internet Explorer Script Error" popup with a scripting error
    after the installation file is downloaded and begins to execute.
    "An error has occurred in the script on this page"
    "Line: 1"
    "Char: 13054"
    "Error: Object expected"
    "Code: 0"
    "URL: http://127.0.0.1:2232/app/_js/adobe.js"
    "Do you want to continue running scripts on this page?"
    Clicking yes does work in allowing the install to proceed.
    I was able to download the acrobat reader install from the FTP site but still can't get the Flash Player to install.
    This has been happening for months - each time I am notified a new version exists.
    Thanks for any help!
    BTW - I did find the manual install file at http://www.adobe.com/support/flashplayer/downloads.html#fp11

    ronczap wrote:
    BTW - I did find the manual install file at http://www.adobe.com/support/flashplayer/downloads.html#fp11
    This site only contains the content debugger version of Flash Player; you can download the offline installers for the regular Flash Player from http://helpx.adobe.com/content/help/en/flash-player/kb/installation-problems-flash-player- windows.html#main-pars_header
    Adobe Reader offline download: http://get.adobe.com/reader/enterprise/

  • Script Error when updating Flash Player

    I have exhausted the online documentation. This started several months ago. The way that Flash Player updated on my machine changed. I am running XP using IE8. Everytime I try to update Flash Player I get a script error right about the time that the download completes and it is starting to install. The actual script error varies from one attempt to another. The latest error is 'ActionLaunchAdobe' is undefined. Scripting is enabled per the help documents. I have never had to uninstall a previous version before and I'm hesitant to do it now because my current version is 11.4.402.287 and it works. My concern is that if I can't update to new versions eventually there may be problems. I have not made configuration changes to this computer or installed new software for quite a while. The Flash Player update mechanism used to never open a browser window but since I have had this problem that's the first thing it does and takes me to the Flash Player update site. Then the never ending fun begins always ending with a script error and failed install. PLEASE HELP!

    If you have "Allow Adobe to install updates (recommended)" selected in your Flash Player control panel (in the Advanced tab), you should be getting our silent auto updates.  The problem appears to be occurring for you when a major update occurs.  You have a couple of options here.  First, you can visit the link below whenever this occurs and download the offline installer files that should work properly.  The second option is to ignore these update notifications and after 30 days we'll install it automatically (and silently.)
    http://helpx.adobe.com/flash-player/kb/installation-problems-flash-player-windows.html#mai n-pars_header

  • ReportServer Manager Script Error

    Hi All,
    I have been using ssrs for quite some time now.And All of a sudden, I have started getting
    scripts errors in reportingservices.js.
    Error:"Uncaught TypeError: Cannot set property 'className' of null
    Now I am not able to deploy new rdl files
    Many Thanks
    Deepak

    HI All, 
    Actually I have found the answer for that,thought that some one might get useful with this.ReportingServices.js in the path"C:\Program Files\Microsoft SQL Server\MSRS11.MSSQLSERVER20122012\Reporting Services\ReportManager\js"
     was causing the problem.Kindly replace the script with the following one
    var checkBoxCount;
    var checkBoxId;
    var checkBoxHead;
    // Context menu
    var _divContextMenu; // The container for the context menu
    var _selectedIdHiddenField; // The id of the item that opened th context menu
    var _timeOutLimit = 3000; // How long the context menu stays for after the cursor in no longer over it
    var _timeOutTimer; // The timout for the context menu
    var _itemSelected = false;
    var _mouseOverContext = false; // If the mouse is over the context menu
    var _contextMenusIds; // The array of the diffrent context menus
    var _fadeTimeouts; // The array of timouts used for the fade effect
    var _onLink = false; // If the user is over a name link
    var _selectedItemId;
    var _tabFocusedItem = '';
    var _mouseOverItem = '';
    var _unselectedItemStyle;
    var _currentContextMenuId; // ID of currently displayed context menu
    var _currentMenuItemId = null; // ID of currently selected context menu item
    // Search bar
    var _searchTextBoxID;
    var _defaultSearchValue; // The value that the box defaults to.
    // start chris edit
    // new functions to find firstChild and lastChild but skipping whitespace elements
    function firstChildNoWS(element) {
    var child = element.firstChild;
    while (child != null && child.isElementContentWhitespace) {
    child = child.nextSibling;
    return child;
    function lastChildNoWS(element) {
    var child = element.lastChild;
    while (child != null && child.isElementContentWhitespace) {
    child = child.previousSibling;
    return child;
    // end chris edit
    function ToggleItem(itemId) {
    var item = document.getElementById(itemId);
    if (item.style.display == 'none')
    item.style.display = 'inline';
    else
    item.style.display = 'none';
    function ToggleButtonImage(image1ID, image2ID) {
    var image1 = document.getElementById(image1ID);
    var image2 = document.getElementById(image2ID);
    if (image1.style.display == 'none') {
    image1.style.display = 'inline-block';
    image2.style.display = 'none';
    else {
    image1.style.display = 'none';
    image2.style.display = 'inline-block';
    function SetFocus(id) {
    var obj = document.getElementById(id);
    if (obj != null && !obj.disabled)
    obj.focus();
    // Validates that an extension has been selected
    function ValidateDropDownSelection(source, args) {
    var obj = document.getElementById(source.controltovalidate);
    if (obj.options[0].selected && !obj.disabled)
    args.IsValid = false;
    else
    args.IsValid = true;
    /// selectAll
    /// selects all the checkBoxes with the given id
    function selectAll() {
    var i;
    var id;
    var checked = checkBoxHead.checked;
    for (i = 0; i < checkBoxCount; i++) {
    id = checkBoxId + i;
    document.getElementById(id).checked = checked;
    /// onSglCheck
    /// performs actions when a single checkBox is checked or unchecked
    /// cb -> the checkBox generating the event
    /// topId -> id of the "select all" checkBox
    function onSglCheck() {
    // uncheck the top checkBox
    checkBoxHead.checked = false;
    /// ToggleButton
    /// Toggle a buttons enable state
    function ToggleButton(id, disabled) {
    if (document.getElementById(id) != null)
    document.getElementById(id).disabled = disabled;
    function ToggleValidator(id, enabled) {
    document.getElementById(id).enabled = enabled;
    function SetCbVars(cbid, count, cbh) {
    checkBoxCount = count;
    checkBoxId = cbid;
    checkBoxHead = cbh;
    /// Check to see if any check boxes should disable
    /// a control
    /// cbid -> id prefix of the checkBoxes
    /// cbCount -> total checkBoxes to check
    /// hidden -> input to look for
    /// display -> control to disable
    function CheckCheckBoxes(cbid, hidden, display) {
    var i;
    var id;
    var disable;
    disable = false;
    for (i = 0; i < checkBoxCount; i++) {
    id = cbid + i;
    if (document.getElementById(id).checked) {
    id = hidden + id;
    if (document.getElementById(id) != null) {
    disable = true;
    break;
    ToggleButton(display, disable);
    function HiddenCheckClickHandler(hiddenID, promptID, promptStringID) {
    var hiddenChk = document.getElementById(hiddenID);
    var promptChk = document.getElementById(promptID);
    // prompt should be in opposite state of hidden
    promptChk.checked = !hiddenChk.checked;
    function validateSaveRole(source, args) {
    var i;
    var id;
    var c = 0;
    for (i = 0; i < checkBoxCount; i++) {
    id = checkBoxId + i;
    if (document.getElementById(id).checked) c++;
    if (0 == c)
    args.IsValid = false;
    else
    args.IsValid = true;
    /// Pad an integer less then 10 with a leading zero
    function PadIntWithZero(val) {
    var s = val.toString();
    if (val < 10 && val >= 0) {
    if (s.length == 1)
    s = "0" + s;
    else if (s.length > 2)
    s = s.substring(s.length - 2, s.length);
    return s;
    /// Pad the contents of an input with leading zeros if necesarry
    function PadInputInteger(id) {
    document.getElementById(id).value = PadIntWithZero(document.getElementById(id).value);
    /// text of confirmation popup when a single item is selected for deletion
    /// e.g. "Are you sure you want to delete this item"
    var confirmSingle;
    /// text of confirmation popup when multiple items are selected for deletion
    /// e.g. "Are you sure you want to delete these items"
    var confirmMultiple;
    function SetDeleteTxt(single, multiple) {
    confirmSingle = single;
    confirmMultiple = multiple;
    /// doCmDel: DoConfirmDelete
    /// Given a number of checked items, confirm their deletion
    /// return true if OK was clicked; false otherwise
    function doCmDel(checkedCount) {
    var confirmTxt = confirmSingle;
    if (checkedCount == 0)
    return false;
    if (checkedCount > 1)
    confirmTxt = confirmMultiple;
    return confirm(confirmTxt);
    /// on non-Netscape browsers, confirm deletion of 0 or more items
    function confirmDelete() {
    return doCmDel(getChkCount());
    /// confirm deletion of policies
    function confirmDeletePlcies(alertString) {
    var count = getChkCount();
    if (count >= checkBoxCount) {
    alert(alertString);
    return false;
    return doCmDel(count);
    /// counts whether 0, 1, or more than 1 checkboxes are checked
    /// returns 0, 1, or 2
    function getChkCount() {
    var checkedCount = 0;
    for (i = 0; i < checkBoxCount && checkedCount < 2; i++) {
    if (document.getElementById(checkBoxId + i).checked) {
    checkedCount++;
    return checkedCount;
    function ToggleButtonBasedOnCheckBox(checkBoxId, toggleId, reverse) {
    var chkb = document.getElementById(checkBoxId);
    if (chkb != null) {
    if (chkb.checked == true)
    ToggleButton(toggleId, reverse); // enable if reverse == false
    else
    ToggleButton(toggleId, !reverse); // disable if reverse == false
    function ToggleButtonBasedOnCheckBoxWithOverride(checkBoxId, toggleId, overrideToDisabled, reverse) {
    if (overrideToDisabled == true)
    ToggleButton(toggleId, true); // disable
    else
    ToggleButtonBasedOnCheckBox(checkBoxId, toggleId, reverse);
    function ToggleButtonBasedOnCheckBoxes(checkBoxId, checkboxId2, toggleId) {
    var chkb = document.getElementById(checkBoxId);
    if (chkb != null) {
    if (chkb.checked == true)
    ToggleButtonBasedOnCheckBox(checkboxId2, toggleId, false);
    else
    ToggleButton(toggleId, true); // disable
    function ToggleButtonBasedOnCheckBoxesWithOverride(checkBoxId, checkboxId2, toggleId, overrideToDisabled) {
    if (overrideToDisabled == true)
    ToggleButton(toggleId, true); // disable
    else
    ToggleButtonBasedOnCheckBoxes(checkBoxId, checkboxId2, toggleId);
    function ToggleValidatorBasedOnCheckBoxWithOverride(checkBoxId, toggleId, overrideToDisabled, reverse) {
    if (overrideToDisabled == true)
    ToggleValidator(toggleId, false);
    else {
    var chkb = document.getElementById(checkBoxId);
    if (chkb != null) {
    ToggleValidator(toggleId, chkb.checked != reverse);
    function ToggleValidatorBasedOnCheckBoxesWithOverride(checkBoxId, checkBoxId2, toggleId, overrideToDisabled, reverse) {
    if (overrideToDisabled == true)
    ToggleValidator(toggleId, false);
    else {
    var chkb = document.getElementById(checkBoxId);
    if (chkb != null) {
    if (chkb.checked == reverse)
    ToggleValidator(toggleId, false);
    else
    ToggleValidatorBasedOnCheckBoxWithOverride(checkBoxId2, toggleId, overrideToDisabled, reverse);
    function CheckButton(buttonID, shouldCheck) {
    document.getElementById(buttonID).checked = shouldCheck;
    function EnableMultiButtons(prefix) {
    // If there are no multibuttons, there is no reason to iterate the
    // list of checkboxes.
    if (checkBoxCount == 0 || multiButtonList.length == 0)
    return;
    var enableMultiButtons = false;
    var multipleCheckboxesSelected = false;
    // If the top level check box is checked, we know the state of all
    // of the checkboxes
    var headerCheckBox = document.getElementById(prefix + "ch");
    if (headerCheckBox != null && headerCheckBox.checked) {
    enableMultiButtons = true;
    multipleCheckboxesSelected = checkBoxCount > 1;
    else {
    // Look at each checkbox. If any one of them is checked,
    // enable the multi buttons.
    var foundOneChecked = false;
    var i;
    for (i = 0; i < checkBoxCount; i++) {
    var checkBox = document.getElementById(prefix + 'cb' + i);
    if (checkBox.checked) {
    if (foundOneChecked) {
    multipleCheckboxesSelected = true;
    break;
    else {
    enableMultiButtons = true;
    foundOneChecked = true;
    // Enable/disable each of the multi buttons
    var j;
    for (j = 0; j < multiButtonList.length; j++) {
    var button = document.getElementById(multiButtonList[j]);
    if (button.allowMultiSelect)
    button.disabled = !enableMultiButtons;
    else
    button.disabled = !enableMultiButtons || multipleCheckboxesSelected;
    //function ShadowCopyPassword(suffix)
    function MarkPasswordFieldChanged(suffix) {
    if (event.propertyName == "value") {
    var pwdField = document.getElementById("ui_txtStoredPwd" + suffix);
    //var shadowField = document.getElementById("ui_shadowPassword" + suffix);
    var shadowChanged = document.getElementById("ui_shadowPasswordChanged" + suffix);
    // Don't shadow copy during initialization
    if (pwdField.IsInit) {
    //shadowField.value = pwdField.value;
    //pwdField.UserEnteredPassword = "true";
    shadowChanged.value = "true";
    // Update validator state (there is no validator on the data driven subscription page)
    var validator = document.getElementById("ui_validatorPassword" + suffix)
    if (validator != null)
    ValidatorValidate(validator);
    function InitDataSourcePassword(suffix) {
    var pwdField = document.getElementById("ui_txtStoredPwd" + suffix);
    var shadowChanged = document.getElementById("ui_shadowPasswordChanged" + suffix);
    // var shadowField = document.getElementById("ui_shadowPassword" + suffix);
    var storedRadioButton = document.getElementById("ui_rdoStored" + suffix);
    var pwdValidator = document.getElementById("ui_validatorPassword" + suffix);
    pwdField.IsInit = false;
    // Initialize the field to the shadow value (for when the user clicks back/forward)
    // Or to a junk initial value.
    if (pwdValidator != null && storedRadioButton.checked) {
    /* if (shadowField.value.length > 0)
    pwdField.value = shadowField.value;
    else*/
    pwdField.value = "********";
    else
    shadowChanged.value = "true"; // shadowChanged will be ignored if the page is submitted without storedRadioButton.checked
    // Now that the initial value is set, track changes to the password field
    pwdField.IsInit = true;
    // There is no validator on the data driven subscription page (no stored radio button either)
    if (pwdValidator != null)
    ValidatorValidate(pwdValidator);
    function SetNeedPassword(suffix) {
    // Set a flag indicating that we need the password
    var pwdField = document.getElementById("ui_txtStoredPwd" + suffix);
    pwdField.NeedPassword = "true";
    // Make the validator visible
    ValidatorValidate(document.getElementById("ui_validatorPassword" + suffix));
    function UpdateValidator(src, validatorID) {
    if (src.checked) {
    var validator = document.getElementById(validatorID);
    ValidatorValidate(validator);
    function ReEnterPasswordValidation(source, arguments) // source = validator
    var validatorIdPrefix = "ui_validatorPassword"
    var suffix = source.id.substr(validatorIdPrefix.length, source.id.length - validatorIdPrefix.length);
    var storedRadioButton = document.getElementById("ui_rdoStored" + suffix);
    var pwdField = document.getElementById("ui_txtStoredPwd" + suffix);
    var shadowChanged = document.getElementById("ui_shadowPasswordChanged" + suffix);
    var customDataSourceRadioButton = document.getElementById("ui_rdoCustomDataSource" + suffix);
    var isCustomSelected = true;
    if (customDataSourceRadioButton != null)
    isCustomSelected = customDataSourceRadioButton.checked;
    if (!isCustomSelected || // If the custom (vs shared) data source radio button exists and is not selected, we don't need the pwd.
    storedRadioButton.checked == false || // If the data source is not using stored credentials, we don't need the password
    pwdField.UserEnteredPassword == "true" || // If the password has changed, we don't need to get it from the user
    pwdField.NeedPassword != "true" || // If no credentials have changed, we don't need the password
    shadowChanged.value == "true") // If the user has typed a password
    arguments.IsValid = true;
    else
    arguments.IsValid = false;
    function ValidateDataSourceSelected(source, arguments) {
    var validatorIdPrefix = "ui_sharedDSSelectedValidator"
    var suffix = source.id.substr(validatorIdPrefix.length, source.id.length - validatorIdPrefix.length);
    var sharedRadioButton = document.getElementById("ui_rdoSharedDataSource" + suffix);
    var hiddenField = document.getElementById("ui_hiddenSharedDS" + suffix);
    arguments.IsValid = (sharedRadioButton != null && !sharedRadioButton.checked) || hiddenField.value != "NotSelected";
    // MultiValueParamClass
    function MultiValueParamClass(thisID, visibleTextBoxID, floatingEditorID, floatingIFrameID, paramObject,
    hasValidValues, allowBlank, doPostbackOnHide, postbackScript) {
    this.m_thisID = thisID;
    this.m_visibleTextBoxID = visibleTextBoxID;
    this.m_floatingEditorID = floatingEditorID;
    this.m_floatingIFrameID = floatingIFrameID;
    this.m_paramObject = paramObject;
    this.m_hasValidValues = hasValidValues;
    this.m_allowBlank = allowBlank;
    this.m_doPostbackOnHide = doPostbackOnHide;
    this.m_postbackScript = postbackScript;
    this.UpdateSummaryString();
    function ToggleVisibility() {
    var floatingEditor = GetControl(this.m_floatingEditorID);
    if (floatingEditor.style.display != "inline")
    this.Show();
    else
    this.Hide();
    MultiValueParamClass.prototype.ToggleVisibility = ToggleVisibility;
    function Show() {
    var floatingEditor = GetControl(this.m_floatingEditorID);
    if (floatingEditor.style.display == "inline")
    return;
    // Set the correct size of the floating editor - no more than
    // 150 pixels high and no less than the width of the text box
    var visibleTextBox = GetControl(this.m_visibleTextBoxID);
    if (this.m_hasValidValues) {
    if (floatingEditor.offsetHeight > 150)
    floatingEditor.style.height = 150;
    floatingEditor.style.width = visibleTextBox.offsetWidth;
    var newEditorPosition = this.GetNewFloatingEditorPosition();
    floatingEditor.style.left = newEditorPosition.Left;
    floatingEditor.style.top = newEditorPosition.Top;
    floatingEditor.style.display = "inline";
    var floatingIFrame = GetControl(this.m_floatingIFrameID);
    floatingIFrame.style.left = floatingEditor.style.left;
    floatingIFrame.style.top = floatingEditor.style.top;
    floatingIFrame.style.width = floatingEditor.offsetWidth;
    floatingIFrame.style.height = floatingEditor.offsetHeight;
    floatingIFrame.style.display = "inline";
    // If another multi value is open, close it first
    if (this.m_paramObject.ActiveMultValue != this && this.m_paramObject.ActiveMultiValue != null)
    ControlClicked(this.m_paramObject.id);
    this.m_paramObject.ActiveMultiValue = this;
    if (floatingEditor.childNodes[0].focus) floatingEditor.childNodes[0].focus();
    this.StartPolling();
    MultiValueParamClass.prototype.Show = Show;
    function Hide() {
    var floatingEditor = GetControl(this.m_floatingEditorID);
    var floatingIFrame = GetControl(this.m_floatingIFrameID);
    // Hide the editor
    floatingEditor.style.display = "none";
    floatingIFrame.style.display = "none";
    this.UpdateSummaryString();
    if (this.m_doPostbackOnHide)
    eval(this.m_postbackScript);
    // Check that the reference is still us in case event ordering
    // caused another multivalue to click open
    if (this.m_paramObject.ActiveMultiValue == this)
    this.m_paramObject.ActiveMultiValue = null;
    MultiValueParamClass.prototype.Hide = Hide;
    function GetNewFloatingEditorPosition() {
    // Make the editor visible
    var visibleTextBox = GetControl(this.m_visibleTextBoxID);
    var textBoxPosition = GetObjectPosition(visibleTextBox);
    return { Left: textBoxPosition.Left, Top: textBoxPosition.Top + visibleTextBox.offsetHeight };
    MultiValueParamClass.prototype.GetNewFloatingEditorPosition = GetNewFloatingEditorPosition;
    function UpdateSummaryString() {
    var summaryString;
    if (this.m_hasValidValues)
    summaryString = GetValueStringFromValidValueList(this.m_floatingEditorID);
    else
    summaryString = GetValueStringFromTextEditor(this.m_floatingEditorID, false, this.m_allowBlank);
    var visibleTextBox = GetControl(this.m_visibleTextBoxID);
    visibleTextBox.value = summaryString;
    MultiValueParamClass.prototype.UpdateSummaryString = UpdateSummaryString;
    function StartPolling() {
    setTimeout(this.m_thisID + ".PollingCallback();", 100);
    MultiValueParamClass.prototype.StartPolling = StartPolling;
    function PollingCallback() {
    // If the editor isn't visible, no more events.
    var floatingEditor = GetControl(this.m_floatingEditorID);
    if (floatingEditor.style.display != "inline")
    return;
    // If the text box moved, something on the page resized, so close the editor
    var expectedEditorPos = this.GetNewFloatingEditorPosition();
    if (floatingEditor.style.left != expectedEditorPos.Left + "px" ||
    floatingEditor.style.top != expectedEditorPos.Top + "px") {
    this.Hide();
    else {
    this.StartPolling();
    MultiValueParamClass.prototype.PollingCallback = PollingCallback;
    function GetObjectPosition(obj) {
    var totalTop = 0;
    var totalLeft = 0;
    while (obj != document.body) {
    // Add up the position
    totalTop += obj.offsetTop;
    totalLeft += obj.offsetLeft;
    // Prepare for next iteration
    obj = obj.offsetParent;
    totalTop += obj.offsetTop;
    totalLeft += obj.offsetLeft;
    return { Left: totalLeft, Top: totalTop };
    function GetValueStringFromTextEditor(floatingEditorID, asRaw, allowBlank) {
    var span = GetControl(floatingEditorID);
    var editor = span.childNodes[0];
    var valueString = editor.value;
    // Remove the blanks
    if (!allowBlank) {
    // Break down the text box string to the individual lines
    var valueArray = valueString.split("\r\n");
    var delimiter;
    if (asRaw)
    delimiter = "\r\n";
    else
    delimiter = ", ";
    var finalValue = "";
    for (var i = 0; i < valueArray.length; i++) {
    // If the string is non-blank, add it
    if (valueArray[i].length > 0) {
    if (finalValue.length > 0)
    finalValue += delimiter;
    finalValue += valueArray[i];
    return finalValue;
    else {
    if (asRaw)
    return valueString;
    else
    return valueString.replace(/\r\n/g, ", ");
    function GetValueStringFromValidValueList(editorID) {
    var valueString = "";
    // Get the table
    var div = GetControl(editorID);
    var table = div.childNodes[0];
    if (table.nodeName != "TABLE") // Skip whitespace if needed
    table = div.childNodes[1];
    // If there is only one element, it is a real value, not the select all option
    var startIndex = 0;
    if (table.rows.length > 1)
    startIndex = 1;
    for (var i = startIndex; i < table.rows.length; i++)
    // Get the first cell of the row
    var firstCell = table.rows[i].cells[0];
    var span = firstCell.childNodes[0];
    var checkBox = span.childNodes[0];
    var label = span.childNodes[1];
    if (checkBox.checked) {
    if (valueString.length > 0)
    valueString += ", ";
    // chris edit - valueString += label.firstChild.nodeValue;
    valueString += firstChildNoWS(label).nodeValue;
    return valueString;
    function MultiValidValuesSelectAll(src, editorID)
    // Get the table
    var div = GetControl(editorID);
    var table = div.childNodes[0];
    if (table.nodeName != "TABLE")
    table = div.childNodes[1];
    for (var i = 1; i < table.rows.length; i++)
    // Get the first cell of the row
    var firstCell = table.rows[i].cells[0];
    var span = firstCell.childNodes[0];
    var checkBox = span.childNodes[0];
    checkBox.checked = src.checked;
    function ValidateMultiValidValue(editorID, errMsg)
    var summaryString = GetValueStringFromValidValueList(editorID);
    var isValid = summaryString.length > 0;
    if (!isValid)
    alert(errMsg)
    return isValid;
    function ValidateMultiEditValue(editorID, errMsg) {
    // Need to check for a value specified. This code only runs if not allow blank.
    // GetValueStringFromTextEditor filters out blank strings. So if it was all blank,
    // the final string will be length 0
    var summaryString = GetValueStringFromTextEditor(editorID, true, false)
    var isValid = false;
    if (summaryString.length > 0)
    isValid = true;
    if (!isValid)
    alert(errMsg);
    return isValid;
    function GetControl(controlID) {
    var control = document.getElementById(controlID);
    if (control == null)
    alert("Unable to locate control: " + controlID);
    return control;
    function ControlClicked(formID) {
    var form = GetControl(formID);
    if (form.ActiveMultiValue != null)
    form.ActiveMultiValue.Hide();
    // --- Context Menu ---
    // This function is called in the onload event of the body.
    // It hooks the context menus up to the Javascript code.
    // divContextMenuId, is the id of the div that contains the context menus
    // selectedIdHiddenFieldId, is the id of the field used to post back the name of the item clicked
    // contextMenusIds, is an array of the ids of the context menus
    // searchTextBox ID, is the id of the search box
    // defaultSearchValue. the value the search box has by default
    function InitContextMenu(divContextMenuId, selectedIdHiddenFieldId, contextMenusIds, searchTextBoxID, defaultSearchValue ) {
    ResetSearchBar( searchTextBoxID, defaultSearchValue );
    _divContextMenu = document.getElementById(divContextMenuId);
    _selectedIdHiddenField = document.getElementById(selectedIdHiddenFieldId);
    _contextMenusIds = contextMenusIds;
    _divContextMenu.onmouseover = function() { _mouseOverContext = true; };
    _divContextMenu.onmouseout = function() {
    if (_mouseOverContext == true) {
    _mouseOverContext = false;
    if (_timeOutTimer == null) {
    _timeOutTimer = setTimeout(TimeOutAction, _timeOutLimit);
    document.body.onmousedown = ContextMouseDown;
    AddKeyDownListener();
    // This handler stops bubling when arrow keys Up or Down pressed to prevent scrolling window
    function KeyDownHandler(e)
    // Cancel window scrolling only when menu is opened
    if(_currentContextMenuId == null)
    return true;
    if(!e)
    e = window.event;
    var key = e.keyCode;
    if(key == 38 || key == 40)
    return false;
    else
    return true;
    function AddKeyDownListener()
    if(document.addEventListener)
    document.addEventListener('keydown', KeyDownHandler, false);
    else
    document.onkeydown = KeyDownHandler;
    // This function starts the context menu timeout process
    function TimeOutAction() {
    if (_mouseOverContext == false) {
    UnSelectedMenuItem()
    _timeOutTimer = null;
    // This function is called when a name tag is clicked, it displays the contextmenu for a given item.
    function Clicked(event, contextMenuId) {
    if (!_onLink) {
    ClearTimeouts();
    SelectContextMenuFromColletion(contextMenuId);
    _itemSelected = true;
    // **Cross browser compatibility code**
    // Some browsers will not pass the event so we need to get it from the window instead.
    if (event == null)
    event = window.event;
    var selectedElement = event.target != null ? event.target : event.srcElement;
    var outerTableElement = GetOuterElementOfType(selectedElement, 'table');
    var elementPosition = GetElementPosition(outerTableElement);
    _selectedItemId = outerTableElement.id;
    // chris edit - _selectedIdHiddenField.value = outerTableElement.value;
    _selectedIdHiddenField.value = outerTableElement.attributes["value"].value;
    outerTableElement.className = "msrs-SelectedItem";
    ResetContextMenu();
    var contextMenuHeight = _divContextMenu.offsetHeight;
    var contextMenuWidth = _divContextMenu.offsetWidth;
    var boxHeight = outerTableElement.offsetHeight;
    var boxWidth = outerTableElement.offsetWidth;
    var boxXcoordinate = elementPosition.left;
    var boxYcooridnate = elementPosition.top;
    var pageWidth = 0, pageHeight = 0;
    // **Cross browser compatibility code**
    if (typeof (window.innerWidth) == 'number') {
    //Non-IE
    pageWidth = window.innerWidth;
    pageHeight = window.innerHeight;
    } else if (document.documentElement && (document.documentElement.clientWidth || document.documentElement.clientHeight)) {
    //IE 6+ in 'standards compliant mode'
    pageWidth = document.documentElement.clientWidth;
    pageHeight = document.documentElement.clientHeight;
    } else if (document.body && (document.body.clientWidth || document.body.clientHeight)) {
    //IE 4 compatible
    pageWidth = document.body.clientWidth;
    pageHeight = document.body.clientHeight;
    // **Cross browser compatibility code**
    var iebody = (document.compatMode && document.compatMode != "BackCompat") ? document.documentElement : document.body
    var pageXOffSet = document.all ? iebody.scrollLeft : pageXOffset
    var pageYOffSet = document.all ? iebody.scrollTop : pageYOffset
    _divContextMenu.style.left = SetContextMenuHorizonatalPosition(pageWidth, pageXOffSet, boxXcoordinate, contextMenuWidth, boxWidth) + 'px';
    _divContextMenu.style.top = SetContextMenuVerticalPosition(pageHeight, pageYOffSet, boxYcooridnate, contextMenuHeight, boxHeight) + 'px';
    ChangeOpacityForElement(100, _divContextMenu.id);
    // chris edit - document.getElementById(_currentContextMenuId).firstChild.focus();
    firstChildNoWS(document.getElementById(_currentContextMenuId)).focus();
    // Context menu keyboard navigation
    // Opens context menu via keyboard. Context menu
    // is opened by selecting an item and pressing
    // Alt + Down.
    function OpenMenuKeyPress(e, contextMenuId)
    // Alt key was pressed
    if (e.altKey)
    var keyCode;
    if (window.event)
    keyCode = e.keyCode;
    else
    keyCode = e.which;
    // Down key was pressed
    if (keyCode == 40)
    // Open context menu.
    Clicked(event, contextMenuId);
    // Highlight the first selectable item
    // in the context menu.
    HighlightContextMenuItem(true);
    // Performs keyboard navigation within
    // opened context menu.
    function NavigateMenuKeyPress(e)
    var keyCode;
    if (window.event)
    keyCode = e.keyCode;
    else
    keyCode = e.which;
    // Down key moves down to the next context menu item
    if (keyCode == 40)
    HighlightContextMenuItem(true);
    // Up key moves up to the previous context menu item
    else if (keyCode == 38)
    HighlightContextMenuItem(false);
    // Escape key closes context menu
    else if (keyCode == 27)
    // Close context menu
    UnSelectedMenuItem();
    // Make sure focus is given to the catalog item
    // in the folder view.
    document.getElementById(_selectedItemId).focus();
    // Highlights context menu item.
    // Parameter: highlightNext
    // - If true, highlights menu item below current menu item.
    // If current menu item is the last item, wraps around and
    // highlights first menu item.
    // - If false, highlights menu item above current menu item.
    // If current menu item is the first item, wraps around and
    // highlights last menu item.
    function HighlightContextMenuItem(highlightNext)
    var contextMenu = document.getElementById(_currentContextMenuId);
    // chris edit - var table = contextMenu.lastChild;
    var table = lastChildNoWS(contextMenu);
    var currentMenuItemIndex = -1;
    if (_currentMenuItemId != null)
    currentMenuItemIndex = document.getElementById(_currentMenuItemId).parentNode.rowIndex;
    var index = currentMenuItemIndex;
    while (true)
    if (highlightNext)
    index++;
    // If the index is out of range,
    // reset it to the beginning
    if (index < 0 || index >= table.cells.length)
    index = 0;
    else
    index--;
    // If the index is out of range,
    // reset it to the end
    if (index < 0 || index >= table.cells.length)
    index = table.cells.length - 1;
    // Each context menu item has an associated
    // group ID. Make sure the table cell has a valid
    // group ID, otherwise it is not a menu item (e.g.
    // an underline separator).
    if (table.cells[index].group >= 0)
    FocusContextMenuItem(table.cells[index].id, 'msrs-MenuUIItemTableHover', 'msrs-MenuUIItemTableCell');
    break;
    // If we reach the orignal index, that means we looped
    // through all table cells and did not find a valid context
    // menu item. In that case, stop searching.
    if (index == currentMenuItemIndex)
    break;
    // *** End keyboard navigation ***
    // This function resets the context menus shape and size.
    function ResetContextMenu() {
    _divContextMenu.style.height = 'auto';
    _divContextMenu.style.width = 'auto';
    _divContextMenu.style.overflowY = 'visible';
    _divContextMenu.style.overflowX = 'visible';
    _divContextMenu.style.overflow = 'visible';
    _divContextMenu.style.display = 'block';
    // This function sets the horizontal position of the context menu.
    // It also sets is the context menu has vertical scroll bars.
    function SetContextMenuHorizonatalPosition(pageWidth, pageXOffSet, boxXcoordinate, contextMenuWidth, boxWidth) {
    var menuXCoordinate = boxXcoordinate + boxWidth - contextMenuWidth;
    var spaceRightBox = (pageWidth + pageXOffSet) - menuXCoordinate;
    var spaceLeftBox = menuXCoordinate - pageXOffSet;
    var returnValue;
    if ((contextMenuWidth < spaceRightBox) && (pageXOffSet < menuXCoordinate)) {
    returnValue = menuXCoordinate;
    else if ((contextMenuWidth < spaceRightBox)) {
    returnValue = pageXOffSet;
    else if (contextMenuWidth < spaceLeftBox) {
    returnValue = menuXCoordinate - (contextMenuWidth - (pageWidth + pageXOffSet - menuXCoordinate));
    else {
    _divContextMenu.style.overflowX = "scroll";
    if (spaceLeftBox < spaceRightBox) {
    _divContextMenu.style.width = spaceRightBox;
    returnValue = pageXOffSet;
    else {
    _divContextMenu.style.width = spaceLeftBox;
    returnValue = menuXCoordinate - (spaceLeftBox - (pageWidth + pageXOffSet - menuXCoordinate));
    return returnValue;
    // This function sets the vertical position of the context menu.
    // It also sets is the context menu has horizontal scroll bars.
    function SetContextMenuVerticalPosition(pageHeight, pageYOffSet, boxYcooridnate, contextMenuHeight, boxHeight) {
    var spaceBelowBox = (pageHeight + pageYOffSet) - (boxYcooridnate + boxHeight);
    var spaceAboveBox = boxYcooridnate - pageYOffSet;
    var returnValue;
    if (contextMenuHeight < spaceBelowBox) {
    returnValue = (boxYcooridnate + boxHeight);
    else if (contextMenuHeight < spaceAboveBox) {
    returnValue = (boxYcooridnate - contextMenuHeight);
    else if (spaceBelowBox > spaceAboveBox) {
    _divContextMenu.style.height = spaceBelowBox;
    _divContextMenu.style.overflowY = "scroll";
    returnValue = (boxYcooridnate + boxHeight);
    else {
    _divContextMenu.style.height = spaceAboveBox;
    _divContextMenu.style.overflowY = "scroll";
    returnValue = (boxYcooridnate - spaceAboveBox);
    return returnValue;
    // This function displays a context menu given its id and then hides the others
    function SelectContextMenuFromColletion(contextMenuConfigString) {
    var contextMenuId = SplitContextMenuConfigString(contextMenuConfigString);
    for (i = 0; i < _contextMenusIds.length; i++) {
    var cm = document.getElementById(_contextMenusIds[i]);
    if (cm.id == contextMenuId) {
    cm.style.visibility = 'visible';
    cm.style.display = 'block';
    _currentContextMenuId = contextMenuId;
    else {
    cm.style.visibility = 'hidden';
    cm.style.display = 'none';
    function SplitContextMenuConfigString(contextMenuConfigString) {
    var contextMenuEnd = contextMenuConfigString.indexOf(":");
    var contextMenuId = contextMenuConfigString;
    var contextMenuHiddenItems;
    if (contextMenuEnd != -1)
    contextMenuId = contextMenuConfigString.substr(0, contextMenuEnd);
    var cm = document.getElementById(contextMenuId);
    // chris edit - var table = cm.firstChild;
    var table = firstChildNoWS(cm);
    var groupItemCount = []; // The items in each group
    var groupUnderlineId = []; // The Id's of the underlines.
    // Enable all menu items counting the number of groups,
    // number of items in the groups and underlines for the groups as we go.
    // start chris edit
    /* for (i = 0; i < table.cells.length; i++)
    table.cells[i].style.visibility = 'visible';
    table.cells[i].style.display = 'block'
    if ((groupItemCount.length - 1) < table.cells[i].group) {
    groupItemCount.push(1);
    groupUnderlineId.push(table.cells[i].underline);
    else {
    groupItemCount[table.cells[i].group]++;
    AlterVisibilityOfAssociatedUnderline(table.cells[i], true)
    if (table != null && table.rows != null)
    for (r = 0; r < table.rows.length; r++) {
    for (i = 0; i < table.rows[r].cells.length; i++)
    table.rows[r].cells[i].style.visibility = 'visible';
    table.rows[r].cells[i].style.display = 'block'
    if ((groupItemCount.length - 1) < table.rows[r].cells[i].group) {
    groupItemCount.push(1);
    groupUnderlineId.push(table.rows[r].cells[i].underline);
    else {
    groupItemCount[table.rows[r].cells[i].group]++;
    AlterVisibilityOfAssociatedUnderline(table.rows[r].cells[i], true)
    // end chris edit
    // If hidden items are listed, remove them from the context menu
    if (contextMenuEnd != -1)
    contextMenuHiddenItems = contextMenuConfigString.substr((contextMenuEnd + 1), (contextMenuConfigString.length - 1)).split("-");
    var groupsToHide = groupItemCount;
    // Hide the hidden items
    for (i = 0; i < contextMenuHiddenItems.length; i++)
    var item = document.getElementById(contextMenuHiddenItems[i]);
    item.style.visibility = 'hidden';
    item.style.display = 'none'
    groupsToHide[item.group]--;
    var allHidden = true;
    // Work back through the groups hiding the underlines as required.
    for (i = (groupsToHide.length - 1); i > -1; i--) {
    if (groupsToHide[i] == 0) {
    AlterVisibilityOfAssociatedUnderline(groupUnderlineId[i], false);
    else if (allHidden && i == (groupsToHide.length - 1)) {
    allHidden = false;
    // If all the items have been hidden so far hide the last underline too.
    else if (allHidden) {
    allHidden = false;
    AlterVisibilityOfAssociatedUnderline(groupUnderlineId[i], false);
    return contextMenuId;
    function AlterVisibilityOfAssociatedUnderline(underLineId, visibility) {
    if (underLineId != null && underLineId != "") {
    var underlineElement = document.getElementById(underLineId);
    if (underlineElement != null) {
    if (visibility) {
    underlineElement.style.visibility = 'visible';
    underlineElement.style.display = 'block'
    else {
    underlineElement.style.visibility = 'hidden';
    underlineElement.style.display = 'none'
    function ClearTimeouts() {
    if (_fadeTimeouts != null) {
    for (i = 0; i < _fadeTimeouts.length; i++) {
    clearTimeout(_fadeTimeouts[i]);
    _fadeTimeouts = [];
    // This function chnages an elements opacity given its id.
    function FadeOutElement(id, opacStart, opacEnd, millisec) {
    ClearTimeouts();
    //speed for each frame
    var speed = Math.round(millisec / 100);
    var timer = 0;
    for (i = opacStart; i >= opacEnd; i--) {
    _fadeTimeouts.push(setTimeout("ChangeOpacityForElement(" + i + ",'" + id + "')", (timer * speed)));
    timer++;
    // This function changes the opacity of an elemnent given it's id.
    // Works across browsers for different browsers
    function ChangeOpacityForElement(opacity, id) {
    var object = document.getElementById(id).style;
    if (opacity != 0) {
    // **Cross browser compatibility code**
    object.opacity = (opacity / 100);
    object.MozOpacity = (opacity / 100);
    object.KhtmlOpacity = (opacity / 100);
    object.filter = "alpha(opacity=" + opacity + ")";
    else {
    object.display = 'none';
    // This function is the click for the body of the document
    function ContextMouseDown() {
    if (_mouseOverContext) {
    return;
    else {
    HideMenu()
    // This function fades out the context menu and then unselects the associated name control
    function UnSelectedMenuItem() {
    if (_itemSelected) {
    FadeOutElement(_divContextMenu.id, 100, 0, 300);
    UnselectCurrentMenuItem();
    // Hides context menu without fading effect
    function HideMenu()
    if (_itemSelected)
    ChangeOpacityForElement(0, _divContextMenu.id);
    UnselectCurrentMenuItem();
    function UnselectCurrentMenuItem()
    _itemSelected = false;
    _currentContextMenuId = null;
    SwapStyle(_currentMenuItemId, 'msrs-MenuUIItemTableCell');
    _currentMenuItemId = null;
    ChangeReportItemStyle(_selectedItemId, "msrs-UnSelectedItem");
    // This function walks back up the DOM tree until it finds the first occurrence
    // of a given element. It then returns this element
    function GetOuterElementOfType(element, type) {
    while (element.tagName.toLowerCase() != type) {
    element = element.parentNode;
    return element;
    // This function gets the corrdinates of the top left corner of a given element
    function GetElementPosition(element) {
    element = GetOuterElementOfType(element, 'table');
    var left, top;
    left = top = 0;
    if (element.offsetParent) {
    do {
    left += element.offsetLeft;
    top += element.offsetTop;
    } while (element = element.offsetParent);
    return { left: left, top: top };
    function FocusContextMenuItem(menuItemId, focusStyle, blurStyle)
    SwapStyle(_currentMenuItemId, blurStyle);
    SwapStyle(menuItemId, focusStyle);
    // chrid edit - document.getElementById(menuItemId).firstChild.focus();
    firstChildNoWS(document.getElementById(menuItemId)).focus();
    _currentMenuItemId = menuItemId;
    // This function swaps the style using the id of a given element
    function SwapStyle(id, style) {
    if (document.getElementById) {
    var selectedElement = document.getElementById(id);
    if (selectedElement != null)
    selectedElement.className = style;
    // This function changes the style using the id of a given element
    // and should only be called for catalog items in the tile or details view
    function ChangeReportItemStyle(id, style)
    if (!_itemSelected)
    if (document.getElementById)
    var selectedElement = document.getElementById(id);
    selectedElement.className = style;
    // Change the style on the end cell by drilling into the table.
    if (selectedElement.tagName.toLowerCase() == "table")
    // chris edit - var tbody = selectedElement.lastChild;
    var tbody = lastChildNoWS(selectedElement);
    if (tbody != null)
    // chris edit - var tr = tbody.lastChild;
    var tr = lastChildNoWS(tbody);
    if (tr != null)
    // chris edit - tr.lastChild.className = style + 'End';
    trLastChild = lastChildNoWS(tr);
    if (trLastChild != null)
    trLastChild.className = style + 'End';
    function ChangeReportItemStyleOnFocus(id, currentStyle, unselectedStyle)
    _unselectedItemStyle = unselectedStyle;
    _tabFocusedItem = id;
    // We should unselect selected by mouse over item if there is one
    if(_mouseOverItem != '')
    ChangeReportItemStyle(_mouseOverItem, _unselectedItemStyle);
    _mouseOverItem = '';
    ChangeReportItemStyle(id, currentStyle);
    function ChangeReportItemStyleOnBlur(id, style)
    ChangeReportItemStyle(id, style);
    _tabFocusedItem = '';
    function ChangeReportItemStyleOnMouseOver(id, currentStyle, unselectedStyle)
    _unselectedItemStyle = unselectedStyle;
    _mouseOverItem = id;
    // We should unselect tabbed item if there is one
    if(_tabFocusedItem != '')
    ChangeReportItemStyle(_tabFocusedItem, _unselectedItemStyle);
    _tabFocusedItem = '';
    ChangeReportItemStyle(id, currentStyle);
    function ChangeReportItemStyleOnMouseOut(id, style)
    ChangeReportItemStyle(id, style);
    _mouseOverItem = '';
    // This function is used to set the style of the search bar on the onclick event.
    function SearchBarClicked(id, defaultText, style) {
    var selectedElement = document.getElementById(id);
    if (selectedElement.value == defaultText) {
    selectedElement.value = "";
    selectedElement.className = style;
    // This function is used to set the style of the search bar on the onblur event.
    function SearchBarBlured(id, defaultText, style) {
    var selectedElement = document.getElementById(id);
    if (selectedElement.value == "") {
    selectedElement.value = defaultText;
    selectedElement.className = style;
    function ResetSearchBar(searchTextBoxID,defaultSearchValue) {
    var selectedElement = document.getElementById(searchTextBoxID);
    if (selectedElement != null) {
    if (selectedElement.value == defaultSearchValue) {
    selectedElement.className = 'msrs-searchDefaultFont';
    else {
    selectedElement.className = 'msrs-searchBarNoBorder';
    function OnLink()
    _onLink = true;
    function OffLink()
    _onLink = false;
    function ShouldDelete(confirmMessage) {
    if (_selectedIdHiddenField.value != null || _selectedIdHiddenField.value != "") {
    var message = confirmMessage.replace("{0}", _selectedIdHiddenField.value);
    var result = confirm(message);
    if (result == true) {
    return true;
    else {
    return false;
    else {
    return false;
    function UpdateValidationButtonState(promptCredsRdoBtnId, typesDropDownId, forbiddenTypesConfigString, validateButtonId)
    var dropdown = document.getElementById(typesDropDownId);
    if(dropdown == null)
    return;
    var selectedValue = dropdown.options[dropdown.selectedIndex].value;
    var forbiddenTypes = forbiddenTypesConfigString.split(":");
    var chosenForbiddenType = false;
    for (i = 0; i < forbiddenTypes.length; i++)
    if(forbiddenTypes[i] == selectedValue)
    chosenForbiddenType = true;
    var isDisabled = chosenForbiddenType || IsRadioButtonChecked(promptCredsRdoBtnId);
    ChangeDisabledButtonState(validateButtonId, isDisabled);
    function ChangeDisabledButtonState(buttonId, isDisabled)
    var button = document.getElementById(buttonId);
    if(button != null)
    button.disabled = isDisabled;
    function IsRadioButtonChecked(radioButtonId)
    var rbtn = document.getElementById(radioButtonId);
    if(rbtn != null && rbtn.checked)
    return true;
    return false;
    For More info refer this
    http://stackoverflow.com/questions/7837259/ssrs-report-manager-javascript-fails-in-non-ie-browsers-for-drop-down-menus

  • IE Script error when double clicking on a view in Abap Webdynpro component

    Hello experts,
    I am running mini SAP trial version 2004 with Internet explorer 7.0 and also installed gui patch 23.
    I am making a sample application in SE80 and when double clicking on a view in Abap Webdynpro component I get following error:
    <b>Internet Explorer Script Error</b>
    An error has occured in the script on this page.
    Line: 1
    Char: 1
    Error: 'wdp_show_menu' is undefined
    Code: 0
    URL: http://satellite5200:8000/sap/bc/wdvd/painting.html?_vdrespkey=EOJ6V1JQMX0VLTQ7AP6DQM64Y&_vdframe=painting&sap-client=000
    Do you want to continue running scripts on this page?
    Thanks in advance.
    Bhupendra

    Hi Bhupendra,
       If you are seeing this error in the Se 80 editor , i guess you can ignoire that ...While running the application it will not show any error.
    Thanks
    Anzy

  • When I try to use the print/save as pdf option, I get a scripting error and Firefox usually freezes.

    On my MacBook Pro running OS 10.5.8 and Firefox 3.6.13, I am trying to save documents as pdfs under the print window, I get a scripting error and Firefox usually freezes/becomes nonresponsive. This happens every time I tried to perform this task.

    This is a fresh install of Windows 7.  It is installed on virtual environment on my mac mini using the parallels virtualization application.
    I purchased the windows version of dream weaver CS 6 through an online website which I tried to install to my new windows instance.   This is the academic version of the Dreamweaver application with a perpetual license that I am trying to install.
    I verified my eligibility through adobe which gave me a link to download the CreateiveCloud Set-up program.  I downloaded the install program in my windows environment and program and the gave the above error message.  Below is a copy of my computers specs. 

Maybe you are looking for

  • Security Deposit - Horrible Costumer service

    Let me tell about my horrible story in with verizon Service. I have taken verizon triple play two year plan and cancelled my service within 1 month of satisfaction period and it has been two months and i have not recieved my security deposit i have p

  • Captivate 4 ACE Prep Materials

    Hi Folks, I am trying to find quality prep materials for the Captivate ACE test.  There are numerous outlets for Captivate 3 but only 2 for Captivate 4 and they appear to be brain dumps rather than a quality prep package.  Do you think that the Capti

  • Itunes sharing with no access to previous computer.

    My previous macbook pro doesn't work any longer.  I just purchased a new macbook air.  When attempting to log into itunes and retrieve my music - itunes is telling me that i need to allow this computer to access my music.How do i do that with no acce

  • Scans from HP Scanjet 4070 save as horizontal black/whit​e bands in Mac OS X 10.9.4

    Using H-P's latest software "HP Scan" v2.4.4 and running under Mac OS X 10.9.4 "Mavericks," the sacnning software and the scanner work perfectly, UNTIL "Save" is clicked. The resulting file is a series of horizontal balck and white bands. Changing re

  • PL/SQL errors

    where could I find a complete reference for error messages