Cannot add Connected Service in asp.web form project in vs 2012

Hi All,
I m trying to add  Connected Service in asp.web form project in vs 2012 as shown below image. But my VS 2012 doesn't has that option as shown second image. Any help please.
First image
Second image 
d.n weerasinghe

Hi,
If this is not a SharePoint related question, I would suggest you post it to Visual C# forum, you will get more help and confirmed answers from there.
http://social.msdn.microsoft.com/Forums/en-US/home?forum=csharpgeneral
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • ASP Web Forms Error: Session state can only be used when enableSessionState is set to true

    Hello,
    I am developing a custom application page for a custom Web Forms I am creating, which I plan on using for custom task form into SharePoint 2010 Foundation.
    Currently, I am trying to test it in Debug Mode using Visual Studio 2010 but when I am trying to use Sessions I get the error:
    Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the application configuration
    I've already done this on trying to fix:
    On my page
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="TestForm.aspx.cs" Inherits="TestForm" EnableSessionState="True" %>
    And on my web.config
    <pages enableSessionState="true">..<httpModules>
    <remove name="Session" />
      <add name="Session" type="System.Web.SessionState.SessionStateModule, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    </httpModules>
    Note: I am getting an error when I try to add <module> into web.config
    ASP .NET State Service is currently running.
    And the part where it keeps error is when in PageLoad, I try to set a List object something like this:
    List<object> myobject
    get
    if (Session["object"] == null)
    Session["object"] = new List<object>();
    return Session["object"] as List<object>;
    set
    Session["object"] = value;
    protected void Page_Load(object sender, EventArgs e)
    myobject= new List<object>();
    BUT the error still persists! I also try to restart IIS but still the error still happens.
    I am running out of ideas so can you help me out?
    Thank you!

    Could be your skype intercepting your requests at 80 port, in Skype options uncheck
    Or Your IE has connection checked for Proxy when there is no proxy
    Or your fiddler could intercept and act as proxy, uncheck it!
    Solves the above problem, It solved mine!
    HydTechie
    HydPhani

  • Cannot Add Approved App To A Web Page - App Does Not Show in the App Part Section.

    Hi all,
      I have successfully add an App from the SharePoint App Store to my SharePoint Site which was developed using SharePoint 2013. The added app was successfully Approved then when I try to add that app using the App Part to a web page I cannot Find it
    in the App Part section. I looked in the Site Collection Features & Site Features I couldn't find the app to activate. I don't think I have done some kind of mistake. So then what else I have to do to add that App part to the web page.
     Could someone try to solve this matter?
     Thanks,
     Regards,
     Chiranthaka

    First, are you sure the App contains an App Part?  Not all Apps are written to have app parts.  Second, did you add the app to the site collection from Add an App in the Site Contents page?  Apps that are added and approved from the Store
    are added to the App Catalog for the Web Application.  You would normally add them to the Site Collection from there after they are approved.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Catch lost connection error in a Web Form 10g

    Hello,
    I have a aplication in 10g and want to catch in ON-ERROR a conection lost with OAS 10g r2.
    When i disconnect the network cable in a runtime form web, i need to exit form and go to intial start form, but apears this error:
    What i need is catch this error in a ON-ERROR before this error. If i catch in a ON-ERROR, i kill the form and resolve my problem.
    What can i do to resolve this ?
    regards,
    Gonçalo Pinelo

    unfortunately, that error cannot be trapped within forms.

  • Cannot add popup LOV to existing update form for interactive report

    I have a requirement to add a popup LOV to an existing interactive report with an update form in apex 4.0.2.00.07. I have an insert form as well form the interactive report and was able to add the shared LOV as a popup correctly (so the issue isn't with the popup LOV definition). However, when I add the popup LOV to the update form, the field does not show up when I run the application. There currently isn't any data in that column of the table in the db (I'm adding the field so that users can update the data with the LOV return ID). Is there something I should look for that is keeping the field from showing on the screen that i have to check or uncheck?
    Edited by: user11201107 on Apr 5, 2011 1:46 PM

    Either write a classic report and implement your own filters, and use those on your update function, or try to retrieve the where clause Apex uses in the IR.
    This blog from Stew should help you on your way:
    http://stewstools.wordpress.com/2009/02/19/get-ir-where-clause/

  • Cannot add Identity Services Engine to CPI 2.1

    Hey, guys.
    Has anyone been able to add one or two ISE to CPI 2.1 ???
    When I try to add one of our monitoring nodes to cpi, I get an error that tells me, that the ise is not reachable .....
    But of course it is, I checked the following things:
    - ISE is reachable (runs in the same vlan even), this applies to both monitoring ISE nodes, none of which can be added
    - ISE version is 1.3.0.876
    - ISE application is running ok
    - the user I used to connect is an internal super-user on ISE (configured via Gui)
    - CPI version is 2.1.0.0.87
    Did I miss something, if so, what did I miss ???
    Could this be an ISE licensing issue ?? Meaning, do you need a particular license on ISE to be able to add them to CPI ???
    Rgs
    Frank

    Hi Frank,
    Have you checked the latest patch releases for 2.1?  There is a patch that you can apply to 2.1 to integrate with ISE 1.3
    https://software.cisco.com/download/release.html?mdfid=284540974&softwareid=284272933&release=BashFix&relind=AVAILABLE&rellifecycle=&reltype=latest
    When you get to the page you have to access the pane that has the all releases, and navigate to the 2.1.2 portion to see the download option for the ISE 1.3 patch.
    If/When you upgrade to PI 2.2 ISE 1.3 should be supported already.
    Regards,
    Brandon

  • Cannot add Library service to workspace

    I get "resource CW_FILES_RESOURCE_TYPE is not properly installed" whenever I create a new workspace.
    has anyone encountered this?
    thanks

    This is best handled by opening a tar on metalink.oracle.com. You can upload your application.log from <mid tier Oracle_Home>/j2ee/OC4J_OCSClient/application-deployments/workspaces/OC4J_XXX_Island/application.log or through EM through the logs link.

  • How can i view 10 descriptions for a member in a web form

    Hi can some one help me with this
    How can i add 10 descriptions for a member in a web form usually, if it is one description i can add that in alias
    ACNT ACNT-DESCRIPTION
    12345 communication cost
    but how can i get that if i had 10 descriptions

    Hi Abhi,
    Are you saying you want ten different aliases for a given account?
    e.g.
    Member name: Profit
    alias 1: profits
    alias 2: excess cash
    alias 3: прибыль
    alias 4: ganancia
    alias 5: Gewinn
    alias 6: hagnaður
    alias 7: Winnings
    alias 8: The Take
    alias 9: Bail out money we didn't spend
    alias 10: My big fat bonus
    There is an option in the web form definition to show alias, but not 10 of them, and AFAIK you can't add an alias via a web form.

  • How I can attach files on a Web Form

    Hi everybody,
    When I add a document on a web form, the document I have to attach from the workspace directory... the server is on Linux ... instead of put the files on linux server, exists the possibility to parameterize a local directory to be easier to attach the file.....???? Or Sombeone knows about a link to see some information about my question.
    Regards

    Hi,
    You can attach documents at two steps.
    1. Go to Explore screen at workspace, import file(s) to workspace via (file->import). Make sure you defined necessary security on the folder and document alike.
    2. Go to Planning, open a form, select a cell, click on "Add/Edit document" button, follow the steps and choose the file that you want to attach from workspace.
    There is no dependency for attaching documents on the OS.
    Cheers,
    Alp

  • An error occurred while trying to connect to a Web service, when InfoPath web enabled form loads.

    Hi Everyone,
    I am getting an error message: An error occurred while trying to connect to a web service, when my InfoPath form tries to load.  The last few days, it only spits this error message in the morning and around 12pm-1pm it resolves itself and the form loads
    fine the rest of the day, oddly enough. 
    A few things about my form:
    1). It is web enabled
    2). The form submits to a form library on the SP server
    3). I use the UserProfileService data connection in the form to auto-populate a few fields
    4). I use a udcx file with correct language stored in the root of the site collection in the data connection library
    5). The form has been working fine until a few days ago
    I noticed while in Central Administration, that the User Profile Service Synchronization is Stopped.  Not sure if this is causing some or all of the problem. If I need to start it I will need to contact my farm administrator to do this, since I do not
    have the service account information.
    Also, I looked thru the log files on the SharePoint server and found the following by searching for the Correlation ID shown when the error comes up, I won't put in everything just the important messages.
    Schema file was already loaded: BuiltInActiveXControls.xsd
    FormServer Partial Trust - Proxy operation invoked in the SHIM process.
    FormServer Partial Trust - Invoking proxy operation for Web service adapter failed with exception Operation is not valid due to the current state of the object. for Url=https://<SP URL>/_vti_bin/UserProfileService.asmx
    Data adapter failed during OnLoad: The custom code in the form cannot be run. This functionality may be deactivated on the server. For more information, contact the server farm administrator.
    The following query failed: GetUserProfileByName (User: , Form Name: Expense Report, IP: , Connection Target: <SP URL>/Data Connections/GetUserProfileByName.udcx, Request: , Form ID: urn:schemas-microsoft-com:office:infopath:Expense-Report:-myXSD-2014-04-11T21-06-32
    Type: DataAdapterException, Exception Message: The custom code in the form cannot be run. This functionality may be deactivated on the server.

    Hi B.,
    You are on the right track. I recommend that you first get the User Profile Synchronization Service started because that itself could be the root cause of the issue.
    If that doesn't fix it then focus your attention on the GetUserprofileByName data connection. I always use my secure store ID for this connection. I add the ID by editing the udcx file and then publishing it again.
    Hope this helps.
    Daniel Christian (MCTS)

  • How to add "Prepare Data" from a web service to the form

    Hello,
    Can any one please advise on how to add the "Prepare Data" process from the existing web service and have the form to pre-populate the data from this "Prepare Data" process instead of using schema xsd. I heard that this is an alternative or may be a better way to pre-populate data in ES2/ES3 to avoiding creating a data source in Form Designer. I try to find a sample on Adobe site but could not find one, most of them are using schema.
    Any guidance or URL to the sample would be helpful.
    Thanks,
    HD

    Thanks

  • Cannot connect Service Manager with Orchestrator Web Service URL

    Dear TechNet User,
    i cannot connect my service manager console with my Orchestrator Webservice. i try to connect to "http://AMSCO01:81/Orchestrator.svc" ... the user i´ve choose is local admin on the orchestrator Machine.
    Thats the Logfile:
    Date: 07.10.2013 15:23:16
    Application: System Center Service Manager
    Application Version: 7.5.2905.0
    Severity: Error
    Message: Could not connect to the Orchestrator web service.
    System.Data.Services.Client.DataServiceQueryException: An error occurred while processing this request. ---> System.Data.Services.Client.DataServiceClientException: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <title>404 - File or directory not found.</title>
    <style type="text/css">
    <!--
    body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
    fieldset{padding:0 15px 10px 15px;}
    h1{font-size:2.4em;margin:0;color:#FFF;}
    h2{font-size:1.7em;margin:0;color:#CC0000;}
    h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
    #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
    background-color:#555555;}
    #content{margin:0 0 0 2%;;}
    .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;;}
    -->
    </style>
    </head>
    <body>
    <div id="header"><h1>Server Error</h1></div>
    <div id="content">
     <div class="content-container"><fieldset>
      <h2>404 - File or directory not found.</h2>
      <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
     </fieldset></div>
    </div>
    </body>
    </html>
       at System.Data.Services.Client.QueryResult.Execute()
       at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
       --- End of inner exception stack trace ---
       at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
       at System.Data.Services.Client.DataServiceQuery`1.Execute()
       at System.Data.Services.Client.DataServiceQuery`1.GetEnumerator()
       at Microsoft.EnterpriseManagement.ServiceManager.Sdk.Connectors.OrchestratorRunbookConnector.GetRunbookFolders(OrchestratorContext scoContext, Folder parentFolder)
       at Microsoft.EnterpriseManagement.ServiceManager.UI.Administration.Connectors.Orchestrator.OrchestratorConnectorHelper.ValidateServerConnection(Boolean found)
    System.Data.Services.Client.DataServiceClientException: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
    <title>404 - File or directory not found.</title>
    <style type="text/css">
    <!--
    body{margin:0;font-size:.7em;font-family:Verdana, Arial, Helvetica, sans-serif;background:#EEEEEE;}
    fieldset{padding:0 15px 10px 15px;}
    h1{font-size:2.4em;margin:0;color:#FFF;}
    h2{font-size:1.7em;margin:0;color:#CC0000;}
    h3{font-size:1.2em;margin:10px 0 0 0;color:#000000;}
    #header{width:96%;margin:0 0 0 0;padding:6px 2% 6px 2%;font-family:"trebuchet MS", Verdana, sans-serif;color:#FFF;
    background-color:#555555;}
    #content{margin:0 0 0 2%;;}
    .content-container{background:#FFF;width:96%;margin-top:8px;padding:10px;;}
    -->
    </style>
    </head>
    <body>
    <div id="header"><h1>Server Error</h1></div>
    <div id="content">
     <div class="content-container"><fieldset>
      <h2>404 - File or directory not found.</h2>
      <h3>The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.</h3>
     </fieldset></div>
    </div>
    </body>
    </html>
       at System.Data.Services.Client.QueryResult.Execute()
       at System.Data.Services.Client.DataServiceRequest.Execute[TElement](DataServiceContext context, QueryComponents queryComponents)
    any ideas? Thank you very much!

    Hi,
    I am unable to connect to
    http://hostname:81/Orchestrator2012/Orchestrator.svc/ in IE and am getting the same error while creating the connector.
    I can connect to orchestrator via http://hostname:81/ but it still gives me the same error when I create the connector (Cannot connect Service Manager with Orchestrator Web Service).
    anyone seen it before?

  • Cannot add Adaptive Connectivity Service to APS (FWM 02059)

    Hello,
    I finished installation of another instance of BOBJ 4.1 SP3 a while ago and now I am trying to split APS. At first time, I used System Configuration Wizard, and set slider from XS to S (spliting APS into 4 APS). SCW finished with FWM 02059 error saying:
    The service container connected to the server ID xxxx does not support the service ID xxxx. (FWM 02059).
    At second time, i've made 4 APS manualy, but when making APS with Adaptive Connectivity Service, error message above appeared again.
    At this moment Adaptive Connectivity Service is not on any server and I am not able to add it anywhere.
    Do you have any idea how to solve this issue?
    Thank You
    Tomas

    Tomas, this is a known issue in SP 03. you should be able to find the KB article on SMP with the error message.
    I think there is a script in the KB article which you can use as a workaround.
    -Nikhil Nair

  • Cannot connect to target eHR web site

    I cannot connect to eHR target web site. from my home computer which is running windows 7.
    I get this error message from Chrome
    "Not Found The requested URL /SecurityBrokerage/forms/login.asp was not found on this server."
    This error from IE 10  gives me
    "The webpage cannot be found HTTP 404"
    I get the same error from my laptop that has windows xp IE 8.
    the eHR web site is assessed from this page.
    target.com/spot/team-services#?lnk=fnav_t_spc_1_13
    At work (windows xp IE 8 ) I was able to access the website so I think it is a Verizon problem

    Works for me on Windows 7 and Firefox.
    My guess is that the OP has received an IP address that is defined in a Bogon filter somewhere that identifies that address as a "bad" site. If that is the problem it should be easy to fix, just turn off the router before going to bed and turn it on the next morning, it is very likely that a new IP address with be assigned, and the problem will disappear. It might be a good idea to record the current IP address and then check the new one to make sure it has actually changed.
    Justin
    FiOS TV, 25/25 Internet, and Digital Voice user
    QIP7232, QIP7100-P2, IMG 1.9.4
    Keller, TX 76248 (VHO 1)

  • How to add a new filter in an existing web service method (BIWS - WEBI document)

    Hello Experts, we have 7 web service query's connected to a dashboard. Basically it is one WSDL URL and 7 Get Methods...Web service queries are BIWS (via WEBI document instance). There are filters setup for each of these web service methods.
    Recently there was a request to add 2 new fields to the webi document and also the 2 fields need to be included as filters in the 7 methods. I know there is an option to edit the method, but when i edit the method, i cannot find the 2 new fields in list to set as filters.Can anybody help me understand how to add filters to an existiing web service method? I do not want to delete the method and republish the block as web service.
    Any help will be great and points rewarded.
    Thank you
    Ann

    Hi Ann,
    The reason you are not able to see any of the new columns as a option to select in your web service block is because when you have published that block, they were not present. Add these two new objects in your block and publish it again. You will be prompted for duplication content. Select the highlighted block for duplicate and now you can see the new added objects in the filter option. Update and this will overwrite your published block. Please note, web services do appear to behave weirdly when used with dashboards so I request you to please try it in a separate test report first.
    Hope that helps.
    Regards,
    Tanisha

Maybe you are looking for