Creating a Web Crawler

Hi! I have a question. I've already created a web crawler and I used a web data source for it. How can I check what data source my crawler is connected to? I forgot what data source my crawler is using. Thanks.

If you're able to, the quickest way may be to look in the database at the DATASOURCEID column in the appropriate row in the PTCRAWLERS table, or "select ds.NAME from PTDATASOURCES ds, PTCRAWLERS cr where cr.DATASOURCEID = ds.OBJECTID and cr.OBJECTID = <yourcrawlerid>"

Similar Messages

  • How to resolve Unexpected End of file error in Web Crawling

    how to resolve Unexpected End of file error in Web Crawling....
    I am getting java.net.SocketException :Unexpected End of file error in Web Crawling.
    How to get rid of this error.
    Please help anybody ASAP.

    1. Handle this exception - not recommended since you will be creating an exception handling overhead unnecessarily.
    2. Check for EOF using available() method in InputStream. It returns 0 if there are no bytes to read.

  • SES web crawler not able to connect to a particular URL, fetching fails

    Using Linux64Bit SES 11.1.2.0
    With Crawling depth - 5
    Web crawler has been created on "http://www.advancedinnovationsinc.com"
    Document fetching is getting failed at the depth 2.
    I have enabled the DEBUG logging from which I got to know that all the URL which is on depth 2 or more are getting *"HTTP/1.1 400 Bad Request"* error.
    So is this the SES product issue or the usage problem
    Below is the snap shot of generated log.
    01:43:16:054 INFO filter_0 urlString:http://www.advancedinnovationsinc.com/../index.html
    01:43:16:054 INFO filter_0 hostname :www.advancedinnovationsinc.com
    01:43:16:054 INFO filter_0 filepath :/../index.html
    01:43:16:054 INFO filter_0 Port :-1
    01:43:16:054 INFO filter_0 useSSL :false
    01:43:16:054 INFO filter_0 useProxy :true
    01:43:16:054 INFO filter_0 ==== DEBUG==== ------ New readWebURL ENDS ----------
    01:43:16:304 INFO filter_0 ==== DEBUG==== m_header:[Ljava.lang.String;@122b7db1
    01:43:16:304 INFO filter_0 ==== DEBUG==== statusLine:HTTP/1.1 400 Bad Request
    01:43:16:304 INFO filter_0 ==== DEBUG==== start:9
    01:43:16:304 INFO filter_0 ==== DEBUG==== statuscode:400
    01:43:16:304 INFO filter_0 ==== DEBUG==== URLAcess.java:2232
    01:43:16:321 INFO filter_0 EQG-30009: http://www.advancedinnovationsinc.com/../index.html: Bad request
    01:43:16:321 INFO filter_0 Documents to process = 7
    01:43:16:329 INFO filter_0 ==== DEBUG==== m_currentURL:http://www.advancedinnovationsinc.com/../create.html
    01:43:16:329 INFO filter_0 ==== DEBUG==== m_urlString:http://www.advancedinnovationsinc.com/../create.html
    01:43:16:329 DEBUG filter_0 Processing http://www.advancedinnovationsinc.com/../create.html
    01:43:16:329 INFO filter_0 ==== DEBUG==== ------ New readWebURL STARTS ----------
    01:43:16:329 INFO filter_0 urlString:http://www.advancedinnovationsinc.com/../create.html
    01:43:16:329 INFO filter_0 hostname :www.advancedinnovationsinc.com
    01:43:16:330 INFO filter_0 filepath :/../create.html
    01:43:16:330 INFO filter_0 Port :-1
    01:43:16:330 INFO filter_0 useSSL :false
    01:43:16:330 INFO filter_0 useProxy :true
    01:43:16:330 INFO filter_0 ==== DEBUG==== ------ New readWebURL ENDS ----------
    01:43:16:736 INFO filter_0 ==== DEBUG==== m_header:[Ljava.lang.String;@122b7db1
    01:43:16:736 INFO filter_0 ==== DEBUG==== statusLine:HTTP/1.1 400 Bad Request
    01:43:16:736 INFO filter_0 ==== DEBUG==== start:9
    01:43:16:736 INFO filter_0 ==== DEBUG==== statuscode:400
    01:43:16:736 INFO filter_0 ==== DEBUG==== URLAcess.java:2232
    01:43:16:738 INFO filter_0 EQG-30009: http://www.advancedinnovationsinc.com/../create.html: Bad request

    Using Linux64Bit SES 11.1.2.0
    With Crawling depth - 5
    Web crawler has been created on "http://www.advancedinnovationsinc.com"
    Document fetching is getting failed at the depth 2.
    I have enabled the DEBUG logging from which I got to know that all the URL which is on depth 2 or more are getting *"HTTP/1.1 400 Bad Request"* error.
    So is this the SES product issue or the usage problem
    Below is the snap shot of generated log.
    01:43:16:054 INFO filter_0 urlString:http://www.advancedinnovationsinc.com/../index.html
    01:43:16:054 INFO filter_0 hostname :www.advancedinnovationsinc.com
    01:43:16:054 INFO filter_0 filepath :/../index.html
    01:43:16:054 INFO filter_0 Port :-1
    01:43:16:054 INFO filter_0 useSSL :false
    01:43:16:054 INFO filter_0 useProxy :true
    01:43:16:054 INFO filter_0 ==== DEBUG==== ------ New readWebURL ENDS ----------
    01:43:16:304 INFO filter_0 ==== DEBUG==== m_header:[Ljava.lang.String;@122b7db1
    01:43:16:304 INFO filter_0 ==== DEBUG==== statusLine:HTTP/1.1 400 Bad Request
    01:43:16:304 INFO filter_0 ==== DEBUG==== start:9
    01:43:16:304 INFO filter_0 ==== DEBUG==== statuscode:400
    01:43:16:304 INFO filter_0 ==== DEBUG==== URLAcess.java:2232
    01:43:16:321 INFO filter_0 EQG-30009: http://www.advancedinnovationsinc.com/../index.html: Bad request
    01:43:16:321 INFO filter_0 Documents to process = 7
    01:43:16:329 INFO filter_0 ==== DEBUG==== m_currentURL:http://www.advancedinnovationsinc.com/../create.html
    01:43:16:329 INFO filter_0 ==== DEBUG==== m_urlString:http://www.advancedinnovationsinc.com/../create.html
    01:43:16:329 DEBUG filter_0 Processing http://www.advancedinnovationsinc.com/../create.html
    01:43:16:329 INFO filter_0 ==== DEBUG==== ------ New readWebURL STARTS ----------
    01:43:16:329 INFO filter_0 urlString:http://www.advancedinnovationsinc.com/../create.html
    01:43:16:329 INFO filter_0 hostname :www.advancedinnovationsinc.com
    01:43:16:330 INFO filter_0 filepath :/../create.html
    01:43:16:330 INFO filter_0 Port :-1
    01:43:16:330 INFO filter_0 useSSL :false
    01:43:16:330 INFO filter_0 useProxy :true
    01:43:16:330 INFO filter_0 ==== DEBUG==== ------ New readWebURL ENDS ----------
    01:43:16:736 INFO filter_0 ==== DEBUG==== m_header:[Ljava.lang.String;@122b7db1
    01:43:16:736 INFO filter_0 ==== DEBUG==== statusLine:HTTP/1.1 400 Bad Request
    01:43:16:736 INFO filter_0 ==== DEBUG==== start:9
    01:43:16:736 INFO filter_0 ==== DEBUG==== statuscode:400
    01:43:16:736 INFO filter_0 ==== DEBUG==== URLAcess.java:2232
    01:43:16:738 INFO filter_0 EQG-30009: http://www.advancedinnovationsinc.com/../create.html: Bad request

  • Trouble with Web Crawler

    Hi all,
    I am trying to run the crawler application availabe on Sun's website at the URL: http://java.sun.com/developer/technicalArticles/ThirdParty/WebCrawler/#demo
    The problem is it would not return any results to me and I have no clue why this is happening. I have turned off the firewall etc. Will turning the robotSafe feature be of help? Any help with this will be much appreciated.
    On the same note, I want to use or rather, use the API of a web crawler. Anyone has something good and easy in mind. I don't plan to use any fancy features.
    Thanks,
    Harsh.

    Most likely caused by a corrupt cookie.
    Delete all cookies for that website, and also delete your bookmark for it. Close Safari.
    Re-open Safari and type in the URL for that site. This will create a fresh cookie.
    Any better?

  • Creating a Web Service from EJB 3.0 - J2SE 5.0 Collection mapping problem

    Hi,
    Apologies if this is the wrong forum, I'm not quite sure where it fits in.
    I have some Toplink JPA entity beans that I access through a session bean. I am then trying to create a web service based on the session bean by deploying it to a 10.1.3 application server. This is based on the documentation at http://download.oracle.com/docs/cd/B31017_01/core.1013/b28764/web_services002.htm#CHDJEDDH
    The two entity beans are like:
    public class Event {
    private java.util.List<EventDetail> eventDetailList;
    public Event() {
    public void setEventDetails(java.util.List<EventDetail> eventDetailList) {
    this.eventDetailList = eventDetailList;
    public java.util.List<EventDetail> getEventDetails() {
    return eventDetailList;
    public void addEventDetail(EventDetail eventDetail) {
    this.eventDetailList.add(eventDetail);
    public class EventDetail {
    public EventDetail() {
    The session bean has a method like:
    List<Event> listParents();
    When this is deployed to the application server I expected a complex type like ListOfEventDetail to be generated in the WSDL, as shown in http://download.oracle.com/docs/cd/B32110_01/web.1013/b28975/apptypemapping.htm#sthref966, and the Event complex type would have an element of ListOfEventDetail. Instead the Event complex type looks like this:
    <complexType name="Event">
    <sequence>
    <element name="eventDetails" type="ns1:list" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="EventDetail">
    <sequence/>
    </complexType>
    and ns1:list appears in a different schema:
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.oracle.com/webservices/internal/literal" targetNamespace="http://www.oracle.com/webservices/internal/literal" elementFormDefault="qualified">
    <import namespace="http://wsdl/"/>
    <complexType name="list">
    <complexContent>
    <extension base="tns:collection">
    <sequence/>
    </extension>
    </complexContent>
    </complexType>
    <complexType name="collection">
    <sequence>
    <element name="item" type="anyType" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    </schema>
    However, if I change the getters and setters for eventDetailList in Event to setDetails and getDetails like this:
    public void setDetails(java.util.List<EventDetail> eventDetailList) {
    this.eventDetailList = eventDetailList;
    public java.util.List<EventDetail> getDetails() {
    return eventDetailList;
    the WSDL is generated as I expected:
    <complexType name="EventDetail">
    <sequence/>
    </complexType>
    <complexType name="Event">
    <sequence>
    <element name="details" type="tns:ListOfEventDetail" nillable="true"/>
    </sequence>
    </complexType>
    <complexType name="ListOfEventDetail">
    <sequence>
    <element name="item" type="tns:EventDetail" minOccurs="0" maxOccurs="unbounded"/>
    </sequence>
    </complexType>
    After messing around with various combinations of things, it seems that if the getters and setters have more than just the initial capital letter the (eg getTheThings instead of getThings) the WSDL gets messed up. Does anyone have any ideas what is going on here?

    Using <autotype> and <source2wsdd> to generate what I need. Now WL seems happy.

  • Error - Creating a Web Dynpro Application Accessing ABAP Functions

    Dear All,
    we are trying to implement a web dynpro application with accessing ABAP functions.
    Previous tasks:
    -     insert the ABAP system into the SLD from the NWDI System (Transaction RZ70; the ABAP system is correctly insert into the SLD => technical systems)
    -     equipped the JCO connections with the web dynpro content manager (ping and test = OK)
    It’s the standard tutorial out of the SDN called “Creating a Web Dynpro Application Accessing ABAP Functions”.
    Some hints:
    -     There are no errors after the implementation and the “rebuild” of the project in the NWDS
    -     The auto deployment works fine to the development runtime system. The application is shown in the Web Dynpro content manager
    -     The In the build log I found these entries:
    System.err] [Invoked from  com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:585)]
    [System.err] java.net.UnknownHostException: FRASAPP562: FRASAPP562
    [System.err]      at java.net.InetAddress.getLocalHost(InetAddress.java:1191)
    [System.err]      at com.sap.s2x.tools.GUID.getnodeaddress(GUID.java:575)
    [System.err]      at com.sap.s2x.tools.GUID.<clinit>(GUID.java:179)
    [System.err]      at com.sap.s2x.tools.S2XGUID.getGUID(S2XGUID.java:19)
    [System.err]      at com.sap.ide.metamodel.core.i18n.LanguageState.createS2XID(LanguageState.java:191)
    [System.err]      at com.sap.ide.metamodel.core.i18n.S2XLanguageUnmarshaller.unmarshal(S2XLanguageUnmarshaller.java:52)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.loadLanguageState(TextPoolProxy.java:703)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.prepareLanguageForRead(TextPoolProxy.java:646)
    [System.err]      at com.sap.ide.metamodel.core.i18n.TextPoolProxy.isEmpty(TextPoolProxy.java:222)
    [System.err]      at com.sap.ide.webdynpro.checklayer.MDOChecker.check(MDOChecker.java:23)
    [System.err]      at com.sap.ide.webdynpro.checklayer.view.ViewChecker.check(ViewChecker.java:52)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ViewControllerChecker.check(ViewControllerChecker.java:96)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:119)
    [System.err]      at com.sap.ide.webdynpro.checklayer.controller.ControllerChecker.check(ControllerChecker.java:56)
    [System.err]      at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:181)
    [System.err]      at com.sap.ide.webdynpro.checklayer.component.ComponentChecker.check(ComponentChecker.java:56)
    [System.err]      at com.sap.ide.webdynpro.generation.Generation.check(Generation.java:2039)
    [System.err]      at com.sap.ide.webdynpro.generation.Generation.generatePersistentComponent(Generation.java:1296)
    [System.err]      at com.sap.ide.webdynpro.generation.console.GenerationConsole.generate(GenerationConsole.java:175)
    [System.err]      at com.sap.webdynpro.generation.ant.GenerationAnt.main(GenerationAnt.java:50)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [System.err]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [System.err]      at java.lang.reflect.Method.invoke(Method.java:324)
    [System.err]      at com.sap.webdynpro.generation.ant.WDGenAntTask.execute(WDGenAntTask.java:219)
    [System.err]      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    [System.err]      at org.apache.tools.ant.Task.perform(Task.java:364)
    [System.err]      at org.apache.tools.ant.Target.execute(Target.java:341)
    [System.err]      at org.apache.tools.ant.Target.performTasks(Target.java:369)
    [System.err]      at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
    [System.err]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:112)
    [System.err]      at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:61)
    [System.err]      at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:213)
    [System.err]      at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:190)
    [System.err]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
    [System.err]      at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [System.err]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    [System.err]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    [System.err]      at java.lang.reflect.Method.invoke(Method.java:324)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:350)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:102)
    [System.err]      at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:76)
    [System.err]      at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:58)
    [System.err]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1723)
    [System.err]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1495)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.build(CBSBuildController.java:727)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.execCommand(CBSBuildController.java:503)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.evalCmdLine(CBSBuildController.java:442)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.run(CBSBuildController.java:314)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.exec(CBSBuildController.java:252)
    [System.err]      at com.sap.tc.buildcontroller.CBSBuildController.mainLoop(CBSBuildController.java:207)
    -     I’m able to start the application out of the Web Dynpro content manager with “run” => only the user interface is displayed without any functionality
    -     The “normal” start over the NWDS fails => error text
    “com.sap.tc.webdynpro.services.sal.core.DispatcherException: The requested deployable object 'local/J08_Flugdat_Daventdcflight~xxx.com' and application 'FlightListApp' are not deployed on the server. Please check the used URL for typos.”
    There two different URLs in use.
    Start via NWDS:
    http://frasapp562:50000/webdynpro/dispatcher/J08_Flugdat_Daventdcflight~xxx.com/FlightListApp
    Start via web dynpro content manager:
    http://frasapp562:50000/webdynpro/dispatcher/xxx.com/aventdc~flight/FlightListApp
    For test purposes, we started the BAPI (BAPI_Flight_Getlist) on the ABAP system directly. It works.
    Any ideas about the system behaviours (different URLs and missing functionality)?
    Thanks a lot in advanced!
    Best regards
    Christoph

    The Error has been solved – The implementation of a method was missing....
    Thx
    Christoph

  • Error while creating a web service

    Hi all,
    I am trying to create a webservice for doing SOAP to JDBC scenario. I created a WSDL file in Configuration. I am using NWDS for developing a web service using this WSDL file.
    While creating a web service, I am getting 2 errors after creation of Custum controllers. The errors are as follows:
    1. Request_SOAP2RFC_MI_SOAP2RFC_MI cannot be resolved or is not a type
    2. WDMessageManager cannot be resolved or is not a type
    I am making use of the following pdf file to create the web service.
    <a href="https://">www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f3ee9d7-0901-0010-1096-f5b548ac1555</a>
    Please help in this regard
    Regards,
    Pavani

    Hi
    Check this thread
    WD Message Manager
    Reward opints if usefull....

  • Error while creating a web proxy service using wsdl

    Hi folks,
    In my use case I should create a web service proxy using the wsdl. While I am creating the
    web service proxy I am getting some error like the binding method does not have the SOAP extension.
    I am giving the error below for more clarity
    Caused by: oracle.j2ee.ws.common.tools.api.WsdlValidationException: input message of binding operation "createReference" does not have a SOAP body extensionCaused by: oracle.j2ee.ws.common.tools.api.WsdlValidationException: input message of binding operation "createReference" does not have a SOAP body extension
    What could be the problem? Kindly help me on this.
    Thanks,
    Phani

    Hi,
    I guess wsdl URL for Data source is not working as expected
    See
    http://blogs.oracle.com/middleware/entry/calling_web_services_using_adf_11g
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/webservices/ws.html

  • How do i create a web page on my mac

    I am wanting to create a web site on my computer.  I heard it is so easy on a mac!  I can't find the app needed for this.  Can anyone help me.  I am very new to the mac world so any advice will be greatly appreciated.

    iLife '11 is better than the '09, but iWeb is the same in the two versions. I recommend Wordpress as host; you can create a Wordpress web in this page and configure iWeb using this tutorial

  • How to create the web template

    Hi BW Experts,
       how to create the web template.....!
       I just want to know what is the use of Web template. i want to display the report
    in WEB-UI screen ( sap-crm 7.0 portal ) can any one help me please how to proceed ...!
    Thanks
    shahina..!

    Hiu2026
    Steps to follow to create WAD in WEB Template in 3.5 or 7.0 u2026u2026..
    Go to All programs and select your web application designer
    Select the button to create a new page in WAD
    Select the chart and place in the layout
    Next goto Data provider Target and select your query
    Give your report name in the given data provider screen
    Select your query in History/find/Favourites/Infoareas button
    Select your query in this screen and click OPEN
    Now we can see the data provider is assigned to the chart.
    To edit the chart you have to right click on the chart
    After right click on it we will find another screen where we can edit all the settings
    In this screen we can find NEXT click button to change our settings
    In this screen we can state the tasks (Title, units, values, range)
    In this screen we can change our background /validity/color
    In this screen we can add values to the chart
    In this screen we can add validity/positions/order/axis types to the chart
    In this screen we can change the global settings/and overview of the chart.
    This screen shows that we have customized the chart successfully
    After successful creation of the chart we have to save the chart
    Save your chart in your favorites by giving the description and technical name in the given block.
    Now execute your WAD by selecting the execute button
    The BEx Web Application Designer is a desktop application for creating Web applications with BW-specific contents. Using the BEx Web Application Designer, you can create an HTML page that contains contents such as various tables, charts or maps. This HTML page (Web application) provides the basis for not only Web applications with complex interaction, but also for Web cockpits and iViews.
    http://help.sap.com/saphelp_nw04/helpdata/en/1a/456a3badc1b315e10000000a114084/content.htm
    Web Application Designer for Beginners
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/749a4622-0a01-0010-36bf-b6b30a2a3a22
    Web Application Solutions: A Designer's Guide
    http://www.lukew.com/resources/webapplicationsolutions.pdf
    http://sap.ittoolbox.com/groups/technical-functional/sap-solution-manager/bw-web-application-designer-1955944
    Feautures of WAD in 7.0
    http://help.sap.com/saphelp_nw70/helpdata/en/88/4d354277dcb26be10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5c46376d-0601-0010-83bf-c4f5f140e3d6

  • How to create the web based report without enterprise portal?

    Hi experts,
    We don't have enterprise portal but I like to create the web based version of the existing Bex reports and which option is the best to distribute this web based report using information broadcasting?
    Can I use report designer for this?
    Thanks in advance.
    Sharat.

    Hi Sharat
    In BI 7.0 the Queries which u devoleped can be broad casted by using two ways .
    1. Enterprise portal
    2.Web Application Designer(WAD)
    So you can choose any of the option, For the Option 1 you should have seperate server for the EP or else For option 2 you have to make some setting in the BI system to enable the Web reports..
    Reagrds
    Satish

  • How to create a Web Application when SQL is running in SQL Authentication mode ?

    Hi,
    I a have the following config:
    SQL server 2012 with mixed authentication, running in the LAN
    IIS server with SharePoint 2013 SP1, running in a DMZ --> SharePoint contacts the SQL server with a SQL login (not a Windows login, the required port has been opened in the FW)
    SharePoint is working fine but when I want to create a new Web Application, I get an error: "Could not connect to MySQLServer\MySQLInstance,MyPortnumber using integrated security: Cannot
    connect to database master at SQL server. The database might not exist, or the current user does not have permission to connect to it."
    I think, since I use SQL authentification,  I have to use PowerShell. I found a script on the Internet but this script was not made to create a Web App which a SharePoint installed with SQL authentication.
    Can you help to adapt the script ?
    Thks
    THE SCRIPT Documentation:
    New-SPWebApplication -ApplicationPool <String> -Name <String> [-AdditionalClaimProvider <SPClaimProviderPipeBind[]>] [-AllowAnonymousAccess <SwitchParameter>] [-ApplicationPoolAccount <SPProcessAccountPipeBind>]
    [-AssignmentCollection <SPAssignmentCollection>] [-AuthenticationMethod <String>] [-AuthenticationProvider <SPAuthenticationProviderPipeBind[]>] [-Confirm [<SwitchParameter>]] [-DatabaseCredentials <PSCredential>] [-DatabaseName
    <String>] [-DatabaseServer <String>] [-HostHeader <String>] [-Path <String>] [-Port <UInt32>] [-SecureSocketsLayer <SwitchParameter>] [-ServiceApplicationProxyGroup <SPServiceApplicationProxyGroupPipeBind>] [-SignInRedirectProvider
    <SPTrustedIdentityTokenIssuerPipeBind>] [-SignInRedirectURL <String>] [-Url <String>] [-WhatIf [<SwitchParameter> ]] [<CommonParameters>]
    The Example:
    $siteName = “PowerShell for SharePoint”
    $port = 80
    $hostHeader = “lab.ps4sp.com”
    $url = “http://lab.ps4sp.com&#8221;
    $appPoolName = “PS4SPAppPool”
    $managedAccount = “PS4SPspservice”
    $dbServer = “PS-SQL”
    $dbName = “PS4SP_SP2010_LAB_ContentDB”
    $allowAnonymous = $true
    $authenticationMethod = “NTLM”
    $ssl = $false
    New-SPWebApplication -Name $siteName -Port $port -HostHeader $hostHeader -URL $url -ApplicationPool $appPoolName -ApplicationPoolAccount (Get-SPManagedAccount “$managedAccount”) -DatabaseName $dbName -DatabaseServer $dbServer -AllowAnonymousAccess: $allowAnonymous
    -AuthenticationMethod $authenticationMethod -SecureSocketsLayer:$ssl
    Charles

    Hi Scott,
    Based on your aticle, I changed my script by adding the credential, but I still have an error.
    Il also put the SQL specific port in the $dbServer variable.
    Any idea ?
    MY SCRIPT:
    $siteName = "TEST Site"
    $port = 80
    $hostHeader = "sharepoint.test.be"
    $url = "http://sharepoint.test.be"
    $appPoolName = "TestAppPool"
    $managedAccount = "DISNET\administrator"
    $authenticationMethod = "NTLM"
    $dbServer = "DSPORT-SQL02\DSPORTPRDEXT,50123"
    $dbName = "WSS_TEST_Content"
    $dbServer_secPassword = ConvertTo-SecureString "MySQLPassword" -AsPlaintext -Force
    $dbServer_Creds = New-Object System.Management.Automation.PsCredential "DMZSharePointLoginSQL", $dbServer_secPassword
    New-SPWebApplication -Name $siteName -Port $port -HostHeader $hostHeader -URL $url -ApplicationPool $appPoolName -ApplicationPoolAccount (Get-SPManagedAccount "$managedAccount") -AuthenticationMethod $authenticationMethod -DatabaseName
    $dbName -DatabaseServer $dbServer -DatabaseCredentials $dbServer_Creds
    Charles

  • Creating a Webi report from R/3 Data

    Hi Gurus,
    We are running SAP ECC6 with EHP5. Is it possible to create a Webi report directly from the R/3 (without BW system). I read some where that it can be achieved with Data Federator.
    Any one has an idea ?
    Appreciate your help.
    Regards,
    Munir

    pls see this post:
    WebI and SAP R/3
    Re: Accessing sap tables data and display in webi
    rgs,
    Parth.
    Edited by: Partho Mukherjee on Nov 14, 2011 4:01 PM

  • Error in Creating a WebI Report on SAP Source using Rich client in BOxi 3.1

    Hi
    I tried to create a webi report using rich client on sap source. I get a error message " A Database error occured. the Database text is 'unable to connect to SAP BW server name and password is incorrect(repeat logon) (WIS 10901) .
    SAP Integration kit installed
    BO XI 3.1 is installed on windows server 2003
    Application server - Tomcat 5.5 server.
    Any configuration or sap files/folders should be added?
    how can I move forward to solve it ?
    Thanks!
    J.M Raj

    Hi
    Ya I used SAP authentication - then also get same error.
    Connections are created with username, password to access SAP Source
    Thanks!
    J>M>Raj
    Edited by: John Milton on Jun 25, 2009 10:03 AM

  • Creating a web service to consume price of a particular stock from ???

    hey,
    i'm new, donno much about web services in terms of writing it, but i do have some knowledge about wat it actually does...
    im here becuz i wanna create a web service to consume the price of a particular stock and then store the closing price along with the dates into a database
    now, im abit lost here.. how do i know where to get the information from? is it possible for me to write a web service to communicate with Yahoo! Finance or any other sites which allows consumption of information?

    If you are talking about simple XML transformation of the SOAP payload between the client calling your service and the final destination of the message you are routing, the ESB approach may be a better fit.
    If you have more complex transformation in mind, with major processing and rework of the message in the intermediary, you may be better of with using the POJO approach. Write your service and embed a callout to the other service in your implementation. If the two services share the same Java Model, you may even be able to re-use the same Java Bean.
    To get SOAP Element instead of Java bean, you just need to use the noDataBinding option with either genProxy and topDownAssemble (or assemble). See the WS-Guide [1] for details. Chapter 18 will give you all the details about the different WSA command line parameters.
    Hope this helps,
    -Eric
    [1] http://download-west.oracle.com/docs/cd/B31017_01/web.1013/b28974/toc.htm

