Database exception when browse a web page from IIS

I have developed a web application accessing data in Oracle Database.
When I run on Visual Studio 10, anything is working fine.
When I browse on Server (IIS), it has exception : Oracle.DataAccess.Client.OracleException: ORA-12560: TNS:protocol adapter error
Please help!
Thanks

namman wrote:
it works fine when browse the web locally via Visual Studio 10. Data returns correctly as expected.Valid Oracle client environment. ODBC driver manager is loaded. It in turns load the Oracle ODBC driver DLL. That in turns load the Oracle OCI (Oracle Call Interface) DLL.
When I deploy app on Server (IIS), pages acccessing database get the error, but others work fine.Invalid Oracle client environment. Likely the OCI DLL (or dependant files) cannot be loaded.
Recommendation for an Oracle Client Environment is Oracle's InstantClient.
Download Oracle InstantClient 11g for your o/s. Unzip the contents to (for example) C:\InstantClient_11_2.
Place the client sqlnet.ora and tnsnames.ora in the same directory.
Set/update two environmental variables for the o/s user (or o/s service) that needs to use the OCI driver interface:
set PATH=%PATH%;C:\InstantClient_11_2
set TNS_ADMIN=C:\InstantClient_11_2
Optional. Download the SQL*Plus zip for InstantClient. Unzip to the same folder. Use sqlplus to test connectivity (after setting the above 2 environment variables) and configuration settings and aliases in the sqlnet.ora and tnsnames.ora files.
Optional. If Java is used, download the JDBC InstantClient zip and unzip into the same folder.
As simple as that.

