Configuration/workspace/*.xml file information

Hi all,  I am new to DWcs4 and woke up to this message when I tried to start DWcs4 this morning.
The following panel layout is missing or could not be read:
c:\documents and settings/owner.lee\application data\adobe\dreamweaver cs4\en_us\configuration\workspace\mine.xml
I also saw this on another attempt.
XML parsing fatal error: Invalid document structure, line: 1, file C:\Documents and Settings\Owner.Lee\Application Data\Adobe\Dreamweaver CS4\en_us\Configuration\Workspace\mine.xml
I ended up reinstalling which was no big deal because I have just started using DW.  Right after I started my uninstall I found some excellent adivce in this group about removing (renaming might also work I think) the installation directory and restarting DW as it would recreate these files automagically.
What I am wondering is if it would not be a bad idea to backup from this configuration file down in case I see this message again and don't feel up to reinstalling, when I have much more custom stuff setup.  I found that other people were getting the same or a very similiar message but the file named was "Designer.xml"  I did not initially see in my workspace directory until a while after I started working with DW.  I assume it was because I saved the "Designer" workspace setup during the session.  I do backup my entire pc every night, as long as I remember to plug in my external drive, but I am just wondering if it would be a good idea to back up this directory in a straight unencrypted format for quick restores.  Or maybe I am overreacting?
Thanks very much,
Jim Lee

bemall wrote:
> That verifies two way communication to return xml
results. Any other ideas
>
That verifies that *you* have two way communication.
ColdFusion, even running on localhost, does not run as *you*,
unless you
have told it to. By default it runs as 'localSystem' on
Windows, on
Unix it will run under the user defined at install time.
It is quite possible for there to be cooperate domain
policies that
allow you to access the internet, but not a generic
'localSystem' user.
One way to test this would be to configure the ColdFusion
service|daemon
to run under your user name and password. Not an ideal, long
term
solution, but a good test.
This makes a lot of assumptions about your details. This is a
problem
with your system and your network connections. Those are the
people you
are going to need to be working with to find out why this is
not working.

Similar Messages

  • Passwords in All-configuration backup XML file

    Looking at the http://goo.gl/UU4cmx - for All configuration backup XML file in UCS Manager it says "This  file does not include passwords for locally authenticated users."
    When I create all configuration backup I can still see passwords when I look into the XML file but they are encrypted somehow.
    So if I create a backup and import it to some other UCS system - how  will the new system know how to decrypt the password so users will be  able to login? Thanks.

    Thanks for the elucidation.

  • General knowledge/Guidelines on UWL behaviour - configured from XML files

    Hi,
    Like a lot of other people working with SAP UWL, we also have the needs for configuring the UWL behaviour from the XML files.
    Until now, we have managed (not many cases/issues - but, a lot of time) to handle the needs.
    But, my aim is to get a more stuctural knowledge of the uwl.standard, uwl.webflow etc. and the relationsships between the elements between them. When we have an issue to solve now, we almost start from scratch as we do not have an structural overview of the files and their contents - and their elements interrelationships.
    I have searched to find it, but, unfortunately I have not succeeded.
    Do some of you guys know where to obtain some structural knowledge of the XML files featured?

    Hi Lars,
    Check out the following documentation (the last link is the most interesting for you):
    http://help.sap.com/saphelp_nw70/helpdata/en/43/f935e788be10b3e10000000a11466f/frameset.htm
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a3461636-0301-0010-3787-978f5ac8bd45
    Cheers,
    Noë

  • XCM configuration path in web.xml file

    Hi,
    Here is a requirement that all the XCM configuration files are stored at local desktop(like QAT, PRD..), and need to use them by modifying web.xml.
    Please let me know at
    1)which web.xml tag the path of XCM confiuration files to be specified.
    2) specify the names of the XCM files for configuration to be put in that folder.
    Thanks,
    Devender V

    Hi,
    1)which web.xml tag the path of XCM confiuration files to be specified.
    Try to find below lines in your web.xml
    <context-param>
            <param-name>path.xcm.config.isa.sap.com</param-name>
            <param-value>/WEB-INF/xcm/sap/system/bootstrap-config.xml</param-value>
            <description>Turns the Extended Configuration Management on if a
                path to the configuration file is specified. It is a
                relative path, with context-root of web application as root</description>
        </context-param>
    bootstrap-config.xml file contains XCM configuration related XML file path. You can modify or extend this file and give your user Define path.
    Also you can find below line in web.xml file.
    <!-- Action Servlet Configuration -->
        <servlet>
            <servlet-name>action</servlet-name>
            <servlet-class>com.sap.isa.core.ActionServlet</servlet-class>
            <init-param>
                <param-name>config</param-name>
                <param-value>/WEB-INF/config.xml,/WEB-INF/xcmadmin-config.xml,/WEB-INF/ccmsims-config.xml,/WEB-INF/ipc-config.xml,/ipc/customer/config.xml,/WEB-INF/config_lwc_b2b.xml,/WEB-INF/scheduler-config.xml,/WEB-INF/ipcpricing-config.xml</param-value>
            </init-param>
            <init-param>
                <param-name>config/user</param-name>
                <param-value>/WEB-INF/config_user.xml</param-value>
            </init-param>
            <init-param>
                <param-name>config/dealerlocator</param-name>
                <param-value>/WEB-INF/config_dealerlocator.xml</param-value>
            </init-param>
            <init-param>
                <param-name>initconfig</param-name>
                <param-value>/WEB-INF/xcm/sap/system/init-config.xml</param-value>
            </init-param>
    I hope this will help you.
    eCommerce Developer

  • Configuration/Workspace/Designer.xml file missing

    My Designer.xml file is missing. Anyone know where can I find this?

    save the following to Designer.xml and move to C:\Program Files (x86)\Adobe\Adobe Flash CS4\Common\Configuration\Workspace
    <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
    <panelset>
      <application/>
      <document maximize="true" rect="0 0 500 500"/>
      <panelframe dock="left" height="801" width="282" x="0" y="12">
        <panelcontainer expanded="true" height="118" visible="true">
          <panel height="118" id="tools" unconstrainedheight="736" unconstrainedwidth="30" width="278"/>
        </panelcontainer>
        <panelcontainer expanded="true" height="637" visible="true">
          <panel height="637" id="droverproperties" unconstrainedheight="114" unconstrainedwidth="278" width="278"/>
        </panelcontainer>
      </panelframe>
      <panelframe dock="right" height="801" width="212" x="1" y="12">
        <panelcontainer expanded="true" height="350" visible="true">
          <panel column0id="1" column0width="230.00" column1id="2" column1width="230.00" column2id="3" column2width="70.00" column3id="4" column3width="135.00" column4id="5" column4width="70.00" filename="" height="350" id="droverlibrary" previewwithgrid="0" previewwithmoviebackground="1" sortasending="1" sortcolumn="1" splitter="0.34" unconstrainedheight="300" unconstrainedwidth="278" width="208"/>
        </panelcontainer>
        <panelcontainer expanded="true" height="114" visible="true">
          <panel height="114" id="align" unconstrainedheight="114" unconstrainedwidth="208" width="208"/>
          <panel height="114" id="info" unconstrainedheight="114" unconstrainedwidth="208" width="208"/>
          <panel height="114" id="transform" unconstrainedheight="114" unconstrainedwidth="208" width="208"/>
        </panelcontainer>
        <panelcontainer expanded="true" height="268" visible="true">
          <panel height="268" id="mixer" unconstrainedheight="268" unconstrainedwidth="208" width="208"/>
          <panel height="268" id="swatches" unconstrainedheight="268" unconstrainedwidth="208" width="208"/>
        </panelcontainer>
      </panelframe>
      <panelframe dock="top" height="146" width="543" x="0" y="0">
        <panelcontainer expanded="true" height="123" visible="true">
          <panel height="123" id="drovertimeline" isInLayerMode="false" unconstrainedheight="180" unconstrainedwidth="600" width="539"/>
          <panel height="123" id="keyframeeditor" unconstrainedheight="180" unconstrainedwidth="600" visibleTab="false" width="539"/>
          <panel height="123" id="output" unconstrainedheight="180" unconstrainedwidth="600" visibleTab="false" width="539"/>
          <panel height="123" id="compiler errors" unconstrainedheight="180" unconstrainedwidth="600" visibleTab="false" width="539"/>
        </panelcontainer>
      </panelframe>
    </panelset>

  • How to configure multiple jsp files with diff beans in faces-config.xml??

    Hi All,
    I have 2 seperate jsp pages one is a login page and the other is the main application page.Now i am handling both the pages with seperate Bean class with respective setter and getter methods.How can i state the same in faces-config.xml file???..
    Is the below way correct???
    <?xml version='1.0' encoding='UTF-8'?>
    <!-- =========== FULL CONFIGURATION FILE ================================== -->
    <faces-config version="1.2"
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
                       http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
        <managed-bean>
                <managed-bean-name>LoginForm</managed-bean-name>
                <managed-bean-class>useraccess.LoginForm</managed-bean-class>
                <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <navigation-rule>
                <from-view-id>/login.jsp</from-view-id>
            <navigation-case>
                <from-action>#{LoginForm.CheckValidUser}</from-action>
                <from-outcome>success</from-outcome>
                <to-view-id>/success.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-action>#{LoginForm.CheckValidUser}</from-action>
                <from-outcome>fail</from-outcome>
                <to-view-id>/fail.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>
        <managed-bean>
                <managed-bean-name>DSRApplication</managed-bean-name>
                <managed-bean-class>DSRApplication.LoginForm</managed-bean-class>
                <managed-bean-scope>request</managed-bean-scope>
        </managed-bean>
        <navigation-rule>
                <from-view-id>/DSR.jsp</from-view-id>
            <navigation-case>
                <from-action>#{DSRApplication.checkValidDateInAllFields}</from-action>
                <from-outcome>alldatasuccess</from-outcome>
                <to-view-id>/success.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-action>#{DSRApplication.checkValidDateInAllFields}</from-action>
                <from-outcome>datafail</from-outcome>
                <to-view-id>/fail.jsp</to-view-id>
            </navigation-case>
        </navigation-rule>
    </faces-config>Thanks in advance to all.
    regards,
    Viswanadh.

    Thanks ejp for the reply.
    Since i am a beginner even i dont know the exact reason to answer you for why am i using JSP with Facelets.Kindly provide me the suggestion and valuable information you have so that i can learn.
    Apart from this i want to know whether the way provided in that faces-config.xml is possible or do we have a way to make that possible???
    regards,
    Viswanadh.

  • Accessing config information in XML file in a Weblogic web service (JWS)

    Problem:
    I have implemented a web service for sending emails and pages via Java Mail and SNPP respectively using WebLogic Workshop on the BEA WebLogic 8.1 platform. In the service, I use certain pieces of information that are currently stored in an XML file on disk. Also, in its current state, the web service is implemented with public methods directly in the .jws Java file and not as a session bean. The file read from disk is performed every time the web service operation to send a message is invoked. As we all know, the I/O files access is very expensive and a performance bottleneck, especially when it is incurred on every invocation of the web service ‘sendMessage’ [operation.
    Without radically re-writing the application, I am looking for a way to improve the performance of the web service and can only come up with the following 2 ways:
    1) Move the code out of the sendMessage operation: Here, the main question I have is 'to where should I move it to'? I have seen in the WebLogic Workshop documentation that WebLogic Server maintains only a single instance of a Java class that implements a Web Service operation, and each invoke of the Web Service uses this same instance. In that case, I should be able to put the code in the constructor so that the files is read only at the time the class is instantiated, but a constructor in the .jws file that contains the web service operations itself does not seem to be invoked by the container (I tried to put a breakpoint in the constructor, but it seems that the constructor code never gets called)
    2) Move the configuration variables into some type of standard configuration file of WebLogic, something like web.xml or wlw-config.xml or jws-config.properties files. But I found that these XML files have an associated schema to conform to and do not provide any custom elements or attributes that I could add for my application(is that true?). Also, if I can somehow put the configuration information into any of these standard files, how do I access it from within the application 'without' doing a file read from disk? Are these configuration file items available in memory for access and use by the web service and if they are, what API can I use to access and use them?
    Any and all ideas are welcome!
    Thanks!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I have been looking into a similar problem. Since web services are by design stateless, they aren't good for 'remembering' information between calls. Aside from a file read, the only other solution I have found is to use a database. You can make use of an entity bean or simply make some kind of JDBC call. I don't know if you need to stick with the config file, but if so maybe you could read the config data into a database once and then you might have faster access than reading from a file. I'm not sure about which would have better performace, but its all I have come up with so far. What parser are you using to read your XML file? Have you tried others to see if they have better performance?

  • How to configure crystal report xml file as data source in BOE in Solaris?

    Hi,
    How to configure crystal reports from xml file as data source in Solaris? I didn't find any suitable driver for xml / excel files for sun solaris.
    Which driver i have to use to connect xml file to crystal report to view my crystal report in solaris BOE?
    And the same way excel file as data source for crystal report.
    Thanks

    Hi Don thanks for the reply,
    In windows environment I donot have any problem when creating crystal report from Xml file and Excel file. After creating reports when I publish those into boe server in solaris, getting connection failed error.
    My solaris BOE server doent have any network connection with windows machines. So i have to place the files in solaris server.
    Below the steps what I tried:
    1. Created crystal reports from cr designer in windows using ADO.Net(xml) and in another try with Xml webservices drivers. Reports works well as it should.
    2. Saved in BOE repository in Solaris server from crystal reports and changed database configuration settings as:
        -Used custom database logon information and specified cr_xml as custom driver.
        -Chnaged database path to file directory path according to solaris server file path </app/../../>
        -tried table prefix also
        - Selected radio button use same database logon as when report is run saved.
    My environment :
    SAP BOXI3.1 sp3
    crystal reports 2008 sp3
    SunOS
    Cr developing in windows 7.
    For Excel I tried with ODBC in windows but I can't find any ODBC or JDBC drivers for Excel in solaris.
    Any help to solve my issues
    Thanks
    Nagalla

  • Best Practices for Accessing the Configuration data Modelled as XML File in

    Hi,
    I refer the couple of blof posts/Forum threads on How to model and access the Configuration data as XML inside OSB.
    One of the easiest and way is to
    Re: OSB: What is best practice for reading configuration information
    Another could be
    Uploading XML data as .xq file (Creating .xq file copy paste all the Configuration as XML )
    I need expert answers for following.
    1] I have .xsd file which is representing the Configuration data. Structure of XSD is
    <FrameworkConfig>
    <Config type="common" key="someKey">proprtyvalue</Config>
    <FrameworkConfig>
    2] As my project will move from one env to another the property-value will change according to the Environment...
    For Dev:
    <FrameworkConfig>
    <Config type="common" key="someKey">proprtyvalue_Dev</Config>
    <FrameworkConfig>
    For Stage :
    <FrameworkConfig>
    <Config type="common" key="someKey">proprtyvalue_Stage</Config>
    <FrameworkConfig>
    3] Let say I create the following Folder structure to store the Configuration file specific for dev/stage/prod instance
    OSB Project Folder
    |
    |---Dev
    |
    |--Dev_Config_file.xml
    |
    |---Stage
    |
    |--Stahe_Config_file.xml
    |
    |---Prod
    |
    |-Prod_Config_file.xml
    4] I need a way to load these property file as xml element/variable inside OSb message flow.?? I can't use XPath function fn:doc("URL") coz I don't know exact path of XMl on deployed server.
    5] Also I need to lookup/model the value which will specify the current server type(Dev/Stage/prod) on which OSB MF is running. Let say any construct which will act as a Global configuration and can be acccessible inside the OSb message flow. If I get the vaalue for the Global variable as Dev means I will load the xml config file under the Dev Directory @runtime containing key value pair for Dev environment.
    6] This Re: OSB: What is best practice for reading configuration information
    suggest the designing of the web application which will serve the xml file over the http protocol and getting the contents into variable (which in turn can be used in OSB message flow). Can we address this problem without creating the extra Project and adding the Dependencies? I read configuration file approach too..but the sample configuration file doesn't show entry of .xml file as resources
    Hope I am clear...I really appreciate your comments and suggestion..
    Sushil
    Edited by: Sushil Deshpande on Jan 24, 2011 10:56 AM

    If you can enforce some sort of naming convention for the transport endpoint for this proxy service across the environments, where the environment name is part of the endpoint you may able to retrieve it from $inbound in the message pipeline.
    eg. http://osb_host/service/prod/service1 ==> Prod and http://osb_host/service/prod/service2 ==> stage , then i think $inbound/ctx:transport/ctx:uri can give you /service/prod/service1 or /service/stage/service1 and applying appropriate xpath functions you will be able to extract the environment name.
    Chk this link for details on $inbound/ctx:transport : http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/userguide/context.html#wp1080822

  • Configuring the Logconfig.xml file

    I would like to configure the Logconfig.xml(for presentation services) so that the log file that is created is in the format of the log file that is generated by usage tracking(comma separated values) or store it directly to the table.
    Is it possible?
    where can i find some detailed information about the various writers(filelogwriter,coutwriter)

    I will try to make it clearer:
    The server I have access to runs Tomcat through Apache. The only way I can access files is if I put them under httdocs.
    The question is quite simple: without having my clueless host remap everything, how can I access files in the Tomcat directory, where those files rightly belong?
    There should be a simple way to do it in a web.xml file, but have been unsuccessful thus far.

  • XML file or Configuration stack file for Ehp inclusion in Upgradation

    Hi,
    We are Upgrading 4.7 to Ecc 6.0, we want to include Ehp3 in the Upgradation but we are not able to generate XML or Configuration stack file, can anybody please help me to get XML file or Configuration stack file for Ehp inclusion in Upgradation.
    Regards,

    Hi Aashish,
    can you please provide some further information?
    What exactly are you doing in the SAP Solution Manager - Maintenance Optimizer?
    I assume that you are at least on SP 15 which is a prerequisite.
    Currently a common error is a wrong maintained SMSY: Please check SAP note 1022072 for details.
    Best regards,
    Christian.

  • REST API: Create Deployment throwing error BadRequest (The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.)

    Hi All,
    We are trying to access the Create Deployment method stated below
    http://msdn.microsoft.com/en-us/library/windowsazure/ee460813
    We have uploaded the Package in the blob and browsing the configuration file. We have checked trying to upload manually the package and config file in Azure portal and its working
    fine.
    Below is the code we have written for creating deployment where "AzureEcoystemCloudService" is our cloud service name where we want to deploy our package. I have also highlighted the XML creation
    part.
    byte[] bytes =
    new byte[fupldConfig.PostedFile.ContentLength + 1];
                fupldConfig.PostedFile.InputStream.Read(bytes, 0, bytes.Length);
    string a = Encoding.UTF8.GetString(bytes, 0, bytes.Length);
    string base64ConfigurationFile = a.ToBase64();
    X509Certificate2 certificate =
    CertificateUtility.GetStoreCertificate(ConfigurationManager.AppSettings["thumbprint"].ToString());
    HostedService.CreateNewDeployment(certificate,
    ConfigurationManager.AppSettings["SubscriptionId"].ToString(),
    "2012-03-01", "AzureEcoystemCloudService", Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot.staging,
    "AzureEcoystemDeployment",
    "http://shubhendustorage.blob.core.windows.net/shubhendustorage/Infosys.AzureEcoystem.Web.cspkg",
    "AzureEcoystemDeployment", base64ConfigurationFile,
    true, false);   
    <summary>
    /// </summary>
    /// <param name="certificate"></param>
    /// <param name="subscriptionId"></param>
    /// <param name="version"></param>
    /// <param name="serviceName"></param>
    /// <param name="deploymentSlot"></param>
    /// <param name="name"></param>
    /// <param name="packageUrl"></param>
    /// <param name="label"></param>
    /// <param name="base64Configuration"></param>
    /// <param name="startDeployment"></param>
    /// <param name="treatWarningsAsError"></param>
    public static
    void CreateNewDeployment(X509Certificate2 certificate,
    string subscriptionId,
    string version, string serviceName, Infosys.AzureEcosystem.Entities.Enums.DeploymentSlot deploymentSlot,
    string name, string packageUrl,
    string label, string base64Configuration,
    bool startDeployment, bool treatWarningsAsError)
    Uri uri = new
    Uri(String.Format(Constants.CreateDeploymentUrlTemplate, subscriptionId, serviceName, deploymentSlot.ToString()));
    XNamespace wa = Constants.xmlNamespace;
    XDocument requestBody =
    new XDocument();
    String base64ConfigurationFile = base64Configuration;
    String base64Label = label.ToBase64();
    XElement xName = new
    XElement(wa + "Name", name);
    XElement xPackageUrl =
    new XElement(wa +
    "PackageUrl", packageUrl);
    XElement xLabel = new
    XElement(wa + "Label", base64Label);
    XElement xConfiguration =
    new XElement(wa +
    "Configuration", base64ConfigurationFile);
    XElement xStartDeployment =
    new XElement(wa +
    "StartDeployment", startDeployment.ToString().ToLower());
    XElement xTreatWarningsAsError =
    new XElement(wa +
    "TreatWarningsAsError", treatWarningsAsError.ToString().ToLower());
    XElement createDeployment =
    new XElement(wa +
    "CreateDeployment");
                createDeployment.Add(xName);
                createDeployment.Add(xPackageUrl);
                createDeployment.Add(xLabel);
                createDeployment.Add(xConfiguration);
                createDeployment.Add(xStartDeployment);
                createDeployment.Add(xTreatWarningsAsError);
                requestBody.Add(createDeployment);
                requestBody.Declaration =
    new XDeclaration("1.0",
    "UTF-8", "no");
    XDocument responseBody;
    RestApiUtility.InvokeRequest(
                    uri, Infosys.AzureEcosystem.Entities.Enums.RequestMethod.POST.ToString(),
    HttpStatusCode.Accepted, requestBody, certificate, version,
    out responseBody);
    <summary>
    /// A helper function to invoke a Service Management REST API operation.
    /// Throws an ApplicationException on unexpected status code results.
    /// </summary>
    /// <param name="uri">The URI of the operation to invoke using a web request.</param>
    /// <param name="method">The method of the web request, GET, PUT, POST, or DELETE.</param>
    /// <param name="expectedCode">The expected status code.</param>
    /// <param name="requestBody">The XML body to send with the web request. Use null to send no request body.</param>
    /// <param name="responseBody">The XML body returned by the request, if any.</param>
    /// <returns>The requestId returned by the operation.</returns>
    public static
    string InvokeRequest(
    Uri uri,
    string method,
    HttpStatusCode expectedCode,
    XDocument requestBody,
    X509Certificate2 certificate,
    string version,
    out XDocument responseBody)
                responseBody =
    null;
    string requestId = String.Empty;
    HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
                request.Method = method;
                request.Headers.Add("x-ms-Version", version);
                request.ClientCertificates.Add(certificate);
                request.ContentType =
    "application/xml";
    if (requestBody != null)
    using (Stream requestStream = request.GetRequestStream())
    using (StreamWriter streamWriter =
    new StreamWriter(
                            requestStream, System.Text.UTF8Encoding.UTF8))
                            requestBody.Save(streamWriter,
    SaveOptions.DisableFormatting);
    HttpWebResponse response;
    HttpStatusCode statusCode =
    HttpStatusCode.Unused;
    try
    response = (HttpWebResponse)request.GetResponse();
    catch (WebException ex)
    // GetResponse throws a WebException for 4XX and 5XX status codes
                    response = (HttpWebResponse)ex.Response;
    try
                    statusCode = response.StatusCode;
    if (response.ContentLength > 0)
    using (XmlReader reader =
    XmlReader.Create(response.GetResponseStream()))
                            responseBody =
    XDocument.Load(reader);
    if (response.Headers !=
    null)
                        requestId = response.Headers["x-ms-request-id"];
    finally
                    response.Close();
    if (!statusCode.Equals(expectedCode))
    throw new
    ApplicationException(string.Format(
    "Call to {0} returned an error:{1}Status Code: {2} ({3}):{1}{4}",
                        uri.ToString(),
    Environment.NewLine,
                        (int)statusCode,
                        statusCode,
                        responseBody.ToString(SaveOptions.OmitDuplicateNamespaces)));
    return requestId;
    But every time we are getting the below error from the line
     response = (HttpWebResponse)request.GetResponse();
    <Error xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Code>BadRequest</Code>
      <Message>The specified configuration settings for Settings are invalid. Verify that the service configuration file is a valid XML file, and that role instance counts are specified as positive integers.</Message>
    </Error>
     Any help is appreciated.
    Thanks,
    Shubhendu

    Please find the request XML I have found it in debug mode
    <CreateDeployment xmlns="http://schemas.microsoft.com/windowsazure">
      <Name>742d0a5e-2a5d-4bd0-b4ac-dc9fa0d69610</Name>
      <PackageUrl>http://shubhendustorage.blob.core.windows.net/shubhendustorage/WindowsAzure1.cspkg</PackageUrl>
      <Label>QXp1cmVFY295c3RlbURlcGxveW1lbnQ=</Label>
      <Configuration>77u/PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0NCiAgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKg0KDQogIFRoaXMgZmlsZSB3YXMgZ2VuZXJhdGVkIGJ5IGEgdG9vbCBmcm9tIHRoZSBwcm9qZWN0IGZpbGU6IFNlcnZpY2VDb25maWd1cmF0aW9uLkNsb3VkLmNzY2ZnDQoNCiAgQ2hhbmdlcyB0byB0aGlzIGZpbGUgbWF5IGNhdXNlIGluY29ycmVjdCBiZWhhdmlvciBhbmQgd2lsbCBiZSBsb3N0IGlmIHRoZSBmaWxlIGlzIHJlZ2VuZXJhdGVkLg0KDQogICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioNCi0tPg0KPFNlcnZpY2VDb25maWd1cmF0aW9uIHNlcnZpY2VOYW1lPSJXaW5kb3dzQXp1cmUxIiB4bWxucz0iaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS9TZXJ2aWNlSG9zdGluZy8yMDA4LzEwL1NlcnZpY2VDb25maWd1cmF0aW9uIiBvc0ZhbWlseT0iMSIgb3NWZXJzaW9uPSIqIiBzY2hlbWFWZXJzaW9uPSIyMDEyLTA1LjEuNyI+DQogIDxSb2xlIG5hbWU9IldlYlJvbGUxIj4NCiAgICA8SW5zdGFuY2VzIGNvdW50PSIyIiAvPg0KICAgIDxDb25maWd1cmF0aW9uU2V0dGluZ3M+DQogICAgICA8U2V0dGluZyBuYW1lPSJNaWNyb3NvZnQuV2luZG93c0F6dXJlLlBsdWdpbnMuRGlhZ25vc3RpY3MuQ29ubmVjdGlvblN0cmluZyIgdmFsdWU9IkRlZmF1bHRFbmRwb2ludHNQcm90b2NvbD1odHRwcztBY2NvdW50TmFtZT1zaHViaGVuZHVzdG9yYWdlO0FjY291bnRLZXk9WHIzZ3o2aUxFSkdMRHJBd1dTV3VIaUt3UklXbkFrYWo0MkFEcU5saGRKTTJwUnhnSzl4TWZEcTQ1ZHI3aDJXWUYvYUxObENnZ0FiZnhONWVBZ2lTWGc9PSIgLz4NCiAgICA8L0NvbmZpZ3VyYXRpb25TZXR0aW5ncz4NCiAgPC9Sb2xlPg0KPC9TZXJ2aWNlQ29uZmlndXJhdGlvbj4=</Configuration>
      <StartDeployment>true</StartDeployment>
      <TreatWarningsAsError>false</TreatWarningsAsError>
    </CreateDeployment>
    Shubhendu G

  • XML Fetch Error. The XML file assigned in the configuration.xml is either wrong or corrupted.

    1.Some web pages give "XML Fetch Error. The XML file assigned in the configuration.xml is either wrong or corrupted".
    2.Youtube gives, after pressing start button, message"An error occurred. Please try again later.
    Opening same youtube page with IE, there is no problems.
    3.Scrolling on Mozilla firefox pages works only with sidebar not with mouse wheel.
    Other user accounts on this computer doesn't have these problems.
    BR, Juha

    This can be caused by a recent Flash 11.3 update.
    See:
    *https://support.mozilla.org/kb/flash-113-doesnt-load-video-firefox

  • Create XML file with oracle DDL information

    Hi,
    I am working on a architecture where I was asked to see find the solution for the following issue:
    we are building a ODS which gets a feed from an ORACLE source. But ODS will not have any access to that table and the data will be pushed by source system. The requirement is whenever the source system change the table structure (add a column,drop a column, change data type) that should be reflected in ODS stage table by droping and recreating a table with the structure that comes everyday from the source. My question is without getting the DDL file from the source, can we get the structure in XML file along with data? so that I can use the XML file to create the stage table everyday in ODS. I dont' want to use xmltype or clob/varchar2. The oracle table should be rows and column.
    I know XML SQL will be able to insert the xml to oracle table and oracle table can be extracted to XML type.
    Thanks,
    Partha.

    Hi,
    If you need to create a new command, you can use SAP Developer Studio. After deploy you will see it in
    System administration->system configuration->cm->user interface->Commands.
    There are examples about how to create commands.
    You need to create your own layout set. This one use a resource renderer, here you must setup the commands group that you created.
    After that, you create a navigation iview and layout set field you setup your layout set.
    Patricio.

  • Configuring Mysql database in EJB  xml file for JBoss

    I am using Mysql as database , How to configure JBoss to use Mysql as the database when using ejb's( session beans)
    My ejb-jar.xml is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    <ejb-jar>
         <description>no description</description>
         <display-name>LoginJAR</display-name>
         <enterprise-beans>
         <session>
         <description>no description</description>
         <display-name>loginEJB</display-name>
         <ejb-name>loginEJB</ejb-name>
         <home>com.rfp.Session.loginHome</home>
         <remote>com.rfp.Session.loginObject</remote>
         <ejb-class>com.rfp.Session.loginEJB</ejb-class>
         <session-type>Stateless</session-type>
         <transaction-type>Container</transaction-type>
         <resource-ref>
              <res-ref-name>jdbc/rfptrack</res-ref-name>
              <res-type>javax.sql.DataSource</res-type>
              <res-auth>Container</res-auth>
              <res-sharing-scope>Shareable</res-sharing-scope>
         </resource-ref>
         </session>
         </enterprise-beans>
         <assembly-descriptor>
              <container-transaction>
                   <method>
                   <ejb-name>loginEJB</ejb-name>
                   <method-intf>Remote</method-intf>
                   <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
         </container-transaction>
         </assembly-descriptor>
    </ejb-jar>
    1) My doubts are
    a). there is a username and password to access the database,
    I am mentioning only the database namein the xml file like-
    jdbc/rfptrack. So where should the username and password be
    mentioned or declared.
    b). The server showed the following error when it was started.
    Caused by: java.sql.SQLException: Table 'test.jms_messages' doesn't exist
    11:40:11,687 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.2.3/server/default/deploy/Jlogs.ear
    Incompletely deployed packages:
    [org.jboss.deployment.DeploymentInfo@6522477c { url=file:/C:/jboss-3.2.3/server/default/deploy/Jlogs.ear }
    deployer: org.jboss.deployment.EARDeployer@1e940b
    status: Deployment FAILED reason: Verification of Enterprise Beans failed, see above for error messages.
    state: FAILED
    the server is showing that table "test:" does not exist but I am using rfptrack as the database and not test. how can I configure the server for it.
    PLEASE GO THROUGH THE EJB-JAR.XML FILE AND THE SERVER ERRORS GIVEN ABOVE AND GIVE SUGGESTIONS TO RECTIFY MY ERRORS.

    Hi Svend,
    Please share the xml file.
    I am able to acheive the result by doing the above changes.
    Thanks,
    Dinesh.V
    PS:<SendDataOnNodes>False</SendDataOnNodes 
    replace with case sensitive  <SendDataOnNodes>false</SendDataOnNodes

Maybe you are looking for

  • IPOD Touch won't turn on

    I just ran into this issue and the fix is relatively simple.  I took my Touch back to the Apple Store, they plugged it into a wall outlet and explained the USB cord as well as the car charger doen't have enough power to charge a dead touch. m I went

  • Fault handling policy for a process in the fault-binding.xml

    Can I specify a fault handling policy for a specific process using fault handling framework 10.1.3.3? <process faultPolicy="DefaultPolicy"/> I cannot specify the name of the process according to the xsd :( Can this be achieved? I have a two different

  • I am trying to write a double buffered data acquisition program using MFC and a callback function.

    i am trying to do a double buffer data acquisition using MFC application framework in Visual Studio.i want to use a callback function to notify when the buffer is half full.do you have some sample reference program that can help me?

  • Changing registered ownership of nano?

    I've bought a secondhand nano and after endless hours of trying to sync an audiobook from my itunes library onto it and getting the message "not authorised to use on this computer"  it would appear the only explanation is that it's because I'm not th

  • Disk utility/repair question - "keys not in order"

    I connected my 4G iPod to my computer via firewire when the battery was very low yesterday. For the first time, it wouldn't mount and now doesn't show up in system profiler when it is connected via firewire (even in disk mode). It shows up when it is