Corrupted IP config file?

Hi
I have a broadband cable connection in our building. Im not sure of the exact setup as I just plug an ethernet cable into my mac and I have internet. (The broadband company serves the whole residential building and the modem or router isnt accessible by the users, only the ethernet cable).
I was assigned an IP address (xx.xx.xx.176) to use and all worked well. Then one day I had a 'IP address in use by xxxx etc' message, the internet continued to work for a couple of days and then nothing. My network status showed I had a connection to the network (green lights) but the internet and server status lights were red and so i couldnt access any sites.
After phoning the company they said they would send someone,(still waiting..I live in Moscow, Russia after all:-) Anyway, in desperation i entered an IP of xx.xx.xx.255 and all works!!??
I assume i stumbled across a test IP address and the company might eventually figure that out and stop me from using it.
My question; is there a configuration file on my iMac that holds IP address etc that could of got corrupted? Can i delete it and re-enter my proper assigned IP address so it creates an uncorrupted config file?
Thanks
Dave
iMac G5 Mac OS X (10.4)
iMac G5 Mac OS X (10.4)

Hi Mosdave, Welcome to discussions. The file you are looking for is in /Library/Preferences/Systemconfiguration/ and either Networksomething,I'm not at my mac at the moment-sorry, or preferences.I'll check and get back to you. Try renaming the preferences file to preferences.old and see if that helps any.
Cheers.