Similar Messages

  • When Printing a web page from Firefox. The fonts are timy and all spacing is incorrect.

    Prior to beta 4.12, the pages printed correctly. Now, the fonts are small and the text spacing is incorrect. All text has at least one extra space between the letters.
    This happens on ALL sites when printing a web page.
    I tried printing the same page in Internet Explorer and it prints correctly.

    See this thread:
    *[/questions/787654]

  • No data found exception when calling a new page from existing page

    hi i have a screen which has a delivery id and i am calling a new page with a different view object and a application module.I need to pass this delivery id in the main page to the view object query in the second page.
    i have defined the second page view object with the following query
    select country,address1,address2,address3,address4,city from hz_locations where location_id=
    (select ultimate_dropoff_location_id from wsh_new_deliveries where delivery_id=:1)
    what i want is to pass the delivery id in the main page to :1 in this query.
    i have written the following CO code for the second page
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    String eventaction=pageContext.getParameter("xxsaneventname");
    String paramval=pageContext.getParameter("xxsanparamvalue1");
    OAApplicationModule deliverydetailam = pageContext.getApplicationModule(webBean);
    Serializable personParamList[]= {eventaction,paramval};
    if ( eventaction!=null && eventaction.equals("viewdelivery"))
    deliverydetailam.invokeMethod("getdetailsmethod", personParamList);
    i have written the getdetailsmethod in the application module impl
    public void getdetailsmethod( String pAction, String pdeliveryId)
    try
    OAViewObjectImpl pervo = getWshDeliveryDetailsVO1();
    String existingWhereClause = pervo.getWhereClause() ;
    System.out.println(existingWhereClause);
    pervo.setWhereClauseParams(null);
    pervo.setWhereClause("delivery_id = :1");
    pervo.setWhereClauseParam(0, new Number(pdeliveryId));
    pervo.executeQuery();
    pervo.setWhereClauseParams(null);
    //pervo.setWhereClause(existingWhereClause);
    catch(Exception exception1)
    throw OAException.wrapperException(exception1);
    can some body please help me to correct this one.
    the exception i got is
    oracle.apps.fnd.framework.OAException: No data found for region (/xxt/oracle/apps/AK/om/webui/deliverydetailpg).

    Provide the complete error stack.
    From the current error line it shows that your custom region/page /xxt/oracle/apps/AK/om/webui/deliverydetailpg is not present in the MDS. Did you use xmlimport to set the page xml into MDS? If yes, use jdr_utils package to confirm it is present at the right location.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Why my notebook sometimes blacks out, in Windows 7, when I watch video online or just browse some web pages which contains quite a lot pictures?

    Why my notebook sometimes blacks out, in windows 7,  when I watch video online or just browse some web pages which contains quite a lot pictures?
    1. I am not sure whether it is the problem of the graphic hardware, relevant softwares or the system itself.
    2. I am not sure whether browsing a webpage with a lot pictures would make the graphic hardware, or other hardwares if possible,  massively burdened and then just crash.
    3. Or if possible, is the reason that the heat dissipation doesn't work well?
    I am looking forward to any replies that might be helpful. Really appreciated.

    it could be heat, not enough RAM, but you don't tell us enough.
    There is no reason to assume this is anything other than running Windows natively btw.
    Browser  of course matters probably the most.
    I like IE10 now, but use to use FF until recently. I'd like Chrome except for a few concerns I have over using it, it can eat up a lot of RAM and it builds up HUGE disk cache if you don't clear history and cache on exit and run CCleaner regularly ( good for all browsers )
    So assuming 64-bit and 4GB or more and core i5 or better...
    Also make sure Wiindow has 10GB of free space or more.
    Biggest concern is what happens afterwards and whether you have run a check of your hard drive (chkdsk on startup) or if the problem cascades and gets progressively worse on top of the first - like do you have to do hard restart or able to bring up Task Mgr and kill or better yet, Resource Mgr and see if you have any thread locks.
    Safari is not well versed in multithreading and handling what you want to do and are doing. IE9 isi usually good but I found it could not handle a lot of tumblr photo streams and sites. Try Chrome. With Firefox, use noscript, blashblock and see how it goes.

  • Browser cannot display E3200 router web page from ethernet connection but can from wireless

    I have installed my E3200 downstream from the Verizon FiOS Actiontec (going the other way disables FiOS functions).
    1.  My browser can get to the E3200 (192.168.1.2) when connected via wireless, but not when connected via ethernet cable.
         How do I fix that?
    2. When going to connect wirelessly, the 2GHz connection is visible but the 5 GHz connection is not
         (I have them named differently).
         How do I see both wireless connections?

    My browser cannot get to my E3200 setup web page from a wired Ethernet connection (wireless works fine).
    The Linksys E3200 (1Gb ethernet, “n” wireless) is installed downstream from a Verizon FiOS Actiontec router (10/100 ethernet, “g” wireless).
    I cannot put the E3200 upstream from the Verizon router because I would lose FiOS TV capabilities.
    The E3200’s fixed IP address is 192.168.1.2 (the Verizon router is 192.168.1.1)
    I cannot change the subnet (e.g. to 192.168.2.x)
    Clearing the browser cache and rebooting both routers doesn’t help.
    Both computers tested have dual band “n” network adapters.
    So... wireless connection works fine, but I cannot get to the setup page via wired ethernet.
    Help?

  • I'm trying to share a web page from safari by email but the recipient only sees a ? when they receive the email any suggestions why?

    I'm trying to share a web page from safari by email but the recipient only sees a ? when they receive the email any suggestions why?

    Ok..   see if emptying the Safari cache helps.
    From your Safari menu bar click Safari > Preferences then select the Advanced tab.
    Select:  Show Develop menu in menu bar
    Now click Develop from the menu bar. From the drop down menu click Empty Caches.
    Quit and relaunch Safari and try sharing a webpage.

  • HT1414 Since I updated to iOS 702 my screen freezes when I bring up web pages from bookmarks what's going on?

    Since updating to iOS 702 web pages from bookmarks freeze.  How to correct this problem

    See if any of these help, one is Blue Screen
    Kernel Panic
    http://support.apple.com/kb/TS3742
    Grey Screen
    http://support.apple.com/kb/TS2570
    Blue Screen
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/8963.html
    Flashing Question Mark
    http://support.apple.com/kb/TS1440
    Safe Mode
    http://support.apple.com/kb/HT1455
    Reset SMC
    http://support.apple.com/kb/ht3964
    PRAM/NVRAM
    http://support.apple.com/kb/HT1379
    Hardware Test
    http://support.apple.com/kb/HT1509

  • TS3276 Broken links when i send a web page from mail app in mavericks

    i used to send a web page from safari using Mail. since i updated to maverick, those who receive the mail, see broken links, is there a solution for this?
    Thanks

    Same here. Very frustrating. It was working perfectly in OS 10.8.

  • How do i Hyperlink to a web page from a java application?

    How do i Hyperlink to a web page from a java application using internet explorer as my default web browser?

    It's very simple.You can start any Application with the class Runtime. The command is an array consisting of the path of .exe and the file to be open.
    String [] cmd={path of IE+Filename.exe,"URL of your website"}
    try
    Runtime.getRuntime().exec(cmd);
    catch (Exception e)
    System.err.println(e.toString());
    }

  • Could not browse pages from IIS after re-installation of Oracle client

    Hi all,
    Unfortunately, I hit a issue today in the morning. I could not browse pages from IIS after I re-installed my oracle client on my machine. Below is the error massage from browser.
    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: Could not load file or assembly 'Oracle.Web, Version=2.111.6.20, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies. The system cannot find the file specified.
    Source Error:
    Line 174: <healthMonitoring>
    Line 175: <providers>
    Line 176: <add name="OracleWebEventProvider" type="Oracle.Web.Management.OracleWebEventProvider, Oracle.Web, Version=2.111.6.20, Culture=neutral, PublicKeyToken=89b483f429c47342" connectionStringName="OraAspNetConString" buffer="true" bufferMode="OracleNotification" />
    Line 177: </providers>
    Line 178: </healthMonitoring>
    Source File: c:\WINDOWS\Microsoft.NET\Framework64\v2.0.50727\Config\machine.config Line: 176
    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Oracle.Web, Version=2.111.6.20, Culture=neutral, PublicKeyToken=89b483f429c47342' could not be loaded.
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    When I comment a line for OracleWebEventProvider in health monitoring providers in machine.config, it works fine for me. But, Im wondering what went wrong during re-installation and how do I rectify this issue with out a temporary workaround.
    Please let me know your suggestions in this regards and thanks for the help in advance.
    Regards,
    Kumar

    After I ran the "uninstaller" on the Oracle CD .. there were services still in existance, however, once I deleted the c:/Oracle folder, they were gone. I also re-booted the pc and double-checked, before I tried re-installing.
    Thanks !
    Tammy
    Hi,
    look into services, is there any services is still exist or running with the same name.
    or give any other SID which you have given previously.
    Yogi
    [email protected]

  • I just updated to 10.8.4 and my mail program is showing a series of boxes with AAAAs inside them instead of the email addresses. Also when on Safari web pages are displaying the same AAAAAs instead of type. Firefox displays fine. Can someone help me?

    I just updated to 10.8.4 and my mail program is showing a series of boxes with AAAAs inside them instead of the email addresses. Also when on Safari web pages are displaying the same AAAAAs instead of type. Firefox displays fine. Can someone help me?

    Restart your Mac and immediately hold down the Shift key when you hear the startup chime to boot into Safe Mode. Keep holding the Shift key until you see a progress bar towards the bottom of the screen. You can let go of the Shift key at that point.
    OS X asks you to log in (you will get this screen on a Safe Mode boot even if your Mac is set to automatically log in). Let the Mac finish booting to the desktop and then restart normally. This will clear Font Book's database and the cache files of the user account you logged into in Safe Mode.
    Next, close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current user font cache files. After running the command, close Terminal and immediately restart your Mac.

  • When loading ANY web page, it take firefox 3sec to load a blank page. No matter what website I try to load, it just loads a blank page

    When loading ANY web page, it take firefox 3sec to load a blank page. I have tried everything, starting firefox in safe mode and dissabling all add ons, turning 6v on and off, turnig proxy on and off, reinstalling firefox, restarting my computer, and reinstalling drivers. I can use another browser to surf the internet but finding one that is as capable to firefox isn't easy.
    ps. Firefox did start at one point and then just stoped.
    I use Linux Ubuntu 11.04 single boot

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    See also:
    *http://kb.mozillazine.org/Error_loading_websites

  • Turning off headers and footers when printing a web page.

    Is it possible to turn off (or reduce the size of) the
    default header and footer
    when printing a web page? I am using Internet Explorer 6.0.2
    900, and only want
    it to work with my computer and a specific printer.
    I am using the directive @page normal { size : portrait;
    margin : 0;} in a CSS
    stylesheet specified as media="print".
    Clancy

    On Sat, 19 Jan 2008, David Powers wrote
    >However, you are very selective in your quote. Michael
    goes on to say
    >(and I agree with him on this point):
    >
    >"The problem with logical inches and all other fixed
    units of measure
    >is that they do not scale well on systems with different
    dot-per-inch
    >settings. What may seem just right in Windows at 96 dpi
    may be too
    >large or too small on other systems.
    Of course, but It's not a problem with logical inches per se.
    The
    logical inch is just another way of looking at what is meant
    by the
    screen dpi value. Scaling problems, with different dpi
    settings, has
    always been a Windows problem and results from the way that
    the OS
    handles scaling. Fonts scale perfectly. Actual windows, and
    other
    containers, don't. This is a problem programmers have
    grappled with
    since the first Windows OS. Vista is the first OS to try to
    tackle this
    problem.
    >Thus, percentages or ems work best when cross-platform
    compatibility is
    >desired."
    And that is because the users screen dpi, and hence logical
    inches, are
    totally irrelevant when specifying ems and percentages.
    Ems and percentage equate to a number of pixels, not inches.
    The sole purpose of screen dpi setting is to convert anything
    sized in
    physical inches into a number of screen pixels. That is the
    _only_
    purpose of screen dpi. It's a very simple algorithm.
    (physical) inches x screen dpi value = number of pixels
    How do _you_ think a font sized in points (inches) gets
    translated to a
    specific number of pixels on screen. I'd be interested in
    your answer.
    For the screen a conversion from physical inches to pixels is
    always
    necessary because, as you say, pixels are the unit of screen
    measurement
    but they are not just a "standard" measurement, they are the
    only
    consistent measurement. It's not the users program that
    creates pixels
    on screen but the Operating System. The program requests the
    OS to
    create a given font at a given size and the requested size
    _must_ be in
    pixels. Windows can't _directly_ create a screen font that's
    specified
    in points (inches) because it has no notion of what a
    physical inch is
    on screen. It does know what a logical inch is because the a
    logical
    inch is defined by the screen dpi value. That's what the
    screen dpi
    value is for. If a browser programmer wants to bypass the
    variability of
    screen dpi on different computers then they ignore dpi values
    and work
    directly in pixels i.e. in ems or percentage. When ems and
    percentages
    are specified one is dealing only in pixels.
    > It makes a lot more sense in terms of website design to
    set a
    >font-size of 14px than use units that both you and
    Michael Bowers
    >define as "1/72 of a logical inch".
    Of course it makes more sense to set font size specifically
    in pixels
    because that's the only unit the OS can use to put something
    on screen.
    I can't see where you get the idea that either Michael Bowers
    or I have
    said that there is a unit "defined as 1/72 of a logical
    inch". Every
    Windows program written takes it that there are 72 points to
    a
    _physical_ inch.
    >
    >Yes, you *can* use points to set font sizes (or any other
    measurement)
    >in CSS for onscreen display, but your fixation with
    logical inches
    >appears to add little of practical value to choosing the
    most
    >appropriate measures for designing pages to be viewed on
    displays of
    >various sizes and resolutions.
    You are implying I've said things which I haven't. I have
    never, at any
    time, said one should use points or inches in designing web
    pages. You
    seem to have missed the point that what I am doing is
    explaining why you
    see the results you do on screen when those unit are used.
    Somewhat more
    informed than "Points are only for print because I don't know
    what they
    mean on screen, so they must be meaningless".
    >As Eric Meyer says on page 110 of "Cascading Style
    Sheets: The
    >Definitive Guide" (2nd Edition), "points can be a very
    difficult
    >measurement to use in document design."
    And again, I've never advocated using them in page design. A
    close
    reading, however, from page 83 onwards shows that Eric Meyer
    has an
    imperfect notion of the meaning of screen dpi. Heresy!! He's
    hardly
    alone, which is why I did a web site.
    >
    >That's why I recommend leaving points for use in print
    style sheets.
    >However, if you enjoy making life difficult for yourself
    by using
    >points for onscreen design, you're perfectly free to do
    so.
    Once again, I have never advocated that. You are setting up a
    straw man
    to knock down. You can do better than that.
    Richard Mason
    http://www.emdpi.com

  • Invoke a web page from form 6i

    How can I invoke a web page from Oracle Forms 6i. The web built in has show_document but it only works with a form run from the web. Our forms are not deployed on web. Can anyone help???

    The command works except there's one problem. Once explorer is launched, it grey's out my form application screen and I can't use the application parallel with web. Once I close the browser then the control is returned back to form.
    Does any one know is it is possible to launch the web as well as not leave control from forms application. At this point I'm working with a work around to open another instance of application which is kinda not neat.
    Pleaseeeeeeee help.

  • TS3276 i am unable to open web pages from email links on my ipad

    I am unable to open web pages from email links on my ipad

    A few more details might help, if nobody else recognizes this.   
    What happens when you try to open the links?
    Can you post an example of a link that doesn't work?
    Is there any particular source for the mail with the (bad) links, or is mail from all sources failing?
    If you happen to know it, what's the format of the mail message?  (Maybe the message is an image?)
    Do the embedded links work as expected from an OS X system running Mail.app, or some system and some other other mail client?
    To view the link in iOS: if you press on and hold your finger on an embedded link in most contexts, iOS will show a pop-up with the link contents, and will offer to copy it.  You can use that to acquire and post the link.  If pressing and holding on the link doesn't offer the pop-up, the format of the link itself may not be valid, or it might not really be a link.

