To use remote App.config file fails in Windows 8

I want to read app.config from the remote server on my NET 3.5 application.
For example, I'm updating "APP_CONFIG_FILE" to set remote app config like the below code.
It works fine on Windows 7 or previous windows version.
But on windows 8, the program is being in no-response stage(like kind of deadlock) when calling ConfigurationManager.AppSettings. There is no error message here and I have to kill the process manually by using Task manager.
I'll appreciate for any suggestion or comment.
static class Program
[STAThread]
static void Main()
AppDomain.CurrentDomain.SetData("APP_CONFIG_FILE", "http://xxxx/app.exe.config");
MessageBox.Show(ConfigurationManager.AppSettings["HelpFile"]);
Thanks

Hello momo898,
>> But on windows 8, the program is being in no-response stage(like kind of deadlock) when calling
I suggest that you could follow this blog below to find the detail caused reason:
http://blogs.msdn.com/b/tess/archive/2006/10/16/net-hang-debugging-walkthrough.aspx
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.

Similar Messages

  • What the use of piublicKeyToken in App.Config file

    Hi Experts,
    I'm trying to get some answers related to "piublicKeyToken" in App.Config file if its needed at all! if so do I need to change it for different WS or I can use the same key with different project?
    Thanks

    Anyone!

  • HT1947 Using remote app , I am able to play songs on my pc to Apple TV. Now I would like to play them from pc to my bluetooth device. Is that possible?

    Hi, I am able to use Remote app on ipad to stream songs on pc ( iTunes library using home sharing ) to Apple TV. I would like to stream to bluetooth device. Is that possible?

    Movie mode
    continuous MPEG-4 video with audio capture/playback
    Movie image resolution
    VGA (640x480 pixels) at 13 fps
    QVGA (320x240 pixels) at 20 fps
    Movie length
    limited by capacity of memory card or 5, 15, 30 second clips
    Movie file format
    Still: JPEG/EXIF v2.2.1; Video: QuickTime MOV (MPEG-4 compression)
    This info is from the Kodak pages.
    My only guess at the error message is the very odd 13 frames per second recording. I don't know what to suggest.

  • Getting a "An error occurred while saving values to the app.config file." message

    The content of the title is just part of the message I get. The second line of the message is: "The file might be corrupted or contain invalid XML."
    I work with a lot of usercontrol libraries, and each one has 1 or 2 connection strings setup, and nothing else. I have no trouble in the code itself using the settings. Nor do I have trouble during runtime with them. But I do have the problem with every single library I work on.
    The problem occurs when I make a change to the settings in the VS IDE (2005), which I do whenever I need to the connection string to point to my test SQL server, or need to set it back to the production SQL server. The connection strings were setup in the Settings tab of the Property page for the application.
    I get the error message whenever I select the settings tab and again when I go to save it. I once tried deleting the app.config file, and recreating the settings, and the message went away until I checked it in. No one else has the problem when they get the files, but when I get then, I get the error message.
    Any ideas what may be causing this. My boss thouight it might be an addon from CodeSMART, but I uninstalled it to see if the errors would go away and it didn't.
    Thanks.
    MarshallMarshall Youngblood

    Marshall,
    I am not sure if it helps in your case, but I have the similar problem. Add foloowing lines in your app.config file  in configSections  tag.
    <
    configSections>
    <
    sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
    <
    section name="ApLibrary.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    </
    sectionGroup>
    </
    configSections>
    let me know if that helps.
    Purvi Patel

  • How can I display more info using remote app?

    Hi there,
    I use remote app a lot, but I find it quite basic in the display features.
    I mean: remote is great to browse my music library and play songs with on my living room hi-fi while I'm sitting comfortable on my sofa.
    But what if I would like to know the release date of the album, the name of the composer, and so on?
    Is there any way to configure the remote app to display more?
    Is any kind of new release of the app on its way?
    Thank you.

    Command (right) - click on a photo in the Photo tray and select Small Photo from the contextual menu:
    This will give you two columns of photos.
    To reduce the number of photos to select from one can select only Unplaced Photos to be displayed in the tray.
    Happy Holidays

  • HT1947 If you add music VIDEOS to Up Next playlist, then go to look at the album cover playing screen, then go to add another song from diff playlist, no longer can see Up Next, just go to full screen mode button. Using remote app iphone 5 to play out of

    If you add music videos to Up Next playlist, then go to look at the album cover playing screen, then go to add another song from different playlist, you no longer can see Up Next, just go to full screen mode button. Using remote app iPhone 5 to play out of iTunes. It looks like it works fine for regular music, but for music videos you can't see your up next unless you go back on the computer to change once you've left the screen. When using the remote app, you shouldn't need to go to iTunes on the PC to view or edit Up Next already added. See first image, you can hit upper right and get back to Up Next (second image). Third image is music video, where you can't get back to Up Next, just swap between full screen and not. I hoped 3.0.1 would have the answer, no luck!

    wow, very nice review Makes me want to get a vision for myself.
    WebKnight wrote:
    <SPAN>
    Add the ability to randomly select a new background from a pre selected group of photos every time the player is turned on or each day.
    I would love that feature. I can't stand useing my computer with a single wall paper anymore (I have 500 anime pics that i rotate between every 2 mins ) If you could make the vision rotate background every x minutes or every time the player is turned on, it would be totally amazeningly sweet!!!! (i might have to go out and buy one then :P)
    I just hope that creative has better firmware support with the vision than they have had with the touch.
    Once again, great review

  • Issues using multiple load-config files with ant

    Hello,
    Not sure if this is the correct place...
    I am creating an ant build script to compile our flex application. I am trying to use the default flex-config by doing <load-config filename="${flex.sdkPath}/frameworks/flex-config.xml"/> and project specific config file add the datavisualization module and any other libraries we might need in the future. I am trying to do this as I don't want to modify the flex-config.xml
    The issue I keep running into is I get a compiler error saying "unable to locate specified base class 'spark.comonents.application..". if I place the custome load-config file above the adobe default flex-config it gives errors stating it the "SeriesSlide" type
    <mxmlc file="${project.sourcePath}/FBApp.mxml"
             output="${project.output.binaryPath}/${project.output.fileName}.swf"
             locale="en_US"
             static-link-runtime-shared-libraries="false"
             static-rsls="false"
             use-network="true"
             accessible="false"
             debug="true">
             <load-config filename="${flex.sdkPath}/frameworks/flex-config.xml"/>
             <load-config filename="C:/Hudson/.hudson/jobs/FB 2.0 Flex/workspace/FBApp/FB-config.xml"/>
             <source-path path-element="${flex.sdkPath}/frameworks/libs"/>
             <source-path path-element="${project.sourcePath}"/>
             <library-path dir="${flex.path}/sdks/${flex.sdkVersion}/frameworks/locale/en_US"
                includes="*"/>
             <library-path dir="${project.libraryPath}"
                includes="*"/>
             <keep-as3-metadata name="Protected"/>
          </mxmlc>
    the following is my FB-config.xml
    <?xml version="1.0"?>
    <flex-config>
       <runtime-shared-library-path>
    <path-element>C:\Program Files\Adobe\Adobe Flash Builder 4 Plug-in\sdks\4.1.0\frameworks\libs/datavisualization.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.1.0.16076/datavisualization_4.1.0.16076.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>datavisualization_4.1.0.16076.swz</rsl-url>
    <policy-file-url>.</policy-file-url>
       </runtime-shared-library-path>
    </flex-config>
    It seems to be that the first "load-config" ant runs into is the only one that gets used. When looking around the internet I have multiple cases of where people say they have successfully used multiple load-config files.
    This one in particular.
    http://flashdevelop.org/community/viewtopic.php?f=13&t=5629&view=previous
    If I had to guess on what was wrong I believe my FB-config.xml file is incorrect but I can't find an example of anyones custom configuration file.
    Any guidance would be apprecaited.

    I am embarrassed to say that your solution answered my question.
    I was about 10 min away from rewriting my Ant script to just use the mxmlc.exe directly instead of the mxmlc ant tag. I kept running into the -flex-config+=YourConfig.xml for the command line option but never saw the xml variant.
    http://blog.flexexamples.com/2008/12/21/using-a-custom-flex-configxml-file-in-flex-builder -3/
    http://livedocs.adobe.com/flex/3/html/help.html?content=configuring_environment_3.html
    Does Flex have any documenation that shows all the different tags that are available like the Ant documenation?
    http://ant.apache.org/manual/Tasks/delete.html
    Thanks at ton.

  • Airplay icon missing using Remote app

    I have an iphone 5, a 3th generation apple tv and an receiver Pionner Airplay compatible.
    The apple tv plays streaming my music library stored on iTunes Match.
    The songs are selected via the Remote app installed on my iPhone5.
    While using Remote app, I can not send music from the ATV3 to the receiver Pioneer because the Airplay icon does not appear.
    I also made these tests:
    If I use the remote control of the ATV3 instead of the Remote app, I see and I select the Pioneer among the members Airplay compatible
    If I use the Remote app to control iTunes server installed on a PC instead of ATV3, Airplay icon appears correctly and I see the Pioneer among the components Airplay compatible.
    In conclusion:
    Airplay functionality working correctly between ATV3 and  receiver Pioneer only if I use the remote control of the ATV3, but does not work if I use the Remote app from the iPhone 5 (Airplay icon missing).
    Any idea?

    I've just bought an Apple TV yesterday and what a surprise to find this behavior as well. I use the remote app for everything about the Apple TV but swapping left and right to adjust the volume of the Airplay speakers doesn't work, so I need to use the physical remote only for that. Hope it's a bug that will be corrected. Doesn't make sense.

  • Can i install windows 7 via bootcamp (MB Air) while using remote disc? I put the windows 7 disk in my macbook pro drive, and connect to my brand new macbook air. In bootcamp i allocate the partition then i click install and bootcamp will not see the disk.

    Can i install windows 7 via bootcamp (on my MB Air) while using remote disc? I put the windows 7 disk in my macbook pro drive, and connect to my brand new macbook air via remote disk. In bootcamp (on my air) i allocate the partition, then i click install, and bootcamp will not see the disk from my macbook pro's drive. How do i get the bootcamp assistant running on my MB air to automatically find the disk in my macbook pro with the ISO image of windows 7? The remote disk on my air can find the cd but bootcamp will not begin installing it. Anyway to do this without buying the damned usb drive?

    I don't know first hand if you can use the Remote Disk option with Windows but as of 10.7.2 you can now use BCAssistant to make a bootable USB (thumb drive or external disk) W7 installer with the Boot Camp drivers installed also. Have you tried that yet?

  • IPod Touch 4G not detected in iTunes 10.0.1.22 when using Remote App 2.0

    I'm guessing Apple's Remote App 2.0 works well for iPhone 4 and iPad, but when I try using it with iPod Touch 4G, it does not show up in devices to enter the passcode.
    same wifi network
    iTunes 10.0.1.22, Home Sharing On, Library Sharing enabled, Looking for remotes enabled.
    iPod Touch 4G (iOS 4.1) (no problems with wifi)
    Apple's Remote App 2.0 Home Sharing login works well. Adding Library produces 4 digit passcode.
    BUT, again, it does not show up in Devices to have the opportunity to enter the passcode.
    iTunes is an approved app in firewall settings.
    Win 7 (32bit) Network Detection/Printer&File Sharing is enabled.
    Interesting:
    When I try to connect to Airport Express with my PC,
    I receive "unknown error (-15006)"
    Another iMac running iTunes 9 is able to stream music to the airport express without problem.
    Using my PC, I'm able to connect to the iMac, and stream music from the iMac to my PC.
    When Airport Utility (on PC) is open I can't detect Airport Express (even though the light is solid green.
    I'm still guessing iTunes 10.0.1.22 has AirPlay/AirTunes issues, and in general doesn't want to detect any wifi devices.
    I haven't yet looked up the error code, but would love to hear some thoughts out there.
    Anyone else have similar issues? Are there any fixes?
    Please share.
    Thanks.

    another piece of info about Remote App 2.0 on my iPod Touch 4G
    I'm able to turn on the Home Sharing button inside the app.
    The text description below it says:
    "Remote will automatically find the iTunes libraries and Apple TV's that have Home Sharing turned on using the account _____."
    Both my iTunes and this app have Home Sharing turned on and logged-in using the same account info, but Remote App is NOT automatically detecting my iTunes library. Nothing happens!! When I then click the "Add an iTunes Library" button, Remote app generates a 4-digit passcode number, but still won't detect my iTunes account. The same is true for iTunes; it will not detect my iPod Touch as a nearby wireless device on the same wifi network.
    I don't know how to move beyond this issue!
    Am I correct to assume that signing into my Home Sharing account on Remote App should automatically find my iTunes Library and populate the Remote App screen on my iPod Touch with a button/link to start navigating my iTunes Library, while at the same time iTunes should detect my iPod Touch in Devices and give me a screen to enter the passcode? Do I actually need a passcode if I'm using Home Sharing?
    I'm guessing that Home Sharing is for when I'm at my house, and a passcode is for when I'm at a friend's house. Could someone confirm if this is really the case?

  • Remote app on ipod fails to connect to itunes 10

    After upgrading to iTunes 10, my remote app on the ipod touch 4G fails to connect. I've reauthorized, which times out most times, but eventually when it works, it only continues to connect to iTunes until I close and restart the program. I've disabled all firewalls and still have the issue. iTunes 10/iPod Touch 4G/iOS 4.1/ancient remote.app do not play well together.
    Anyone else unable to get the remote app working reliably with this combination?

    Hello all,
    I would like to get more details from people who are still having trouble getting Remote 2.0.1 to connect. If you are unable to connect, please email me <[email protected]> with the following information:
    - A detailed description of the specific issue you are seeing.
    - What OS is on the host computer? (the one with iTunes on it)
    - What OS is on the affected iOS device(s)?
    - A description of your network topology. Please be as detailed as you can, including hardware and firmware versions, if possible. Also please explain how everything is connected.
    - Is the base station running default settings, or do you have any non-standard settings enabled? If so, please elaborate.
    - Do you have the built-in firewall enabled on the host computer?
    - Do you have any other firewall or Internet protection (anti-virus, etc) installed on the host computer?
    - Were you able to connect with versions of Remote prior to 2.0?
    - If you have multiple computers, can you get Remote to connect to any of them?
    - Does Home Sharing work between computers on your network?
    - Do you see any messages in Console (in Applications/Utilities) on the host computer that seem to coincide with the connection failures?
    Thanks,
    Roy
    <[email protected]>

  • Getting Apple TV to play music from iTunes using Remote App on iPad

    Hi
    I play my iTunes Library music on my Apple TV. I use the Remoe App to select songs etc.
    However, if I stream (push) from iTunes to Apple TV the subwoofer does not play (this is a well know problem). However, if I pull the music from the Apple TV (by selecting computers) it plays as it should.
    When using the Remote App on my iPhone 4S I simply select the Apple TV 3, then select "More" - "Computers" and then the library. Select the music and all is good. When I select More I get all sorts of different options (Albums, Composers, Computers and six others).
    However, when I do the exact same thing on the Remote App on my iPad 2 I only get the options of Songs, Playlists, Genres and Composers - but not Computers.
    It doesn't seem to make much sense, does it?
    I can of course select the iTunes library on the iPad and stream to the Apple TV but then I get the subwoofer problem.
    Any solutions?
    Thanks!

    Press the Music In ... to the left of "Albums" at the bottom of the Remote App and select a different library to show in the app. That seems to do it.

  • Trying to use Remote app on iPad, but no remote button on itunes in PC

    ITunes on my PC does not show any Remote Icon on Tab bar or anywere else, so I can't add iTunes library to my iPad

    Ok, thanks, now I see the very inconspicuous little "control pad" icon in bottom right corner of Remote App. How the **** is a guy supposed know what that means? Why not just put a button labled with "Control Pad" or something on it?
    Thanks just the same. Now that I know that, it works really slick. I can start/stop/pause rented movies and use my iPad as remote touch pad to navigate anywhere on the Apple TV menu. Nice.
    Can't wait for the "real" Apple TV set to come out.

  • How do I enter 4 digit passcode in itunes using remote app

    My Apple TV is out of sync with my iPhones and iPad. I was trying to add new phone with the remote app and turned off and back on home sharing trying to find where to enter that 4 digit passcode the app gives on each devioce when you select Add an iTunes Library. On older version of iTunes when you had the devices on the left you RT click and added 4 digit passcode. On the current version of iTunes I can not find where to do that at all. What am I missing? Running Windows 8 with current version of iTunes as of September 2013. I remember setting the passcode in old version just fine. Remote app is great and I want it working again! And yes everything network wise is working I was using it to start a movie using the iPad running remote app. While trying to get new phone working killed off all device remote access!

    There is no passcode to enter.
    Why do you believe that a passcode is needed?
    Understanding HomeSharing

  • Using Remote app on iPhone 5 without a separate internet connection and wifi router.

    Hi,
    I need to be able to control iTunes within my MacBook Pro remotely. Using my mobile broadband service and wireless router I've been able to get the Remote app to allow my iPhone 5 to do the job nicely through Home Share.  So I went and bought a separate WiFi router and tried to do the same thing. Of course when it didn't work, I discovered that I need an internet connection and WiFi network to make the Home Sharing work.
    So I got to thinking, can I create a WiFi hotspot using the Personal HotSpot functionality of my iPhone, set up Home Sharing on phone and MacBookPro and then use the Remote app. Ideally this would work as it seems all the key components are in place.
    The MacBook Pro accepts the iPhone hotspot as a means of Home Sharing, however the iPhone won't use the personal hotspot to Home Share and I can't connect to the iPhone personal hotspot on the iPhone itself.
    Does anyone know how to make this work for me? It would be such as neat solution if I can get it to work - not to mention the potential to save me about $200 (I need to set this model up for two people).
    Cheers
    Kathy

    Same trouble here, iPad 2 with latest OS and remote app, iPod with latest OS and app.

Maybe you are looking for

  • Syntax highlighting not working with label on if statement in fortran in Visual studio 2010

    I am having a difficult time in figuring out the syntax highlighting in Visual studio. I am using fortran code and there are labels in if statements as follows:              if_2003: IF (FRAC_PBED(NNSED,L).LT.0.0.AND.      +                   FRAC_PB

  • Next and Previous Buttons, n00b edition

    OK, I am trying to construct a "timeline" flash file, where basically you click either a next or previous button to move through different frames, and I think I know how to do everything other than the next and previous buttons. Two questions: Would

  • Adding text boxes, etc on top of background image (bitmap)

    I have an image (saved as a bitmap that I created in a drawing program) and I want to add it as a background to one of my panels in my swing application. I need to be able to put stuff on top of it, such as text boxes, etc. What is the best way to ge

  • Skype to Go to Skype account

    I am supposed to be able to set up Skype to go to call a skype account from a telephone. While this works in most cases, it will not recognize Skype ids starting with "live:" (accounts originally created when Skype started accepting Microsoft account

  • Why use app server and EJB?

    we have a project about Component-based Library for Business Information Systems. We have chosen Point-Of-Sales System as the type of our system. why do we need to use app server and EJB? Hope can have replies soon. Thanks so much! regards beginning