Error Handling when excel vba code does not find the file

Hi Below is my code:
file1 = Dir("Q:\Budget\Historical Budgets\" & new_dept_folder & "\*.xls*")
col = 2
col_new = 3
Application.DisplayAlerts = False
While (file1 <> "")
        filename = Left$(file1, 6)
        ' Open the newly selected workbook
        Set wb = Workbooks.Open("Q:\Budget\Historical Budgets\" & new_dept_folder & "\" & file1)
        udds = filename & " - " & wb.Sheets("Budget").Range("J1").Value
        ThisWorkbook.Sheets(1).Cells(1, col).Value = udds
        For x = LBound(data_new) To UBound(data_new)
            wb.Sheets("Budget").Select
            Range(data_new(x)).Select
            Selection.Copy
            ThisWorkbook.Sheets(1).Cells(x + 5, col_new).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False
        Next x
         ' Close the current workbook
        wb.Close SaveChanges:=False
        On Error GoTo Errhandler
        Set wb_old = Workbooks.Open("Q:\Budget\Historical Budgets\" & old_dept_folder & "\" & file1)  
<--- Need Error handling on this line (i.e. if I get error here)
        For x = LBound(data) To UBound(data)
            wb_old.Sheets("Budget").Select
            Range(data(x)).Select
            Selection.Copy
            ThisWorkbook.Sheets(1).Cells(x + 5, col).PasteSpecial Paste:=xlPasteValues, Operation:=xlNone,   SkipBlanks:=False, Transpose:=False
        Next x
        Application.CutCopyMode = False
        ' Close the current workbook
        On Error Resume Next
        wb_old.Close SaveChanges:=False
Errhandler:
        For x = LBound(data) To UBound(data)
        ThisWorkbook.Sheets(1).Cells(x + 5, col).Value = 0
        Next x
        ' Select the next file in the dir array
        file1 = Dir
        col = col + 5
        col_new = col_new + 5
Wend
Everytime I run the code the errhandler which I don't need. Could you please help me on this.
Regards, Hitesh

Hi,
You could check whether the file is exist, then open it.
If Dir(path)<>”” Then
There are three On Error Statements, On Error GoTo <line>, On Error Resume Next and On Error GoTo 0.
More information, please refer to:
# How to Use "On Error" to Handle Errors in a Macro
https://support.microsoft.com/en-us/kb/141571?wa=wsignin1.0
Regards
Starain
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.

Similar Messages

  • Please help!  Safari does not start due to a plugin failure. How can I remove librooksbas.dylib. Without being able to open safari. Finder does not find the file.

    Please help.
    iSafari does not start up due to an error caused by plug in librooksbas.dylib.
    How can I remove this plugin without opening safari. Finder does not find the file, nor any other plugin.
    Eric

    For future reference, Safari Plugins are kept in Macintosh HD> Library> Internet Plugins.
    To unhide the Library folder, open up Terminal (just type"Terminal" into spotlight) and type:
    chflags nohidden ~/Library

  • My network drives crashed and I was able to restore one with the exact same name and login.  The second one I also created using the same name and login but it does not find the files when I click.

    I get Connection failed when I click on the photo in IPhoto. This window keeps popping up and I have to force quit IPhoto.

    iPhoto tracks referenced files using Aliases and this works just fine when the Library and the photos are on the same volume. However, Aliases won't survive being moved from one volume to another. This is why experienced users on here recommend against using Referenced Libraries in general, and in particular when the library and files are on different volumes.
    Try repair the aliases with an app like FileBuddy If that fails then I'm afraid you'll  need to do it manually for every photo in the Library, unfortunately.
    Regards
    TD

  • How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tri

    How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tried to reopen and now it won't work. I am using Adobe InDesign CS5. It is the only version on my comp. I have tried opening on another comp & copying the file – same error comes up. PLEASE HELP

    First check the version of the document with Jongware's script "Identify.jsx" (ExtendScript/JavaScript).
    You can find it here:
    [Ann] Identify Your InDesign File
    If it is CS 5.5 or above, you need someone to open it in the version the script says and export an IDML representation from that. Another way would be to install a 30days version of CS6 or above (CC) and do it yourself.
    In regards of the script showing a result for InDesign files higher than CS6:
    CS7 = CC v9
    CS8 = CC v10 = CC-2014 or CC2014.1
    Uwe

  • ERROR: Component identity found in manifest does not match the identity of the component requested.

    I am getting below mentioned error?
    ERROR: Component identity found in manifest does not match the identity of the component requested. Reference is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0".
    Definition is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
    ERROR: Activation Context generation failed.
    End Activation Context Generation.
    How to solve this error?
    =================
    Begin Activation Context Generation.
    Input Parameter:
    Flags = 0
    ProcessorArchitecture = Wow32
    CultureFallBacks = en-US;en
    ManifestPath = C:\Program Files (x86)\Citrix\ICA Client\MFC80.DLL
    AssemblyDirectory = C:\Program Files (x86)\Citrix\ICA Client\
    Application Config File = 
    INFO: Parsing Manifest File C:\Program Files (x86)\Citrix\ICA Client\MFC80.DLL.
    INFO: Manifest Definition Identity is (null).
    INFO: Reference: Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0"
    INFO: Resolving reference Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0".
    INFO: Resolving reference for ProcessorArchitecture WOW64.
    INFO: Resolving reference for culture Neutral.
    INFO: Applying Binding Policy.
    INFO: No publisher policy found.
    INFO: No binding policy redirect found.
    INFO: Begin assembly probing.
    INFO: Did not find the assembly in WinSxS.
    INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.MFCLOC\8.0.50608.0__1fc8b3b9a1e18e3b\Microsoft.VC80.MFCLOC.DLL.
    INFO: Did not find manifest for culture Neutral.
    INFO: End assembly probing.
    INFO: Resolving reference for ProcessorArchitecture x86.
    INFO: Resolving reference for culture Neutral.
    INFO: Applying Binding Policy.
    INFO: No publisher policy found.
    INFO: No binding policy redirect found.
    INFO: Begin assembly probing.
    INFO: Did not find the assembly in WinSxS.
    INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.MFCLOC\8.0.50608.0__1fc8b3b9a1e18e3b\Microsoft.VC80.MFCLOC.DLL.
    INFO: Attempt to probe manifest at C:\Program Files (x86)\Citrix\ICA Client\Microsoft.VC80.MFCLOC.DLL.
    INFO: Attempt to probe manifest at C:\Program Files (x86)\Citrix\ICA Client\Microsoft.VC80.MFCLOC.MANIFEST.
    INFO: Manifest found at C:\Program Files (x86)\Citrix\ICA Client\Microsoft.VC80.MFCLOC.MANIFEST.
    INFO: End assembly probing.
    INFO: Resolving reference Microsoft.VC80.MFCLOC.mui,language="&#x2a;",processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0".
    INFO: Resolving reference for ProcessorArchitecture WOW64.
    INFO: Resolving reference for culture en-US.
    INFO: Applying Binding Policy.
    INFO: No publisher policy found.
    INFO: No binding policy redirect found.
    INFO: Begin assembly probing.
    INFO: Did not find the assembly in WinSxS.
    INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.MFCLOC.mui\8.0.50608.0_en-US_1fc8b3b9a1e18e3b\Microsoft.VC80.MFCLOC.mui.DLL.
    INFO: Did not find manifest for culture en-US.
    INFO: End assembly probing.
    INFO: Resolving reference for culture en.
    INFO: Applying Binding Policy.
    INFO: No publisher policy found.
    INFO: No binding policy redirect found.
    INFO: Begin assembly probing.
    INFO: Did not find the assembly in WinSxS.
    INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.MFCLOC.mui\8.0.50608.0_en_1fc8b3b9a1e18e3b\Microsoft.VC80.MFCLOC.mui.DLL.
    INFO: Did not find manifest for culture en.
    INFO: End assembly probing.
    INFO: Resolving reference for ProcessorArchitecture x86.
    INFO: Resolving reference for culture en-US.
    INFO: Applying Binding Policy.
    INFO: No publisher policy found.
    INFO: No binding policy redirect found.
    INFO: Begin assembly probing.
    INFO: Did not find the assembly in WinSxS.
    INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.MFCLOC.mui\8.0.50608.0_en-US_1fc8b3b9a1e18e3b\Microsoft.VC80.MFCLOC.mui.DLL.
    INFO: Did not find manifest for culture en-US.
    INFO: End assembly probing.
    INFO: Resolving reference for culture en.
    INFO: Applying Binding Policy.
    INFO: No publisher policy found.
    INFO: No binding policy redirect found.
    INFO: Begin assembly probing.
    INFO: Did not find the assembly in WinSxS.
    INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC80.MFCLOC.mui\8.0.50608.0_en_1fc8b3b9a1e18e3b\Microsoft.VC80.MFCLOC.mui.DLL.
    INFO: Did not find manifest for culture en.
    INFO: End assembly probing.
    INFO: Parsing Manifest File C:\Program Files (x86)\Citrix\ICA Client\Microsoft.VC80.MFCLOC.MANIFEST.
    INFO: Manifest Definition Identity is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
    ERROR: Component identity found in manifest does not match the identity of the component requested. Reference is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50608.0".
    Definition is Microsoft.VC80.MFCLOC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="8.0.50727.762".
    ERROR: Activation Context generation failed.
    End Activation Context Generation.

    Hello Xyzam,
    Welcome to MSDN forum.
    Based on your description, I am afraid that your issue is out of support range of VS General Question forum which mainly discusses
    the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    Whether did this issue occur when you do something in Visual Studio? Which version of Visual Studio are you using? If you got this issue when you worked with a project, please tell us the type of your project, is it MFC project?
    When you running this MFC project?
    If you created  new and simple project, whether you get this issue?
    Please provide us detailed information, then we will provide you better support.
    Best regards,
    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.

  • SSIS ETL does not pick the file from Share point when it execute through SQL Agent job

    I have created one SSIS packages, which pick the file from the Share point document library. its work successfully, once it execute through the VS project application. 
    But when i create a job in SQL Server Agent for this package then it does not pick the file and job getting fail. 
    Just for more update, SQL Server has been install in Cluster mode and using BIDS 2012 with SQl Server 2012.

    Hi PriyankGupta,
    SQL Server Integration Services is not cluster awareness, and does not support failover from one cluster node to another. So, in your clustered environment, make sure SSIS is installed on each node in the cluster. In other word, SSIS must be installed on
    the server where the SQL Server Agent job is created. 
    If you use any third party task/component or drivers, make sure they are installed on the SQL Server Agent job server. Besides, also pay attention to the protection level of the package as well as 32-bit or 64-bit runtime mode of the package. For more information,
    please see:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/e13c137c-1535-4475-8c2f-c7e6e7d125fc/how-do-i-troubleshoot-ssis-packages-failed-execution-in-a-sql-agent-job 
    If the issue persists, please post the error message in the job history for further analysis.
    Regards,
    Mike Yin
    TechNet Community Support

  • I updated my itunes to 11 and found out my phone and ipod were not compatible. I uninstalled it and reinstalled 10.7 but now I get an error message when I try to open itunes saying "the file cannot be read because it was created by a newer verison"

    I updated my itunes to 11 and found out my phone and ipod were not compatible. I uninstalled it and reinstalled 10.7 but now I get an error message when I try to open itunes saying "the file cannot be read because it was created by a newer verison" What do I do?

    Thank you for clarify I'm supposed to read the ENTIRE article. I thought I was just supposed to read the title and magically everything will fix itself. I appreciate you taking the time to help me however I do not appreciate the caps and the way you have addressed the situation. If you are not going to kindly help people/make suggestions just don't try! And for the record my conclusions are not illogical, the iOS7 thing is on the website in small font (which I got by reading the ENTIRE thing) and you should really find a new hobby because your socialization skills need some help! That goes for you too Chris. Not everyone is a tech nerd

  • HT1338 Im trying to watch a film downloaded from Bit Lord, I'm getting 'Error Dolby AC3 Audio". Player does not recognize the audio in this video, how do I fix this?

    Im trying to watch a film downloaded from Bit Lord, I'm getting 'Error Dolby AC3 Audio". Player does not recognize the audio in this video, how do I fix this?

    Download VLC and try playing the video...
    http://www.videolan.org

  • Changing animation frame rate when rendering in photoshop does not change the length of the video?

    I made a walk cycle animation in Photoshop CS6 and want to render it into a quicktime format. I'd like it to be 12 fps, but when I rendered it at 12 fps the video seemed to be missing frames, and the video was 3 seconds long. I have 98 frames to my animation; doing the math, at 12 fps it should be 8 seconds long. Not 3.
    I was confused and for curiosity's sake I rendered the video at 6 fps, trying to really slow it down. The video ended up being STILL 3 seconds long and only maybe 20 frames. I was missing literally 70 frames. I'm so upset with this rendering thing, I could chuck my computer at the wall.
    Does anybody know of a solution to this?
    edit: If it means anything, I've tried rendering it straight from the frame view and the timeline view. Each time I render it I have the timeline frame rate match the rendering frame rate as well.

    floriannaart wrote:
    Changing animation frame rate when rendering in photoshop does not change the length of the video?
    Photoshop CS6 and CC support two types of animation Frame animations and a Video Timeline
    Changing the frame rate should not change the length of a video timeline. It should just change the number of frames that are rendered.  To change the length of a video you need to change the length of the video timeline.  If you increase the length of the timeline and there is audio I'm quite sure there will be a problem with it,  The Video part will most likely be better then the sound. The required number of extra frames can be generated however the video may look like slow motion. If you decrease the length the motion will speed up.  The length of a video is normally done be editing video clips which are trimmed and stitched together to get the desired duration. Not normally done by altering the duration of a clip.
    The duration a of Frame animation is the sum of the times each frame is displayed.  In a frame animation the length of time a frame is displayed can be varied it not a normal motion picture video.  To have a smooth frame animation you need a sufficient number of frames that are different from each other to show smooth motion.  You can use Photoshop Frame animation tween feature to have Photoshop manufacture frames to help with a smoothing the animation.   Once you have a frame animation the length with the motion you want you can have Photoshop convert it to a video timeline and render a normal motion picture video.  It will not have audio but you can add audio to it.

  • Firefox causes crash when using Youtube explorer does not have the same effect

    firefox causes crash when using Youtube explorer does not have the same effect

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Check and tell if its working.

  • Can I migrate from mavericks to mavericks server. Have tried using a hard drive but the but the sever does not find the migration backup when it's searches. Any help out there?

    Can I migrate from mavericks to mavericks server. Have tried using a hard drive but the but the sever does not find the migration backup when it's searches. Any help out there?

    Is the HDD in the 2009 15" MBP dead?  (The original source of your data)  If not, you might want ot take it out and put it in an enclosure.
    You might try spotlight on know files to see if that gives you any clues where your data is located.
    You might down load from the Internet OmniDiskSweeper (free) and open it.  It should show you all of the files you have on your MBP and enable to locate them.
    Ciao.

  • Error: Could not find the file "flash.ocx"

    I have been receiving the error COULD NOT FIND THE FILE
    "FLASH.OCX" for the past couple of months - I have been watching
    the message boards and have seen a lot of "fixes" and beta's come
    up errors (not sure that it's this exact error though).
    I get this error continuously throughout the day - no matter
    if I have nothing running on my computer or I have 10 things open.
    This morning it occurred to me that my screen saver is not coming
    on and it seems to me that the above errror is popping up everytime
    my screen saver should start. I HAVE TIMED THIS TODAY AND CHANGED
    HOW LONG BEFORE MY SCREEN SAVER STARTS - AND IT IS DEFINITELY
    GETTING THE ERROR EVERYTIME THE SCREEN SAVER IS TRYING TO START.
    Last week, I deleted the version of Flash that I had and then
    re-installed; still getting the error.
    I was getting the error when I had IE6 so I thought maybe
    switching to IE7 would correct it - but it didn't (that was a few
    weeks ago).
    My computer does not freeze up but it is SOOO annoying to
    continually throughout the day get this error.
    IE7.0
    ADOBE 9,0,28,0
    WINDOWS XP - SP2
    PLEASE HELP!

    Ah-ah! The workaround is to map my network folder to a drive, say... M:\
    So, when I select Edit->Edit in Audition->Sequence, I can select the Browse button to alter the Path destination. Instead of seeing '\\Zeus\Projects\...', I select the mapped M: drive so the path reads 'M:\Projects\...' instead.
    Then, Audition loads and is able to find the sequence or clip.
    So... that solves my problem!

  • Got JBO-25080: Definition name does not match the file it is loaded from

    We are using jdev 11.1.1.5.0
    We got the following error when running ADF application on Windows 2008 platform
    [2011-08-26T23:57:53.728-05:00] [AdminServer] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 87d74ec2641f19b2:21e0e8f6:131ffbcf000:-8000-0000000000000afc,0] [APP: grc863] ADF: Adding the following JSF error message: Definition name: Survey does not match the file in which it is loaded from: oracle.apps.grc.domain.survey.survey[[
    oracle.jbo.NoDefException: JBO-25080: Definition name: Survey does not match the file in which it is loaded from: oracle.apps.grc.domain.survey.survey
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1127)
         at oracle.jbo.mom.DefinitionManager.loadParent(DefinitionManager.java:1353)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:1061)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:562)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:484)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:466)
         at oracle.adf.model.generic.AccessorDefImpl.getStructureDefImpl(AccessorDefImpl.java:217)
    However, we are able to run application fine on linux platform.
    We are aware of the bug https://bug.oraclecorp.com/pls/bug/webbug_edit.edit_info_top?rptno=8746171
    We changed the UI classes to avoid that issue but we did not change our backend classes.
    Thanks

    Looks like you are an Oracle employee as the link you provided can't be reached from the outside.
    If this is correct, you should use some kind of internal communication to address your problem, as we the normal users don't have access to the internal stuff.
    Timo

  • Software does not find the Database server

    Hi all,
    We are going to move database from old server MSSQL 2005 Express to the MSSQL 2008 R2 STD. For test I backuped DB from old server then restored at the new one. For some reason the software does not find the new server.
    I checked everything as from the link described:
    http://blogs.msdn.com/b/walzenbach/archive/2010/04/14/how-to-enable-remote-connections-in-sql-server-2008.aspx?Redirected=true
    Also at the new server we have another production DB that is running without any issues...
    System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected
    host has failed to respond 195.30.95.163:80
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
       --- End of inner exception stack trace ---
       at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
       at System.Net.HttpWebRequest.GetRequestStream()
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at OptoWare.OrderEntry.OrderInterfaces.WebReferenceOWEdix.OWEdixService.OWEdix_GetStatus(String custID, String password, String countryCode)
       at OptoWare.OrderEntry.OrderInterfaces.EdixInterface.b(Object A_0, DoWorkEventArgs A_1)
    2014-03-31 16:54:58,924 [1] ERROR OptoWare.OrderEntry.Controls.Config.ServiceControl - Connetction to FI1-sv-prod014\mssqlserver failed.
    System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured
    to allow remote connections. (provider: SQL Network Interfaces, error: 25 - Connection string is not valid)
       at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject)
       at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart)
       at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance)
       at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options)
       at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at OptoWare.OrderEntry.Controls.Config.ServiceControl.i()

    It looks like the connection is getting refused because of your application configuration.
    Refer similar thread 
    http://forums.asp.net/t/1180127.aspx?A+connection+attempt+failed+because+the+connected+party+did+not+properly+respond+after+a+period+of+time+or+established+connection+failed+because+connected+host+has+failed+to+respond+
    -Prashanth

  • Windows 8.1, BootCamp does not find the ISO image.

    When I try to install Windows 8.1, BootCamp does not find the ISO image.
    I purchased Windows 8.1 Pro, I downloaded the .exe requested file from a Windows computer, performed the steps recommended by Microsoft in order to create the ISO file saving it on a flash drive as well and, as a precaution, on a DVD too.
    I performed the "Download the latest Windows Support Software from Apple" step directly into another flash drive and having it completed BootCamp displays the following message:
    "The installer disc could not be found  –  Insert the Windows installer disc and wait a few seconds for the disc to be recognized. "
    So happens that I have tried this using the DVD, pendrive and also copying the ISO file to the desktop and to the "Documents" folder as recommended in certain websites, but none of this has made the process go ahead. What can I do?
    My equipment is a mid 2011 iMac running Mac OSX 10.10.1.

    Dear Loner T,
    thanks to my coworker, the solution was unpacking from that ISO file which I had recorded (according to the steps indicated by Microsoft), but now using Nero software (Windows) and then recording by the most common way in a new DVD. See the screen of the first DVD before unpacking:
    This true saga only demonstrated that the generated ISO file as an option at the time of the Windows installation, is not for direct installation through BootCamp, and as a I could check, even for direct installation on a Windows PC. See the last DVD burned using Nero and  again recorded:
    The execution of BootCamp, was perfect
    Thank you for attention to my problem!

Maybe you are looking for