Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/referencesource/System.Web.Extensions/ui/ProfileServiceManager.cs')
-rw-r--r--mcs/class/referencesource/System.Web.Extensions/ui/ProfileServiceManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/mcs/class/referencesource/System.Web.Extensions/ui/ProfileServiceManager.cs b/mcs/class/referencesource/System.Web.Extensions/ui/ProfileServiceManager.cs
index 4dc972c4020..bd0283344c3 100644
--- a/mcs/class/referencesource/System.Web.Extensions/ui/ProfileServiceManager.cs
+++ b/mcs/class/referencesource/System.Web.Extensions/ui/ProfileServiceManager.cs
@@ -97,9 +97,9 @@ namespace System.Web.UI {
}
if (!String.IsNullOrEmpty(serviceUrl)) {
- // DevDiv
-
-
+ // DevDiv Bug 72257:When custom path is set and loadProperties=True, we shouldn't use the default path
+ // loadProperties script always retrieves the properties from default profile provider, which is not correct if ProfileService
+ // points to non default path. Hence throw when non default path and loadProperties both are specified.
if (defaultServicePath == null){
defaultServicePath = scriptManager.ResolveClientUrl("~/" + System.Web.Script.Services.WebServiceData._profileServiceFileName);
}