Network Utilization script throws error after re-executing

Hi everyone, I have a piece of code that finds the network util of a fileserver and if it is over 75% it stops executing the script. The script works the first time but after re-executing it, it throws an error. I've tried to null out all the variables I'm
using but it still won't work. Any help is appreciated! Thanks!
Code:
#Determines NIC utilization
$interfacebw = $null
$intbwbytes =$null
$currentbytespersec = $null
$linkutil = $null
Write-Host "Determining File Server Network Utilization.."
$interfacebw = Get-WmiObject -class Win32_PerfFormattedData_Tcpip_NetworkInterface -ComputerName tsvc2552101x001 | where {$_.Name -eq "Broadcom NetXtreme Gigabit Ethernet"} |select CurrentBandwidth
$intbwbytes = $interfacebw.currentbandwidth /8
$currentbytespersec = Get-WmiObject -class Win32_PerfFormattedData_Tcpip_NetworkInterface -ComputerName tsvc2552101x001 | where {$_.Name -eq "Broadcom NetXtreme Gigabit Ethernet"} |select BytesTotalPersec
[int]$currentbytespersec = $currentbytespersec.bytestotalpersec
if($currentbytespersec -le 0){
[int]$linkutil = 0
}else{
[int]$linkutil = ($currentbytespersec / $intbwbytes) * 100
#if NIC util is over 75 then it closes program
if($linkutil -gt 75){
$wshell.Popup("Network utilization over 75%, please try again later.",0,"Error",0x1) | Out-Null
$formSoftwareInstaller.Close()
return
Error:
Cannot convert value "@{BytesTotalPersec=3560}" to type "System.Int32". Error: "Cannot convert the "@{BytesTotalPersec=3560}" value of type "Selected.System.Management.ManagementObject" to type "System.Int32"."
At C:\Users\cody-horton\Desktop\Software Installer.ps1:406 char:9
+ $currentbytespersec = Get-WmiObject -class Win32_PerfFormattedData_Tcpip ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : MetadataError: (:) [], ArgumentTransformationMetadataException
+ FullyQualifiedErrorId : RuntimeException

This is all you need to do.  You are way over coding this.
Write-Host "Determining File Server Network Utilization.."
$perfdata=Get-WmiObject -class Win32_PerfFormattedData_Tcpip_NetworkInterface -ComputerName tsvc2552101x001 -Filter 'Name="Broadcom NetXtreme Gigabit Ethernet"'
$intbwbytes=$perfdata.currentbandwidth/8
$currentbytespersec=$perfdata.BytesTotalPersec
#if NIC util is over 75 then it closes program
if(($currentbytespersec / $intbwbytes) -gt .75){
$wshell.Popup("Network utilization over 75%, please try again later.",0,"Error",0x1) | Out-Null
$formSoftwareInstaller.Close()
return
¯\_(ツ)_/¯

Similar Messages

  • First I got a wrong password for the network and the application error after a while that I wanted to enter the correct password no longer have access to network settings

    First I got a wrong password for the network and the application error after a while that I wanted to enter the correct password no longerhave access to network settings

    Unfortunately, it says I can't delete anything without the missing password.

  • [Windows] file.url throw error when application executable in root directory

    Here is the bugbase ticked: Bug#3940278 - [Windows] file.url throw error when application executable in root directory
    If you launch AIR application packaged as bundle from root directory and try to get url property of any file you get IllegalOperationError.
    No matter what file url property you try to get.
    It's a big problem when you distribute your application on CD disks or flash drive.
    I'd like to ask everyone affected by this issue to take a minute and vote for the following bug.
    Thanks.

    I checked all deployment descriptions and there are no references to t3://localhost:7001. Few months back, I had the complete clustering setup working on 2 machines and now when I deploy my application on same configuration, it fails with t3://localhost:7001 unreachable error. I created a new cluster configuration on one machine with 2 managed server and it deploys fine. Can not figure out what has changed ?

  • Script throwing error" Object required: 'API'

    Hi All,
    We need help in one issue. We have following script which is running fine when we ran it from script editor, but when use this as expression in import format is throwing error
    Error: An error occurred importing the file.
    Detail: Object required: 'API'
    At line: 12
    Script:
    Function ME_to_LE(strField, strRecord)
    ME_to_LE =API.SqlMgr.fMapItemLookup (749, "UD8", Left(strField,3))
    End Function
    We have created few other Scripts which are running fine and producing required result when we check them with MsgBox. But when we are using these scripts in import format it is saying: Object required: 'API'
    IF I can not use API object in import script, how can I process multiple column with one script. We need to derive three-four column based on one input column and we don't want to write separate import script for each column. How and where we can write this script?
    Are we missing any step? Any help will be highly appreciated. Looks I asked long question :)
    Thanks,
    Shivendra
    Edited by: shiv2 on Sep 16, 2011 9:30 AM
    Edited by: shiv2 on Sep 16, 2011 10:36 AM

    Hi Robb,
    "It looks like you and James are on the same project" That is correct.
    OK. In requirment we have three-four column based on these column we need to derive few other column. We want to do spilitting and validation in Import itself. This is mainly a Validation requirment.
    There is one column which may have 12,13,14,17 or any other number of character in it. first three will represent one dimension but exact value be a mapped result based on these three digits.
    There are many validation based on the number on charaters and most importantly we don't want to process other column is validation get failed at any stage.
    Do we have anything like Import Action? Probably we want to change that script. Or if we can write something like integration script. We need every column to be processed in one shot.
    I don't think it is self explantry. Can we have your email please?
    Thanks,
    Shivendra
    Edited by: shiv2 on Sep 16, 2011 8:52 PM

  • BPEL......  On Alram Branch not throwing error after the set time

    Hi,
    In SOA 10.1.3.4 BPEL process , i have a asynchronous process which Invokes a Partnerlink and waits in the Recieve Activity. The OnAlarm branch set here waits for 2 hrs, after which the scope throws that Global fault.
    I have observed that for some instances, the OnAlarm Branch does not throw error even after about 24 hrs ( though the OnAlarm is set to 2 hrs )
    Is this a prodcut defect or something to do with thread level issues ?
    Thanks & Regards,
    Md Yaqoob.
    Edited by: Sam9999 on Oct 6, 2010 5:33 PM

    Hi,
    We did not talk to Oracle last week, but hope to do so this week via web conference. According to Oracle support, the version and patch level we are on should not have the problem we are encountering. Both the Oracle constant and support have been unable to replicate the error when they attempt to recreate our setup on their own servers.
    We can produce this issue 100% of the time, on a server with no load at all. it is a brand new environment for development use to which we have deployed the latest versions of our flows. I have deployed a simple flow containing just a Wait 15 minutes, and any instances in flight when I restart BPEL do not wake-up on time. Very occassionally, instances that previously failed to wake after a restart do wake after subsequent restarts, but that is not 100% of the time.
    Hope to conference with Oracle on Wednesday.
    Anit

  • ADC PHP enabling shell script throws errors

    Hi, guys.
    I recently tried to enable PHP on my MacBook Pro.
    I speak some bash, but no AppleScript.
    On the Apple Developer Center they write you a little script to enable PHP, which failed repeatedly before numerous edits by me. I eventually massaged the script to work, but I want to understand *why* the script didn't work.
    The code they give is as follows (and you can find it here: http://developer.apple.com/mac/articles/internet/phpeasyway.html):
    set admin_email to (do shell script "defaults read AddressBookMe ExistingEmailAddress")
    user_www=$HOME/Sites
    filename=php-test
    user_index=${user_www}/${filename}.php
    user_db=${user_www}/${filename}-db.sqlite3
    # NOTE: Having a writeable database in your home directory can be a security risk!
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print \$2}'| sed 's/"//g'`
    conf_old=$conf.$$
    conf_new=/tmp/php_conf.new
    touch $user_db
    chmod a+r $user_index
    chmod a+w $user_db
    chmod a+w $user_www
    echo "Enabling PHP in $conf ..."
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed
    "s^[email protected]^\$admin_email^" > $conf_new
    echo "(Re)Starting Apache ..."
    osascript <<EOF
    do shell script "/bin/mv -f $conf $conf_old; /bin/mv $conf_new $conf;
    /usr/sbin/apachectl restart" with administrator privileges
    EOF
    Here are where this code throws errors for me:
    First:
    set admin_email to (do shell script "defaults read AddressBookMe ExistingEmailAddress")
    I don't even recognize the shell syntax that this would work in. It's sort of csh like. Is this AppleScript?
    Anyway, OS X bash chokes on this at the first '(' and I changed it to:
    admin_email=`defaults read AddressBookMe ExistingEmailAddress`
    which works just fine.
    Second:
    chmod a+r $user_index
    I have no idea how his is supposed to work without 'touch $user_index'
    I added:
    touch $user_index
    to the script.
    Third:
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print \$2}'| sed 's/"//g'`
    Okay, this actually *works*, but I don't know why it should. In my book, it should choke on the \$2, because the \ is invalid.
    I've left it because it works and if it works it isn't wrong, but I would have written:
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG_FILE/ {print $2}' | sed 's/"//g'`
    which I've tested and also works.
    I'd like to know why Apple's first line works.
    Fourth:
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed "s^[email protected]^\$admin_email^" > $conf_new
    The error here is that:
    sed "s^[email protected]^\$admin_email^"
    doesn't replace [email protected] with the contents of $admin_email.
    I don't know what the and are supposed to do, but this just replaces the string '[email protected]' with the string '\$admin_email'
    I replaced this with:
    sed 's^[email protected]^'$admin_email'^'
    This gives me a final script of:
    #!/bin/sh
    admin_email=`defaults read AddressBookMe ExistingEmailAddress`
    user_www=$HOME/Sites
    filename=php-test
    user_index=${user_www}/${filename}.php
    user_db=${user_www}/${filename}-db.sqlite3
    conf=`apachectl -V | awk -F= '/SERVER_CONFIG/ {print $2}'| sed 's/"//g'`
    conf_old=$conf.$$
    conf_new=/tmp/php_conf.new
    touch $user_index
    touch $user_db
    chmod a+r $user_index
    chmod a+w $user_db
    chmod a+w $user_www
    echo "Enabling PHP in $conf ..."
    sed '/#LoadModule php5_module/s/#LoadModule/LoadModule/' $conf | sed 's^[email protected]^'$admin_email'^' > $conf_new
    echo "(Re)Starting Apache..."
    osascript <<EOF
    do shell script "/bin/mv -f $conf $conf_old; /bin/mv $conf_new $conf; /usr/sbin/apachectl restart" with administrator privileges
    EOF
    which works just fine.
    But I'm still confused - why did ADC have a code snippet that could have never worked? Or am I missing something obvious?
    - Nathan

    Hey, RanjeetJones!
    You're probably right - it's a lot of code to uncomment a line and change the administrator setting.
    And the first time I set up PHP, I just found and edited the config file.
    But the script had me so confounded I went back to troubleshoot it and got all wrapped up in why it ended up that way.
    And this will help the next coder who wants to learn PHP and maybe doesn't speak bash.
    - Nathan

  • FR Studio started throwing error after environment restart

    Hi All,
    We have distributed Hyperion EPM installation (Version 11.1.2.0) in windows and repository resides in MS sql server.
    It is quite stable environment and everything was working fine till sometime back .
    However, recently these windows servers got patched (some OS level patching) and post that we restarted our services , FR studio started throwing error while connecting:
    "You are not authorized to use this functionality "
    We checked the services and verified if there is any issue on port or firewall level but there was none.
    Also while logging to workspace users get this message 'The startup document specified doesn't exist in the repository'.
    Just wondering what could cause this issue and how to troubleshoot this as nothing has changed in environment aprat from windows patching.
    Please suggest.
    Thanks

    We could get the issue fixed by adding some additional entries in host files of foundation server and FR server.
    In the server where we have FR server installed , we found log file  'registry' at E:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\  and got the hint that server was trying to communicate with wrong host name (not sure why) which actually don't exist in our environment.
    Once we mapped that incorrect host names in host files to the correct host name and ip in host files of servers, issue got resolved.
    Now we would be finding why servers started to refer other server with wrong host name and to fix that we had to explicitly add entries to host files which was not the case earlier.
    Thanks again.

  • "Stop running the script?" error after power-up and before starting Firefox

    I have a Windows 7 x64 Enterprise system with Firefox 10.0.02. I'm getting the error
    ''''''Stop running this script?'''
    '''A script on this page is causing your web browser to run slowly. If it continues to run, your computer may become unresponsive''''''
    after I power up my PC, but before I open Firefox.
    The error message, of course, does not identify what "this page" is, or tell anything about the script. The error message doesn't even say it's from Firefox (or Internet Explorer, for that matter).
    I've done a virus scan, a spyware scan, and an adware scan, but the error keeps popping up.
    Everything I've found on the web about this error assumes the problem is with Internet Explorer, but I don't use IE.
    Suggestions?
    Thanks.

    Start/All programs/Startup has only McAfee Security Scan Plus. After power-up, clicking on Show Hidden Icons lists Sound Effect, McAfee Total Protection, Spybot-SD Resident, Ad-Aware, and a flag labeled "Solve PC issues: 1 message".
    If I click the flag, it opens Windows Backup Troubleshooting Options. The message is "Check your backup settings. Windows cannot find the disk or network location where your backups are being saved". There are two options -- Change backup settings and Try to run backup again.
    This is because I do not usually have the external herd drive I use for backup attached. I ignore this message.
    Also, Sql Server 2008 R2 and Oracle 11gR2 start up, along with IIS. I use this PC for various courses.
    FWIW, I've attached screen grabs of the Services and Processes from Windows Task Manager.
    Thanks.

  • Remote connection to folder applescript throwing error after 10.6.7 update

    I have the following applescript steps that have worked perfectly until we updated the two server machines it runs between (one is a file server, the other is a client machine running filemaker server):
    --set initial values to the filesystem variables
    set lstServer to "FileServer.local"
    set lstFolder to "Files/Automated"
    set lstSubfolder to "EventsReporter"
    set lstAccountName to "*****"
    set lstAccountPassword to "*****"
    --this builds the connection string
    set lstAFP to "afp://" & lstAccountName & ":" & lstAccountPassword & "@" & lstServer & "/" & lstFolder & "/" & lstSubfolder & "/"
    --this is what the local computer will recognize as the mounted folder
    set mountedFolder to lstSubfolder & ":"
    --this behaves as both prefix filter and as the name of the subdirectory under the local Documents folder
    set lstPrefix to "DVER"
    repeat with idx from 1 to 3
    set ping_result to (do shell script "ping -c 1 " & lstServer)
    if ping_result contains "100% packet loss" then
    delay 3
    else
    exit repeat
    end if
    end repeat
    if idx ≥ 3 then return -1
    --call the Finder application
    --try
    tell application "Finder"
    activate
    --check to see if the volume/folder is already mounted & if not then mount it
    if not (exists mountedFolder) then
    try
    mount volume lstAFP
    on error
    return -1
    end try
    end if
    --get a list of files in the remote folder & get a count of them
    set mountedFolderRef to folder mountedFolder
    The script now fails on the last step whereas it never did before:
    set mountedFolderRef to folder mountedFolder
    with the error:
    error "Finder got an error: Can’t get folder \"EventsReporter:\"." number -1728 from folder "EventsReporter:"
    This script must run without user intervention. What changed and where is it documented?? This has to be fixed, I cannot spare the time to continue to periodically move these files manually. This runs in two separate scripts with the only difference being the subfolder name and both have failed simultaneously. I am not very good with applescript and I do not know how to fix this newest issue.
    Someone please help!

    Thank you for your reply
    Actually, the situation has resolved itself. What we believe to be the case after having watched this error unfold itself, is that with file and/or filesystem level changes that may have been instituted for certain corrections to how it handles SMB, we feel that there may have been a background process crawling through the filesystem slowly making those changes file-by-file or sector-by-sector.
    I would watch one portion of the remote access script work, then not work, then another quit working. Then after several hours they each can back online without error, one by one.
    (* beginning of rant ...
    It would have been nice to have a little notice about whatever was causing this issue so I didn't have to waste most of a day crawling the web for answers and tweaking various portions of a test script to see what now did work and what did not.
    Ah, well. I suppose I should be used to such by now with apple :/
    Am I being a dinosaur or can anyone else remember a day when complete documentation for a product was available with the product or by purchasing a relatively inexpensive reference book? These days it seems as though, where useful information is even available, it is only after many months after a product has come out and then it is at a premium. Even then most of it is only a surface description.
    ... end of rant *)

  • BizTalk : MQSeries adapter throwing error after 30 minutes idle time

    We have BizTalk and windows MQSeries on separate servers. As long someone logged on to MQseries server, BizTalk able to communicate with MQSeries server and able to receive and send messages to MQs.  If there is no session active on MQSeries server,
    after 30 minutes BizTalk strat throwing following error.  Once you log back to MQSeries server, it will work 30 more minutes.
      Error: The adapter "MQSeries" raised an error message. Details "Retrieving the COM class factory for remote component with CLSID {....} from machine 192.... faied due to the following error : 8000401a 192....
    Has any one encountered similar issue? 
    Thanks,
    Chirag

    Hi,
    This seems to be permission issue. Please refer the similar thread
    http://social.msdn.microsoft.com/Forums/en-US/biztalkgeneral/thread/13427a41-edd7-45fc-9d43-69838720d923
    http://www.biztalkgurus.com/biztalk_server/biztalk_2006/f/10/p/5085/26750.aspx
    Hope it can help you

  • Jco call rfc throws error after WAS upgrade sp15

    Hi all.
    When 2 days ago, our WAS engine version is sp14.
    And we have one application using jco library to connect to SAP R/3. It works well.
    After we upgrade WAS to sp15.
    This function throws out the error.
    Umrechnungsfaktor konnte nicht bestimmt werden
    Is there anybody can help me ? Its very urgent !

    Hi
    A)Go to adming page http://<localhost>:<port> >>click Web Dynpro >>Content admin >> create, maintain, test Jco and also you can Test the SLD connection too
    B)If you are using any JDBC driver,Check your JDBC driver is registered. or else you have register it
    1. Start the Visual Admin tool
    2. In the tab Cluster, open the node of the server you want to check.
    3. Open the node Services under the server you want to check.
    4. Click on the entry ClassLoader Viewer under Services. 5. The components are displayed in the right window. Open the node Applications in the right window.
    6. Look for the entry sap.com/com.sapportals.connectors.database and click on it.
    Under sap.com/com.sapportals.connectors.database, your JDBC driver should be available
    Cheers
    Jawahar Govindaraj
    PS: Reward points

  • Script Gets Error After Upgrading to Snow Leopard

    Hi, everyone - I have several Applescripts I'm running that mostly import Entourage emails into Filemaker Pro (retrieving data from forms submitted) - everything worked fine until I upgraded to Snow Leopard recently! I need to get this working ASAP since a client is waiting on it and I have no idea what I need to change to make it work! I'm getting the following error now upon the import of the 1st email:
    error "Can’t get text item 1 of \"\"." number -1728 from text item 1 of ""
    I will post the script below. ANY help so greatly appreciated!!
    - Jacki
    =============
    activate application "Microsoft Entourage"
    -- get messages from Entourage
    tell application "Microsoft Entourage"
    set mail_count to count message of folder "Mailing List" of folder "Judith's Site" of folder "OO Mail" of folder "Inbox"
    set query_number to 0
    if mail_count > 0 then
    repeat with i from 1 to mail_count
    try
    set subject_field to subject of message i of folder "Mailing List" of folder "Judith's Site" of folder "OO Mail" of folder "Inbox"
    set the_months to "January February March April May June July August September October November December"
    set message_date to time sent of message i of folder "Mailing List" of folder "Judith's Site" of folder "OO Mail" of folder "Inbox"
    set mess_year to year of message_date as string
    set mess_day to day of message_date as string
    set day_count to count characters in mess_day
    if day_count = 1 then set mess_day to "0" & mess_day
    set mess_month to month of message_date as string
    repeat with x from 1 to count words in the_months
    if mess_month = word x of the_months then set month_count to x as string
    end repeat
    set monthnumbercount to count characters in month_count
    if monthnumbercount = 1 then set month_count to "0" & month_count
    set entry_date to month_count & "/" & mess_day & "/" & mess_year
    set full_name to display name of sender of message i of folder "Mailing List" of folder "Judith's Site" of folder "OO Mail" of folder "Inbox" as string
    set word_count to count words in full_name
    set first_name to word 1 of full_name
    if word_count = 1 then
    set last_name to ""
    else if word_count = 2 then
    set last_name to word 2 of full_name
    else if word_count = 3 then
    set last_name to word 3 of full_name
    else if word_count > 3 then
    set last_name to word 3 of full_name
    end if
    set message_body to content of message i of folder "Mailing List" of folder "Judith's Site" of folder "OO Mail" of folder "Inbox"
    end try
    set paragraph_number to count paragraphs in message_body
    if (subject_field is not "") and (subject_field contains "E-mail List Form Submission!") then
    set query_number to query_number + 1
    if my importdata(entrydate, first_name, last_name, message_body, paragraph_number) is 0 then
    display dialog "failure at message number " & i
    end if
    end if
    end repeat
    end if
    end tell
    tell application "FileMaker Pro"
    with timeout of 1200 seconds
    if query_number = 0 then
    display dialog "There were no new responses."
    else
    display dialog "There were " & query_number & ¬
    " records added to the database." buttons {"Cancel", "Okay"} default button "Okay"
    end if
    end timeout
    end tell
    on importdata(entrydate, first_name, last_name, message_body, paragraph_number)
    set old_delimiters to AppleScript's text item delimiters
    set AppleScript's text item delimiters to {": "}
    --specify Filemaker and corresponding Web site fields names {Filemaker,Web}:
    set field_names to ¬
    {{"FULL_NAME", "realname"}, ¬
    {"EMAIL", "email"}, ¬
    {"ADDRESS", "Address"}, ¬
    {"CITY", "city"}, ¬
    {"STATE", "state"}, ¬
    {"ZIP", "zip"}, ¬
    {"COUNTRY", "country"}, ¬
    {"PHONE", "phone"}}
    set count_fields to count field_names
    --import data
    activate application "FileMaker Pro"
    tell application "FileMaker Pro"
    open "Macintosh HD:Users:jacki:Documents:Judith Matz:Mailing List - Judith.fp7"
    set this_record to create record
    go to this_record
    set data cell "FIRST" of this_record to first_name
    set data cell "LAST" of this_record to last_name
    set data cell "ENTRY_DATE" of this_record to entry_date
    set data cell "STATUS" of this_record to "edit"
    repeat with current from 1 to paragraph_number
    set current_paragraph to paragraph current of message_body
    repeat with i from 1 to count_fields
    if first text item of current_paragraph is item 2 of item i of field_names then
    set this_field to item 1 of item i of field_names
    set field_data to second text item of current_paragraph
    set data cell this_field of this_record to field_data
    exit repeat
    end if
    end repeat
    end repeat
    end tell
    set AppleScript's text item delimiters to old_delimiters
    end import_data

    The main differences that can cause a problem are scripting additions (64-bit vs 32-bit and security reasons) and the usage of dates (it is not as forgiving). AppleScript itself is basically the same, so if empty paragraphs are what caused your problems the update would have just been a coincidence.

  • Dynamic xml from php script throws error: #1088 or #1085

    Hi,
    I'm importing xml formatted data from mysql via php script:
    [code]
    <?php
    require_once('require.php');
    $result = mysql_query("SELECT * FROM `songs`");
    if($result)
        header ("Content-Type: text/xml");
        echo"<?xml version=\"1.0\" encoding=\"utf-8\"?>\n";
        echo"<songComments>\n";
        while ($row = mysql_fetch_array($result))
            echo"<testimonial>\n";
            echo"<songComment>" . $row['title'] . "</songComment>\n";
            echo"</testimonial>\n";
        echo"</songComments>\n";
    ?>
    [/code]
    In one of my flash projects it's working just fine. But in the new one that I just sterted not anymore. And i have no idea why. I get this errors:
    TypeError: Error #1085: The element type "songComments\n" must be terminated by the matching end-tag "</songComments\n>".
    or:
    TypeError: Error #1088: The markup in the document following the root element must be well-formed.
    When I output that php into txt file and loaded in flash everything is fine, but not from php script directly.
    Could it have something to do with that I'm testing that mysql locally on my computer using WAMP ? Previous project got all data from mysql from server.

    Ho could I trace what flash sees?
    var url:URLLoader = new URLLoader();
    url.addEventListener(Event.COMPLETE, xmlLoaded);
    url.load(new URLRequest("getDataFromDB.php"));
    private function xmlLoaded(event:Event):void {
                myXML = new XML(event.target.data);
                trace(myXML);
    I  got rid of that \n everywhere or move them around  and it's still the same error 1088 or 1085

  • WCF-SAP Adapter throwing errors after SAP Upgrade from ECC 5 to ECC6 Release 640 to 700

    Hello Everyone,
    We were able to communicate(Send and Receive Idoc's) to SAP via WCF-SAP Adapter in BizTalk 2010.
    SAP Servers were upgraded to ECC5 to ECC 6 and we started facing below issue communicating on send and receive both.
    I am aware that there is a hotfix available but that is more on the Receive Side from SAP. Nevertheless I installed the hotfix but issue still persists. Any suggestions will be highly appreciated.
    Microsoft.ServiceModel.Channels.Common.XmlReaderParsingException: The segment name is not valid for the IDOCTYP, Release, or CIMTYP. Segment name: E2EDP01006GRP   IDOCTYP: ORDERS05   
    Release: 700    CIMTYP: . Ensure that your message xml validates against the operation schema.
    Server stack trace:
       at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.
    Thanks,
    Vikingss

    I am aware that there is a hotfix available but that is more on the Receive Side from SAP. Nevertheless I installed the hotfix but issue still persists. Any suggestions will be highly appreciated.
    For this issue, you can contact Microsoft support directly(http://support.microsoft.com).

  • Error After Execute Info Package

    Experts,
    I got the below errors after i executed the info package.
    I tried RSA3 on the Data Source in ECC, it got extracted successfully.
    Do you have any idea why this happens?
    Thanks.
    Tee
    Error message from the source system
    Diagnosis
    An error occurred in the source system.
    System Response
    Caller 09 contains an error message.
    Further analysis:
    The error occurred in Service API .
    Refer to the error message.
    Procedure
    How you remove the error depends on the error message.
    Note
    If the source system is a Client Workstation, then it is possible that the file that you wanted to load was being edited at the time of the data request. Make sure that the file is in the specified directory, that it is not being processed at the moment, and restart the request.

    hi,
    your message has got answers for your question.
    1.what source sytem you are getting data from?
    if it is flat file --->please make sure you have specified file in specified format at specified location and make sure the file is not open at the time of loading.
    2.If it is another source system make sure...the interface is proper to extract data from.
    if everything looks fine..just logoff from the system once and login again and try to repeat the load which will be successful in majority of the cases.
    Regards
    Ramsunder.

Maybe you are looking for

  • I keep losing internet on my imac

    I keep losing internet on my imac.  i have to "restart" or play around in "system preferences/networks" to reconnect.  All iphones, laptops and ipads do not have issues with the wireless connection.

  • Acrobat 9.3.2アップデート後の不具合

    WinXP環境 9.3.2にアップデート後.ショートカットから.Acrobatを起動すると.Installerが起動するようになりました. pdfファイルのクリックで.Acrobatを起動すると当該事象は発生しません. (ライセンスは該当PCに保持したままですが)Acrobatを一旦アンインストールして. 再度.9.0のインストール及び.Updeterを使用して.9.2.9.3.2とアップデートを適用した上で 確認してみましたが.ショートカットから起動すると上記事象が再現します. 9.3.2を適

  • Setting Java Version Standard Edition 6

    Java Platform Standard Edition 6 Version 1.6.0 (build 1.0.0_02-b06) # Page displayed to Netscape users to allow them to download Oracle JInitiator. # Oracle JInitiator is used with Windows clients. # If you create your own page, you should set this p

  • Join Button Grayed Out

    My iPad connects with no problem at home on my Time Capsule and Airport Extreme Routers. At my office, I can't even find out if it will connect or not, because when I select the network to join it, as soon as I type in a password, the JOIN button gra

  • Create Mail alerts without using System_Mail_send

    Hi Everyone, We have Redwood version M33.7-44392. We have bought the license for alert module and we configured and it works fine when i send a mail using the job definition System_Mail_Send. Now, our requirement is to receive the details like Job na