Newbie help with Fixed IP configuration / Machine Record

I have a Mac Mini running Snow Leopard Server. It has a fixed IP, and runs a variety of web services, iCal Server and Address Book Server. I've been having problems getting VPN to work (can connect from client OK, but not able to get any traffic through the VPN subsequently).
In the process of trying to work out what is wrong with VPN, I noticed an oddity with the 'machine record' in DNS. The server was configured initially while connected to a LAN, but now runs with a fixed IP / FQDN outside the LAN.
DNS is set up with the original machine name (sls.2gc.org) assigned to the original 192.x.x.x address it had when first configured. The reverse entry is also based on this 192. number.
This name and 192.x.x.x number also appears in the 'Workgroup Manager' in the machine record.
The new configuration has the machine assigned to a FQDN that is not the same as the original machine name (2gc.org, rather than sls.2gc.org), and a different IP address (77.44.50.51).
Question is do I need to do anything (does the mapping to 192.x.x.x matter). If so, do I simply run changeip to correct the number / name, or do I have to also manually change the Workgroup Manager and DNS entries too?
Thanks in advance for any help.

You need a second IP for the server which you can use to get at services in the server itself.
If you try to use the main IP, even when the VPN is up, the traffic will not go through the VPN but direct and will then be stopped by the firewall.
From what IP-range does the VPN client get it's IP?
If you need to go through the VPN and then to Internet (via the server) you need to have NAT running.
NAT requires the firewall running and you'd also need ipforwarding (automatically on when firewall/NAT is on).
The server can have a second (private) IP added to an alias en0 ethernet interface.
I'd prefer using a NAT router/firewall between server and Internet or a second (LAN) interface in the server. Some use Apple USB -> ethernet adapter but you also have the AirPort one (but it won't make a good AP and you only get WEP encryption).

