How to fetch host database in system to run web application?

Hi all,
i am having database in server and i have to run my web application in client machine. how to set the connection of server database in web.config file.
thanks

I hope that you installed oracle client and configured tnsnames file in oracle client on client machine.
Below is script to web.config
  <connectionStrings>
        <add name="OracleConnectionString" connectionString="DATA SOURCE=hostname/orcl;PASSWORD=yr password;PERSIST SECURITY INFO=True;USER ID=yrusername/schemaname"
            providerName="Oracle.DataAccess.Client" />
    </connectionStrings> Rgds

Similar Messages

  • How to create test database in system (have downloaded mxdb)

    how to create test database in system (have downloaded mxdb)...Can someone pls help as I am new to SAP

    Hi amit,
    the maxdb documentation gives all information which is needed:
    Install the software with SDBSETUP:
    <a href="http://maxdb.sap.com/currentdoc/4c/da3b3c51bd4b3ae10000000a114084/frameset.htm">Installation</a>
    Create a database with DBMGUI
    <a href="http://maxdb.sap.com/currentdoc/84/d8d192570411d4aa82006094b92fad/frameset.htm">Create Instance</a>
    Reagrds, Christiane Hienger

  • How to specify the database file path when create FDM application

    Dear All,
    How to specify the database file path (MSSQL) when create FDM application?
    Right now, all data file are placed in the D:\ . I want to specify the database files (log and mdf file) in other place. How to do it?
    Thanks.

    Where is the highS2.xml located on the disk? If you add it to your project you should set its Build Action to Content and its Copy To Output Directory to Always in Visual Studio:
    Please remember to close your threads by marking helpful posts as answer once your issue has been solved and then start a new thread if you have a new question.

  • How to connect host server databse to run web application?

    Hi all,
    Hope doing well,
    sir i am using oracle 11g there i created my db which is installed in other system. and one another system i have the web application.
    now i have to run the web application to use of that db which is installed in other system.
    i set the connection string in web.config.
    but it's not working.
    could you help me.
    thanks

    please answer for below questions:
    1. did you install oracle clinet (for example ODAC) on client machine and did you configured tnsnames file? - most important
    try connect with db on server from clinet computer with Visual Studio or sqlplus. Check yr connection with db from client to server.
    2. what is yr oracle connection name in web.config
    3. are you using the above connection name in yr application
    for example
    string OracleConn = WebConfigurationManager.ConnectionStrings["OracleConnectionString"].ConnectionString;
    OracleConnection conn = new OracleConnection(OracleConn);4. have you opened port 1521 on server?
    regards

  • How to restore a filestream enabled and rbs configured web application

    HI
    in sharepoint farm I taken  backup of a filestream enabled and rbs configured web application  from central admin
    and how to restore it in a new sharepoint farm in different server
    adil

    hi i seen this error message in sprestore file in restore foloder,
    i am trying to restore the backup  in sql srver 2008 R2
    and
    backup taken  by sharepoint form which has back end sql server 2010 database datacenter
    IF EXISTS ( SELECT * FROM master..sysdatabases WHERE has_dbaccess(name)=1 AND
    name=@db_name )
    BEGIN
    SELECT 1 as ErrorCode
    END
    ELSE
    BEGIN RESTORE DATABASE [WSS_Content_Prod] FROM
    DISK=@db_location WITH STATS=5, FILE=1, MOVE @db_OldName TO @db_NewFile, MOVE @db_OldLogName TO @db_NewLogFile, MOVE @fsfg_old0 TO @fsfg_new0, NOREWIND, NOUNLOAD, RESTART, RECOVERY
    END
    @db_location=C:\BackUpandRestore from 117\ALPROD\spbr0000\0000016A.bak, @fsfg_old0=RBSFilestreamFile, @fsfg_new0=c:/rbs, @db_OldName=WSS_Content_Prod, @db_NewFile=C:\Program Files\Microsoft
    SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\WSS_Content_Prod.mdf, @db_OldLogName=WSS_Content_Prod_log, @db_NewLogFile=c:/Prodlogs\WSS_Content_Prod_log.ldf, @db_name=WSS_Content_Prod
    [3/24/2014 9:44:08 PM] Verbose: [WSS_Content_Prod] SQL command timeout is set to 1.00 hours.
    [3/24/2014 9:44:08 PM] FatalError: Object WSS_Content_Prod failed in event OnRestore. For more information, see the spbackup.log or sprestore.log file located in the backup directory.
    SqlException: The operation did not proceed far enough to allow RESTART. Reissue the statement without the RESTART qualifier.
    RESTORE DATABASE is terminating abnormally.
    [3/24/2014 9:44:08 PM] Debug: at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
    at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
    at System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
    at System.Data.SqlClient.SqlDataReader.get_MetaData()
    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
    at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
    at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
    at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
    at Microsoft.SharePoint.Administration.Backup.SPSqlBackupRestoreHelper.RunCommand(SqlCommand sqlCommand, SPBackupRestoreInformation args, Boolean throwOnRestart, Boolean& restart, SPSqlBackupRestoreConnection connection)
    at Microsoft.SharePoint.Administration.Backup.SPSqlBackupRestoreHelper.Run(SPBackupRestoreInformation args)
    at Microsoft.SharePoint.Administration.Backup.SPSqlRestoreHelper.Run(SPBackupRestoreInformation args)
    at Microsoft.SharePoint.Administration.SPDatabase.OnRestore(Object sender, SPRestoreInformation info)
    at Microsoft.SharePoint.Administration.SPContentDatabase.OnRestore(Object sender, SPRestoreInformation info)
    [3/24/2014 9:44:08 PM] Verbose: Starting OnPostRestore event.
    [3/24/2014 9:44:08 PM] Verbose: Starting object: SharePoint - 85.
    [3/24/2014 9:44:08 PM] Progress: [SharePoint - 85] 100 percent complete.
    [3/24/2014 9:44:08 PM] Verbose: [SharePoint - 85] Restoring features and its activation properties.
    adil

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

  • How to create separate log files for each deployed web application in oc4j

    Hi All,
    I am using Windows2000, Oracle9iAS(OC4J). Say I have deployed 3 web applications onto this oc4j server. Then how to create 3 different log files so that I can see the log messages(System.out.println's) of each of these web appliations in a different log file.
    Thanks and Regards,
    Ravi.

    Where do the messages printed via ServletContext.log() go? Is this configurable separately by web application? If so, you could at least replace your System.out.println() with sc.log() statements. For exceptions, you could trap them and log them since the log() method takes a throwable as well as a String.
    John H.

  • How to use two different ojdbc14.jar for two web application.

    Hi,
    I have two web application running in same tomcat, I need to use the two different ojdbc14.jar for two application, now both are taking the jars from tomcat common/lib directory, I tried copying the new ojdbc14.jar in web-inf/lib folder of one application, but it is not working.
    Could you please let me know whether this will take the jar from tomcat by befault or from web-inf, and a solution how to proceed with this.
    Thanks in advance.

    Yes, I tried removing the jars from common/lib, but as the connection string is mentioned inside the server.xml it is showing db connection error while trying to connect to the database

  • How to create and save a file in flex web application ?

    Hi,
          I want to create and save a file form flex web application. Is it possible ?
    I have done some googling and found that its only possible through file referece, which needs some serverside implementation be called.
    Is it not possible with file reference to create and save file directly ?
    Can any one suggest how to over come this.
    Thanks in advance.

    Alex,
    code written with the Flex Builder 3 libraries will certainly run in Flash Player 10. However, what you need is not so much the capabilities of FP10 but the library functionalities of the Flex 4 package. And I think that Flex 4 code will only run in FP10 and not 9 (but haven't tested this as at work we have not yet been permitted to upgrade, so there is not a lot of point going for Flex 4!).
    Richard

  • How to get the network details in flex4.5 web application

    How to get the network details in flex 4.5 web application
    similar to the nativeinterface in air application

    checkout this document for secure web application
    http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf6167e-7fff.html    

  • How to define JAXP Parsers and Transformer in a Web Application Context

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

    Hi
    I need to define JAXP Parsers and Transformer in a Web Application Context where I can deploy this application in any J2EE Application Server without modifying the server. That means that I can't set System properties or set the jaxp.properties file. I tried to use the META-INF/services/javax.xml.transform.TransformerFactory file but it didn't work.
    Any ideas?

  • How to include xml file without embedding in flex web application?

    Hi
    I have a big XML file around 11 mb. I want to include this xml in my web application without embedding.
    So anyone have idea to include.
    Please suggest me any idea.
    Thanks

    If you don't want to embed the XML file into a SWF, then the SWF can download the XML file from the server at runtime when it needs it. But there will be a delay while that happens. Maybe it would be better to put the data in the XML file into a database and then access only the parts of it that you need.
    Gordon Smith
    Adobe Flex SDK Team

  • How to suppress Result rows in a Query in Web Application Designer

    Hi
                 I am trying to post a query in Web Application Designer. I am able to run the query in WAD but the Results rows appear. I choose Suppress Result Rows always in All Characteristics option in the query in BEx Explorer but still i see result rows in the WAD. Can anyone please let me know how to suppress Result rows so that they dont appear in Web Application Designer.
    Thanks,
    Padma

    To get the enhanced menu-
    1. Open the template in WAD.
    2. Go to Web Item properties.
    3. Go to Entries in Context Menu.
    4. Find the "Enhanced Menu" property. Set it to "display" if you want it to be visible in template result.
    5. Next time when you execute your template you will be able to access it by right clicking.
    or
    If you just want to supress results without adding enhanced menu in the context menu, simply set "Calculate result as" to "No Display".

  • How to stop SAP B1 when i stop running my application?

    HI Friends,
    I am adding a menu item in SAP B1 using the addon. SAP B1 is having the new menu added, even though i stopped running my application. I need to remove the menu added when i stop running my addon application.
    In which event i can do this?
    Can anyone help me pls...
    Thanks,
    Siri

    You can use  the SBO_Application.Menus.RemoveEx method indicating your Menu ID.
    Private Sub SBO_Application_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles SBO_Application.AppEvent
            Try
                If EventType = SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged Then
                    CreateMenuAddOn()
                Else
                    Try
                        SBO_Application.Menus.RemoveEx(MyMenuUniqueID)
                    Catch ex As Exception
                    End Try
                    System.Windows.Forms.Application.Exit()                
                    End
                End If
            Catch ex As Exception
            End Try
        End Sub

  • WEB Server And Database Space requirements for deploying Web Application

       Hi,
         We are in requirement of WEB Server  And Database Space requirements for deploying  our Web Application in cloud server. We want to know technical requirements and feasibilities laid by Microsoft team for deploying web
    application.......
    Regards,
    Sreenivasa M S

    Hi,
    Please refer this link and check if it helps:
    http://blogs.technet.com/b/cbernier/archive/2013/09/24/deploy-your-web-application-to-windows-azure-from-with-visual-studio.aspx
    Regards,
    Azam Khan

Maybe you are looking for

  • Ideas for HELP sizing a background menu photo in iDVD6

    Hey gang. I'm authoring in iDVD6 and have a photo with DVD credits that I want to display as a menu background. iDVD6 tells you to size your photos for NTSC 4:3 at 720 x 540 pixels. However, when I drop it onto the menu, it automatically enlarges the

  • Problem about currency conversion

    HI, I have added one field KWERT from KONV to copa data source.Then value is coming in USD. I want currency conversion means i want value into EUR and INR . SO please tell me how to write code for currency conversion? Thanks Regards Devesh Babu

  • Help required in First Servlet

    Hey Guys.....I have read the above thread all posts and as this is also my first Servlet so I am also getting java.lang.ClassNotFoundException: servlets.HelloWorldServlet Now in my Apache tomcat folder C:\apache-tomcat-6.0.16\webapps\ServletExamples

  • Oracle Lite on Windows CE

    It is given in documentation that "Java stored procedures and triggers, and the Oracle Lite JAC and JDBC interfaces are currently not supported on Windows CE" is there is any other way to accomplish this task. I want to access Oracle Lite database an

  • OWL support in Oracle products

    I have an OWL ontology(fully validated and created using Protege) that I would like to store into Oracle Spatial RDF. Does Oracle support this capability? If so, what are procedures, is there documentation that describes the procedures and the capabi