PROBLEM: loading jaas.config in the web application

Hi,
my problem was load jaas.config in the web application, the way that I suppose was best it's to load a configuration file in the web.xml of my application, but I they are not a veteran of xml and I have a problem of implementation for this solution.
I hope you know a solution of my problem because I was deprived of hope!
HELP ME PLEASE!

Hi,
I hope that replay me on my new quesion.
I have find a class "Configuration" that load a configuration file of jaas, but I don't understand how use it. Because I want pass it to LoginModule in the costructor.
Can you help me with an example code?
Thanks

Similar Messages

  • Problem loading jaas.config file

    Hi,
    i've built an rmi server that works as an authentication server.
    It uses jaas and an nt login module to manage authentication on windows.
    But when i try to load the jass.config file, i get errors : it tells that there is a security exception and that the file jaas.config was not found!!
    I set all necessary properties in my application :
    System.setProperty("java.security.auth.login.config", "jaas.config")
    Do you know where do i have to put my jaas.config file for it to be found by the application?
    In the classpath?
    Thanks,
    Philippe

    HI, I am not sure this will help you, but you can try putting your .conf where your java_home is pointing.
    Example : D:\j2sdk1.4\jre\lib\ext\test.conf

  • I am facing a caching problem in the Web-Application that I've developed us

    Dear Friends,
    I am facing a caching problem in the Web-Application that I've developed using Java/JSP/Servlet.
    Problem Description: In this application when a hyperlink is clicked it is supposed to go the Handling Servlet and then servlet will fetch the data (using DAO layer) and will store in the session. After this the servlet will forward the request to the view JSP to present the data. The JSP access the object stored in the session and displays the data.
    However, when the link is clicked second time then the request is not received by our servlet and the cached(prev data) page is shown. If we refresh the page then request come to the servlet and we get correct data. But as you will also agree that we don't want the users to refresh the page again and again to get the updated data.
    We've included these lines in JSPs also but it does no good:
    <%
    response.setHeader("Expires", "0");
    response.setHeader("Cache-Control" ,"no-cache, must-revalidate");
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Cache-Control","no-store");
    %>
    Request you to please give a solution for the same.
    Thanks & Regards,
    Mohan

    However, when the link is clicked second time then the request is not received by our servlet Impossible mate.. can you show your code. You sure there are no javascript errors ?
    Why dont you just remove your object from the session after displaying the data from it and see if your page "automatically" hits the servlet when the link is clicked.
    cheers..
    S

  • The web application at [URL] could not be found.

    Hi,
    I am trying to run a simple code like finding all the users in the SharePoint site.
    But I am seeing this error constantly no matter what I do!!
    The Web application at [https://xxxxxx] could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.
    I've looked into all the answers on the forums but still stuck with this error.
    I am a beginner in SharePoint, and I am really not sure about the AAM and IIS settings that needs to be set inorder to get rid of this error.
    If someone could point me in right direction that targets beginners that would be really helpful.
    Also, I noticed that my IIS is blank on the dev server that I am working on with Visual Studio and SharePoint installed on it. 
    Is this something that is causing this error?
    Thanks

    Note: you need to enter the SharePoint site URL 
    To authenticate:
    f you are connecting to office 365 then use the following code:
    using (srcContext = new ClientContext(txtUrlFrom.Text))
    SecureString passWord = new SecureString();
    foreach (char c in txtPasswordFrom.Text.ToCharArray()) passWord.AppendChar(c);
    srcContext.Credentials = new SharePointOnlineCredentials(txtUserNameFrom.Text, passWord);
    if you are using on premise SharePoint 2013 use this code:
    using (srcContext = new ClientContext(txtUrlFrom.Text))
    NetworkCredential credentials = new NetworkCredential(txtUserNameFrom.Text, txtPasswordFrom.Text);
    Example to retrieve data:
    Web srcWeb = srcContext.Web;
    List srcList = srcWeb.Lists.GetByTitle(srcLibrary);
    ListItemCollection col = srcList.GetItems(new CamlQuery());
    srcContext.Load(srcList.RootFolder);
    srcContext.Load(srcList.RootFolder.Folders);
    srcContext.Load(col);
    srcContext.ExecuteQuery();
    to retrieve users:
    Private void GetData(object obj)
    MyArgs args = obj as MyArgs;
    try
    if (args == null)
    return; // called without parameters or invalid type
    using (ClientContext clientContext = new ClientContext(args.URL))
    // clientContext.AuthenticationMode = ClientAuthenticationMode.;
    NetworkCredential credentials = new NetworkCredential(args.UserName, args.Password, args.Domain);
    clientContext.Credentials = credentials;
    RoleAssignmentCollection roles = clientContext.Web.RoleAssignments;
    ListViewItem lvi;
    ListViewItem.ListViewSubItem lvsi;
    ListViewItem lvigroup;
    ListViewItem.ListViewSubItem lvsigroup;
    clientContext.Load(roles);
    clientContext.ExecuteQuery();
    foreach (RoleAssignment orole in roles)
    clientContext.Load(orole.Member);
    clientContext.ExecuteQuery();
    //name
    //MessageBox.Show(orole.Member.LoginName);
    lvi = new ListViewItem();
    lvi.Text = orole.Member.LoginName;
    lvsi = new ListViewItem.ListViewSubItem();
    lvsi.Text = orole.Member.PrincipalType.ToString();
    lvi.SubItems.Add(lvsi);
    //get the type group or user
    // MessageBox.Show(orole.Member.PrincipalType.ToString());
    if (orole.Member.PrincipalType.ToString() == "SharePointGroup")
    lvigroup = new ListViewItem();
    lvigroup.Text = orole.Member.LoginName;
    // args.GroupsList.Items.Add(lvigroup);
    DoUpdate1(lvigroup);
    Group group = clientContext.Web.SiteGroups.GetById(orole.Member.Id);
    UserCollection collUser = group.Users;
    clientContext.Load(collUser);
    clientContext.ExecuteQuery();
    foreach (User oUser in collUser)
    lvigroup = new ListViewItem();
    lvigroup.Text = "";
    lvsigroup = new ListViewItem.ListViewSubItem();
    lvsigroup.Text = oUser.LoginName;
    lvigroup.SubItems.Add(lvsigroup);
    //args.GroupsList.Items.Add(lvigroup);
    DoUpdate1(lvigroup);
    // MessageBox.Show(oUser.LoginName);
    RoleDefinitionBindingCollection roleDefsbindings = null;
    roleDefsbindings = orole.RoleDefinitionBindings;
    clientContext.Load(roleDefsbindings);
    clientContext.ExecuteQuery();
    //permission level
    lvsi = new ListViewItem.ListViewSubItem();
    string permissionsstr = string.Empty;
    for (int i = 0; i < roleDefsbindings.Count; i++)
    if (i == roleDefsbindings.Count - 1)
    permissionsstr = permissionsstr += roleDefsbindings[i].Name;
    else
    permissionsstr = permissionsstr += roleDefsbindings[i].Name + ", ";
    lvsi.Text = permissionsstr;
    lvi.SubItems.Add(lvsi);
    // args.PermissionsList.Items.Add(lvi);
    DoUpdate2(lvi);
    catch (Exception ex)
    MessageBox.Show(ex.Message);
    finally
    DoUpdate3();
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • Deploying properties files outside of the web application in WebLogic 8.1

    Hi
              I am wondering if it is possible to deploy a web application and place configuration files (properties files, log4j xml files etc...) in a folder somewhere within WebLogic that is on the Server instance classpath. This would allow me to edit the config files and restart the server without having to hack into the web application .war file and then redeploy.
              I am really looking for an equivalent of the /applib folder in Oracle 10gAS (each OC4J server instance has an /applib folder which is on the classpath of the server).
              Is there an equivalent for a weblogic server instance?? (i.e. not just for the entire weblogic server but for individual sever instances).
              thanks
              Will

    WLS 9.2 includes pretty advanced features in this area. Both deployment plans and application libraries could be used. There's also a domain/lib directory where jar files can be placed and are visible throughout the server instance.
              Unfortunately 8.1 has none of these features. In 8.1, your choices are to either add these into the $CLASSPATH, or package them in the application.
              -- Rob
              WLS Blog http://dev2dev.bea.com/blog/rwoollen/

  • Error on hosting the web application

    Hi all,
    I am developing a web application using servlets and jsp's and has been deploying this application in Tomcat web server. But now suddenly i am facing some problems in starting the web application.
    When ever i start the Tomcat web server, the home page of tomcat is arriving and then when i go to any link in that home page, i am getting the following error.
    End of the Tag in the run method.
    java.sql.SQLEception:unable to connect to any hosts due to exception:java.net.NoRouteToHostException:No Route to host:connect
    **BEGIN NESTED EXCEPTION
    java.net.NOROUTETOHOSTException
    Mesage:No Route to host:connect
    ** END NESTED EXCEPTION**
    this is the error i am getting in the console program and i can't instantiate my web application. Can anyone suggest me a solution for this problem.

    I don't see applets mentioned in the supported features nor in the unsupported features so not sure if they are supported you would likely need to contact the operations team to confirm.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • How to get the web application root ?

    Hi,
    We are developing a JSP/Servlets web application for Weblogic 5.1, that is distributed as a WAR archive, and so far we are unable to determine the web application root dynamically (from within the code in a Servlet or class). We tryed the servletContext.getRealPath("/") method, but it is not working due to the fact that we are deploying the application as a WAR file.
    We need to have this app root at the application startup, because it is widely used inside the JSP pages and the servlets of the web application. Also we would like to avoid setting it as a static parameter in the web.xml or elsewhere.
    Does anyone know how to do that? Any hint or suggestion is very much appreciated!
    TIA
    Stefan Buynov

    Thanks for your reply.
    As I said in one of my early posts, this variable (the application root) i used widely in the application (not only in JSPs, but also in classes).
    Another problem will be including JSTL in the project - first of all, I will have to put this tag where the variable is required (it will be quite exhausting), and also the specification of the application is strict - I might not be able to add this tag library, since the client won't like it.
    Anyway, thanks for your concern.
    Regards,
    Stefan

  • Problems while accessing images outside the web document-root folder

    Our application runs on Oracle application server on Linux. Facing problems while accessing images outside the web document-root folder. This works with changes in global-web-application.xml by including the <virtual-directory> tag. The same change does not work when done on Linux machine. It is unable to find the image. Please help in resolving this issue.
    </locale-encoding-mapping>
    </locale-encoding-mapping-list>
    </web-app>
    <virtual-directory virtual-path="/img" real-path="/home/eposuat/" />
    </orion-web-app>
    Code in the jsp:
    <img width=700 height=700 src="/img/3.tif"></img>
    <img width=700 height=700 src="/img/WB.gif"></img>

    This is one of the least satisfactory aspects of site management in Dreamweaver, and several developers, including myself, have been pressuring the Dreamweaver team for some years to improve this. Who knows? They might eventually take notice.
    The only way to do this at the moment is to create two site definitions, one nested inside the other. Set up the site definition normally based on htdocs as your site root. Then create a new site definition based on site. Dreamweaver will nag you that it can cause problems, but it won't actually stop you from doing it. The only potential problem is with site synchronization.
    The problem with using site as the only basis for your site definition is that Dreamweaver automatically puts things like the Connections, Scripts, and other folders in the site root. So, everything ends up at the wrong level of the site hierarchy. Quite frankly, the whole thing is a bit of a pain. Dynamic site development was added to Dreamweaver only in version 6 (Dreamweaver MX), and no one had really thought through the need to store files outside the site root.

  • When I try to open Safari, I get NCSW21 and that server can't be found. This happens everytime. I am using AirPort and have a strong internet signal. I have no problem opening Firefox and surfing the web. Only with the Safari page. Can anybody help.

    Can't open Safari. I get "Can't find server". I get NCSW21 in my address bar. I am using AirPort and have a strong internet signal. I have no problem opening Firefox and surfing the web. Need help. Thanks

    Hi Professor66,
    I have a couple of suggestions for you regarding this issue. Here are two links to users who have posted similar questions to yours and have found their answers in the responses to their posts:
    Safari hangs when loading web pages. | Apple Support Communities
    https://discussions.apple.com/thread/3784708
    Safari loading blank pages | Apple Support Communities
    https://discussions.apple.com/thread/3899912
    I would suggest that you first follow the troubleshooting that the OP did in the second link, which is to test in a new user account to see if the behavior is consistent. If it is, you may need to address the issue at a software level by re-installing Safari. More information on this process can be found in the following article:
    OS X Mavericks: Reinstall apps that came with your Mac
    http://support.apple.com/kb/PH14193
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Can any body tell where i have to place the mdb file in the web application

    Hi
    I am doing a web application in NetBeans 5.0 and using MSAccess (*.mdb ) file as a backend, so now where i have to place this mdb file in this web application in NetBeans. and tell me the code how to connect to that mdb file.
    The mdb file name is "db.mdb" and i am using a jsp page through which a servlet will be communicated. in servlet i am not able to connect to this mdb file.
    Reply asap.
    Sasi .

    DrClap wrote:
    duffymo wrote:
    Then I'd put it in my CLASSPATH. Maybe WEB-INF/classes.I'm not sure that I like the idea of the database being inside the web application's context. When you deploy a new version of the application, wouldn't that be a problem? My answer to "Where do I place the MDB in the web application" would be "Anywhere but there".DrClap, I'm embarrassed to read this, because you're only too correct. Thanks for the correction.
    When you think about it, your advice makes a great deal more sense. Any database BUT Access would be on a separate server (e.g., Oracle, MySQL, SQL Server, etc.) Why wouldn't that be a good idea for Access, too?
    On the other hand if it's a read-only database that would be different.You're too gracious to leave me this out. I throw myself on the mercy of the court for being a dumb ass. 8)
    %

  • One of the web application is sudendly consumming high cpu usage.

    hi
    there are two web application running on the the standlone server.one of the web application is sudendly consumming high cpu usage. because of this issue, the entire cpu usages become very high and result in HTTP THROTTLING error. please suggest ways to
    resolve this problem.
    in the same standlone server, what are the service that must not run or minimum services that are required.
    server:-
    48 gb ram,
    8 core processor
    thanks in advanced

    Hi jackhill,
    Please check whether you configure Search service in your SharePoint.
    And please use Taskmgr on the server to check which process may be cause this issue.
    In addition, there is an article about high CPU in SharePoint 2013, please check if it is useful for you:
    https://speverything.wordpress.com/2013/03/12/sharepoint-2013-high-cpu-and-memory-utilization-killing-my-server/
    Thanks,
    Wendy
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Cisco Media Hub - Waiting for Media Information on the web application

    Good afternoon, I just installed the Media Hub on my Mac. I find the flac music on the media hub through the finder and the web application from media hub (in the configuration settings). Until now I don't see any information concerning the songs on the web application itself (they say that one has to wait several hours until the refresh process of the web application is through). I use kinsky desktop for my hifi (linn majic ds) and the MplayerX on my Mac.
    - Does anyone has the same problems with waiting for the update of the media information on the web application
    - Which software do you recommend for managing your media (mp3, wmv, flac)
    Many thanks for your feedback, A.

    Hi Archimedes76,
        I use windows media player to manage my music files. Regarding your music file info issue, sometimes I do have to restart my media hub so that it'll re-index the files especially if I transferred a lot of new media. If after a restart and waiting for a few hours while the media rescan and reindex files doesn't work for you then you might try to read this. I found it on the linksys support page though the example shown there is  a windows PC.
         Hope this helps!

  • System.IO.FileNotFoundException: The Web application at ..not found - when getting document versions in a doc lib

    i have created a    asmx file using vs 2012 4.5 framework, and published to my d:\  drive  and mapped to a  iis  web site
    but when i trued to consume this from a another web appln, it throws me the below error:
     System.IO.FileNotFoundException: The Web application at http://srvr:4000/sites/mysitecollec could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a
    new request URL mapping to the intended application.
       at Microsoft.SharePoint.SPSite.LookupSiteInfo(SPFarm farm, Boolean contextSite, Boolean swapSchemeForPathBasedSites, Uri& requestUri, Boolean& lookupRequiredContext, Guid& applicationId, Guid& contentDatabaseId, Guid& siteId,
    Guid& siteSubscriptionId, SPUrlZone& zone, String& serverRelativeUrl, Boolean& hostHeaderIsSiteName, Boolean& appWebRequest, String& appHostHeaderRedirectDomain, String& appSiteDomainPrefix, String& subscriptionName, String&
    appSiteDomainId, Uri& primaryUri)
       at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, Boolean swapSchemeForPathBasedSites, SPUserToken userToken)
       at Microsoft.SharePoint.SPSite..ctor(SPFarm farm, Uri requestUri, Boolean contextSite, SPUserToken userToken)
       at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
       at FetchlatestDocDet6Jan.FetchLatestDoc6Jan.<>c__DisplayClass1.<FetchLatestDocVer>b__0() in d:\PublishWSFetchLatestDoc6Jan.asmx.cs:line 41
       at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()
       at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)
       at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)
       at FetchlatestDocDet6Jan.FetchLatestDoc6Jan.FetchLatestDocVer(String fileName, String processID, String subProcessId) in d:\PublishedWS\FetchLatestDoc6Jan.asmx.cs:line 35
    [WebMethod]
            public DataTable FetchLatestDocVer(string fileName,string processID,string subProcessId)
                DataTable dtFiles = new DataTable("File Details");
                dtFiles.Columns.Add("File Name");
                dtFiles.Columns.Add("File Version");
                dtFiles.Columns.Add("File Url");
                SPSecurity.RunWithElevatedPrivileges(delegate()
                    // implementation details omitted       
                //using (SPSite mySite = new SPSite(siteUrl))
                using (SPSite mySite = new SPSite("http://srvr:4000/sites/mysitecoll"))
                    using (SPWeb myWeb = mySite.OpenWeb())
                        SPList oList = myWeb.Lists["TEST DOC LIB "];
                        SPView oView = oList.Views["All Documents"];                  // SPQuery oQuery = new SPQuery(oView);
                        SPQuery oQuery = new SPQuery();
                        string query = "<Query><Where><And><Eq><FieldRef Name=Title/>" + "<Value Type=Text>" + fileName + "</Value></Eq>"
                                        +"<Eq><FieldRef Name=ProcessID /><Value Type=Text>"+processID+"</Value></Eq>"
                                        +"<Eq><FieldRef Name=SubProcessID /><Value Type=Text>"+subProcessId+"</Value></Eq>"
                                        +"</And></Where></Query>";
                        oQuery.Query = query;                    
                        oQuery.ViewAttributes = "Scope=\"Recursive\"";
                        SPListItemCollection collListItemsAvailable =
                         oList.GetItems(oQuery);
                        foreach (SPListItem oListItemAvailable in collListItemsAvailable)
                           // Console.WriteLine(oListItemAvailable["Name"].ToString());
                            SPFileVersionCollection versions = oListItemAvailable.File.Versions;
                            // If the file has versions, loop through all of the versions
                            if (versions != null)
                                if (versions.Count > 0)
                                    foreach (SPFileVersion version in versions)
                                     //   Console.WriteLine("Version Info:: {0}, {1}", version.VersionLabel, version.Url);
                                        DataRow dr = dtFiles.NewRow();
                                        dr[0] = oListItemAvailable["Name"].ToString();
                                    //Added data to the datatable
                                else
                                  //  Console.WriteLine("Version Info:: {0}, {1}", oListItemAvailable.File.UIVersionLabel, oListItemAvailable.File.Url);
                                    DataRow dr = dtFiles.NewRow();
                                    dr[0] = oListItemAvailable["Name"].ToString();
                                    dr[1] = oListItemAvailable.File.UIVersionLabel;
                                    dr[2] = oListItemAvailable.File.Url;
                                    dtFiles.Rows.Add(dr);
                return dtFiles;

    "The Web application at http://server:port/ could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing
    content, the system administrator may need to add a new request URL mapping to the intended application"
    Here are the most common reasons this error can occur:
    The code is executed on a different machine - The SharePoint object model (except the Client API) requires to be run on the SharePoint server itself. It is not possible to run the application on a server which is not within the same
    SharePoint farm the code is trying to access.
    Insufficient Rights on the site collection - The code is executed in context of an account which does not have read permission on the site collection
    Incorrect Url being used - Verify that the site works correct in a browser and double check that the server is correct registered in the AAM settings
    Incorrect bitness - The SharePoint object model needs to be executed with the same bitness as the operating system. That means you cannot use the SharePoint object model in a 32-bit application if the Operating System and SharePoint
    are installed as 64-bit version. Ensure to compile the project using the correct bitness (64-bit on a 64-bit machine vs. 32-bit on a 32-bit machine)
    Incorrect .NET framework version -  Ensure that the project is configured to use .NET 3.5. .NET 4.0 cannot be used with the current versions of SharePoint
    from Mr.Stefan's post, i have checked with my code : as per the first reason: (1)
    i am running the code from my  SP 2013 machine only. but the only difference is that, i am using a  asp.net web appln and have added a SP references of 15 hive and trying to make a  lists.asmx file.
    also checked the reasons
    2,3 ,4 ,5 all are  fine from my end.
    here just wanna know: abt the below approach : whether its Correct or NOT.
    create a plain GetDocsWebService.asmx file from asp.net 3.5 framework and  write the code for retrieving items from doc.lib using SPSite, spweb, splists, xmldocument and retrieve a datatable . [[[ i have added a web reference of sp 2013 microsoft.sharepoint
    dll from  isapi folder, in this GetDocsWebService.asmx project ]]
    i deployed this web service on my SP server's  new iis site, c:\inetpub\wwwroot\GETDOCSPUBLISH  site
    now, at present , am adding a  normal asp.net 4.5 web appln and add the  web reference of this custom web service and trying to consume.
    at this point am getting mulitpl errors: like
    1) platform not supported : am stuck with this error!!
    2) sometimes, am getting document not valid...<html> <head> document not valid........</html>
    for the above 2 errorrs, i still could not able to find a solution!!
    is it because, lists.asmx is not supported in sp 2013? we need to depend on rest-api/ecma/csom ?? 
    so my question is ,  what should be the correct ad most recommended approach  for reading doc lib/ splist  records/items from a  remote macihne.

  • How to solve Error SPSite - The Web application at address could not be found

    Hello,
    I am trying to find out the internal name of a custom SharePoint list columns, for this I have used following code snippet in my
    console application but getting below error. The site I am accessing is a public SharePoint web site. This code is working
    well with my local host site and i am able to get the internal names of any list columns but don't understand why this is failing with
    public SharePoint site
    For avoiding this issue I have done following steps:
    1.Rebuild the application
    2.changed the  platform target as "Any CPU"
    3.Visual studio and this public site is working in my admin account, but still I am getting the error!
    I use visual studio 2010 and SharePoint 2010
    please note the error I am getting
    Error : The Web application at https://public.sp.a5-group.com/ could not be found. Verify that you have typed the URL correctly.
    If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application
    Code Snippet
    static void Main(string[] args)
    using (SPSite Site = new SPSite("https://public.sp.a5-group.com/"))
    using (SPWeb web = Site.RootWeb)
    SPList splst = web.Lists["ListCard"];
    foreach (var field in splst.Fields)
    bool isHidden = splst.Fields[field.ToString()].Hidden;
    if (!isHidden)
    string internalName = splst.Fields[field.ToString()].InternalName; //This will give you the internal column name.
    Console.WriteLine(internalName);
    Console.ReadLine();

    I thin you need to have sharepoint installed on same computer and URL should be working on this computer.
    If this URL WEB APP is in your IISsite try to create disableloopbackcheck registry which should be help
    When you use the fully qualified domain name (FQDN) or a custom host header to browse a local Web site that is hosted on a computer that is running Microsoft Internet Information Services (IIS) 5.1 or a later version, you may receive an error
    message 
    http://support.microsoft.com/kb/896861

  • The Web application could not be found

    Hello,
    I have a machine that has s share point portal .
    I create WCF on the same machine and set it on IIS and the identity of application pool is the administrator of machine 
              PlatformTarget : 64 bit ,  Framework : .net 4.5
    I have added sharepoint.dll as refrenece in WCF project.
    The identity 
    I have a method on the WCF :
              public void Test(string siteCollectionURL)
                    SPSite siteCollection = new SPSite(siteCollectionURL);
    When I call this method , I get the following Error :
             The Web application at http://[servername]:9090/sites/Dhofar could not be found. Verify that you have typed the      URL correctly. If the URL should be serving existing content, the system administrator may
    need to add a new request URL mapping to the intended application.
    Iam sure the url is correct  . So how can I solve it
    ASk

    Hi,
    For a better trouble shooting, I suggest you do as the followings:
    You can recreate a new WCF Service for SharePoint to test whether it works.
    More information about how to create WCF Service for SharePoint:
    http://www.thesharepointblog.net/Lists/Posts/Post.aspx?List=815f255a-d0ef-4258-be2a-28487dc9975c&ID=64
    http://msdn.microsoft.com/en-us/library/ff521584(v=office.14).aspx
    Best regards,
    Zhengyu Guo
    Zhengyu Guo
    TechNet Community Support