Similar Messages

  • I have corrupted my windows config file in bootcamp. Can I repair it? on

    I have corrupted my windows config file in bootcamp. Can I repair it? If so, how?

    i found out that itunes erases these files by itself.

  • Phone Config Files Missing/Corrupt?

    We just had an issue with a customer where all of their phones went down at once... when they rebooted the phones all got stuck at "Configuring IP Address".
    I logged into the system to take a look, all the phones were unregistered.
    When I did a debug on tftp events -- they were all trying to pull their config. (though it seems only the "Default" configs were going through successfully)
    I did a "no create cnf-files" then "create cnf-files" in telephony-service.... this IMMEDIATELY fixed the problem -- all the phones were re-registered within seconds.
    Has anyone seen this before? Any suggestions on what the cause could be?
    It seems to be a 2-fold issue, 1. All the phones rebooted at the same time, 2. The config files were seemingly gone, corrupt, or inaccessible in some way.
    For Cisco employees, SR #622640237 (UC520 - TAC)

    Hi Daniel,
    I have seen this before a few times, only ever though on a UC-520 and once only on a 540 but never on a UC-560... I don't know why each system exhibits different results/symptoms.
    Something goes feral with the CNF files and in particular to SPA phones and older 7960/40 series (Never for the 7965 or 7975 phones), the only way to resolve it was to do what you did and replace the CNF's with new ones by running the "NO" command and reinstating it again.
    This also mainly happens when it is a bad shutdown, moreso when it is a SAG or a Brownout and then complete powerdump, it is one of the first things to get effected by this.
    Cheers,
    David Trad.

  • 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

  • The Em Key is not configured properly or is corrupted in the file system and doe s not exist in the Management Repository.

    I'm getting this error and is there any way to resolve this without re-creating the service/s again, etc. Just curious if there are any suggestions/steps I may have missed, if not, I'll drop and recreate the services again
    Anyway, I have a backup of the emkey.ora and put it in the sysman/config directory, but still doesn't work... please see below...
    C:\Documents and Settings\abigail>emctl status emkey
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
    Please enter repository password:
    The Em Key is not configured properly or is corrupted in the file system and doe
    s not exist in the Management Repository. To correct the problem:
    1) Copy the emkey.ora file from another OMS or backup machine to the OH/sysman/c
    onfig directory.
    2) Configure the emkey.ora file by running "emctl config emkey -emkeyfile <emkey
    .ora file location>".
    C:\Documents and Settings\abigail>emctl config emkey -emkeyfile E:\app\abigail\p
    roduct\11.2.0\dbhome_1\sysman\config
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
    Please enter repository password:
    The Em Key is already configured. To override the current configuration, run "em
    ctl config  emkey <options> -force".
    C:\Documents and Settings\abigail>emctl config emkey -emkeyfile E:\app\abigail\p
    roduct\11.2.0\dbhome_1\sysman\config -force -sysman_pwd ********
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
    The Em Key could not be configured. Unable to access file E:\app\abigail\product
    \11.2.0\dbhome_1\sysman\config.
    C:\Documents and Settings\abigail>emctl secure dbconsole -sysman_pwd ********
    Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
    Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
    http://ABIGAIL:5501/em/console/aboutApplication
    DBCONSOLE already stopped...   Done.
    Agent is already stopped...   Done.
    Securing dbconsole...   Started.
    Please enter repository schema password:
    Securing dbconsole...   Failed.
    EMKey is misconfigured.

    Sorry but I'll have to ignore your suggestion, and don't worry about how I spend my time
    AND OHMYGODD IT WORKSS!!! For future reference, this is how I solved it based on my searches, actually based on one particular search:
    http://franjv.blogspot.com/2013/08/emkey-problems-in-oracle-rac-11gr2.html
    Thank youuu whoever wrote that and... is it the same "Fran" who helped me the last time?!? Coincidence??
    ANyway, thank youuuu

  • XBMC-standalone config files location [solved]

    My HTPC seems to have corrupted one of the XBMC config files (probably the library) and now it doesn't seem to be able to add any videos (even with .nfo files) to the library (and it has lost quite a lot of videos that were already there).
    I've looked everywhere to try and delete the config files however I can't seem to find where they are when XBMC is started using systemctl (I thought I'd struck gold with "/usr/share/xbmc/system/" however deleting them didn't help).
    So far I've tried removing and re-installing XBMC and deleting /usr/share/xbmc/system (which is removed when uninstalling XBMC) and it doesn't seem to have reset configuration is there anywhere else I should look?
    Thanks for the help.
    Last edited by Aradreth (2013-10-19 12:32:48)

    There is no XBMC folder in any of the users under /home/ as it is run by the XBMC user created by the package. However you did make me think of looking at the .install file for where is puts the home directory for the user and the config files are in there ('/var/lib/xbmc/.xbmc/' if anyone else ever needs to find them).
    Problem solved.
    Thanks
    Last edited by Aradreth (2013-10-19 12:33:35)

  • NEED XSAN CONFIG FILE...3.5TB/14Drive

    We had a corruption of our 3TBXSAN config file due to a rogue XSAN 1.1 controller on our XSAN1.0 network. We are attempting to reconstitute the XSAN volume, but we don't know the exact parameters of the XSAN. We striped across both Left and Right and put the metadata on the volume. We were running it under 10.3.9 with XSAN 1.0 controller. (We have since upgraded to a XSAN 1.1 controller running 10.4.2) In order for us to attempt to recover the data, we need that config file.
    Anyone else out there still running this configuration? If so, please respond or email me at [email protected]
    If you need the detailed information on which files and where they live, I can get that to you.
    Thanks,
    Cody

    Depends on the motherboard. This one allows you to enable the onboard graphics only when no external card is found, or always enable. The PCI-E card initialises first, if that helps.
    EDIT: Also I can confirm that it can run both cards (all three monitors) at the same time by switching to initialise the onboard card first, however that makes some weird stuff happen so I switched it back. And also the nouveau driver is shown in lsmod, and gets detected in the boot message logs.
    Last edited by MisterAnderson (2012-01-26 16:56:58)

  • Please ensure that the applicationhost.config file is correct and recommit the last configuration changes made

    I am receiving event ID 5189 on Server 2008 R2, IIS 7.5.  I experience this error across a number of servers, each of which is running only the default web site, but have 600+ applications running on the default web site.  Each application
    has its own application pool.  My point is, the applicationhost.config is rather large.
    I have seen a number of posts on this error message, but my issue itself seems to differ somewhat.  I am aware of a similar post: http://social.technet.microsoft.com/Forums/en-US/3128ee93-1319-4cc2-9257-003512caf476/event-id-5189-microsoftwindowswas?forum=exchangesvrgeneral
    which points to KB http://technet.microsoft.com/en-us/library/cc734988%28v=ws.10%29.aspx
    However, in my case, it doesn't seem that the extreme measures for this resolution are required.  The error usually indicates a corrupted applicationhost.config that must be manually fixed, or otherwise the WAS service needs to be restarted, or the
    server itself, etc.
    In my case, the issue can usually be fixed by an application pool recycle, or at worst a stop/start.  I have an application which is sensitive to recycles, and so we do not have periodic recycle events configured for this application, which is the bulk
    of the applications on the servers.  It seems to me that this issue is usually caused by the application being in use when there is an applicationhost.config change.
    For instance, we have one application that we deploy using msdeploy.  We found that when we ran an installation for this application via msdeploy, we were receiving this event, and we would subsequently get 500 errors in the application (sometimes the
    application pool corresponds to that which is identified in the event log, sometimes it doesn't).    It seems like applications that were being hit at the time the applicationhost.config was modified by msdeploy were affected.  In an attempt
    to correct this, we moved from msdeploy to a batch file containing appcmd commands.  This also did not resolve the issue.
    I have another application which is installed using PowerShell commandlets.  We started to notice that this script also caused the issue to occur on occasion.  As I continued to identify different processes that resulted in the same issue, I came
    to the conclusion that this is likely due to any change in the applicationhost.config.  I assume the issue is that the applicationhost.config is modified during a read operation to the file by the application pool, or WAS service, and that the recycle
    event, which corrects the issue, forces a re-read of the applicationhost.config, resolving the bad-read issue.
    Has anyone else experienced this, or do you have any recommendations?  My current work-around is to not install any applications during peak hours, and performing an IISRESET after installs are completed, to ensure application stability.
    Message              : The Windows Process Activation Service failed to generate an application pool config file for application pool 'myAppPool'. The error type is '7'. To resolve this issue,
    please ensure that the applicationhost.config file is correct and recommit the last configuration changes made. The data field contains the error number.
    Id                   : 5189
    Version              : 0
    Qualifiers           : 49152
    Level                : 2
    Task                 : 0
    Opcode               : 0
    Keywords             : 36028797018963968
    RecordId             : 324108
    ProviderName         : Microsoft-Windows-WAS
    ProviderId           : 524b5d04-133c-4a62-8362-64e8edb9ce40
    LogName              : System
    ProcessId            : 0
    ThreadId             : 0
    MachineName          : MyComputer
    TimeCreated          : 3/3/2014 9:03:24 PM
    ContainerLog         : system
    MatchedQueryIds      : {}
    Bookmark             : System.Diagnostics.Eventing.Reader.EventBookmark
    LevelDisplayName     : Error
    KeywordsDisplayNames : {Classic}
    Properties           : {System.Diagnostics.Eventing.Reader.EventProperty, System.Diagnostics.Eventing.Reader.EventProperty, System.Diagnostics.Eventing.Reader.EventProperty}

    As an update to this issue, after doing some research, it appears the behavior is related to a new feature in IIS7 called Application Pool Isolation (http://technet.microsoft.com/en-us/library/dd163536.aspx).
    This new feature prevents cross-application spillage by isolating the configuration for each application pool in IIS.  So in reality, an application pool never actually reads the applicationhost.config - that is just a master file, and each time it
    is update, it triggers a change to the individual application pool configuration files, located in C:\inetpub\temp\apppools.
    We did try setting Advanced Settings > Disable Recycling for Configuration Change to true, but after an IIS reset we were still able to reproduce the issue - worse actually, because in our test program, which continually hits the web
    service, and also continually makes apphost.config changes, when the two events collide, the 500.19 issue precipitates; but after an additional change to the apphost.config, it seems that the additional changes will actually correct the issue (seemingly forcing
    another recycle, which is also how we resolve the issue manually); after making this setting adjustment, once the 500.19 issue precipitates, additional changes to the apphost.config does not correct the problem, only a manual recycle corrects it.  This
    is the recycling.disallowRotationOnConfigChange property of the app pool.  We also set the setting for recycling.disallowOverlappingRotation to True as well, with the same result.
    We ARE able to prevent this issue by setting the C:\inetpub\temp\apppools\myapppool\myapppool.config to read-only, but for obvious reasons, this is not a desired work-around.
    It seems like what is happening is that any change to the ApplicationHost.config is resulting in each of the C:\inetpub\temp\apppools temp application pool config files being updated as well, in addition to triggering an application pool recycle.  It
    seems to me the desired behavior would be that these files are only updated if the applicationhost.config changes are specific to that application pool - but that doesn't seem to be the behavior.
    After turning on failed request tracing, I was able to narrow the error down more:
    ModuleName
    AnonymousAuthenticationModule
    Notification
    2
    HttpStatus
    500
    HttpReason
    Internal Server Error
    HttpSubStatus
    19
    ErrorCode
    2147942413
    ConfigExceptionInfo
    \\?\C:\inetpub\application\application\web.config ( 9) :Failed to decrypt attribute 'password'
    Notification
    AUTHENTICATE_REQUEST
    ErrorCode
    The data is invalid. (0x8007000d)
    This seems to be pretty static.  Trying to look into possible causes of this issue.

  • Config Files Backup to Avoid Interface Bug

    I have recently upgraded to Adobe Creative Suite Master
    Collection. Although I am impressed with the collection for the
    most part, I can't believe that Adobe has not addressed a glaring
    bug in the user interface that will contsantly corrupt the sites
    list and configuration files.
    The bug stems from having a large website portfolio. As a web
    designer, as well as a webmaster, I have just finished configuring
    most of the sites and directories I need immediate access to.
    Dreamweaver CS3 could not import the previous site list and
    configuration because of the interface bug which is constantly
    corrupting that file. What happens, is that I select the website to
    work on (say, dnsite.com) from the drop down list, and am satisied
    that I am there. Unfortunately, my attention is diverted or I
    simply forget to click somewhere else in the window. If I would
    click somewhere else in the window, things would be fine. But that
    fact that I need to is a true interface bug, because when I don't
    click somewhere else (for whatever reason), I look at my list of
    files and immediately start to scroll down through the file list to
    get to the file I want to work on, BY USING THE MOUSE WHEEL, like I
    always do. However, because I have not clicked outside of that
    original site list drop down box, that site list selector scrolls.
    The result is that Dw loads and scans each site over and over until
    it comes to the end of the list, OR CORRUPTS THE SITE LIST AND
    CONFIG FILE. This happens all the time with me, and it is extremely
    infuriating. In order to combat this interface design bug, and Dw's
    inability to protect its own configuration files by handling them
    correctly, or even producing a backup file that it can revert to in
    the event that it has corrupted that last site list and config
    file, this interface bug has forced me to manually backup the site
    list and config file. But apparently, this file has moved since
    Dreamweaver 2004 MX?
    By the way, it would be simple to fix this bug with a simple
    pop-up dialogue window that would disappear once the correct site
    was selected (duh... I thought that Adobe's noted interface design
    excellence would have fixed this strange idiotic flaw immediately,
    but I see they haven't addresses anything us web designers want or
    need). I know Macromedia was working on the interface, but they
    never did get it right and I was expecting BIG improvements from
    Adobe RIGHT AWAY (because they are so good at it and Macromedia was
    so poor at UI design).
    Because of this this bug, and because I just configured over
    60 websites that I need to maintain immediate access to, I need to
    backup my website list and configuration file, but I see that it
    has changed or moved. It used to be in the application data folder
    in the folder up one directory from the My Documents for my
    username on the computer, but I can't find it anymore. I checked
    All Users as well. Where has this file gone, and what is it named,
    now?
    By the way, as a default, you would be saving me and other
    web designers a great deal of time (re)configuring my list of sites
    if you would have included .psd .ai and .eps as file extensions to
    cloak. Macromedia didn't do this because they didn't want to
    promote you, but you own this software now, update it.
    So little thought has gone into this update that I am truly
    dissapointed. Dw used to improve with each update. You can't tell
    me anyone is happy with it and keep a straight face.
    -Doug
    Symbiotic Design

    > to the file I want to work on, BY USING THE MOUSE WHEEL,
    like I always do.
    > However, because I have not clicked outside of that
    original site list drop
    > down box, that site list selector scrolls.
    Not what you'll want to hear probably- but the site list
    scrolls again
    because the site list drop down is what has focus. It has
    focus until you
    click something else. That's the GUI behavior i would expect
    instead of a
    warning dialog box getting in the way.
    click in the files panel if you want to scroll the list of
    files for the
    chosen site.
    location of Configuration folder:
    Dreamweaver CS3 on Windows Vista:
    C:\Users\[username]\AppData\Roaming\Adobe\Dreamweaver
    9\Configuration
    * Dreamweaver 8 on Windows Vista:
    C:\Users\[username]\AppData\Roaming\Macromedia\Dreamweaver
    8\Configuration
    * Dreamweaver CS3 on Windows XP:
    C:\Documents and Settings\[username]\Application
    Data\Adobe\Dreamweaver
    9\Configuration
    * Dreamweaver 8 on Windows XP & 2000:
    C:\Documents and Settings\[username]\Application
    Data\Macromedia\Dreamweaver
    8\Configuration
    * Dreamweaver CS3 on Mac OS X:
    Mac HD:Users:[username]:Library:Application
    Support:Adobe:Dreamweaver
    9:Configuration
    * Dreamweaver 8 on Mac OS X:
    Mac HD:Users:[username]:Library:Application
    Support:Macromedia:Dreamweaver
    8:Configuration
    The site definition information is stored in a Registry Key
    on windows.
    mm-exporter.joexx.de/ is a free third-party utility that can
    handle this and
    other tasks.
    The site defs on macintosh- probaby easiest to use the Export
    button in the
    manage sites dialog box. Can't lay hands on the file location
    offhand.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • Upgrading Controller and Config Files

    Hello,
    I am upgrading my 4402 controller from 4.1.171.0 to 4.2.130. It says I need to save my current config because it will get dumped when I do the upgrade. What extension type do I save the config files as? It does not state this anywhere...
    Cisco sure doesn't make this process very easy. Save config file. Upgrade code. Download saved config file to controller. Hope nothing gets corrupted with all that and hope everything is re-enabled and configured like it was before upgrade? Seems like a lot can go wrong...

    Jerome,
    This is from the 4.2.112.0 release notes:
    In controller software 4.2, the controller's bootup configuration file is stored in an Extensible Markup
    Language (XML) format rather than in binary format. Therefore, you cannot download a binary
    configuration file onto a controller running software release 4.2. However, when you upgrade a
    controller from a previous software release to 4.2, the configuration file is migrated and converted to
    XML.
    This conflicts with what Cisco states earlier in their documentation. I thought when you upgrade it wipes everything and you loser your current config? After reading this section I gather that I only lose the running config and that it will upgrade the config stored in NVRAM? That all makes a lot more sense than what they say earlier in the guide. Once I do the upgrade I can't impor the old config due to it being in the wrong format.
    So in closing this mess my take is that I just need to upload the new software image to the controller. It will load the new software version and then convert the existing config in NVRAM into the new .xml format? Yes?

  • "Unable to open config file" Error when starting tomcat

    hi all,
    Here is the output from two of the log files when I start tomcat4 on my linux box. I have configured the mod_jk on the tomcat side.
    From the output of the second log file, it seems that the ajp13 worker I defined was started successfully. What I don't understand is the following:
    1) In catalina.out, where des the line 'Unable to open config file' come from? Which config file?
    2) Tomcat4 is supposed to generate a mod_jk.conf automatically, but I don't see any file generated in 'conf/auto/'.
    Content of 'catalina.out'
    Unable to open config file
    Starting service Tomcat-Standalone
    Apache Tomcat/4.0.4
    Unable to open config file
    Starting service Tomcat-Apache
    Apache Tomcat/4.0.4content of 'catalina_log.2002-08-16.txt'
    2002-08-16 01:05:22 HttpConnector Opening server socket on all host IP addresses
    2002-08-16 01:05:28 Ajp13Connector[8009] Opening server socket on all host IP addresses
    2002-08-16 01:05:28 Ajp13Connector[8009] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][0] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][1] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][2] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][3] Starting background thread
    2002-08-16 01:05:29 Ajp13Processor[8009][4] Starting background thread

    I have all those files too.
    I think the 'config file' mentioned in the error log is the mod_jk.conf.
    On Jason Hunter's tomcat4 guide, it says don't use the tomcat4 RPM to installed. What is the difference bettween the RPM version and the tar.gz version? The only difference I can think of is that in the RPM version, the conf directory is in the 'etc/tomcat4/conf'. Could it be the reason that tomcat4 cannot read the config file? But it has no problem reading the server.xml though.

  • Jabber for windows 9.2.1 - InitialPhoneSelection doesn't work if configuration is in custom config file

    Hi,
    my customer wanted set InitialPhoneSelection to deskphone mode, when users firs run Jabber for Windows (ver. 9.2.1).
    I created custom config (configurationfile=jabber-config-deskphone.xml) but it doesn't work.
    Policies>
         <InitialPhoneSelection>deskphone</InitialPhoneSelection>
    </Policies>
    I tested it couple times and at the end I tried put configuration to default jabber-config.xml and ... this functionality start working...
    Could you check guys if you have same problem with custom config file? I think that it is bug. Maybe other option don't work in custom config file.
    Thanks a lot
    Pavel

    Hi Pavel,
    This setting is only when the client is installed and started by the user for the first time. After that the client will save the user preference (what was the phone selection when the user exited the client)  and use it in subsequent logins.
    Having said that, can you please specify in details how exactly you did your tests or maybe test again taking the above into consideration ?
    Thanks,
    Christos

  • SQL Agent Job failing - not using credentials in the config file for Data source

    Hi
    We have an SSIS pkg, that is secheduled as SQL Agent job using proxy account. The pkg contanins data source for connecting different SQL servers and the proxy account do not have access to the external DBs. The data source credentials are stored in the Config
    file.
    Why the job is not using the credentials in the config file and try to use the proxy account and failing.
    Do the proxy account need access to all the external dbs in the pkg, and then what is the purpose of the config file.
    I am sorry, i am not SSIS person trying to understand. If any one can explain tha will be great!!
    Thank you!
    VR

    Please take a look at these URLs:
    Schedule a Package by using SQL Server Agent
    SSIS package does not run when called from a SQL Server Agent job step
    Cheers,
    Saeid Hasani
    Database Consultant
    Please feel free to contact me at [email protected] as well as on Twitter and Facebook.
    [My Writings on TechNet Wiki] [T-SQL Blog] [Curah!]
    [Twitter] [Facebook] [Email]

  • HttpBinding not working when HttpHandler tag is present in web.config file

    Hi,
    I tried to add a WCF service in WCF Test Client using HttpBinding. But I couldn't add the service. I got the below error.
    There was an error downloading 'http://localhost/Services/PostOffice.svc/_vti_bin/ListData.svc/$metadata'.
    The request failed with an empty response.
    Metadata contains a reference that cannot be resolved: 'http://localhost/Services/PostOffice.svc'.
    The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
    If the service is defined in the current solution, try building the solution and adding the service reference again.
    I removed the below code in the Web.Config, later I was able to add the WCF service to the WCF test client.
    <httpHandlers>
    <add type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel.Activation, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" path="Telerik.ReportViewer.axd" verb="*" validate="true" />
    </httpHandlers>
    I'm not sure with the above code. Could you please let me what is the reason behind it and what is the use of above code and if I remove it how does it affect my application.
    Thanks in advance.
    Sandeep

    Hi Sandeep Pinniti,
    Please try to add the following config in your config file:
    <system.webServer>
    <validation validateIntegratedModeConfiguration="false"/>
    The validateIntegratedModeConfiguration="false" will allow us to keep our httpHandlers section populated without throwing an error. And I have tested in my side,
    it works fine.
    Best Regards,
    Amy Peng
    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.

  • Changing the Crystal Report dependency from 10.2 to 11.5 using config file

    Hi,
    We have an windows application in .net 2.0, which refers to Crystal Report 10.2 version. Now the dependency was being upgraded to 11.5. But we do not have the exact source code for the executable to change the dependency from 10.2 to 11.5.
    I have installed the CR 11.5 to the testing machine and tried to open the appilcation. it failed saying CR 10.2 dlls were missing
    Then  I changed the .net config files to change the dependency assembly as follows
    <runtime>
         <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
           <dependentAssembly>
             <assemblyIdentity name="CrystalDecisions.CrystalReports.Engine" publicKeyToken="692fbea5521e1304" culture="neutral" />
             <bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
           </dependentAssembly>
           <dependentAssembly>
             <assemblyIdentity name="CrystalDecisions.ReportSource" publicKeyToken="692fbea5521e1304" culture="neutral" />
          <bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
           </dependentAssembly>
           <dependentAssembly>
             <assemblyIdentity name="CrystalDecisions.Shared" publicKeyToken="692fbea5521e1304" culture="neutral" />
          <bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
           </dependentAssembly>
           <dependentAssembly>
             <assemblyIdentity name="CrystalDecisions.Windows.Forms" publicKeyToken="692fbea5521e1304" culture="neutral" />
          <bindingRedirect oldVersion="10.2.3600.0" newVersion="11.5.3700.0"/>
           </dependentAssembly>
          </assemblyBinding>
      </runtime>
    Now the application launched with out any issues. I thought the problem was sorted out.
    But when I tried to generate the report, there comes the problem
    During the report generation, I am getting the following error
    Crystal Reports
    An error has occurred while attempting to load the Crystal Reports runtime.
    Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
    Please install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required.  Please go to http://www.businessobjects.com/support for more information.
    OK  
    I do not want to install the 10.2 redistributable in teh machine also do not want to re-compile the sources changing the dependency
    Is there any way to achieve this ?
    Any help is much appreciated.
    Thanks
    Edited by: Balaji Narasimhan on Aug 3, 2009 5:28 PM

    No way that I know of. I believe once you change the dependency, you will have to recompile the project. Installing CR 10.2, may get this to work, but the app will most likely use the 10.2 references. Let's see if anyone else has any ideas.
    Ludek

Maybe you are looking for

  • Is this a bug whith Flash Player 9?

    Hi everybody! I´m with a bug in Flash Player 9 plugin in IE 6. The problem is that when a page with flash ins loaded by the browser and if this page contains a swf, its not loaded. When i click whit the right button in movie, the popup menu exibit "M

  • Link to MIGO

    Dear All,      i want to create link when user double click the posting no. and my screen will link to MIGO screen to display the posting details.  i used following code to link , but  when disply the screen in migo , the system will ask to select th

  • Nokia c7 symbian belle videocall

    when can we make videocall with our nokia c7 symbian belle phones? this phone has front and rear cameras. when is skype updating for this type of phone? thank

  • I need to lock my stolen i pad

    i have my serial number and i need to lock it i dont want it to be used again is there any way i can do that  i have the serial number

  • Install OS X Yosemite (not responding)

    HI, I have Mavericks 10.9.5 on a MacBook Pro Retina 15 inch Late 2013 (bought at the beginning of this year), when I try to run the Yosemite Installer, the installer just hangs and beachballs. No screen or info appears. Nothing. Using Force Quit show