Similar Messages

  • Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).

    Looking for help with respect to configuring MS Exchange server to handle attachments over 10 MB for forwarding to Salesforce (Email-to-case).
    Problem - SFDC does not create cases from emails that have more than 10 MB of attachments. Our clients will not go-live if their clients cannot send in emails with attachments over 10 MBs
    Potential resolution - Configure MS exchange to strip off the attachments(if over 10 MB) and store it in a public folder, forward the email to Salesforce (so the case gets created or the email
    is associated to an existing case), the client should have some way to know if the attachments were stripped off and should be able to dlownload the attachments and continue with case resolution.
    Any help is appreicated!
    Thanks

    Hi,
    From your description, you want to achieve the following goal:
    Configure Exchange to filter the attachments if the size is over 10 MB and store it in a public folder, and then forward the email to Salesforce.
    Based on my knowledge, I'm afraid that it can't be achieved. Exchange can filter messages with attachments, but it couldn't store these attachments on public folder automatically. Also, I don't see any transport rule can do it.
    Hope my clarification is helpful.
    Best regards,
    Amy Wang
    TechNet Community Support

  • How to read the 'Input help with fixed values' of domain .

    How to read the 'Input help with fixed values' of domain .
    The domain has a Value range i want to read those values .
    Are these values stored in any table ?
    Plz help me i need it ver badly...
    Thanks in Advance...

    Hi Chandra Shekhar,
    To read the 'Input help with fixed values' of domain , you can use the function module : HR_P_GET_FIXED_VALUE_TEXT.
    iIf you enter the domain name, you will find the fixed values entered in the domain.
    These values are stored in a table DD07L(DD zero 7 L). Here the values are stored based on domain name.
    See if it works for you.
    Award points if its helpful.
    Regards,
    Bhanu

  • I need help with setting up time machine for backup

    I would like help with setting up time machine for backup.

    You will need an external hard drive (formatted for a Mac).
    Then you plug it in and go to system preferences>time machine and select the external HD and turn it on.
    The backups are automatic.
    Barry

  • I can send iMessage's but cannot receive them. Any help with fixing it?

    I can send iMessage's but cannot receive them. Any help with fixing these?

    Is this happening on cellular or Wi-Fi, or both?

  • Newbie - help with homework.

    Create a procedure to insert a record into the Bill_Items table. All the fields in the Bill_Items table will be specified as para with the exception of the Selling_Price, which will be the Current_Price, retrieved from the Menu_Items table. Do not allow the insert to finish unless there are enough of all ingredients on hand. If the insert is successfull, the quantity field in the Ingredient table will need to be updated accordingly.
    Tables are below.
    Thanks,
    CREATE TABLE Bill_Items
    Bill_Number NUMBER(6,0)
    CONSTRAINT FK_Bill_Items_Bill_Number REFERENCES Bills(Bill_Number)
    CONSTRAINT NN_Bill_Items_Bill_Number NOT NULL,
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Num REFERENCES Menu_Items(Menu_Item_Number)
    CONSTRAINT NN_Bill_Items_Menu_Item_Num NOT NULL,
    Discount NUMBER(5,2)
    CONSTRAINT N_Bill_Items_Discount NULL,
    Quantity NUMBER(3,0) DEFAULT 1
    CONSTRAINT Bills_Items_Quanity_CC CHECK(Quantity > 0)
    CONSTRAINT NN_Bill_Items_Quantity NOT NULL,
    Selling_Price NUMBER(6,2) DEFAULT 0
    CONSTRAINT Bills_Items_SellingPrice_CC CHECK(Selling_Price >= 0)
    CONSTRAINT NN_Bill_Items_Selling_Price NOT NULL,
    CONSTRAINT PK_Bill_Items PRIMARY KEY(Bill_Number,Menu_Item_Number)
    CREATE TABLE Menu_Item_Ingredients
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Ing_Menu_Item_Num REFERENCES Menu_Items(Menu_Item_Number)
    CONSTRAINT NN_Menu_Item_Ing_Meun_Item_Num NOT NULL,
    Ingredient_Number NUMBER(5,0)
    CONSTRAINT FK_Menu_Item_Ing_IngredientNo REFERENCES Ingredients(Ingredient_Number)
    CONSTRAINT NN_Menu_Item_Ing_IngredientNo NOT NULL,
    Quantity NUMBER(5,2) DEFAULT 1
    CONSTRAINT Menu_Item_Ing_Quanity_CC CHECK(Quantity > 0)
    CONSTRAINT NN_Menu_Item_Ing_Quanity NOT NULL,
    Constraint PK_Menu_Item_Ing PRIMARY KEY(Menu_Item_Number, Ingredient_Number)
    CREATE TABLE Ingredients
    Ingredient_Number Number(5,0)
    CONSTRAINT PK_Ingredients_IngredientNo PRIMARY KEY
    CONSTRAINT NN_Ingredients_IngredientNo NOT NULL,
    Ingredient_Name VarChar2(35)
    CONSTRAINT NN_Ingredients_Ingredient_Name NOT NULL,
    Portion_Code CHAR(2)
    CONSTRAINT FK_Ingredients_PortionCode REFERENCES Portions(Portion_Code)
    CONSTRAINT NN_Ingredients_PortionCode NOT NULL
    REFERENCES Portions(Portion_Code),
    On_Hand NUMBER(6,2) DEFAULT 1
    CONSTRAINT Ingredients_OnHand_CC CHECK(On_Hand > 0)
    CONSTRAINT NN_Ingredients_On_Hand NOT NULL,
    Reorder_Point NUMBER(6,2) DEFAULT 1
    CONSTRAINT Ingredients_Reorder_Point CHECK(Reorder_Point > 0)
    CONSTRAINT NN_Ingredients_Reorder_Point NOT NULL,
    Current_Cost NUMBER(5,2) DEFAULT 0
    CONSTRAINT Ingredients_CurrentCost_CC CHECK(Current_Cost >= 0)
    CONSTRAINT NN_Ingredients_Current_Cost NOT NULL
    CREATE TABLE Menu_Items
    Menu_Item_Number NUMBER(5,0)
    CONSTRAINT PK_Menu_Items_MenuItemsNo PRIMARY KEY
    CONSTRAINT NN_Menu_Items_MenuItemsNo NOT NULL,
    Menu_Item_Name VARCHAR2(50)
    CONSTRAINT NN_Menu_Items_Menu_Item_Name NOT NULL,
    Current_Price NUMBER(6,2) DEFAULT 0
    CONSTRAINT Menu_Items_CurrentPrice CHECK(Current_Price >=0)
    CONSTRAINT NN_Menu_Items_Current_Price NOT NULL,
    Production_Cost NUMBER(6,2) DEFAULT 0
    CONSTRAINT Menu_Items_ProdCost CHECK(Production_Cost >=0)
    CONSTRAINT NN_Menu_Items_Production_Cost NOT NULL
    );

    Newbie to oracle - help with homework.. Letting others do your work is called cheating, where I live.
    C.

  • Newbie: help with join in a select query

    Hi: I need some help with creating a select statement.
    I have two tables t1 (fields: id, time, cost, t2id) and t2 (fields: id, time, cost). t2id from t1 is the primary key in t2. I want a single select statement to list all time and cost from both t1 and t2. I think I need to use join but can't seem to figure it out even after going through some tutorials.
    Thanks in advance.
    Ray

    t1 has following records
    pkid, time, cost,product
    1,123456,34,801
    2,123457,20,802
    3,345678,40,801
    t2 has the following records
    id,productid,time,cost
    1,801,4356789,12
    2,801,4356790,1
    3,802,9845679,100
    4,801,9345614,12
    I want a query that will print following from t1 (time and cost for records that have product=801)
    123456,34
    345678,40
    followed by following from t2 (time and cost for records that have productid=801)
    4356789,12
    4356790,1
    9345614,12
    Is this possible?
    Thanks
    ray

  • Help with fixing package

    Almost a year ago, the SVN URL for the redeclipse-svn package changed. At that time, it was orphaned, so I adopted the package and fixed the URL in the PKGBUILD. Since then, I stopped playing the game. Now, when I try to install it on my new computer, the package function fails. Being inexperienced with PKGBUILDS, etc., I would like some help in fixing the package.
    Here's the package function:
    cd "$srcdir/$_svnmod"
    make -C src/ DESTDIR="$pkgdir" prefix=/usr \
    appname=redeclipse cappname=REDECLIPSE \
    appsrcname=redeclipse \
    system-install
    install -Dm644 doc/all-licenses.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    And here's what I get when I try to makepkg:
    ==> Entering fakeroot environment...
    ==> Starting package()...
    make: Entering directory '/home/sub/aur/redeclipse-svn/src/redeclipse/src'
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse
    cp -r ../data /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6
    cp: cannot create directory '/home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data': No such file or directory
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin
    system-install.mk:98: recipe for target 'system-install-data' failed
    make: *** [system-install-data] Error 1
    make: *** Waiting for unfinished jobs....
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse
    install -m755 redeclipse /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/redeclipse
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse
    sed -e 's,@LIBEXECDIR@,/usr/lib,g' \
    -e 's,@DATADIR@,/usr/share,g' \
    -e 's,@DOCDIR@,/usr/share/doc,g' \
    -e 's,@APPNAME@,redeclipse,g' \
    -e 's,@CAPPNAME@,REDECLIPSE,g' \
    ../doc/man/redeclipse.6.am | \
    gzip -9 -n -c > /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6/redeclipse.6.gz
    install -m755 redeclipse_server \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/redeclipse-server
    sed -e 's,@LIBEXECDIR@,/usr/lib,g' \
    -e 's,@DATADIR@,/usr/share,g' \
    -e 's,@DOCDIR@,/usr/share/doc,g' \
    -e 's,@APPNAME@,redeclipse,g' \
    -e 's,@CAPPNAME@,REDECLIPSE,g' \
    ../doc/man/redeclipse-server.6.am | \
    gzip -9 -n -c > /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6/redeclipse-server.6.gz
    cp -r ../doc/examples /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse/examples
    cp ../doc/guidelines.txt /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/doc/redeclipse/guidelines.txt
    install -m755 install/nix/redeclipse-server.am \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse-server
    printf "\
    g,@LIBEXECDIR@,\
    s,@LIBEXECDIR@,/usr/lib,g\n\
    g,@DATADIR@,\
    s,@DATADIR@,/usr/share,g\n\
    g,@DOCDIR@,\
    s,@DOCDIR@,/usr/share/doc,g\n\
    g,@APPNAME@,\
    s,@APPNAME@,redeclipse,g\n\
    w\n" | ed -s /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse-server
    install -m755 install/nix/redeclipse.am \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse
    printf "\
    g,@LIBEXECDIR@,\
    s,@LIBEXECDIR@,/usr/lib,g\n\
    g,@DATADIR@,\
    s,@DATADIR@,/usr/share,g\n\
    g,@DOCDIR@,\
    s,@DOCDIR@,/usr/share/doc,g\n\
    g,@APPNAME@,\
    s,@APPNAME@,redeclipse,g\n\
    w\n" | ed -s /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin/redeclipse
    install -m644 ../data/config/version.cfg \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/version.cfg
    ln -s /usr/share/redeclipse/version.cfg \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/version.cfg
    ln -s /usr/share/redeclipse/data \
    /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/lib/redeclipse/data
    make: Leaving directory '/home/sub/aur/redeclipse-svn/src/redeclipse/src'
    ==> ERROR: A failure occurred in package().
    Aborting...
    The error seems to be here:
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/man/man6
    cp: cannot create directory '/home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/share/redeclipse/data': No such file or directory
    mkdir -p /home/sub/aur/redeclipse-svn/pkg/redeclipse-svn/usr/bin

    Sorry for derailing this.  Karol, the size was only an issue for me - that doesn't seem to be related to the OPs problems.  I don't know where the 800MB figure came from, but nearly 2GB of space were used up before the svn checkout stalled due to running out of space - the download never even completed.  I didn't try again after that as my download speed isn't that good and it would take a long while to just confirm what I already suspected about the Makefile.

  • Newbie - Help With templates

    I am fairly new to dreamweaver. Looking to put together a
    basic site for a holiday home for rent. Would like to include
    photos of the house and surrounding area, travel details, details
    of things to do and see, calendar, temeperature charts etc. Can
    anyone suggest where I can get my hands on templates that would
    help with this?
    Many thanks

    The best I've seen are from ProjectSeven -
    http://www.projectseven.com/
    They are commercial (look at the Page Packs) and they are
    excellent.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Gusley5" <[email protected]> wrote in
    message
    news:[email protected]...
    >I guess sources for templates is what I'm looking for.
    I've little
    >knowledge
    > of writing code so was looking for a draft template
    which would have a
    > professional look to it with regard to font, layout,
    colours, buttons to
    > use
    > for links etc. I suppose some sort of table layout for
    including photos
    > with
    > related text may be best place to start.
    >
    > Code below is from a starter page available from
    dreamweaver. Any other
    > suggestions for templates gratefully received.
    >
    > Thanks
    >
    > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN"
    > "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    > <html xmlns="
    http://www.w3.org/1999/xhtml">
    > <!-- DW6 -->
    > <head>
    > <!-- Copyright 2005 Macromedia, Inc. All rights
    reserved. -->
    > <title>Lodging - Catalog</title>
    > <meta http-equiv="Content-Type" content="text/html;
    charset=iso-8859-1" />
    > <link rel="stylesheet"
    >
    href="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltI
    > n/StarterPages/mm_lodging1.css" type="text/css" />
    > </head>
    > <body bgcolor="#999966">
    > <table width="100%" border="0" cellspacing="0"
    cellpadding="0">
    > <tr>
    > <td width="15"
    nowrap="nowrap"> </td>
    > <td height="60" colspan="2" class="logo"
    nowrap="nowrap"><br />
    > WEBSITE NAME HERE</td>
    > <td width="100%"> </td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td colspan="4"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="1" height="1"
    border="0"
    > /></td>
    > </tr>
    >
    > <tr bgcolor="#a4c2c2">
    > <td width="15"
    nowrap="nowrap"> </td>
    > <td height="36" id="navigation"
    class="navText"><a
    > href="javascript:;">HOME</a></td>
    > <td> </td>
    > <td width="100%"> </td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td colspan="4"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="1" height="1"
    border="0"
    > /></td>
    > </tr>
    >
    > <tr bgcolor="#ffffff">
    > <td valign="top" width="15"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="15"
    height="1" border="0"
    > /></td>
    > <td valign="top" width="35"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_spacer.gif" alt="" width="35"
    height="1" border="0"
    > /></td>
    > <td width="710" valign="top"><br />
    > <table border="0" cellspacing="0" cellpadding="2"
    width="610">
    > <tr>
    > <td colspan="7" class="pageName">Page Name
    Here</td>
    > </tr>
    > <tr>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td width="22%" height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > </tr>
    > <tr>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > </tr>
    > <tr>
    > <td colspan="7"> </td>
    > </tr>
    > <tr>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > <td> </td>
    > <td height="110"><img
    >
    src="file:///C|/Program%20Files/Macromedia/Dreamweaver%208/Configuration/BuiltIn
    > /StarterPages/mm_product_sm.gif" alt="small product
    photo" width="110"
    > height="110" border="0" /></td>
    > </tr>
    > <tr>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > <td> </td>
    > <td valign="top" class="calendarText"
    nowrap="nowrap"><a
    > href="javascript:;">Product Name</a><br
    />
    > Price: $0.00</td>
    > </tr>
    > <tr>
    > <td colspan="7"> </td>
    > </tr>
    > </table> </td>
    > <td> </td>
    > </tr>
    >
    > <tr>
    > <td width="15"> </td>
    > <td width="35"> </td>
    > <td width="710"> </td>
    > <td width="100%"> </td>
    > </tr>
    > </table>
    > </body>
    > </html>
    >

  • How to use array list with fixed values to insert record in trigger

    I have a list  of number 1,30,40,45,60 . These numbers are not being changed so I  don't need to keep in a table. So have to create a  after insert trigger   for 
    As
    Begin
    @list =  1,30,40,45,60 // Array value 
    for i=1 to @list.count
    Insert into mappingtable(arrayvalue,itemcode) values (list[i],Inserted.Itemcode)
    Next
    End
    Please can you help with a code 
    Regards
    Pol
    polachan

    Be careful what you assume - rarely are lists of values like this truly static.  One thing to keep in mind that arrays in sql server are tables.  So, one example is:
    set nocount on;
    /* represents the virtual inserted table in your trigger */
    declare @inserted table (itemcode char(4));
    insert @inserted (itemcode) values ('ABCD'), ('JJKL');
    select * from @inserted;
    select * from @inserted cross join (values (1), (30), (40), (45), (60)) as arrayx(value);

  • I need help with paginating my Oracle database records in JSP

    Please can someone help with a script that allows me to split my resultsets from an Oracle database in JSP...really urgent..any help would be really appreciated. I'm using the Oracle Apache http server and JSP environment that comes with the database...thanks

    First thing you have to do is decide on a platform and
    database. Check to see what your server supports. Whether it is ASP
    and MSSQL, PHP and MySQL or less likely Cold Fusion.

  • Newbie - Help with Fireworks CS5 nav bar

    I am new to Fireworks. I am using Fireworks CS5. I need help with creating navigation bars and menu. Any tutorial or tips is greatly appreciated.
    Thank you.

    You'll find a tutorial named "Create a basic navigation bar" in the Fireworks help files.

  • Newbie, help with timesten 6.0.2

    hi guys, i'm trying to install and configure timesten 6.0.2, in the same PC (it's name is demoserver) i have installed oracle 10g 10.2.0.1, the client tools for oracle 10g 10.2.0.0
    i'm reading a document called cacheconnect.pdf it is installed with timesten documentation, i have tried to install timesten with and without Access Control, and in the same case is the same error, the user i logged on windows is 'ricardo', it's password is 'verde13' i'm doing the follow steps agreed the pdf file:
    sqlplus system/passwordr@system1 system1 is the oracle service
    SQL> CREATE USER testuser IDENTIFIED BY mypsswrd
    DEFAULT TABLESPACE users;
    SQL> GRANT connect, resource, create any trigger TO testuser;
    SQL> COMMIT;
    SQL> EXIT
    then
    Create a TimesTen DSN
    Create a simple TimesTen system data source (System DSN), named cgDSN, as
    described in Chapter 2, “Creating TimesTen Data Stores” of Oracle TimesTen In-
    Memory Database Operations Guide.
    For cgDSN, set:
    • Data Store Path and Name: c:\temp\cgds
    • Permanent Data Sz (MB): 16
    • Temporary Data Sz (MB): 16
    • User ID: testuser (this ID is also used as the Oracle User ID)
    • Oracle ID: system1
    • Oracle Password: mypsswrd
    Use defaults for all other settings.
    in this case i'm trying without Access Control so i skip this
    Create an account on TimesTen
    Note: You need to create an account on TimesTen only if you have Access
    Control enabled on your TimesTen data store.
    Use the ttIsql utility to connect to the cgDSN data store. Then use the CREATE
    USER and GRANT statements to create a user, named testuser, with ADMIN
    and DDL privileges:
    ttIsql cgDSN
    Command> CREATE USER testuser IDENTIFIED BY mypsswrd
    Command> GRANT ADMIN, DDL TO testuser
    skip end
    Connect to your new Oracle account and create a table:
    sqlplus testuser/mypsswrd@system1
    SQL> CREATE TABLE readtab (a NUMBER(10,0) NOT NULL PRIMARY KEY,
    b CHAR(31));
    Then insert some rows and commit the changes:
    SQL> INSERT INTO readtab VALUES (1, 'hello');
    SQL> INSERT INTO readtab VALUES (2, 'world');
    SQL> COMMIT;
    Use the ttIsql utility to connect to the cgDSN data store. At the command prompt,
    use the ttCacheUidPwdSet procedure to pass the cache administration user ID
    and password as parameters.Then call the ttCacheStart procedure to start the
    cache agent for the data store. In this example, the cache administration user ID
    is testuser and the password is mypsswrd:
    ttIsql cgDSNCommand> call ttCacheUidPwdSet('testuser','mypsswrd');
    Command> call ttCacheStart();
    here is my problem without Access Control i dont have an adminstrator, the error is:
    Previous attempt resulted in the following:
    Backend failed with exit status 1:
    C:\TimesTen\tt60\srv\info\ws\cgi-bin\cache/ttBackEnd.exe -connStr "DSN=CGDSN" -user "RICARDO" -oraclepwd [Omitted] -oralogin
    ERROR in ttBackEnd.c, line 864: prepare failed
    ODBC Error/Warning = S1000, Additional Error/Warning = 5107
    TT5107: Oracle(OCI) error in OCIServerAttach(): ORA-12154: TNS:could not resolve the connect identifier specified rc = -1 -- file "bdbConnect.c", lineno 1381, procedure "ttBDbConnect()"
    ODBC Error/Warning = S1000, Additional Error/Warning = 5131
    TT5131: Cannot connect to Oracle database: connect_string = "orcl", uid = "RICARDO", pwd is hidden -- file "bdbConnect
    and with Access Control enabled is the same, how can i fix it?? i dont think is the TNS because from another client PC i can connect to Oracle using SQLPlus o VS.Net
    i hope you can help me.
    Regards.

    With 6.0.3 I overcome this problem. But before installation make sure that ORACLE_HOME is set correctly as an environment parameter. And if it is not set, after setting you should reboot your computer.
    Cheers
    Gokben

  • Please help with fixing run time error - what is wrong ?

    Hi
    I am new with JDBC.
    I have compiled a program and am not getting any compile erors, however when trying to run it, am getting errors:
    Advanced Java : Test 1
    Programmer: C.C. Steyn
    Date: 15 July, 2008
    Filename: MakeDB.java
    Purpose: To build an initial database for the ClientNameTaxNrs application
    import java.sql.*;
    import java.io.*;
    public class MakeDB
    public static void main(String[] args) throws Exception
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url = "jdbc:odbc:ClientNameTaxNrs";
    Connection con = DriverManager.getConnection(url);
    Statement stmt = con.createStatement();
    // The following code deletes each index and table, if they exist.
    // If they do not exist, a message is displayed and execution continues.
    System.out.println("Dropping indexes & tables ...");
    try
    stmt.executeUpdate("DROP INDEX PK_ClientNameTaxNrs ON ClientNameTaxNrs");
    catch (Exception e)
    System.out.println("Could not drop primary key on ClientNameTaxNrs table: "
    + e.getMessage());
    try
    stmt.executeUpdate("DROP TABLE ClientNameTaxNrs");
    catch (Exception e)
    System.out.println("Could not drop ClientNameTaxNrs table: "
    + e.getMessage());
    ///////// Create the database tables /////////////
    System.out.println("\nCreating tables ............");
    // Create ClientNameTaxNrs table with primary key index
    try
    System.out.println("Creating ClientNameTaxNrs table with primary key index...");
    stmt.executeUpdate("CREATE TABLE ClientNameTaxNrs("
    +"ClientName TEXT(50) NOT NULL "
    + "TaxNr TEXT(10) NOT NULL, "
    +")");
    catch (Exception e)
    System.out.println("Exception creating ClientNameTaxNrs table: "
    + e.getMessage());
    // Read and display all ClientNameTaxNrs data in the database.
    ResultSet rs = stmt.executeQuery("SELECT * FROM ClientNameTaxNrs");
    System.out.println("Database created.\n");
    System.out.println("Displaying data from database...\n");
    System.out.println("ClientNameTaxNrs table contains:");
    byte[] buf = null;
    while(rs.next())
    System.out.println("Client Name: = "
    + rs.getString("ClientName"));
    System.out.println("Tax Nr: = "
    + rs.getString("Tax Nr"));
    rs = stmt.executeQuery("SELECT * FROM ClientNameTaxNrs");
    if(!rs.next())
    System.out.println("ClientNameTaxNrs table contains no records.");
    else
    System.out.println("ClientNameTaxNrs table still contains records!");
    rs = stmt.executeQuery("SELECT * FROM ClientNameTaxNrs");
    if(!rs.next())
    System.out.println("ClientNameTaxNrs table contains no records.");
    else
    System.out.println("ClientNameTaxNrs table still contains records!");
    stmt.close(); // closing Statement also closes ResultSet
    } // end of main()
    } // end of class
    ================================================
    here is the run time errors. How do i fix this ?
    Dropping indexes & tables ...
    Could not drop primary key on ClientNameTaxNrs table: [Microsoft][ODBC Microsoft
    Access Driver] Cannot find table or constraint.
    Could not drop ClientNameTaxNrs table: [Microsoft][ODBC Microsoft Access Driver]
    Table 'ClientNameTaxNrs' does not exist.
    Creating tables ............
    Creating ClientNameTaxNrs table with primary key index...
    Exception creating ClientNameTaxNrs table: [Microsoft][ODBC Microsoft Access Dri
    ver] Syntax error in CREATE TABLE statement.
    Exception in thread "main" java.sql.SQLException: [Microsoft][ODBC Microsoft Acc
    ess Driver] The Microsoft Jet database engine cannot find the input table or que
    ry 'ClientNameTaxNrs'. Make sure it exists and that its name is spelled correct
    ly.
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6879)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:3065)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:338)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:2
    53)
    at MakeDB.main(MakeDB.java:69)
    Press any key to continue . . .

    Are you running Norton Internet Security or anything similar? There have been reports that Norton and similar firewall products treat an upgrade as a new application and so you have to go in and reallow connections for iTunes. Check the settings and if necessary remove and re-enable the exception for iTunes (consult your privacy filter's documentation for the appropriate procedure). You may also need to check the built-in Windows firewall as well.
    Hope this helps.

  • Newbie help with 12i and firefox java issue

    We are in the testing stages for a 12i upgrade. I’m currently testing browser and java version compatibility using an upgraded test system. My problem is the version of java on the desktop client. IE7 will launch the apps fine with any version of java. However, any version of Firefox (including just released v3) will not launch java unless java version 5 update 13 is loaded. I’ve reviewed several metalink docs including 389422.1 and 393931.1 and have used the workaround listed forcing FF to use the older version of java. However, that means that we will have to roll out this older version of java to all clients to use Firefox. During my research I found where Oracle provides a techstack update for 11i (290807.1) that will fix this issue and allow Firefox to work with newer versions of java. Has anyone else run into this issue and if so how did you address it? Is there a 12i update that will fix this issue? I’m a newbie that’s started supporting Oracle, etc. so forgive me for any ignorance I show on the subject. Thanks in advance.

    Tod,
    It sounds like your Oracle E-Business Suite Release 12 instance is configured to request end-users to use JRE 1.5.0_13.
    Firefox has a known limitation (or feature, depending on your point of view): it will invoke only the specified JRE version requested by the E-Business Suite, even if later versions of the JRE (e.g. 1.6.0_03) are installed on the same desktop.
    This behaviour is explained in more detail in Note 290807.1 in Appendix A. Since this behaviour is hardcoded into Firefox, your options are:
    1. Configure your Oracle E-Business Suite Release 12 environment to request a later version of JRE installed on your Firefox-equipped desktops
    2. Use IE -- it doesn't enforce static versioning.
    3. Contact the Mozilla team and request that they provide a new option to use either static versioning (the status quo) or the latest JRE version installed on the desktop.
    Regards,
    Steven

Maybe you are looking for

  • Colours washed out - YUV or RGB?

    I just outputted my sequence to DVD and when I play it on the TV, the colours are washed out (on the computer looks fine). My yellow subtitles are almost white (subtitles made in FCP). It's been about six months since my last video and I suspect some

  • Outbound delivery conditions- price

    Hi Gurus, I am creating an outbound delivery with reference to PO using Tcode VL10B. But in conditions tab of out bound delivery its not showing any condition type. Kindly help me Regards, prasad svs

  • How to call function BAPI_GOODSMVT_CREATE ?

    Hi all, I want to create a material document by calling the function BAPI_GOODSMVT_CREATE I don't know what to pass although I know I have to export something (GOODSMVT_HEADER and GOODSMVT_CODE) in my ABAP. But what should I actually pass to the func

  • Which business objects do allow searching the associated file attachments?

    Hello search experts, SAP Note 1249465 - TREX 7.1: Installing TREX for Embedded Search states: "Embedded search enables every SAP Business Suite application to search in a unified way inside its business objects (structured data) and associated file

  • Email account for blackberry

    i go to setup wizard to make my email account..but it keeps asking me if my system adminstration gave me a password..who is my system administration and how do i set up my blackberry email account?