.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Easy Web
Imran Ghani
Post New Web Links

ARR (Application Request Routing) doesn't work in SharePoint 2010 web application?

Posted By:      Posted Date: April 10, 2011    Points: 0   Category :C#
 

I'm trying to map a sub folder of a SharePoint 2010 web application to an asp.net web application on another server. For example, http://sharepointserver is a SharePoint 2010 web application and http://anotherserver/mapping is a non-sharepoint asp.net web site, and I want user access content of http://anotherserver/mapping via url http://sharepointserver/mapping.

What I did is:

1. I installed ARR 2.0 on Windows Sever 2008 R2 server which is hosting the SharePoint 2010 web application.

2. I enabled the server proxy in ARR module.

3. I defined a rule in SharePoint 2010 web application to catch request match mapping* and rewrite to url http://anotherserver/mapping{R:1}.

I will always get "404 NOT FOUND" error when I trying to access the url http://sharepointserver/mapping.

But if I do the same on a non-sharepoint website on the sharepoint server, it works, and it even works if I try on a SharePoint 2007 web application.

And if I use Redirect instead of Rewrite, it also works.

Anyone can help one this?

 




View Complete Post


More Related Resource Links

SharePoint 2010: Application Lifecycle Management (ALM) Resource Center

  
Are you looking for information about BCS? BCS enables users to read and write data from external systems-through web services, databases, and .NET assemblies.

Overview of the Fluid Application Model in SharePoint Foundation 2010

  
Discover how the Fluid Application Model, new in SharePoint Foundation 2010, gives you the power to add non-SharePoint applications to your Web Parts.

Video: Accessing SharePoint 2010 Data from a .NET Application

  
This demonstration shows how to use the client object model from a Windows Presentation Foundation application. (Length: 5:26)

Video: Business Connectivity Services for SharePoint 2010 Application Programming Interface (API)

  
This video provides an overview of development with Business Connectivity Services. (Length: 3:07)

How to develop Common Content or Application pages in Sharepoint 2010, with respect to the customiz

  
  I have a top level site and subsites (which might be around 10). Where as the top level site represents a common landing page and each sub site represents a client site to which user will be directed upon login. This is a PUBLISHING web site. I need to design to start with common pages across all clients and if there is a need let the client to customize the common page accroding to their need. This is a PUBLISHING site so all these common pages should have Web parts zones with authoring capabilities. What is the best way of achieving this?    

User Profile Application Failing in SharePoint 2010 (14.0.4514.1004)

  
I keep getting the following error "This User Profile Application's connection is currently not available. The Application Pool or User Profile Service may not have been started. Please contact your administrator.". As sugested by Travis at http://blogs.pointbridge.com/Blogs/nielsen_travis/pages/default.aspx I tried commenting the two security nodes, removing its' allowInsecureTransport attributes, and setting then False. As Lionel wrote in his comment I tried also modifying "Central Administration / Application Management / Configure service application associations / Application Proxy Group" of my share point web application. My application pool for User Profile Service Application seems working and User Profile Service status is Started.One thing I remember about my issue, first I tried creating User Profile Service Application I got some error message and tried creating User Profile Service Application again. It gave me some other exception and than I navigated somehow to the "Manage service applications" page and there the desired User Profile Service Application was magically on the list with status Started. I thought - that's great! But when I clicked the User Profile Service Application link I got the nasty red error I mentioned at the beginning. Any ideas?Regards,Dawid Ireno

SharePoint 2010 Search Service Application: "All Content" scope contains 0 items?

  
I've encountered a nasty bug in our setup. Our Search Service Application manages to crawl all content just fine. However, the scopes don't work. We've got a total of 570 items currently in our crawl database. 350 of these are of class 'People', and appear in the 'People' scope. The remaining 220 items should appear in 'All Content' as part of the intra (sites, documents etc), however the 'All Content' scope reports 0 items. I've tried the following: -Creating custom scopes (still 0 items) -Recreating the Search Service Application twice -Tried different accounts as the content access account. -Ensuring that the content access accounts do have 'full read policy' -Checked the crawl log for successful content (such as sites and documents). However, despite my efforts I still get 0 items for 'All Content'.  Has anyone else encountered this problem, or do you have any recommendation for us? Currently I don't see any other option than to reinstall everything.

