[simias-svn] SF.net SVN: simias:[7470] trunk/src/core/CollectionStore/Member.cs
Brought to you by:
srinidhi_bs
|
From: <mv...@us...> - 2010-08-18 18:24:17
|
Revision: 7470
http://simias.svn.sourceforge.net/simias/?rev=7470&view=rev
Author: mvikash
Date: 2010-08-18 18:24:11 +0000 (Wed, 18 Aug 2010)
Log Message:
-----------
Message has been added to prompt user about "un supported functionality", when connected from new client OES2SP2beta3 to old server OES2SP1.
Modified Paths:
--------------
trunk/src/core/CollectionStore/Member.cs
Modified: trunk/src/core/CollectionStore/Member.cs
===================================================================
--- trunk/src/core/CollectionStore/Member.cs 2010-08-18 11:44:56 UTC (rev 7469)
+++ trunk/src/core/CollectionStore/Member.cs 2010-08-18 18:24:11 UTC (rev 7470)
@@ -1469,7 +1469,7 @@
Property pNew = new Property(PropertyTags.SecurityStatus, value);
properties.ModifyNodeProperty(pNew);
log.Debug("SetOnMasterEncryptionBlobFlag: committing this value for securitystate: "+value);
- domain.Commit(this);
+ domain.Commit(this);
}
/// <summary>
@@ -1605,13 +1605,13 @@
smConn.InitializeWebClient(svc, "DomainService.asmx");
try
{
- retValue = svc.ChangePasswordOnServer(DomainID, UserID, OldPassword, NewPassword);
+ retValue = svc.ChangePasswordOnServer(DomainID, UserID, OldPassword, NewPassword);
}
- catch (Exception ex)
+ catch (System.Net.WebException ex)
{
- if (ex.Message.IndexOf("Unable to connect") != -1)
+ if (ex.Message.IndexOf("Unable to connect") != -1)
{
- retValue = 9; //Server unavailable
+ retValue = 9; //Server unavailable
}
}
return retValue;
@@ -1664,14 +1664,14 @@
/// </summary>
/// <returns>Returns the name of default iFolder</returns>
public string GetDefaultiFolder()
- {
+ {
try
{
Store store = Store.GetStore();
string DomainID = this.GetDomainID(store);
string UserID = store.GetUserIDFromDomainID(DomainID);
HostNode host = this.HomeServer; //home server
-
+
SimiasConnection smConn = new SimiasConnection(DomainID,
UserID,
SimiasConnection.AuthType.BASIC,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|