Maybe you are looking for

  • I can't install boot camp on my mac needer on my USB external disc!! WHy? it is very important for me to have windows

    I need Urgently to install windows on my mac! but after i installed the new OS Lion 10.8.3, it won't let me install on my mac, only on a USB driver!! WHY? And The download bar freezes at the middle. i let it 27hours downloading, and it was iin the sa

  • What happened.  FCP 5 wont open...

    Someone please clue me in... I am trying to open an existing project I was working on last week in FCP. FCP starts to open then never does. Anyone have any suggestions. Thanks, Norton

  • Will Thunderbolt allow multiple external displays?

    The news about Thunderbolt mentions the ability to "daisy chain" up to 6 devices to the port. Have there been any details released about the potential of driving multiple external monitors with Thunderbolt? I have two 24" monitors that I'd like to us

  • Annoying Mail problem I've had for so long, please help!

    Hi everyone, Since as long as I can remember, whenever I attach a JPG, or EPS in Mail to a message for instance, if I send the email to a PC user, they always tell me that there wasn't an image attached??! Now I always have 'save windows friendly att

  • Encode a PDF into base64 xml

    Hi Pal, There is a requirement to generate an Adobe Form using SAP Interactive forms, and then, send this PDF to a non-SAP system using Base-64 encoding. The receiving system will decode this file. I have heard that this could be done in the PI layer