problem rename sharepoint 2010 search service application admin database

  
Hi all, i have a problem that hopefully someone has an answer to.  i am not too familiar with sharepoint so please excuse my ignorance. we have sharepoint 2010 on a windows 2008r2 server.  everything seems to work fine.  but as you know, the default database names are horrendous.  i have managed to rename all of them, except for the "search service application" admin database. the default is: Search_Service_Application_DB_<guid> the other 2 databases (crawl and property) were renamed without a problem. we are following the article from technet on how to rename the search service admin db (http://technet.microsoft.com/en-nz/library/ff851878%28en-us%29.aspx).  it says to enter the following command: $searchapp | Set-SPEnterpriseSearchServiceApplication -DatabaseName "new database name" -DatabaseServer "dbserver" however, i get an error about identity being null.  no big deal, i add the -Identity switch and the name of my search service application.  but the real problem comes the error it throws:   Set-SPEnterpriseSearchServiceApplication : The requested database move was aborted as the associated search application is not paused. At line:1 char:54 + $searchapp | Set-SPEnterpriseSearchServiceApplication <<<<  -Identity "Search Service Application" -DatabaseName "ShareP

How to Programatically SetCredentials for Secure Store Service Application in Sharepoint 2010 using

  
I have to setup Credentials for Secure Store Service application programatically. To get Stored Credentials I have following code and its working fine. using (SPSite site = new SPSite("http://vtlssp2010Dev")) //using (SPSite site = new SPSite("http://" + System.Environment.MachineName + "/sites/Site_Name"))d { Console.WriteLine(site.RootWeb.CurrentUser.Name); SPServiceContext context = SPServiceContext.GetContext(site); prov.Context = context; try { SecureStoreCredentialCollection cc = prov.GetCredentials(appID); foreach (SecureStoreCredential c in cc) { IntPtr ptr = System.Runtime.InteropServices.Marshal.SecureStringToBSTR(c.Credential); string sDecrypString = System.Runtime.InteropServices.Marshal.PtrToStringUni(ptr); Console.WriteLine(sDecrypString); } } catch (Exception ex) { Console.WriteLine("Unable to get credentials for application " + appID); Console.WriteLine(ex.Message); } Console.ReadLine(); } } All I want is to programmatically do set credentials like explained in this example on msdn. http://msdn.microsoft.com/en-us/library/ff798456.aspx Please help. Shamshad Ali  

Search Service Application missing in SharePoint 2010

  
I installed SharePoint 2010 (Enterprise edition), enabled Enterprise features but it is missing Search Service Application when I look under Central Administration > Application Management > Manage Service Application.   When I click on New it doesn't even list "Search Service Application".    When I goto Upgrade and Patch Management > Check Product and Patch Installation Status, it tells me that "Microsoft Search Server 2010 Core" was Installed.  Under Manage services of server, "Sharepoint Foundation Search" is started.  Does anyone have an idea why the "Search Service Application" is missing and how can I install it?

Search Service Application missing in SharePoint 2010

  
I installed SharePoint 2010 (Enterprise edition), enabled Enterprise features but it is missing Search Service Application when I look under Central Administration > Application Management > Manage Service Application.   When I click on New it doesn't even list "Search Service Application".    When I goto Upgrade and Patch Management > Check Product and Patch Installation Status, it tells me that "Microsoft Search Server 2010 Core" was Installed.  Under Manager services of server, "Sharepoint Foundation Search" is started.  Does anyone have an idea why the "Search Service Application" is missing and how can I install it?

SharePoint 2010 -Shared service Application

  
Hi ,   Can yoy provide me an article to manually configure services one by one in SharePoint 2010 farm?   Best Regards, Garima

an unhandled exception occurred in the silverlight application sharepoint 2010

  
An unhandled exception occurred on the page when Try to create the Announcement List in SP 2010 site which is upgraded from SP 2007,Any body have faced this issue?

Configuring Fast Search in Sharepoint 2010 using third party application.

  
Hi All, Can some one please let me know how to configure FAST search with sharepoint 2010 using third party application in detailed manner. Thanks in advance.  Regards, Krishna Chaitanya

How to add Sharepoint dll reference to Windows Forms application project in Visual Studio 2010?

  
Hi,I am using Windows Forms application template in Visual Studio 2010 Beta. I created this for some R & D work. Now I am using Sharepoint object model in application. When I am trying to add Sharepoint dll reference from .NET tab, I can not see Windows Sharepoint Services there Which was available in Visual Studio 2005.Also If I am add this sharepoint dll from ISAPI folder (14 Hive), it is added succesfully, but it is not taking actually in project and showing me an error during running mode that theError 12 The type or namespace name 'SharePoint' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) Please suggest me how to add Sharepoint dll reference in Windows forms application in Visual Studio 2010?

SharePoint 2010: PPS Dashboard Designer cannot retrieve application. authentiation error

  

I am getting this error when I try to open the dashboard designer in Sharepoint 2010/PPS.  This is from the out of the box site collection found under http://mywebsite/site/Pages/ppssample.aspx

This used to work.  Whare are the best ways to go about troubleshooting this?

one note? i can connect great via my web server (remote desktop/locally on server) but not from my laptop from my desk.

ERROR DETAILS
 Following errors were detected during this operation.
 * [9/28/2010 3:41:01 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
  - Downloading https://mywebsite/_layouts/ppsma/1033/designer.application?Operation=OpenWebsite&SiteCollection=https://mywebsite/sites/myApp&SiteLocation= did not succeed.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
   at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
   at System.Deployment.Application.FileDownloader.Download(Subsc

Unsupported 16-bit application error during SharePoint 2010 Prerequisites Installation

  

On Windows Server 2008 R2 64-bit when installing SharePoint 2010 Prerequisites, I get the following error on the step "Installing Microsoft Chart Controls for Microsoft .NET Framework 3.5"

Unsupported 16-bit application
The program or feature "\??\C:\Users\AbcdUser\AppData\Local\Temp\ChaE305.tmp.exe" cannot start or run due to incompatibility with 64-bit versions of windows. Please contact the software vendor to ask if a 64-bit compatible version is available.

Can someone please shed a light on how I can get Microsoft Chart Controls for Microsoft .NET Framework 3.5 installed on 64-bit Windows Server 2008 R2, so I can proceed to install remaining prerequisites required by SharePoint 2010?


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend