Correct format for P_JDBCPDS connection parameters / URL ?

Am using the Sqlserver-merant driver with a simple report but can't get past the error message below. Have read through all the posts here & at metalink and all advise updating classpath's etc to point at the Merant drivers, these have all been set ok but its still not working (actually don't recall seeing any thread where this has been resolved).
I believe the problem may lie in the format of the connection parameters in the URL, again from the posts in the forums I've found many variations so need to check which one is actually correct. Oracle's 'Configuring and Using the JDBC PDS' gives examples of sybase and db2 strings but not sql server... has anyone ever got this to work??
error:
REP-4100: Failed to execute data source.
JDBCPDS-62008:com.oracle.ias.jdbc.sqlserver.SQLServerDriver
---------------------------------------------------------------

Hi Leah,
The display URL for a Database Source should point to a separate server that provides web access to the document. It is not meant to point back to the SES instance. As the Admin Guide states:
"This connector requires that there is URL-based access to the records in the result set of the view or query."
In other words, the display URL should be something you can copy/paste into your browser location bar to view the document, with the other server rendering the document information to a user completely independently from SES.
HTH,
Mark

Similar Messages

  • What is the correct format for localhost URL?

    I've installed MAMP to run a local test server.
    This appears to be working correctly with the URL in the following format:
    http://localhost/folder/filename.php/
    Where folder is the folder for the site located inside the Apache Document Root Folder - as defined in the MAMP preferences.
    I have web sharing turned off.
    Looking around the web it seems that the format for the URL should be:
    http://localhost/~username/folder/filename.php
    However, when I insert "~username" in the URL the browser can't find the page.
    These are my first tentative steps in setting up a local test server and so I'm concerned that something might be amiss!
    I've hunted around and can't find any documentation that clarifies the issue.
    Can anyone clarify the issue or point me to appropriate documentation.
    Thanks.

    The second format is for a different location - in your Home folder.  This would work if; a. Apache was installed using the Home folder; and b. if "folder" existed in the Home folder.  Use the form you are currently using since it works.

  • Correct format for field

    Hello All,
    Im downloading EAN11 (it is a character of length 18 ) field form MARA table to an excel. In excel i got the value like 3.16514E+12 where as actual value to be displayed is 3165140039925.
    But i know that, to get the value displayed without exponential format, i need to put single quatation in front of the number. I mean, we need to concatenate single quatation with the value.
    But is there any other way to do this. If im not wrong, we have to do some thing with OLE format.
    Good answers will be appriciated.
    Thanks in advance.
    Best Regards,
    Sasidhar Reddy Matli.

    Please check below code may help to create excel usign OLE.
    REPORT ZTEST_BYW.
    * OLE specific include file
    INCLUDE OLE2INCL.
    INCLUDE EXCEL__C.
    * data definitions of OLE objects with type ole2_object
    PARAMETERS: P_FILENM(80) LOWER CASE OBLIGATORY
    DEFAULT 'C:\Documents and Settings\gunasekharb\Desktop\report_tsl.xls'.
    DATA: G_TMP_WORKBOOK TYPE OLE2_OBJECT.
    DATA: G_TMP_WORKSHEETS TYPE OLE2_OBJECT.
    DATA: G_TMP_WORKSHEET1 TYPE OLE2_OBJECT.
    DATA: G_TMP_WORKSHEET2 TYPE OLE2_OBJECT.
    DATA: G_PC_TEMPLATE LIKE RCGFILETR-FTAPPL
    VALUE 'C:\Documents and Settings\gunasekharb\Desktop\mmr_rpt_tsl_tmp.xls'.
    DATA: G_EXCEL TYPE OLE2_OBJECT.
    DATA: G_WORKBOOKS TYPE OLE2_OBJECT.
    DATA: G_WORKBOOK TYPE OLE2_OBJECT.
    DATA: G_WORKSHEETS TYPE OLE2_OBJECT.
    DATA: G_WORKSHEET TYPE OLE2_OBJECT.
    DATA: G_CELL TYPE OLE2_OBJECT.
    DATA: G_CELL1 TYPE OLE2_OBJECT.
    DATA: G_CELL2 TYPE OLE2_OBJECT.
    DATA: G_CELLRANGE TYPE OLE2_OBJECT.
    DATA: G_FONT TYPE OLE2_OBJECT.
    DATA: G_INTERIOR TYPE OLE2_OBJECT.
    DATA: G_BORDERS TYPE OLE2_OBJECT.
    DATA: G_FIRST_WS VALUE 'Y'.
    DATA: G_ROW TYPE I.
    DATA: G_COL TYPE I.
    * definition of loop counter
    DATA: I TYPE I VALUE '5'.
    DATA: BEGIN OF T_SHEET1 OCCURS 1,
    COL1(10),
    COL2(20),
    END OF T_SHEET1.
    DATA: BEGIN OF T_SHEET2 OCCURS 1,
    COL1(10),
    COL2(20),
    END OF T_SHEET2.
    START-OF-SELECTION.
    PERFORM PREPARE_DATA.
    PERFORM DOWNLOAD_TO_EXCEL.
    END-OF-SELECTION.
    * call method of excel 'QUIT'.
    * it is now possible to leave the EXCEL application
    * remark: you have to go to the EXCEL application and answer the
    * popup dialog screen
    *& Form PREPARE_DATA
    FORM PREPARE_DATA.
    T_SHEET1-COL1 = 'A1'.
    T_SHEET1-COL2 = 'A2'.
    APPEND T_SHEET1.
    T_SHEET1-COL1 = 'B1'.
    T_SHEET1-COL2 = 'B2'.
    APPEND T_SHEET1.
    T_SHEET2-COL1 = 'Y1'.
    T_SHEET2-COL2 = 'Y2'.
    APPEND T_SHEET2.
    T_SHEET2-COL1 = 'Z1'.
    T_SHEET2-COL2 = 'Z2'.
    APPEND T_SHEET2.
    ENDFORM. " PREPARE_DATA
    *& Form DOWNLOAD_TO_EXCEL
    FORM DOWNLOAD_TO_EXCEL.
    PERFORM OPEN_EXCEL.
    PERFORM ADD_WORKSHEET1.
    PERFORM ADD_WORKSHEET2.
    PERFORM OPEN_TEMPLATE_FILE.
    PERFORM CLOSE_EXCEL.
    WRITE: / 'End of program'.
    ENDFORM. " DOWNLOAD_TO_EXCEL
    *& Form FILL_CELL
    *& FORM routine, which fills the specified cell in the EXCEL sheet
    *& with the given value
    FORM FILL_CELL USING I_ROW TYPE I
    I_COL TYPE I
    I_VALUE
    I_FONTBOLD
    I_DIGIT
    I_WRAPTEXT
    I_HORIZON_ALIGN
    I_VERTICAL_ALIGN.
    DATA: L_STR TYPE STRING.
    CALL METHOD OF G_EXCEL 'CELLS' = G_CELL
    EXPORTING #1 = I_ROW
    #2 = I_COL.
    SET PROPERTY OF G_CELL 'VALUE' = I_VALUE.
    IF I_FONTBOLD = 'X'.
    GET PROPERTY OF G_CELL 'Font' = G_FONT.
    SET PROPERTY OF G_FONT 'Bold' = 1.
    ENDIF.
    IF NOT I_WRAPTEXT IS INITIAL.
    SET PROPERTY OF G_CELL 'WrapText' = 1.
    ENDIF.
    IF NOT I_HORIZON_ALIGN IS INITIAL.
    IF I_HORIZON_ALIGN = 'L'.
    SET PROPERTY OF G_CELL 'HorizontalAlignment' = XLLEFT.
    ELSEIF I_HORIZON_ALIGN = 'R'.
    SET PROPERTY OF G_CELL 'HorizontalAlignment' = XLRIGHT.
    ELSEIF I_HORIZON_ALIGN = 'C'.
    SET PROPERTY OF G_CELL 'HorizontalAlignment' = XLCENTER.
    ENDIF.
    ENDIF.
    IF NOT I_VERTICAL_ALIGN IS INITIAL.
    IF I_VERTICAL_ALIGN = 'T'.
    SET PROPERTY OF G_CELL 'VerticalAlignment' = XLTOP.
    ELSEIF I_VERTICAL_ALIGN = 'B'.
    SET PROPERTY OF G_CELL 'VerticalAlignment' = XLBOTTOM.
    ELSEIF I_VERTICAL_ALIGN = 'C'.
    SET PROPERTY OF G_CELL 'VerticalAlignment' = XLCENTER.
    ENDIF.
    ENDIF.
    * To set number format for cell
    IF I_DIGIT <> ''.
    IF I_VALUE IS INITIAL AND I_DIGIT <> '%'.
    SET PROPERTY OF G_CELL 'VALUE' = ''.
    ELSE.
    * Set number format for cell with number
    IF I_DIGIT = '1'.
    SET PROPERTY OF G_CELL 'NumberFormat' = '#,###.0 '.
    ELSEIF I_DIGIT = '2'.
    SET PROPERTY OF G_CELL 'NumberFormat' = '#,##0.00 '.
    ELSEIF I_DIGIT = '%'.
    SET PROPERTY OF G_CELL 'NumberFormat' = '#,##0.00% '.
    ELSE.
    SET PROPERTY OF G_CELL 'NumberFormat' = '#,### '.
    ENDIF.
    ENDIF.
    ENDIF.
    ADD 1 TO I_COL.
    ENDFORM.
    *& Form OPEN_EXCEL
    FORM OPEN_EXCEL.
    DATA: L_CNT TYPE I.
    * create object excel of OLE class 'EXCEL.APPLICATION'
    CREATE OBJECT G_EXCEL 'EXCEL.APPLICATION'.
    CALL METHOD OF G_EXCEL 'WORKBOOKS' = G_WORKBOOKS.
    CALL METHOD OF G_WORKBOOKS 'ADD' = G_WORKBOOK.
    GET PROPERTY OF G_WORKBOOK 'Worksheets' = G_WORKSHEETS.
    GET PROPERTY OF G_EXCEL 'ACTIVESHEET' = G_WORKSHEET.
    SET PROPERTY OF G_EXCEL 'DISPLAYALERTS' = 0.
    GET PROPERTY OF G_WORKSHEETS 'Count' = l_cnt.
    L_CNT = L_CNT - 1.
    * Delete unwanted worksheets
    DO L_CNT TIMES.
    GET PROPERTY OF G_EXCEL 'ACTIVESHEET' = G_WORKSHEET.
    CALL METHOD OF G_WORKSHEET 'DELETE'.
    ENDDO.
    ENDFORM. " OPEN_EXCEL
    *& Form CLOSE_EXCEL
    FORM CLOSE_EXCEL.
    SET PROPERTY OF G_EXCEL 'VISIBLE' = 1.
    CALL METHOD OF G_WORKBOOK 'SAVEAS'
    EXPORTING #1 = P_FILENM.
    * quit Excel and free all OLE objects
    * call method of g_excel 'QUIT'.
    FREE OBJECT G_INTERIOR.
    FREE OBJECT G_BORDERS.
    FREE OBJECT G_FONT.
    FREE OBJECT G_CELL.
    FREE OBJECT G_CELL1.
    FREE OBJECT G_CELL2.
    FREE OBJECT G_CELLRANGE.
    FREE OBJECT G_EXCEL.
    FREE OBJECT G_WORKBOOKS.
    FREE OBJECT G_WORKBOOK.
    FREE OBJECT G_WORKSHEETS.
    FREE OBJECT G_WORKSHEET.
    ENDFORM. " CLOSE_EXCEL
    *& Form ADD_WORKSHEET
    FORM ADD_WORKSHEET USING I_NAME.
    * Add new worksheet
    IF G_FIRST_WS <> 'N'.
    G_FIRST_WS = 'N'.
    GET PROPERTY OF G_EXCEL 'ACTIVESHEET' = G_WORKSHEET.
    ELSE.
    CALL METHOD OF G_WORKSHEETS 'Add' = G_WORKSHEET.
    ENDIF.
    SET PROPERTY OF G_WORKSHEET 'NAME' = I_NAME.
    G_ROW = 1.
    G_COL = 1.
    ENDFORM. " ADD_WORKSHEET
    *& Form ADD_WORKSHEET1
    FORM ADD_WORKSHEET1.
    PERFORM ADD_WORKSHEET USING 'Test 1'.
    * fill line in EXCEL sheet with headerlines of table columns
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL 'My First Worksheet' 'X' ''
    PERFORM MERGE_CELL USING G_ROW 1 G_ROW 4.
    PERFORM SET_BORDER USING G_ROW 1 G_ROW 4 4 ''.
    ADD 1 TO G_ROW.
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL 'ID'(001) 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL 'Name'(002) 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL 'Telephon'(003) 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL 'Rabatt'(004) 'X' '' '' '' ''.
    * loop at customr table and print values into EXCEL sheet
    ADD 1 TO G_ROW.
    LOOP AT T_SHEET1.
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL T_SHEET1-COL1 '' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL T_SHEET1-COL2 '' '' '' '' ''.
    ADD 1 TO G_ROW.
    ENDLOOP.
    G_COL = 4.
    PERFORM SET_BORDER USING 1 1 G_ROW G_COL '' 4.
    ENDFORM. " ADD_WORKSHEET1
    *& Form ADD_WORKSHEET2
    FORM ADD_WORKSHEET2.
    PERFORM ADD_WORKSHEET USING 'Test 2'.
    * fill line in EXCEL sheet with headerlines of table columns
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL 'My Second Worksheet' 'X' ''
    PERFORM MERGE_CELL USING G_ROW 1 G_ROW 4.
    PERFORM SET_BORDER USING G_ROW 1 G_ROW 4 1 'X'.
    PERFORM SET_COLOR USING G_ROW 1 G_ROW 4 'LT'.
    ADD 1 TO G_ROW.
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL 'ID'(001) 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL 'Name'(002) 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL 'Telephon'(003) 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL 'Rabatt'(004) 'X' '' '' '' ''.
    * loop at customr table and print values into EXCEL sheet
    ADD 1 TO G_ROW.
    LOOP AT T_SHEET2.
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL T_SHEET2-COL1 '' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL T_SHEET2-COL2 '' '' '' '' ''.
    ADD 1 TO G_ROW.
    ENDLOOP.
    G_COL = 4.
    PERFORM SET_BORDER USING 1 1 G_ROW G_COL 2 'X'.
    ADD 4 TO G_ROW.
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL 'This is a wrap text' 'X' ''
    'X' 'C' 'T'.
    PERFORM FILL_CELL USING G_ROW G_COL 'Vertical - Bottom' 'X' ''
    '' 'L' 'T'.
    ADD 4 TO G_ROW.
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL 'Amount 1' 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL '100.04' '' 'X' '' '' ''.
    ADD 1 TO G_ROW.
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL 'Amount 2' 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL '200.01' '' 'X' '' '' ''.
    ADD 1 TO G_ROW.
    G_COL = 1.
    PERFORM FILL_CELL USING G_ROW G_COL 'Total' 'X' '' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL '=SUM(B13:B14)' 'X' 'X' '' '' ''.
    PERFORM FILL_CELL USING G_ROW G_COL '0.00' 'X' 'X' '' '' ''.
    PERFORM COPY_CELL USING G_ROW 2 17 5 25 8.
    ENDFORM. " ADD_WORKSHEET2
    *& Form MERGE_CELL
    FORM MERGE_CELL USING I_ROW1 I_COL1
    I_ROW2 I_COL2.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL1
    EXPORTING #1 = I_ROW1
    #2 = I_COL1.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL2
    EXPORTING #1 = I_ROW2
    #2 = I_COL2.
    CALL METHOD OF G_EXCEL 'Range' = G_CELLRANGE
    EXPORTING #1 = G_CELL1
    #2 = G_CELL2.
    CALL METHOD OF G_CELLRANGE 'Merge'.
    ENDFORM. " MERGE_CELL
    *& Form SET_BORDER
    FORM SET_BORDER USING I_ROW1 I_COL1
    I_ROW2 I_COL2
    I_THICKNESS
    I_ALLBORDERS.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL1
    EXPORTING #1 = I_ROW1
    #2 = I_COL1.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL2
    EXPORTING #1 = I_ROW2
    #2 = I_COL2.
    CALL METHOD OF G_EXCEL 'Range' = G_CELLRANGE
    EXPORTING #1 = G_CELL1
    #2 = G_CELL2.
    IF I_ALLBORDERS IS INITIAL.
    CALL METHOD OF G_CELLRANGE 'BorderAround'
    EXPORTING #1 = 1 "Continuous line
    #2 = I_THICKNESS. "Thickness: 1 - Normal, 4 - Thick
    ELSE.
    GET PROPERTY OF G_CELLRANGE 'Borders' = G_BORDERS.
    SET PROPERTY OF G_BORDERS 'LineStyle' = '1'.
    SET PROPERTY OF G_BORDERS 'Weight' = I_THICKNESS.
    ENDIF.
    ENDFORM. " SET_BORDER
    *& Form SET_COLOR
    FORM SET_COLOR USING I_ROW1 I_COL1
    I_ROW2 I_COL2
    I_COLOR.
    DATA: L_COLORINDEX TYPE I.
    CASE I_COLOR.
    when 'BK'.
    L_COLORINDEX = 1. "Black
    when 'BR'.
    l_colorindex = 53. "Brown
    when 'OG'.
    l_colorindex = 52. "Olive Green
    when 'DG'.
    l_colorindex = 51. "Dark Green
    when 'DT'.
    l_colorindex = 49. "Dark Teal
    when 'DB'.
    L_COLORINDEX = 11. "Dark Blue
    WHEN 'ID'.
    L_COLORINDEX = 55. "Indigo
    when 'G4'.
    l_colorindex = 56. "Gray 80%
    when 'DR'.
    L_COLORINDEX = 9. "Dark Red
    when 'OR'.
    l_colorindex = 46. "Orange
    when 'DY'.
    l_colorindex = 12. "Dark Yellow
    when 'GR'.
    l_colorindex = 10. "Green
    when 'TL'.
    L_COLORINDEX = 14. "Teal
    WHEN 'BL'.
    L_COLORINDEX = 5. "Blue
    WHEN 'BY'.
    L_COLORINDEX = 47. "Blue Gray
    when 'G3'.
    l_colorindex = 16. "Gray 50%
    when 'RD'.
    L_COLORINDEX = 3. "Red
    when 'LO'.
    l_colorindex = 45. "Light Orange
    when 'LI'.
    l_colorindex = 43. "Lime
    when 'SG'.
    l_colorindex = 50. "Sea Green
    when 'AQ'.
    L_COLORINDEX = 42. "Aqua
    WHEN 'LB'.
    L_COLORINDEX = 41. "Light Blue
    WHEN 'VL'.
    L_COLORINDEX = 13. "Violet
    when 'G2'.
    l_colorindex = 48. "Gray 40%
    when 'PK'.
    L_COLORINDEX = 7. "Pink
    when 'GD'.
    l_colorindex = 44. "Gold
    when 'YL'.
    L_COLORINDEX = 6. "Yellow
    when 'BG'.
    L_COLORINDEX = 4. "Bright Green
    WHEN 'TQ'.
    L_COLORINDEX = 8. "Turquoise
    WHEN 'SB'.
    L_COLORINDEX = 33. "Sky Blue
    WHEN 'PL'.
    L_COLORINDEX = 54. "Plum
    when 'G1'.
    l_colorindex = 15. "Gray 25%
    when 'RS'.
    l_colorindex = 38. "Rose
    when 'TN'.
    l_colorindex = 40. "Tan
    when 'LY'.
    l_colorindex = 36. "Light Yellow
    when 'LG'.
    l_colorindex = 35. "Light Green
    when 'LT'.
    L_COLORINDEX = 34. "Light Turquoise
    WHEN 'PB'.
    L_COLORINDEX = 37. "Pale Blue
    WHEN 'LV'.
    L_COLORINDEX = 39. "Lavender
    when 'WH'.
    L_COLORINDEX = 2. "White
    WHEN OTHERS.
    L_COLORINDEX = 2. "White
    ENDCASE.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL1
    EXPORTING #1 = I_ROW1
    #2 = I_COL1.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL2
    EXPORTING #1 = I_ROW2
    #2 = I_COL2.
    CALL METHOD OF G_EXCEL 'Range' = G_CELLRANGE
    EXPORTING #1 = G_CELL1
    #2 = G_CELL2.
    GET PROPERTY OF G_CELLRANGE 'Interior' = G_INTERIOR.
    SET PROPERTY OF G_INTERIOR 'ColorIndex' = L_COLORINDEX.
    ENDFORM. " SET_COLOR
    *& Form COPY_CELL
    FORM COPY_CELL USING I_CROW I_CCOL
    I_PROW1 I_PCOL1
    I_PROW2 I_PCOL2.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL
    EXPORTING #1 = I_CROW
    #2 = I_CCOL.
    CALL METHOD OF G_CELL 'Copy'.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL1
    EXPORTING #1 = I_PROW1
    #2 = I_PCOL1.
    CALL METHOD OF G_EXCEL 'Cells' = G_CELL2
    EXPORTING #1 = I_PROW2
    #2 = I_PCOL2.
    CALL METHOD OF G_EXCEL 'Range' = G_CELLRANGE
    EXPORTING #1 = G_CELL1
    #2 = G_CELL2.
    CALL METHOD OF G_WORKSHEET 'Paste'
    EXPORTING #1 = G_CELLRANGE.
    ENDFORM. " COPY_CELL
    *& Form OPEN_TEMPLATE_FILE
    FORM OPEN_TEMPLATE_FILE.
    CALL METHOD OF G_WORKBOOKS 'Open' = G_TMP_WORKBOOK
    EXPORTING #1 = G_PC_TEMPLATE
    #2 = 2
    #3 = 0
    #4 = 1
    #5 = 0
    #6 = 0
    #7 = 1.
    CALL FUNCTION 'FLUSH'
    EXCEPTIONS
    OTHERS = 0.
    GET PROPERTY OF G_TMP_WORKBOOK 'Worksheets' = G_TMP_WORKSHEETS.
    GET PROPERTY OF G_TMP_WORKSHEETS 'Item' = G_TMP_WORKSHEET1
    EXPORTING #1 = 1.
    GET PROPERTY OF G_TMP_WORKSHEETS 'Item' = G_TMP_WORKSHEET2
    EXPORTING #1 = 2.
    CALL METHOD OF G_TMP_WORKSHEET1 'Copy'
    EXPORTING #1 = G_WORKSHEET.
    CALL METHOD OF G_TMP_WORKSHEET2 'Copy'
    EXPORTING #1 = G_WORKSHEET.
    * call method of g_tmp_workbook 'Close'.
    CALL FUNCTION 'FLUSH'
    EXCEPTIONS
    OTHERS = 0.
    ENDFORM. " OPEN_TEMPLATE_FILE
    Edited by: Gunasekhar B on Apr 16, 2009 3:19 PM
    Edited by: Gunasekhar B on Apr 16, 2009 3:19 PM

  • Formatted for mac; Connect to PC?

    My iPod touch is formatted for mac. Can I safely connect it to a PC and sync from the iTunes on that PC?

    Only PC formatted iPods can be dumped music from a PC.
    As PC formatted iPod can be synced with both an Mac and a PC, your best bet is to move its contents to your mac with an iPod to Mac software.
    Format your iPod to PC.
    Put the music back to it from your Mac.
    Transfer that music from your iPod to the PC.
    Synchronize it with the PC.

  • Entering Correct info for VPN connection

    please suggest the correct configuration for entering information in order for my laptop to connect via VPN to my newly installed Leopard Server software. On my laptop, I have entered the following info on the System Preferences> network tab...
    Configuration: Default
    Server Address: 76.173.xx.xxx (my public IP address - do I need anything else?)
    Account name: XXXXXX (same as the account name in Server)
    under Authentication Settings, my password is fine and my shared secret is the same as on the Server.
    Am I entering in everything correctly? i am most concerned as to how the server address is supposed to be written. thanks!!

    Hi
    If Appletalk is enabled server side and you simply enter the IP address afp is assumed as the protocol to be used. If you prefer the extra effort involved in typing afp:// followed by the IP address you can use that as well. If you want to use the smb service rather than afp simply type smb://followed by the IP address. The same thing applies to ftp services. The Finder supports reads only for ftp services.
    If you are using VPN services you simply type in the private IP (LAN-side) address of the server rather than the public IP (WAN-side) address. Once a VPN connection has been established, the remote client behaves as if it is on the same LAN.
    You can make a connection using the Public WAN address if you enable port forwarding to a single LAN IP address for services you are interested in. For example if you wanted to access your server remotely using afp you configure your router to forward requests for port 548 to the internal IP address of your server. You can use this method for as many services you like as well as how many your router supports. Most commercially available routers support 10-20. Depending on the router you may have to configure an appropriate firewall rule as well. When faced with that it makes more sense to use a single VPN connection.
    I may be in danger of teaching granny to suck eggs but for what its worth for VPN connections to work successfully the remote client’s private IP address has to be different from the host site. For example if the remote site is on 192.168.1.x/24 as is the server then you won’t establish a connection. As far as the remote site is concerned its already connected to that network, why look elsewhere? 192.168.1.x/24 to 192.168.2.x/24 or 10.10.10.x/24 to 192.168.0.x/24 should result in successful VPN connections.
    For a list or IP addresses reserved for private use:
    http://www.iana.org/faqs/abuse-faq.htm#SpecialUseAddresses
    Hope this helps, Tony

  • I need help. (format for DB Connect String and Parameters)

    I do not understand the DB Connect String
    or the Other Parameters
    in the DB Connect String whats the format
    Can someone point to some help for using
    the Oracle Reports Paper Report Tester

    Hello,
    DB Connect String : Like for other tools (SQL*Plus / ..; ) provide a string like
    user/password@dbalias
    Other parameters : if you have created parameters in your Reports, you can specify their value here.
    Example : a parameter P_PARAM is defined in your Reports, you can set the value of "Other parameters" :
    P_PARAM=my_value
    Regards

  • IPod formatted for windows, connected to mac accidentally

    I have an iPod video, 30GB. I formatted it for use with my windows laptop.
    Then, my mother hooked it up to her macbook pro. No syncing took place and it didn't show up in iTunes. However, now neither machine will show the iPod in iTunes. The windows machine, on connection to the iPod, brings up an error message saying the iPod is corrupted. When connected to the Mac, the iPod spontaneously crashes iTunes even before it opens.
    Through a series of unfortunate events, much of my music is not on hard drives aside from my iPod, so any help resolving this issue without restoring the iPod would be greatly appreciated.

    Mac Os X will read Fat 16, Fat32(the windows default for iPod) .
    I believe it will read, but not write to NTFS.
    Windows can not read or write to HFS(Mac OS X format and iPod for Macs) drives.

  • Correct route for ADSL connection

    Hi
    I found a couple of threads on this topic but none of them seemed to be plain enough for a newbie to understand. I use an ADSL connection for my home box. The connection uses pppoe for authentication. When I start the computer, I have to run the following commands on every run to get access to internet:
    su
    route del default
    route add default gw 81.91.128.10
    Here is what my rc.conf reads:
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    TIMEZONE="Asia/Tehran"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # Scan hardware and load required modules at bootup
    MOD_AUTOLOAD="yes"
    # Module Blacklist - modules in this list will never be loaded by udev
    MOD_BLACKLIST=(pcspkr)
    # Modules to load at boot-up (in this order)
    # - prefix a module with a ! to blacklist it
    MODULES=(mii slhc via-rhine ac97_bus snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-seq snd-page-alloc snd-pcm snd-rawmidi snd-timer snd snd-mpu401-uart snd-mpu401 snd-ac97-codec snd-via82xx soundcore fuse)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    HOSTNAME="localhost"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available
    # interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
    lo="lo 127.0.0.1"
    eth0="dhcp"
    INTERFACES=(lo eth0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 81.91.128.10"
    ROUTES=(gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network-profiles
    #NET_PROFILES=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng network netfs crond dbus hal adsl privoxy tor keytouch)
    # End of file
    Here's my ifconfig output:
    eth0 Link encap:Ethernet HWaddr 00:05:5D:C8:A5:AA
    inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::205:5dff:fec8:a5aa/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:93252 errors:0 dropped:0 overruns:0 frame:0
    TX packets:69563 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:106552708 (101.6 Mb) TX bytes:6338531 (6.0 Mb)
    Interrupt:5 Base address:0xd000
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:931 errors:0 dropped:0 overruns:0 frame:0
    TX packets:931 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:1886158 (1.7 Mb) TX bytes:1886158 (1.7 Mb)
    ppp0 Link encap:Point-to-Point Protocol
    inet addr:91.184.72.216 P-t-P:81.91.128.10 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
    RX packets:92873 errors:0 dropped:0 overruns:0 frame:0
    TX packets:69152 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:104480285 (99.6 Mb) TX bytes:4801320 (4.5 Mb)
    What should I do to get the thing done without any manual intervention?

    Please refer to this wiki for the detailed and correct steps to set it up:
    http://wiki.archlinux.org/index.php/PPP … _with_pppd
    And remember to set eth0 up in rc.conf as follow:
    eth0="eth0 0.0.0.0 up"
    I don't know why you have to set route up manually. I thought that the pppd daemon will do it for you.
    And... just use /etc/rc.d/pppd not /etc/rc.d/adsl.
    Hope this helps.
    BR,
    bsdson.tw

  • Correct Format For Movie File

    Hello,
    I am in the process of transferring old family film footage to digital files. The company I'm taking these reels to is recommending that I put them on an external hard drive in .mov format. They say that this will allow me to edit with iMovie. Your thoughts?
    Also, at the present time when I upload my point and shoot Nikon camera and also when I upload my iPhone and iPad, the movie clips are loaded into iPhoto also along with the photos. Will I have the option to do this with these new files?
    Regards,
    Tom

    You would need to consult the documentaion for the device you're using. You should be able to find it on the manufacturer's website.

  • I read about  outside publisher assistance that helps get the books correctly formatted for uploading - any info on this? I found it yesterday while searching iBooks Author information and have lost it! :) thanks

    Is this assistance, for a nominal fee, called aggregators?  I can't find this info anymore, and wonder if anyone else has heard of this.
    thanks,

    https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/wa/displayAggregato rs?ccTypeId=13
    Check this out - Fabe

  • Correct format for a prepared statement.

    Statement myStmt = myCon.createStatement();
    String sqlQuery = "SELECT * FROM customer WHERE custName='" + name + "'";
    ResultSet mRs = myStmt.executeQuery(sqlQuery);
    String sqlQuery = "SELECT * FROM customer WHERE custName= ? ";
    PreparedStatement myStmt = myCon.prepareStatement(sqlQuery);
    myStmt.setString(1, name);
    ResultSet mRs = myStmt.executeQuery(sqlQuery);Is this correct to change the statement into a prepared statement? Because it doen't work, been looking at the prepared statement API and managed to convert my update statement.

    >
    String sqlQuery = "SELECT * FROM customer WHERE
    custName= ? ";
    PreparedStatement myStmt =
    myCon.prepareStatement(sqlQuery);
    myStmt.setString(1, name);
    ResultSet mRs = myStmt.executeQuery(sqlQuery);Is this correct to change the statement into a
    prepared statement? Because it doen't work, been
    looking at the prepared statement API and managed to
    convert my update statement.Try running the java.sql.PreparedStatement.executeQuery() method that doesn't take any arguments:
    ResultSet mRs = myStmt.executeQuery();MOD
    ResultSet mRs = myStmt.executeQuery(sqlQuery);

  • What is the correct format of filepath string on Mac os x?

    I am trying to retrieve a file from Mac os x by:
    File file=new File(filepath);
    My boot volume name is "myVol", and filepath is "/myVol/opt/ab.txt". However, when I provide this path, the file is not found. I just figured out that if I use "/opt/ab.txt" the correct file can be found!!
    Now, if I have a shared volume on my machine(I got it by menu "Go-->Connect to Server..."), whose name is "Mac Share", the filepath should be something "/Mac Share/test/123.txt". File file=new File("/Mac Share/test/123.txt") can not find the file. It looks like that it's trying to find 123.txt from /myVol/Mac Share/test directory, which doesn't exist. I even tried "//MacShare/test/123.txt", "Mac Share/test/123.txt", etc., and none of them worked!!
    If you know the correct format to specify the filepath on Mac OS x, please give me help!!!!
    Thanks in advance.

    I don't know the exact answer to your question, but you can probably figure it out on your own like:
    1) Create a File object that represents an existing file. Play around with the path until the file can be found.
    2) Now that you have a File object representing a valid, existing path, use MyFile.getAbsolutePath() to see what the full path string is. MyFile.getCanonicalPath() might provide some answers as well.
    Whatever getAbsolutePath() returns is the correct format for the file path string.

  • Setting connection parameters in iOS-Corebluetooth Framework

    Hi Team,
         According to the Core Bluetooth Framework Reference there is an option argument on the CBCentralManager.connectPeripheral method, but there is no documentation that describes it other than to mention that its "A dictionary to customize the behavior of the connection.".
          I'm assuming that this is how the caller would specify the initial connection interval and slave latency. Please provide the dictionary details(i.e key of the dictionary).
         Please suggest me, how to give the key and value for the connection parameters dictionary(mentioned above).
    Thanks and Regards
    -Ibrahim Sulaiman

    Thanks for the answer. I am sure a trigger could be done but would be a pain for a few deployment reasons.
    In my searching seems like the ODBC setting work much like the fat JDBC. So I would guess I will need some VBA script in Access. But I am not sure VBA can drill down to the driver level.
    Any thought on a VBA script a user could run to set the params then they could do their ad-hoc stuff?

  • Timestamp format for SQL Server data

    Hi all,
    I put this question on the PL/SQL forum but got no answer yet. Could anyone help me with the timestamp format for a timestamp data from SQL Server? I have this in the xml from SQL server,
    2006-06-20T00:00:00-05:00
    and I need to make it a date or timestamp data type in Oralce. I have looked at the docs and could not find the correct format for this. Please note there is a T in the middle and I don't know why it is there and what it is for.
    Thanks.
    Ben

    Actually the date is in the only form that is valid in the XML Schema spec and the RFC that the datetime formats are allowed to be in per the XML schema spec...
    The way to decode is to a timestamp with timezone
    SQL> select to_timestamp_Tz('2006-06-20T00:00:00-05:00','YYYY-MM-DD"T":HH24:MI:SSTZH:TZM') from dual;
    TO_TIMESTAMP_TZ('2006-06-20T00:00:00-05:00','YYYY-MM-DD"T":HH24:MI:SSTZH:TZ
    20-JUN-06 12.00.00.000000000 AM -05:00
    SQL>

  • What is the format for a Client Request JMS message.

    I am trying to send directly to the JMS queue to start a WLI process. From the Workshop browser, the message is received. However, when sending my own JMS message, WebLogic complains with an "Unexpected message format" onMessageException.
    What is the correct format for a WLI Client Request node? A text message? Please help. Thanks - Frank.

    Kai,
    Thanks for the info. I have created a MB channel and a JMS event generator. But now it seems that my problem has simply been moved further out. Case in point: If I send a simple XML text message to the JMS event queue, the WebLogic JPD throws a MBConnectorException ("Could not determine channel type").
    So I am wondering if this is still not the best practice to accomplish what I want. Should I be using a MDB which then simply calls a JCX control that knows how to talk to the WLI start node? The whole idea is that I want to start the workflow with a simple JMS message.
    Thanks in advance,
    Frank

Maybe you are looking for

  • Scan in a PDF format in HP laserjet M1319f MFP printer

    How to scan in a PDF format when the scanner is not showing that option in HP laserjet M1319f MFP printer when it has been installed in a new HP computer with Windows8pro operating system downloading it from HP website ad the Cd that came with the pr

  • Dynamic regions

    Is it possible to create number of regions dynamically based on a LOV selection?. To simplify my requirement, I will take department and employes as an example. If the user selects a department from a LOV. I would like to show all the employees as sh

  • Adjustment in SPDD?

    Hi Friends, We have upgraded SAP 4.6 to ECC 6.0. In SPDD transaction there are two objects to adjust now. The objects are. => without Modifiction Assistant               -> Structures                     -> /SAPDMC/LSSCREEN                          *

  • Get the directory information of Weblogic installation

    We have a scenario , wherein we have placed an xml in a specific directory in weblogic. For eg : $WLS_HOME/DefaultDomain/config/fmwconfig/mbeans/xyz.xml Would like to know a) whether we can get the value of $WLS_HOME b) whether we can get the directo

  • Is anyone else having these problems?

    Hello, At work, I'm using 2.8 Quad Core with 10.5.4, at home I use Tiger, so I see the stark contrasts daily. Leopard is just having some very odd interface problems that have persisted since I've been using this machine. Applications simply disappea