Unable to read Virtual PC 5 or 6 installation CDs

My machine in unable to read Virtual PC installation CD's in Tiger (10.4.6).
I have a Power Mac G4(1Ghz) with stock Super drive.
In the same machine I was able to read the same CDs in Jaguar before. Now after a while the machine ejects the CD.
Did any body have such problems with Virtual PC CDs in Tiger
Any suggestions..?
Powermac   Mac OS X (10.4.5)  

Hi, getamac.
The IOATAController device blocking bus message often indicates a failing device.
For example, if this message is found when investigating startup problems or kernel panics, it often indicates a failing hard drive. In such cases, checking the hard drives SMART diagnostics — as described in Step 1 of the procedure specified in my "Resolving Disk, Permission, and Cache Corruption" FAQ — can determine if the hard drive is failing.
In your case, unless you're having other problems with your Mac, and assuming:• You are inserting the CDs properly, i.e. they're seated correctly before closing the drive.
• The CDs are in good shape: no dirt, scratches, cracks, or other visible defects.
• The problem arises on most or all CDs.Then I suspect your optical drive may be failing. If the computer is still covered by an AppleCare Protection Plan, contact Apple about having the optical drive replaced. Otherwise, you should probably look for a replacement. Check the Drive Compatibility Database at AccelerateYourMac.com. IMHO, this is the best site for totally unbiased reviews of this kind of hardware from people with first-hand experience.
Good luck!
Dr. Smoke
Author: Troubleshooting Mac® OS X