Maybe you are looking for

  • Error in allInOne.js: Object doesn't support this property or method

    We are having an issue deploy our website (Developed in .Net) on a specific server. When we try to visualize a report on any browser we get this error: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0;

  • Ipod + itunes = blue screen of death & reboot - HELP PLEASE!

    I'll try to make a long story as short as possible here. i've had a 40G ipod for over a year and a half now. back in the beginning things were working fine. with the size i hadn't done any syncing for a long long time. however, the ipod crapped out s

  • Using IM 08 to view movies stored on Ext HD

    Greetings and Merry Christmas.   Just upgraded to Leopard and iLife 08.  I have over 250 GB's of DV files stored on an external HD that I use Front Row to view.  I would like to "point" iMovie 08 to this external HD so that they show up in the Events

  • TS4088 I have changed the logic board in Apple genius bar

    I have changed the logic board in Apple genius bar after updated to 10.6.8. Updated to 10.7.2 but now way BSOD never solved except after changing the logic board. Can I update to 10.8.3 or as I read in the communities, the BSOD will return again? If

  • Dynamic combobox using jsp

    HI All, This is very urgent for me please help me to come out of this. I just want to display the values in combobox from database using jsp,but i have difficulty in doing it can any one help me for this.I will be thankfull if any one gives me a code