Maybe you are looking for

  • Reminders is using a different email account than iCloud

    I'm trying to use If This Then That to send an email to the Any.Do email address when I add a reminder to the Reminders app. So my problem comes from the email address that Reminders is linked to. I have two email addresses, one for personal and one

  • So why is Apple ram so expensive????

    I ordered my MPD 8 core with the 2GB and added OWC for more than half the cost. Apple seems to be loosing their own sales as a result of this profit vibe and I'm a shareholder of appl. We all know what the costs should be so why not just make it easy

  • Value table as search help

    Hi Experts, I am new to WebDynpro ABAP. I want to assign a search help to one of the UI elements in WebDynpro ABAP component. The search help is attached as a value table in a domain LAND1. Now while creating an attribute i am creating it from a data

  • Tax - Michigan New Employers FUTA Debt Repayment Tax

    Hi, My client has implemented SAP note 1422655.  The note states to configure unemployment tax type 11 for Michigan state BEFORE applying the instructions of the note.  The configuration for tax type 11 for Michigan were not released to PRD before ap

  • Need help with streams

    Hi all! Just started with an amazing oracle feature STREAMS! Can't you spent 10 minutes and help me to find the solution to my errors. I have a two-node bidirectional replication. If insert at rep1 i see changes at rep2, but when i insert into rep2 n