Similar Messages

  • Unable to create virtual folder. Too many folders

    Hi,
    We are getting this error while trying to create new folder in UCM (even trying directly from UCM throws same error)
    oracle.stellent.ridc.protocol.ServiceException: Unable to create virtual folder. Too many folders
    Has anyone experienced this? If yes, please let us know how you resolved it.
    Thanks!

    You don't "store" anything in contribution folders. They are just webdav access points. I recommend zero folders personally.
    If you want to upload files using webdav, then I suggest using one staging folder, where files can enter the system. When the document is workflowed and/or verified, it is moved out of the folder. It's more likely however that you'll need a few access points for various types of content as each folder enforces specific metadata.
    Now I imagine you are after a way to store all the HR bits and pieces of one person together as a unit. Some people use Content Folios. Personally, I'd just use a metadata field that contains the ContentID of the person's master record. Any new content for that person just gets the master ContentID stamped on it. Just search for that ContentID to get all their stuff.
    Regarding best practices, there are lots of quality blogs floating around. Stellent/Oracle don't talk about best practice because each system is used by their clients in a unique way... well, that's what they say.

  • Zen Xtra (Nomad) - Unable to read from device error (have tried everythi

    Recently, I've been having problems with my Creative Zen Xtra Nomad mp3 player. One day it started freezing and lagging massi'vely when I would enter nomad explorer. Now it's virtually impossible to drag and drop something from nomad explorer to my computer or vise versa (keep getting the unable to read from device error). However, sometimes I am able to get an mp3 or two after about 5 minutes of transfer time.
    I have no idea why it is doing this. One day I'm transferring my data back and forth with no problem, and the very next day I am getting this freezing, lagging, and errors when trying to transfer. The only thing that changed was me formatting my computer in between it working and it not working, but I did reinstall the driver and nomad explorer once I formatted (I'm also using the same USB 2.0 cable, but it worked fine the day before, so I am pretty sure that's not part of the problem). I was using the mp3 player to store about 0 GB worth of data for when I formatted, and now I'm unable to retrieve virtually any of it. I've tried everything under the PC Connectivity link short of formatting the mp3 hard dri've (and that is not an option because I need the files). I took it to a friends house to try on his computer, but it acted the same way. I'm completely stumped. Is there anything I haven't ruled out? Also, I'm running Windows XP Pro SP2, and I was using SP2 before the format as well if that has any relevance.
    Please let me know if I've left out any important information relevant to this issue. Any help would be very much appreciated.
    Thanks in advance.
    -Noah Patterson
    Edit: I'm having the exact problem as this guy, but I didn't seem to find any answers on his thread.
    http://forums.creative.com/creativelabs/board/message?board.id=dap&message.id=6459&query.id=3264 5#M6459
    Message Edited by talzok on 09-20-2005 08:03 AMMessage Edited by talzok on 09-20-2005 08:09 AM

    Never use MP3 players to store important data, or as a single point of storage for any data (that includes keeping a backup of the player's audio tracks). You can have problems like this with accessing the data, as well as simply dropping the player and losing the lot.
    There are a couple of methods I've seen that have worked to retrieve data:
    . Driver update - either update to the latest drivers, or nonsensically downgrade to the drivers that come on the install CD.
    2. Notmad Explorer - use the Xtreamer function in Notmad Explorer's trial version (which is free) to access the data and download it. It will be tedious, because I assume you have to download one file at a time.
    As for your general problem, I would try using Creative's MediaSource instead of Nomad Explorer to access the player (people generally don't have good experiences with Nomad Explorer).
    Also make sure you download the latest versions of the drivers (taking above into account), MediaSource, and the MediaSource plugin from Nomadworld.com downloads.
    Once you have the data off (hopefully!) you might simply want to reformat it if none of the above hel
    ps.

  • AC-00402: Unable to read driver file  While CLONING

    Hi All
    We are running EBS 11.5.10. When I try to clone PROD to TEST instance running adcfgclone it shows below error.
    oratest@devh:/d02/oratest/testdb/9.2.0/appsutil/clone/bin>perl adcfgclone.pl dbTier
    Enter the APPS password [APPS]:
    apps
    First Creating a new context file for the cloned system.
    The program is going to ask you for information about the new system:
    Provide the values required for creation of the new Database Context file.
    Do you want to use a virtual hostname for the target node (y/n) [n] ?:
    Target instance is a Real Application Cluster (RAC) instance (y/n) [n]:
    Target System database name [PROD]:TESTH
    Target system domain name [axis-solutions.net]:
    Target system RDBMS ORACLE_HOME directory [d01/oraprod/proddb/9.2.0]:/d02/oratest/testdb/9.2.0
    Target system utl_file accessible directories list [usr/tmp]:
    Number of DATA_TOP's on the target system [4]:1
    Target system DATA_TOP 1:/d02/oratest/testdata
    Do you want to preserve the Display set to prodh:1.0 (y/n) [y] ?:n
    Target system Display [devh:0.0]:
    Do you want to preserve the port values from the source system on the target system (y/n) [y] ?:n
    Clone Context uses the same port pool mechanism as the Rapid Install
    Once you choose a port pool, Clone Context will validate the port availability.
    Enter the port pool number [0-99]:
    1
    Checking the port pool 1
    done: Port Pool 1 is free
    Database port is 1522
    Backing up /d02/oratest/testdb/9.2.0/appsutil/TESTH_devh.xml to /d02/oratest/testdb/9.2.0/appsutil/TESTH_devh.xml1.bak
    Creating the new Database Context file from :
    /d02/oratest/testdb/9.2.0/appsutil/template/adxdbctx.tmp
    The new database context file has been created :
    /d02/oratest/testdb/9.2.0/appsutil/TESTH_devh.xml
    Log file located at /tmp/CloneContext_03101204.log
    Running Rapid Clone with command:
    perl /d02/oratest/testdb/9.2.0/appsutil/clone/bin/adclone.pl java=/d02/oratest/testdb/9.2.0/appsutil/clone/bin/../jre mode=apply stage=/d02/oratest/testdb/9.2.0/appsutil/clone/bin/.. component=dbTier method=CUSTOM dbctxtg=/d02/oratest/testdb/9.2.0/appsutil/TESTH_devh.xml showProgress contextValidated=true
    Beginning database tier Apply - Thu Mar 10 12:05:08 2011
    Log file located at /d02/oratest/testdb/9.2.0/appsutil/log/TESTH_devh/ApplyDBTier_03101205.log
    / 50% completed AC-00402: Unable to read driver file: /d02/oratest/testdb/9.2.0/appsutil/clone/bin/../data/driver/data.drv
    ERROR while running Apply...
    ERROR: Failed to execute /d02/oratest/testdb/9.2.0/appsutil/clone/bin/adclone.pl

    Hi
    I checked the logfile. Its shows below mentioned errors
    DEBUG: checkDBConnection in()
    ADX Database Utility
    getConnection() -->
    sDbHost : devh
    sDbDomain : axis-solutions.net
    sDbPort : 1522
    sDbSid : TESTH
    sDbUser : APPS
    Trying to connect using SID...
    getConnectionUsingSID() -->
    JDBC URL: jdbc:oracle:thin:@devh.axis-solutions.net:1522:TESTH
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devh.axis-solutions.net)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TESTH)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Trying to connect using SID as ServiceName.DomainName
    getConnectionUsingServiceName() -->
    JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=devh.axis-solutions.net)(PORT=1522))(CONNECT_DATA=(SERVICE_NAME=TESTH.axis-solutions.net)))
    Exception occurred: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
    Connection could not be obtained; returning null
    -------------------ADX Database Utility Finished---------------
    RC-40201: Unable to connect to Database TESTH.
    StackTrace:
    java.lang.Exception: Cannot connect to database using DBUtil
    at oracle.apps.ad.clone.ApplyDatabase.checkDBConnection(ApplyDatabase.java:3398)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:524)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
    at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
    at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
    at java.lang.reflect.Constructor.newInstance(Native Method)
    at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
    at java.lang.Thread.run(Thread.java:484)
    DEBUG: checkDBConnection out()
    Executing runInstallDriver...

  • Unable to read task sequence configuration disk

    Target Server is an HP ProLiant BL460c G5
    I'm trying to load my reference iso via the iLO connection, mounting the image to the CD drive.  I used the same process to create the WIM file on my Source Server and it worked fine.  I boot from the CD, it loads windows files, then comes up to
    the SCCM screen with the error "Unable to read task sequence configuration disk."
    Any ideas what's going on?

    In my case I had the same error using SCCM boot media in a USB 3.0 port. Solution was here to use a USB 2.0 port to solve it.
    Maybe this will help you:
    http://www.jamesbannanit.com/2012/02/unable-to-read-task-sequence-configuration-disk-in-sccm-osd/
    My blogs: Henk's blog and
    Virtuall | Follow Me on:
    Twitter | View My Profile on:
    LinkedIn

  • Unable to create virtual folder

    Hi im getting this error when im trying to create a folder please help
    Content Server Request Failed
    Unable to create virtual folder. Unable to create virtual folder.
    [ Details ]
    intradoc.common.ServiceException: !csCollectionUnableToCreateCollection at collections.CollectionStructure.forceChildEx(CollectionStructure.java:2197) at collections.CollectionStructure.forceChild(CollectionStructure.java:2179) at collections.CollectionStructure.forceChild(CollectionStructure.java:2174) at collections.CollectionUserHandler.addCollectionInCollection(CollectionUserHandler.java:483) at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at intradoc.common.IdcMethodHolder.invokeMethod(ClassHelperUtils.java:461) at intradoc.common.ClassHelperUtils.executeMethodReportStatus(ClassHelperUtils.java:142) at intradoc.server.ServiceHandler.executeAction(ServiceHandler.java:75) at intradoc.server.Service.doCodeEx(Service.java:488) at intradoc.server.Service.doCode(Service.java:470) at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1332) at intradoc.server.Service.doAction(Service.java:450) at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1173) at intradoc.server.Service.doActions(Service.java:445) at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1093) at intradoc.server.Service.executeActions(Service.java:431) at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:632) at intradoc.server.Service.doRequest(Service.java:1697) at intradoc.server.ServiceManager.processCommand(ServiceManager.java:357) at intradoc.server.IdcServerThread.run(IdcServerThread.java:195)

    It is solved now......
    Solution.....
    the contibution folders have a security group "All" and the user that im using to create a new folder was having just R permission to "All" so If you tried to create a new folder from the action list choose link folder then u will get the error that i mentiond above and i think this is the way the content server works "corrent me if im wrong" .now to solve this i gave that user a RW to the "All" security group and now he can create folders.
    Note:what i discovred is that when the system folder has a security group defined then the contibuter the contributer that he want to create a new folder under it must have RW to the security group in the Contribution folders.

  • System unable to read table in Adhoc Query

    Hi Experts,
    I am trying to extract a report based on Infotype 0022 through Adhoc query. Even after maintaining data for IT0022 for a few employees the system is unable to read the educational details of those employees.
    I am unable to trace the defect . can anybody please tell me what could be the reason. I have checked the table PA0022, there the data is been stored.
    Thanks & Regards,
    Smitha

    Hi paul and experts
    actuall im reading data from 0022 infotype .  im using  macro
    rp_provide_from_last p0022 '11' pn-begda pn-endda.
    no data found for this.
    but in pa30 for that particular employee data is there.
    please help me out of this.
    thanks a lot

  • Bridge CC. on opening message says unable to read cache, purge cache. This does not help.

    On opening message says unable to read cache, purge cache. Purging the cache does not help and Bridge continues to hang. Was working fine before.

    Mac?  REad this http://forums.adobe.com/thread/1237168

  • Install Software HANA unable to read repository

    Hello,
    I'm new to Eclipse. I'm trying to get up the trial Cloud environment for SAP HANA. I have Eclipse Juno installed. When I attempt to do an install of the HANA software on top of Eclipse I receive error "Unable to read Repository".
    We do not use a proxy, so network was set to "DIRECT". I can get to the SAP site from the browser tools.hana.ondemand.com/luna. I downloaded the certificate for that site and added it to the cacerts file for JDK1.6.0_45.
    The error message in full says:
    Unable to read repository at tools.hana.ondemand.com/luna/content.xml.
    Using the browser, tools.hana.ondemand.com/luna/content.xml returns a 404 error. If I change it to tools.hana.ondemand.com/luna/content.jar, it gives me a download.
    As far as I can tell, there's no way to make Eclipse point to content.jar. Can someone tell me where this is going wrong?
    Thanks.
    Danny Hearn

    On 06/26/2015 08:52 AM, Danny Hearn wrote:
    > Hello,
    >
    > I'm new to Eclipse. I'm trying to get up the trial Cloud environment
    > for SAP HANA. I have Eclipse Juno installed. When I attempt to do an
    > install of the HANA software on top of Eclipse I receive error "Unable
    > to read Repository".
    > We do not use a proxy, so network was set to "DIRECT". I can get to the
    > SAP site from the browser tools.hana.ondemand.com/luna. I downloaded
    > the certificate for that site and added it to the cacerts file for
    > JDK1.6.0_45.
    >
    > The error message in full says:
    > Unable to read repository at tools.hana.ondemand.com/luna/content.xml.
    >
    > Using the browser, tools.hana.ondemand.com/luna/content.xml returns a
    > 404 error. If I change it to tools.hana.ondemand.com/luna/content.jar,
    > it gives me a download.
    > As far as I can tell, there's no way to make Eclipse point to
    > content.jar. Can someone tell me where this is going wrong?
    >
    > Thanks.
    >
    > Danny Hearn
    Likely the best support for SAP/HANA would come from SAP/HANA.

  • PI 7.3 - AEX "unable to read configuration data" and login problems

    Hello Friends,
    after installation of AEX, i'm facing some problems.
    1.I'm not able to login with any user, i created during installation wizard. So i cannot check any user in NWA -> User Administration.
    2.Once more, while opening http://<host>:<port>/rep or http://<host>:<port>/dir, i get the following error message.
    Can somebody help me?
    I think, there is a problem with the users, which have been created during installation. How can i check this? Is there any chance?
    Second, if i'm able to login, i have to import the exchange profile again. This should solve the problem. Or is this wrong?
    PI (http://<host>:<port>/dir/start/index.jsp). Below is the part of the error message that is showing up. Appreciate your suggestions:
    Exception class: com.sap.aii.utilxi.prop.api.PropertiesException$InitFailed
    Message
    Unable to read configuration data (ExchangeProfile/aii.properties)
    Stacktrace
    Thrown:
    com.sap.aii.utilxi.prop.api.PropertiesException$InitFailed: Unable to read configuration data (ExchangeProfile/aii.properties)
    at com.sap.aii.utilxi.prop.api.PropertySourceFactory.initServerMode(PropertySourceFactory.java:220)
    at com.sap.aii.utilxi.prop.api.AIIProperties.initServerMode(AIIProperties.java:518)
    at com.sap.aii.ib.server.applcomp.StartupServerProperties.initPropertiesForServer(StartupServerProperties.java:97)
    at com.sap.aii.ibdir.server.applcomp.StartupCodeEntry.startup(StartupCodeEntry.java:151)
    at com.sap.aii.ib.core.applcomp.IStartupCodeEntry.startupIfNotAlreadyDone(IStartupCodeEntry.java:43)
    at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponentImpl.startup(ExplicitApplicationComponentImpl.java:116)
    at com.sap.aii.ib.core.applcomp.ExplicitApplicationComponents.startup(ExplicitApplicationComponents.java:438)
    at com.sap.aii.ib.core.applcomp.ApplicationComponent.startup(ApplicationComponent.java:203)
    Please let me know if I am not clear.
    Edited by: Clarence on Feb 6, 2012 3:28 PM
    Edited by: Clarence on Feb 6, 2012 3:28 PM

    hi,
    >>>>Second, if i'm able to login, i have to import the exchange profile again. This should solve the problem. Or is this wrong?
    if you have java stack only there is no exchange profile anymore...
    https://weblogs.sdn.sap.com/pub/wlg/28334
    Regards,
    Michal Krawczyk

  • Error: Unable to read footer file

    Hoping someone out there can help me. I get this error on
    everypage in my site and have no idea how to stop it.
    Error: Unable to read footer file
    The error does not show up when I preview inside dreamweaver
    but only rears its ugly head after I post the site up on the
    internet. I have searched for hours through the Dreamweaver menus
    and can not find these elusive footers and have no idea where they
    are coming from or what footer file it is trying to read.. Please
    help. This probably has a simple solution and I am just not able to
    understand it. Thank you.

    sdrouillard wrote:
    > This probably has a simple solution and I am just not
    able to understand
    > it.
    Possibly, but without a URL we can't comment. Post it, and
    we'll see.
    At a guess, sounds like an include file is missing. Are you
    on some sort of
    free hosting plan where the host puts some adverts in the
    footer? If that
    file is removed from your site directory you might get the
    error you've
    mentioned (at least, that was the case on the only other time
    I've seen this
    error)
    Regards,
    Pete.
    Peter Connolly
    http://www.acutecomputing.co.uk
    Derby
    UK
    Skype ID: acutecomputing

  • Unable to read DVD video

    I unable to read DVD video discs, although I can read DVD-R and CD.
    I try to change the region using regionset but with no change.
    here is the output of vlc, when I try to open DVD:
    VLC media player 0.8.6b Janus
    libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
    libdvdread: Using libdvdcss version 1.2.9 for DVD access
    libdvdread: Could not open /dev/hdc with libdvdcss.
    libdvdread: Can't open /dev/hdc for reading
    libdvdnav: vm: faild to open/read the DVD
    [00000291] dvdread demuxer error: DVDRead cannot open source: /dev/hdc
    [00000294] vcd access error: could not read TOCHDR
    [00000294] vcd access error: no movie tracks found
    [00000294] access_file access error: file /dev/hdc is empty, aborting
    [00000294] cdda access error: could not read TOCHDR
    [00000294] cdda access error: no audio tracks found
    [00000289] main input error: no suitable access module for `dvd:///dev/hdc'
    [00000278] main playlist: nothing to play
    signal 2 received, terminating vlc - do it again in case it gets stuck
    [00000278] main playlist: stopping playback

    whats in your
    /etc/fstab
    yours is probably
    /dev/dvd         /mnt/dvd    auto      ro,user,noauto,unhide   0      0
    mine is
    /dev/dvd        /mnt/dvd    udf,iso9660      ro,user,noauto,unhide   0      0
    i had issues with some dvd's till i changed from auto to udf

  • Unable to read the dictionary of the application or extension...

    I had previously installed the HP Color LaserJet 3600 driver from the install CD under Tiger. I recently did an archive and install of Leopard, then ran all the system updates. (Currently at 10.5.5)
    When I insert the 3600 CD, though, I get a bunch of jibberish (parts of images, etc.) and a MAC OS X directory. The installer inside that directory attempts to be opened with Script Editor, though, and gives an error: "Unable to read the dictionary of the application or extension because it is not scriptable." followed by "The document 'HP Color LaserJet v5.6.1.069' could not be opened."
    Previously this would launch the HP installation program that would install the driver. Now, it's like it's not a recognized program or something. I downloaded the driver from the HP website to try it that way (clj3600MacOSX.dmg) with the same result. The .dmg file opens a disk image with the "HP Color LaserJet v.5.6.1.069" file in it...same result. Cannot open.
    I know this program ran fine under Tiger...and a co-worker got it to run after doing an upgrade to Leopard (instead of archive and install.)
    When I downloaded the HP 4300 installer dmg, it launches a .mpkg file and Get Info says it's set to open with "Installer (default)". The 3600 file, though is set to open with "Script Editor (default)". I've looked to set it to Installer, but don't know where it is...it's not in Applications or Utilities folder.
    I then right clicked on the installer file and selected "Show Package Contents". In the window that was displayed, there was a Contents folder. Inside that folder was a file called "HP Color LaserJet v5.6" with no file extension (Get Info doesn't show an extension either,) but it has a VISE logo. Opening that file launches the VISE installer and performs the setup.
    So, by jumping through hoops and getting lucky, I was able to install the driver.
    The bigger issue, though, is why the installation CD and/or .dmg file downloaded from HP's website cannot run the installer as usual...why are they set to open with Script Editor as the default application...and how can I fix it so that other disks won't have the same problem?
    [I originally posted this in the Printers forum, but it appears it's not a printing problem...it's an OS problem...]

    Installer.app is in /System/Library/CoreServices/

  • TcpListener not working on Azure: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host

    Hi Everybody,
    i'm playing a little bit with Windows Azure and I'm blocked with a really simple issue (or maybe not).
    I've created a Cloud Service containing one simple Worker Role. I've configured an EndPoint in the WorkerRole configuration, which allows Input connections via tcp on port 10100.
    Here the ServiceDefinition.csdef file content:
    <?xml version="1.0" encoding="utf-8"?>
    <ServiceDefinition name="EmacCloudService" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceDefinition" schemaVersion="2014-01.2.3">
    <WorkerRole name="TcpListenerWorkerRole" vmsize="Small">
    <Imports>
    <Import moduleName="Diagnostics" />
    <Import moduleName="RemoteAccess" />
    <Import moduleName="RemoteForwarder" />
    </Imports>
    <Endpoints>
    <InputEndpoint name="Endpoint1" protocol="tcp" port="10100" />
    </Endpoints>
    </WorkerRole>
    </ServiceDefinition>
    This WorkerRole is just creating a TcpListener object listening to the configured port (using the RoleEnvironment instance) and waits for an incoming connection. It receives a message and returns a hardcoded message (see code snippet below).
    namespace TcpListenerWorkerRole
    using System;
    using System.Net;
    using Microsoft.WindowsAzure.ServiceRuntime;
    using System.Net.Sockets;
    using System.Text;
    using Roche.Emac.Infrastructure;
    using System.IO;
    using System.Threading.Tasks;
    using Microsoft.WindowsAzure.Diagnostics;
    using System.Linq;
    public class WorkerRole : RoleEntryPoint
    public override void Run()
    // This is a sample worker implementation. Replace with your logic.
    LoggingProvider.Logger.Info("TcpListenerWorkerRole entry point called");
    TcpListener listener = null;
    try
    listener = new TcpListener(RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    LoggingProvider.Logger.Info(string.Format("TcpListener started at '{0}:{1}'", RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Address, RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint1"].IPEndpoint.Port));
    catch (SocketException ex)
    LoggingProvider.Logger.Exception("Unexpected exception while creating the TcpListener", ex);
    return;
    while (true)
    Task.Run(async () =>
    TcpClient client = await listener.AcceptTcpClientAsync();
    LoggingProvider.Logger.Info(string.Format("Client connected. Address='{0}'", client.Client.RemoteEndPoint.ToString()));
    NetworkStream networkStream = client.GetStream();
    StreamReader reader = new StreamReader(networkStream);
    StreamWriter writer = new StreamWriter(networkStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    while (true)
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    LoggingProvider.Logger.Info("This is what the host sent to you: " + input+". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    break;
    catch (Exception ex)
    LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    break;
    }).Wait();
    public override bool OnStart()
    // Set the maximum number of concurrent connections
    ServicePointManager.DefaultConnectionLimit = 12;
    DiagnosticMonitor.Start("Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString");
    RoleEnvironment.Changing += RoleEnvironment_Changing;
    return base.OnStart();
    private void RoleEnvironment_Changing(object sender, RoleEnvironmentChangingEventArgs e)
    // If a configuration setting is changing
    LoggingProvider.Logger.Info("RoleEnvironment is changing....");
    if (e.Changes.Any(change => change is RoleEnvironmentConfigurationSettingChange))
    // Set e.Cancel to true to restart this role instance
    e.Cancel = true;
    As you can see, nothing special is being done. I've used the RoleEnvironment.CurrentRoleInstance.InstanceEndpoints to retrieve the current IPEndpoint.
    Running the Cloud Service in the Windows Azure Compute Emulator everything works fine, but when I deploy it in Azure, then I receive the following Exception:
    2014-08-06 14:55:23,816 [Role Start Thread] INFO EMAC Log - TcpListenerWorkerRole entry point called
    2014-08-06 14:55:24,145 [Role Start Thread] INFO EMAC Log - TcpListener started at '100.74.10.55:10100'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Client connected. Address='196.3.50.254:51934'
    2014-08-06 15:06:19,375 [9] INFO EMAC Log - Buffer size: 65536
    2014-08-06 15:06:45,491 [9] FATAL EMAC Log - Unexpected exception while Reading the request
    System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    --- End of inner exception stack trace ---
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
    at System.IO.StreamReader.ReadBuffer(Char[] userBuffer, Int32 userOffset, Int32 desiredChars, Boolean& readToUserBuffer)
    at System.IO.StreamReader.Read(Char[] buffer, Int32 index, Int32 count)
    at TcpListenerWorkerRole.WorkerRole.<>c__DisplayClass0.<<Run>b__2>d__0.MoveNext() in C:\Work\Own projects\EMAC\AzureCloudEmac\TcpListenerWorkerRole\WorkerRole.cs:line 60
    I've already tried to configure an internal port in the ServiceDefinition.csdef file, but I get the same exception there.
    As you can see, the client can connect to the service (the log shows the message: Client connected with the address) but when it tries to read the bytes from the stream, it throws the exception.
    For me it seems like Azure is preventing the retrieval of the message. I've tried to disable the Firewall in the VM in Azure and the same continues happening.
    I'm using Windows Azure SDK 2.3
    Any help will be very very welcome!
    Thanks in advance!
    Javier
    En caso de que la respuesta te sirva, porfavor, márcala como válida
    Muchas gracias y suerte!
    Javier Jiménez Roda
    Blog: http://jimenezroda.wordpress.com

    hi Javier,
    I changed your code like this:
    private AutoResetEvent connectionWaitHandle = new AutoResetEvent(false);
    public override void Run()
    TcpListener listener = null;
    try
    listener = new TcpListener(
    RoleEnvironment.CurrentRoleInstance.InstanceEndpoints["Endpoint"].IPEndpoint);
    listener.ExclusiveAddressUse = false;
    listener.Start();
    catch (SocketException se)
    return;
    while (true)
    IAsyncResult result = listener.BeginAcceptTcpClient(HandleAsyncConnection, listener);
    connectionWaitHandle.WaitOne();
    The HandleAsync method is your "While (true)" code:
    private void HandleAsyncConnection(IAsyncResult result)
    TcpListener listener = (TcpListener)result.AsyncState;
    TcpClient client = listener.EndAcceptTcpClient(result);
    connectionWaitHandle.Set();
    NetworkStream netStream = client.GetStream();
    StreamReader reader = new StreamReader(netStream);
    StreamWriter writer = new StreamWriter(netStream);
    writer.AutoFlush = true;
    string input = string.Empty;
    try
    char[] receivedChars = new char[client.ReceiveBufferSize];
    // LoggingProvider.Logger.Info("Buffer size: " + client.ReceiveBufferSize);
    int readedChars = reader.Read(receivedChars, 0, client.ReceiveBufferSize);
    char[] validChars = new char[readedChars];
    Array.ConstrainedCopy(receivedChars, 0, validChars, 0, readedChars);
    input = new string(validChars);
    // LoggingProvider.Logger.Info("This is what the host sent to you: " + input + ". Readed chars=" + readedChars);
    try
    string orderResultFormat = Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\xB")) + @"MSH|^~\&|Instrument|Laboratory|LIS|LIS Facility|20120427123212+0100||ORL^O34^ORL_O34| 11|P|2.5.1||||||UNICODE UTF-8|||LAB-28^IHE" + Environment.NewLine + "MSA|AA|10" + Environment.NewLine + @"PID|||patientId||""""||19700101|M" + Environment.NewLine + "SPM|1|sampleId&ROCHE||ORH^^HL70487|||||||P^^HL70369" + Environment.NewLine + "SAC|||sampleId" + Environment.NewLine + "ORC|OK|orderId|||SC||||20120427123212" + Encoding.ASCII.GetString(Encoding.ASCII.GetBytes("\x1c\x0d"));
    writer.Write(orderResultFormat);
    catch (Exception e)
    // LoggingProvider.Logger.Exception("Unexpected exception while writting the response", e);
    client.Close();
    catch (Exception ex)
    //LoggingProvider.Logger.Exception("Unexpected exception while Reading the request", ex);
    client.Close();
    Please try it. For this error message, I suggest you could refer to this thread (http://stackoverflow.com/questions/6173763/using-windows-azure-to-use-as-a-tcp-server
    ) and this post (http://stackoverflow.com/a/5420788).
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • When I open my gmail in firefox, it instantly directs my gmail to the gmail calendars. I am unable to read my gmail on firefox, but I can read it on safari

    When I open my gmail in firefox, it instantly directs my gmail to the gmail calendars. I am unable to read my gmail on firefox, but I can read it on safari. Please help.
    == User Agent ==
    Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-us) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16

    Is there a solution for this?
    I just opened Firefox for the first time in a couple of weeks and am experiencing the same problem. I see my Gmail inbox briefly before being redirected to the calendar. Clicking the back button produces the same result.
    Very frustrating.

Maybe you are looking for

  • ITunes could not backup the iPhone because the iPhone is disconnected

    Hi, I've iPhone 5 and it has ios 6.1.2. I'm using windows 8. While I'm syncing the iPhone, I've an error that is saying "iTunes could not backup the iPhone because the iPhone is disconnected". I did nearly everything to backup but I couldn't achieve

  • Interactive PowerView report (Incl Map) load to Web site

    Hi, What is the best, easiest & quickest way to load an existing Interactive PowerView report & map to an existing Web site (not Shharepoint)? Interactivity is required after loading. Regards, Allan

  • HP 6735s Backlight not working

    History - HP6735s cracked screen - replaced - works for 2 weeks then backlight went out - replaced inverter (twice in case one faulty). Replaced video cable. - Still not backlight. (LCD does work) Was wondering what could cause this? according to ser

  • Enhancement for Co11(Production order confirmation)

    Hi all, i am creating a Production order with 4 line items  (TC : Co01), i am confirming by the TC : Co11, when i press the SAVE button the 4 line items which are there in the confirmation order should be saved in my Ztable. Is there any Enhancement

  • Importing Still Frame .pict file comes in slightly squished...

    ...with thin vertical black bars on the sides. I "save frame" as a pict file, edit the file in Photoshop without any resizing done to the file, save it into my iPhoto library as a pict file, import the file into iMovie with the Ken Burns effect TURNE