Winrm and URL Prefix

My company changed the default wsman URL Prefix for Winrm. As a consequence, we cannot access file shares on Failover Clustering. We get Event Error codes 142 and 49 under the Windows Remote Management  Event logs. Changing the URL Prefix back to
wsman resolves our issue. Is there a way to resolve this issue keeping our changed URL Prefix?

Hi Jeffreyw1,
Based on the description of your cases, you wanted to change the default wsman URL Prefix for Winrm. After discussion with escalate engineer i got we
had better use the default settings for it. Changing it is not supported.
More information:
Installation and Configuration for Windows Remote Management
https://msdn.microsoft.com/en-us/library/aa384372(v=vs.85).aspx
Best Regards,
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

Similar Messages

  • Apache virtual hosting and URL prefixes

    I am having a bit of trouble with processing PHP after
    setting up a virtual server on apache.
    This is the setup:
    Apache is installed and the document root is "C:\Program
    Files\Apache Group\Apache2\htdocs" which was originally set as
    localhost as well
    Virtual hosting is to be set up for "C:\WEBSITES\mysite" This
    directory, you will note,is outside the htdocs directory.
    I edited the httpd.conf file as follows to set up a virtual
    server.
    <VirtualHost 127.0.0.1:80>
    DocumentRoot "C:\WEBSITES\mysite"
    ServerName mysite.local
    </VirtualHost>
    I didnt forget to remap localhost either ..........
    <VirtualHost 127.0.0.1:80>
    DocumentRoot "C:\Program Files\Apache Group\Apache2\htdocs"
    ServerName localhost
    </VirtualHost>
    the hosts file got tweaked too to include this:
    127.0.0.1 localhost
    127.0.0.1 mysite.local
    Everything was restarted and hey presto localhost still
    processes PHP properly but mysite doesnt.
    I am pretty sure i've set the url prefix wrong. The DWeaver
    help files refer to an IIS setup. Could anybody fill me in on what
    to put in this line and why. Any other pitfalls in setting this up
    would also be kindly received
    PS - port 80 is the listening port if it helps.

    All I did when I set up Apache was to set the document root
    to what I
    wanted:
    DocumentRoot "C:\webserver"
    and I put my documents in the "webserver" directory. I did
    this cause the
    htdocs directory path is way long .. it works fine.
    Mine is localhost:8080 cause I have IIS on 80 but I don't see
    where it
    should matter.
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "mark81" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am having a bit of trouble with processing PHP after
    setting up a virtual
    > server on apache.
    >
    >
    > This is the setup:
    >
    > Apache is installed and the document root is "C:\Program
    Files\Apache
    > Group\Apache2\htdocs" which was originally set as
    localhost as well
    >
    > Virtual hosting is to be set up for "C:\WEBSITES\mysite"
    This directory,
    > you
    > will note,is outside the htdocs directory.
    >
    >
    >
    > I edited the httpd.conf file as follows to set up a
    virtual server.
    >
    > <VirtualHost 127.0.0.1:80>
    > DocumentRoot "C:\WEBSITES\mysite"
    > ServerName mysite.local
    > </VirtualHost>
    >
    > I didnt forget to remap localhost either ..........
    > <VirtualHost 127.0.0.1:80>
    > DocumentRoot "C:\Program Files\Apache
    Group\Apache2\htdocs"
    > ServerName localhost
    > </VirtualHost>
    >
    >
    > the hosts file got tweaked too to include this:
    > 127.0.0.1 localhost
    > 127.0.0.1 mysite.local
    >
    >
    > Everything was restarted and hey presto localhost still
    processes PHP
    > properly
    > but mysite doesnt.
    >
    >
    > I am pretty sure i've set the url prefix wrong. The
    DWeaver help files
    > refer
    > to an IIS setup. Could anybody fill me in on what to put
    in this line and
    > why.
    > Any other pitfalls in setting this up would also be
    kindly received
    >
    >
    > PS - port 80 is the listening port if it helps.
    >
    >

  • Mac testing server URL prefix problem

    Greetings,
    I've searched through a bunch of forum and support topics
    with no success so here's a post.
    I'm building a site on a Mac using some basic PHP (not
    database driven) and would like to be able to preview the files in
    a browser. I'm setting up a testing server with PHP/MySQL as the
    Server Model, Access as Local/Network, and the location of the site
    folder pointed to. My problem is the URL prefix...
    I have tried the following URL prefixes and keep getting the
    same error message in DW ("Dreamweaver cannot use the prefix you
    entered to display live data....HTTP error:0") and a connection
    failure in the browser. The following attempts include the name of
    my hard drive, my Mac User name, and the name of the folder my site
    rests in.
    http://myHDname/
    http://myHDname/~myUserName/
    http://myHDname/~myUserName/siteFolderName/
    http://localhost/
    http://localhost/~myUserName/
    http://localhost/~myUserName/siteFolderName/
    Any ideas as to what I'm doing wrong?
    Thanks!

    "dixiedoo" <[email protected]> wrote in
    message
    news:fbp5vi$mlm$[email protected]..
    > Greetings,
    >
    > I've searched through a bunch of forum and support
    topics with no success
    > so
    > here's a post.
    >
    > I'm building a site on a Mac using some basic PHP (not
    database driven)
    > and
    > would like to be able to preview the files in a browser.
    I'm setting up a
    > testing server with PHP/MySQL as the Server Model,
    Access as
    > Local/Network, and
    > the location of the site folder pointed to. My problem
    is the URL
    > prefix...
    >
    > I have tried the following URL prefixes and keep getting
    the same error
    > message in DW ("Dreamweaver cannot use the prefix you
    entered to display
    > live
    > data....HTTP error:0") and a connection failure in the
    browser. The
    > following
    > attempts include the name of my hard drive, my Mac User
    name, and the name
    > of
    > the folder my site rests in.
    >
    >
    http://myHDname/
    >
    http://myHDname/~myUserName/
    >
    http://myHDname/~myUserName/siteFolderName/
    >
    http://localhost/
    >
    http://localhost/~myUserName/
    >
    http://localhost/~myUserName/siteFolderName/
    >
    > Any ideas as to what I'm doing wrong?
    My guess is: you are not actually using a web server to serve
    your
    documents.
    see if reading the documentation helps....
    Preparing to build dynamic sites
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0/WSc78c5058ca073340dcda9110b1f693f21-7a31.h tml
    Joris

  • URL prefix under IIS for multiple sites

    I'm trying to set up DW8. I webmaster a large number of sites
    for clients using a variety of hosting companies and web servers. I
    use IIS under Win2K Pro.
    Pre-DW, my setup has been to have a test area with folders:
    Inetpub\wwwroot\site1, Inetpub\wwwroot\site2, etc. To test I browse
    to localhost/site1, localhost/site2, etc. Then I copy the files to
    another part of the disk: websites\site1, websites\site2, editing
    them to change directions to the include files (sometimes I work in
    ASP, sometimes in PHP). Even with a utility we've made special for
    this task, this is a ROYAL PAIN. Then I upload site1 to server1,
    site2 to server2, etc.
    I have to do it this way because IIS will only recognize one
    website at a time, and I jump around from site to site so often
    it's a real pain to turn the sites on & off via the Control
    Panel.
    Now I'm trying to set up site definitions on DW8. For Site1 I
    say the URL is www.site1.com, the local testing spot is
    Inetpub\wwwroot\site1, and it gives me this "site URL prefix for
    the testing server does not match the site URL prefix specified in
    the HTTP address". What do I do? What have you-all found is the
    easist approach:
    1. fool DW about where files are kept?
    2. Do the PITA switch between which site IIS thinks is
    "live"?
    3. host a local multi-site server?

    > I have to do it this way because IIS will only recognize
    one website at a
    > time
    Fix:
    http://mnteractive.com/archive/running-multiple-sites-on-win2k-and-xp/
    -Darrel

  • Wildcards in gateway URL prefixes?

    Hello, We are using a proxying utility called EzProxy from Useful Utilities for controlling student access to online databases and catalogs, which use client-IP as it's security mechanism (basically if the requests come from our network it lets the client in). I would like to host it through the Plumtree portal as a remote portlet, so that the portal can assume responsibility for access control. Here's why it isn't a slam dunk to set it up as a fully gatewayed remote portlet: to proxy remote hosts, it uses 'proxy by hostname'. A request for www.abc.com/whateverpassed through ezproxy.royalroads.ca ends up being returned to the client (in this case our portal for inclusiion as a portlet) as www.abc.com.ezproxy.royalroads.ca/whatever. As you can see, it dynamically adds to it's hostname list anything it's proxying. There's a better explanation of how it works at http://www.ezproxy.com/support/rewrite.html near the bottom of the page under 'new strategy'. My question to you is 'Can I set up in the Gateway URL Prefix list something like: http://*.ezproxy.royalroads.ca/. and expect it to properly gateway through the portal?' There's no way for us to know what will appear in place of the * beforehand, so we would like some way to wildcard the 'start' of the urls. Please let me know if this is simple to accomplish and/or feasible... if it is not we may have some other options to pursue before spending a ton of time trying to get gatewaying working. Thanks! -Dev.

    The transformer will only transform URLs in Javascript if they fall in obvious places (e.g. setting a document.location or a window.open URL). Since you're passing an URL to the application.boot method, the transformer has no idea that it's dealing with an URL.
    To make this work, follow these two steps:
    1) Make sure the URL matches at least one of the patterns listed under Gateway URL Prefixes in the Web Service editor for your portlet.
    2) Wrap the URL in a pt:url tag to give the transformer a hint that you want it to transform the URL, e.g. application.boot("<pt:url pt:href='http://localhost:7021/application/script/classes' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>").
    That should do the trick.
    HTH,
    Chris Bucchere | bdg | [email protected] | www.bdg-online.com

  • SAP webdispatcher and URL redirect?

    Hi,
    I just installed SAP web dispatcher with the purpose of using it (similar to saprouter for sapgui) as single point of entry for all http(s) requests to our SAP systems.
    I configured parameters icm/HTTP/redirect_x to accomplish that but to only limited success:
    How do I have to set this parameter if I want to accomplish a redirect of the web dispatcher URL (1) to the webgui service running on system ECC (2)?
    Example:
    1. web dispatcher URL:
        http://sapwebdisp:85/ECC/webgui  (should be routed to url:)
    2. http://saperpecc:8001//sap/bc/gui/sap/its/webgui/!
    Is this posssible at all?
    Thanks for any hints and tips in advance!

    Hi
    The parameter has the following syntax:
    icm/HTTP/redirect_<xx> = PREFIX=<URL prefix>[, FROM=<pattern for URL>, FROMPROT=<incoming protocol>, FOR=<pattern for host name:port>,TO=<new URL prefix>, PROT=<protocol>, HOST=<host>, PORT=<port number/name>] 
    <xx> must be specified in ascending order from 0.
    Optional Parameters
    With the optional parameters FROM, FROMPORT and FOR
    So your example the parameter would be:-
    icm/HTTP/redirect_0 = PREFIX=/,FROM=/ECC/webgui,TO=/sap/bc/gui/sap/its/webgui/!
    One point to note is that the URL you have provided has a double slash after the Hostname and Port which might be the root of your problem.
    http://saperpecc:8001//sap/bc/gui/sap/its/webgui/!
    Another point to note. If you are having problems with redirection via HTTP then HTTPwatch (basic version is freeware) can be used to check how requests are being directed. You can use this for testing your redirects.
    Hope this helps.
    Michael
    Edited by: Michael Mulvey  on Nov 11, 2008 5:27 PM

  • View vpnv4 prefix and ip prefix

    Hi there,
    Normally, we use the command such as "sh ip bgp vpnv4 all" "sh ip route vrf" and etc to determine the prefix path.May I know what command in cisco devices that actually reflect vpnv4 prefix and IP prefix? Sound like a stupid question but I just want to confirm.
    Thanks in advance.
    maher

    You are right about the command
    show ip bgp vpnv4 ip-prefix
    For more information on how the Routes are distinguished and the use of BGP extended communities (route targets)
    Check the below URL (scroll down to the image 7-4 VPN-IP Address Format for a graphic explanation)
    http://www.cisco.com/en/US/products/sw/ps2346/ps99/products_configuration_guide_chapter09186a00800ee111.html
    an example
    Router# show ip bgp vpnv4 all 10.22.22.0
    BGP routing table entry for 10:1:22.22.22.0/24, version 19
    Paths:(5 available, best #5)
    Multipath:eiBGP
    Advertised to non peer-group peers:
    10.0.0.2 10.0.0.3 10.0.0.4 10.0.0.5
    22
    10.0.0.2 (metric 20) from 10.0.0.4 (10.0.0.4)
    Origin IGP, metric 0, localpref 100, valid, internal, multipath
    Extended Community:0x0:0:0 RT:100:1 0x0:0:0
    Originator:10.0.0.2, Cluster list:10.0.0.4

  • Gateway URL prefix

    Does anyone know if it's possible to programmatically add gateway url prefixs to a web service. We're writing a portlet that allows users to dynamically add a url designating the source of the portlet and we want this url gatewayed. We're trying to figure out if the portal api or the edk supports this type of functionality.
    Thanks,
    -Travis

    The transformer will only transform URLs in Javascript if they fall in obvious places (e.g. setting a document.location or a window.open URL). Since you're passing an URL to the application.boot method, the transformer has no idea that it's dealing with an URL.
    To make this work, follow these two steps:
    1) Make sure the URL matches at least one of the patterns listed under Gateway URL Prefixes in the Web Service editor for your portlet.
    2) Wrap the URL in a pt:url tag to give the transformer a hint that you want it to transform the URL, e.g. application.boot("<pt:url pt:href='http://localhost:7021/application/script/classes' xmlns:pt='http://www.plumtree.com/xmlschemas/ptui/'/>").
    That should do the trick.
    HTH,
    Chris Bucchere | bdg | [email protected] | www.bdg-online.com

  • URL Prefix in a reverse proxy scenario

    Hi,
    we actually have a problem with url-generation in our reverse proxy scenario.
    We configured our reverse proxy (apache; not a web dispatcher) to map an url from
    > http://external-host/url-prefix/irj/portal
    to
    > http://internal-host:50000/irj/portal
    Our problem is that the html portal logon page generates absolute urls to resources like http://external-host/com.sap.portal.epcf.loader/... As you can see it is dropping the url-prefix. So our pages are not displayed properly and forms cannot be submitted.
    Is there a way to tell the url generator to put a prefix into each generated absolute url?
    We have SAP Netweaver Portal 7.31
    thanks & regards,
      Christian Buschmann

    Samuli Kaski wrote:
    Anything is possible. A recommended configuration would be for you to setup DNS aliases for all of your applications (SAP Portal, Ruby, etc.). That way you can have virtual host specific reverse proxy mappings. Believe me, it will pay off.
    Yeah, that's what we have done on other sites. But it has the drawback that you have to get seperate ssl-certificates (extended validation) for each domain or have to update the existing ssl-certificate with additional dns-aliases.
    So we tried on this site to sepearte each application by url-prefixes. So each application is covered by the same certificate.
    Having a non-standard configuration means you will have to implement tweaks here and there not to mention how painful it is to maintain such a configuration.
    Still, if you want to try it out try the following configuration
    <Directory /app2>          
              ProxyPass /app2/ htp://portalhost/          
              ProxyPassReverse /app2/ http://portalhost/
    </Directory>
    Apache will use URL prefix /app2 for any URL generated by AS JAVA. That said, you will run into problems eventually since URLs get generated in so many ways, including URLs within HTTP responses which Apache will not change.
    That's our problem now. Apache does map the url from http-request but the http-response-content from sap-portal is untouched. So absolute links within html pages generated by sap-portal are pointing to the wrong path. Protocol, host and port are correct but the path is missing the url-prefix.
    So i don't want our apache to correct the links and rather want sap-portal to produce correct links. It's working fine with protocol, host and port for urls, but i can't set an url-prefix for the path-component.
    So my hope is that you can make the url generator from sap portal aware of our url-prefix (maybe depending of virtual host, or by setting a field in http-request) like it's aware of incoming protocol, host and port. So that every generated link will get an url-prefix for it's path component.

  • How to display URL images and URL link (html) from Smartforms?

    Hi Gurus,
    I'm having difficulty on how to display targeted URL images and URL link from the smartforms, after i sending it out as html mail. The mail i sent just can be preview as a plain text, which can't execute the html code that i put inside the smartforms itself. I follow a few step from this very useful blog.. Hopefully, you guys can give me some solutions or ideas on this.
    /people/pavan.bayyapu/blog/2005/08/30/sending-html-email-from-sap-crmerp -thanks to Pavan for his useful blog.
    My code is like this..
    <--- Start Code.
    FORM call_smartforms.
      DATA : lv_subject TYPE so_obj_des,
             lc_true(1) VALUE 'X',
             lw_control_parameters TYPE ssfctrlop,
             lw_output_options TYPE ssfcompop,
             lc_graphics(8) VALUE 'GRAPHICS',
             lw_xsfparam_line TYPE ssfxsfp,
             lc_extract(7) VALUE 'EXTRACT',
             lc_graphics_directory(18) VALUE 'GRAPHICS-DIRECTORY',
             lc_mygraphics(11) VALUE 'mygraphics/',
             lc_content_id(10) VALUE 'CONTENT-ID',
             lc_enable(6) VALUE 'ENABLE',
             lw_job_output_info TYPE ssfcrescl,
             lw_html_data TYPE trfresult,
             lw_graphics TYPE ssf_xsf_gr,
             lt_graphics TYPE tsf_xsf_gr,
             lv_html_xstr TYPE xstring,
             lw_html_raw LIKE LINE OF lw_html_data-content,
             lv_incode TYPE tcp00-cpcodepage VALUE '4110',
             lv_html_str TYPE string,
             lv_html_len TYPE i,
             lc_utf8(5) VALUE 'utf-8',
             lc_latin1(6) VALUE 'latin1',
             lv_offset TYPE i,
             lv_length TYPE i,
             lv_diff TYPE i,
             lt_soli TYPE soli_tab,
             lw_soli TYPE soli,
             lc_mime_helper TYPE REF TO cl_gbt_multirelated_service,
             lv_name TYPE mime_text VALUE 'sapwebform.htm',
             lv_xstr TYPE xstring,
             lw_raw TYPE bapiconten,
             lt_solix TYPE solix_tab,
             lw_solix TYPE solix,
             lv_filename TYPE string,
             lv_content_id TYPE string,
             lv_content_type TYPE w3conttype,
             lv_obj_len TYPE so_obj_len,
             lv_bmp TYPE so_fileext VALUE 'BMP',
             lv_description TYPE so_obj_des VALUE 'Graphic in BMP format',
             lc_doc_bcs TYPE REF TO cl_document_bcs,
             lc_bcs TYPE REF TO cl_bcs,
             lc_send_exception TYPE REF TO cx_root,
             lw_adsmtp TYPE lty_adsmtp,
             lv_mail_address TYPE ad_smtpadr,
             lc_recipient TYPE REF TO if_recipient_bcs,
             lc_send_request TYPE REF TO cl_bcs,
             lv_sent_to_all TYPE os_boolean.
      DATA : v_language TYPE sflangu VALUE 'E',
             v_e_devtype TYPE rspoptype.
      v_form_name = 'ZTEST_EMAIL'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = v_form_name
        IMPORTING
          fm_name            = v_namef
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    starting here. ***
    Set title for the output
      lv_subject = 'Smartforms.'.
    Set control parameters to "no dialog"
      lw_control_parameters-no_dialog = lc_true.
    IF lw_service_subject-code = lc_fm1.
    *--- To get output device type
      CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
        EXPORTING
          i_language    = v_language
          i_application = 'SAPDEFAULT'
        IMPORTING
          e_devtype     = v_e_devtype.
      lw_output_options-tdprinter = v_e_devtype.
      lw_control_parameters-getotf = 'X'.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
    Set output options
      lw_output_options-xsf        = lc_true.
      lw_output_options-xsfcmode   = lc_true.
      lw_output_options-xsfoutmode = 'A'.
      lw_output_options-xsfoutdev  = space.
      lw_output_options-xsfformat  = lc_true.
      lw_xsfparam_line-name  = lc_graphics.
      lw_xsfparam_line-value = lc_extract.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_graphics_directory.
      lw_xsfparam_line-value = lc_mygraphics.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
      lw_xsfparam_line-name  = lc_content_id.
      lw_xsfparam_line-value = lc_enable.
      APPEND lw_xsfparam_line TO lw_output_options-xsfpars.
    Get the smartform content
      CALL FUNCTION v_namef
        EXPORTING
          control_parameters   = lw_control_parameters
          output_options       = lw_output_options
    *pass other application specific parameters (eg order number, items ).
      IMPORTING
          job_output_info    = lw_job_output_info
      TABLES
          tt_tabh              = tt_tabh
          tt_tabb              = tt_tabb
          tt_tabf              = tt_tabf
      EXCEPTIONS
          formatting_error = 1
          internal_error   = 2
          send_error       = 3
          user_canceled    = 4
          OTHERS           = 5.
      IF sy-subrc = 0.
       break mhusin.
      ENDIF.
      lw_html_data  = lw_job_output_info-xmloutput-trfresult.
      lt_graphics[] = lw_job_output_info-xmloutput-xsfgr[].
      CLEAR lv_html_xstr.
      LOOP AT lw_html_data-content INTO lw_html_raw.
        CONCATENATE lv_html_xstr lw_html_raw INTO lv_html_xstr IN BYTE MODE.
      ENDLOOP.
      lv_html_xstr = lv_html_xstr(lw_html_data-length).
      CALL FUNCTION 'SCP_TRANSLATE_CHARS'
        EXPORTING
          inbuff       = lv_html_xstr
          incode       = lv_incode
          csubst       = lc_true
          substc_space = lc_true
        IMPORTING
          outbuff      = lv_html_str
          outused      = lv_html_len
        EXCEPTIONS
          OTHERS       = 1.
    *HACK THE HTML CODE GENERATED BY SMARTFORM TO MAKE THE
    *EXTERNAL IMAGES APPEAR AS <IMG> TAG IN HTML
      REPLACE ALL OCCURRENCES OF '<IMG' IN lv_html_str WITH '<IMG' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '/>' IN lv_html_str WITH '/>' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '</A>' IN lv_html_str WITH '' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '<' IN lv_html_str WITH '<' IGNORING CASE.
      REPLACE ALL OCCURRENCES OF '>' IN lv_html_str WITH '>' IGNORING CASE.
    CALL METHOD html_control - >load_mime_object
       EXPORTING
         object_id  = 'ZWN'
         object_url = 'ZWN.GIF'
       EXCEPTIONS
         OTHERS     = 1.
      REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH lc_latin1.
    REPLACE ALL OCCURRENCES OF lc_utf8 IN lv_html_str WITH 'iso-8859-1'.
       break mhusin.
      lv_html_len = STRLEN( lv_html_str ).
      lv_offset = 0.
      lv_length = 255.
      WHILE lv_offset < lv_html_len.
        lv_diff = lv_html_len - lv_offset.
        IF lv_diff > lv_length.
          lw_soli-line = lv_html_str+lv_offset(lv_length).
        ELSE.
          lw_soli-line = lv_html_str+lv_offset(lv_diff).
        ENDIF.
        APPEND lw_soli TO lt_soli.
        ADD lv_length TO lv_offset.
      ENDWHILE.
      CREATE OBJECT lc_mime_helper.
      CALL METHOD lc_mime_helper->set_main_html
        EXPORTING
          content     = lt_soli
          filename    = lv_name
          description = lv_subject.
      LOOP AT lt_graphics INTO lw_graphics.
        CLEAR lv_xstr.
        LOOP AT lw_graphics-content INTO lw_raw.
          CONCATENATE lv_xstr lw_raw-line INTO lv_xstr IN BYTE MODE.
        ENDLOOP.
        lv_xstr = lv_xstr(lw_graphics-length).
        lv_offset = 0.
        lv_length = 255.
        CLEAR lt_solix[].
        WHILE lv_offset < lw_graphics-length.
          lv_diff = lw_graphics-length - lv_offset.
          IF lv_diff > lv_length.
            lw_solix-line = lv_xstr+lv_offset(lv_length).
          ELSE.
            lw_solix-line = lv_xstr+lv_offset(lv_diff).
          ENDIF.
          APPEND lw_solix TO lt_solix.
          ADD lv_length TO lv_offset.
        ENDWHILE.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_filename.
        CONCATENATE lc_mygraphics lw_graphics-graphics text-001 INTO lv_content_id.
        lv_content_type = lw_graphics-httptype.
        lv_obj_len      = lw_graphics-length.
    *Add images to the email
        CALL METHOD lc_mime_helper->add_binary_part
          EXPORTING
            content      = lt_solix
            filename     = lv_filename
            extension    = lv_bmp
            description  = lv_description
            content_type = lv_content_type
            length       = lv_obj_len
            content_id   = lv_content_id.
      ENDLOOP.
      TRY.
          lv_subject = lv_subject.
          lc_doc_bcs = cl_document_bcs=>create_from_multirelated(
                   i_subject          = lv_subject
                   i_multirel_service = lc_mime_helper ).
        CATCH cx_document_bcs INTO lc_send_exception.
        CATCH cx_bcom_mime INTO lc_send_exception.
        CATCH cx_gbt_mime INTO lc_send_exception.
      ENDTRY.
    Create send request
      TRY.
          lc_bcs = cl_bcs=>create_persistent( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->set_document( i_document = lc_doc_bcs ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Set-up email receiver
      lv_mail_address = '[email protected]'.
    TRANSLATE lv_mail_address TO UPPER CASE.
      TRY.
          lc_recipient = cl_cam_address_bcs=>create_internet_address(
              i_address_string = lv_mail_address ).
        CATCH cx_address_bcs INTO lc_send_exception.
      ENDTRY.
      TRY.
          lc_bcs->add_recipient( i_recipient = lc_recipient ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
    Send smartforms as HTML email
      TRY.
          lc_bcs->send( ).
        CATCH cx_send_req_bcs INTO lc_send_exception.
      ENDTRY.
      COMMIT WORK.
      WRITE:/ 'Mail sent'.
    ENDFORM.                    "call_smartforms
    End Code --->
    Thanks and Regards.

    1- put your images in a directory under the web app directory. Example: app/images/
    2- in your jsp, use: String file = application.getRealPath("/images/"); to get the images directory. See http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html#getRealPath(java.lang.String)
    3- it's not the right forum to post this kind of question. Post them in the JSP/Servlet JSTL forum instead

  • The boxes where I would type in search terms and URL are GONE! So is the BACK BUTTON. HELP!

    I downloaded software to convert jpg files to pdf's, and it worked. however, I think it installed Incredimail, and I suspect that it installed Ask.com - neither of which I wanted. It was just after that that my back arrow and my boxes where i type in search terms and urls DISAPPEARED! Firefox is compatible with some important websites and has features that i need. NEED.

    Make sure that you do not run Firefox in Full Screen mode with all toolbars hidden.
    * Press F11 to toggle full screen mode (Firefox/File > Full Screen)
    If the menu bar is hidden then press the F10 key or hold down the Alt key, that should make the menu bar appear.
    Make sure that toolbars like the "Navigation Toolbar" and the "Bookmarks Toolbar" are visible: "View > Toolbars"
    * If items are missing then open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout" (Linux, Windows)
    * If a missing item is in the toolbar palette then drag it back from the Customize window on the toolbar
    * If you do not see an item on a toolbar and in the toolbar palette then click the "Restore Default Set" button to restore the default toolbar set up.
    See also:
    * http://kb.mozillazine.org/Toolbar_customization
    * https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Transaction Launcher Logical Systems and URLs

    Hi,
    I'm facing a problem with Transaction Launcher.
    I've done all the settings specified here: http://help.sap.com/saphelp_crm60/helpdata/en/46/231befc17b5872e10000000a11466f/frameset.htm
    Under section "Define Transaction Launcher Logical Systems and URLs" I've specified the values for Quality System: the ECC system is MQAS200A
    By the way, when I try to access an ERP Sales Order, the transaction CRM_TL_ERP_BUS2032_DISPLAY tries to access system MSVL200A (which is the Development ECC System).
    I cannot change the Logical System within the Transaction Launcher Configuration (currently it is set to ERP), since the Transaction is standard.
    Does anybody know how to map the generic value ERP with the correct value MQAS200A instead of MSVL200A?
    Thanks in advance,
    Regards,
    Andrea Ricci

    Hi,
    You cannot generalize the Logical system name, for the workaround you need to put the logical system for quality and transport it to quality and it should work and to check in dev you need to again change the log. sys to dev and save it but dont transport it. Similarly you can do for production system.
    Regards,
    Shobhit

  • I  have some more problem in the  web.xml file and url-pattern in my  syste

    HI ALL!
    How can I create and place the web.xml and URL-parrten.Because I run
    the tomcat in my computer with ME system.
    Hoc

    what is the problem? please be more specific and detailed? check a sample web.xml file and make your own one and place it in your <application-context>\WEB-INF folder..

  • Setting windows mail as default "Mail To" doesn't work as usual. Opens entire windows mail vs. email new email message with subject and URL inserted

    I have a problem never had B 4. Have installed new Win7 OS many times and imported windows mail. Always when choosing windows mail in FF it worked. Now when doing I get windows mail program opening or if open coming to forefront or screen. Supposed to get a new email message with subject and URL inserted. I have searched many answers fro FF & MS. I have set WinMail as default, add ed same in reg, etc. etc. Still NADA. Any ideas? thanks

    You should post here:
    Microsoft Office forums >
    Word IT Pro Discussions
    S.Sengupta, Windows Entertainment and Connected Home MVP

  • How to disable the "autoload" of pdf in preview and url in Safari

    I hate that new feature,
    How can i disable the "resume" of pdf in preview and url in Safari on every time i restart those prg?

    Sorry Noel - create an extended desktop and open photoshop - create a file the same size as your second monitor and drag it over to the second screen. Press F to make it full screen and Ctl 1 to make it actual pixels. We now have just what we require for projection mapping onto say a building assuming the second monitor is a projector. Now take a brush and stamp it in the middle of your page - which is on the second monitor, photoshop itself is on your Ist monitor. If you press hold Shift down and stamp your brush at the edge of your full page you will see it jump too the side. It will also do this if you try to drag a selection too close to the edge. The page will begin to scroll to accomodate the selection which is perhaps useful in some circumstances but in others like to projection map it is a horror because we need the page to remain exactly where it is at all times or it will no longer be `registered` to the architecture previously done. Beleive me
    this can be deeply frustrating when you are out in the cold trying to get all the facets of a building mapped, but even when in the warm trying to do it with a theatre set. 
    Should you have a solution then you would indeed become much revered in these parts  - best wishes  John   --
     a couple of mapped buildings done with this method below
    http://vimeo.com/31496197               ness chrurch
    http://vimeo.com/17762125                 xmas lights

Maybe you are looking for