2009年4月14日 星期二

AgilePoint - SPCommon Can not Find

Problem:

Log Name:      Application
Source:        SPCommon.GetAdminService({MACHINE_NAME}\Administrator)
Date:          4/14/2009 9:56:45 AM
Event ID:      0
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      {MACHINE_NAME}
Description:
The description for Event ID 0 from source SPCommon.GetAdminService({MACHINE_NAME}\Administrator) cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

 

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Message: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Exception: 1DCED31183B04261896B23C4452276F1_AGILEPOINTUser ‘{MACHINE_NAME}\Administrator' is not impersonator for the application='SPSIntegration' on machine='{MACHINE_NAME}', please contact system administrator.AGILEPOINT_1DCED31183B04261896B23C4452276F1
   at Ascentn.Workflow.Service.Admin.RaiseSoapException(String message)
   at Ascentn.Workflow.Service.Admin.Surrogate(String userName)
   --- End of inner exception stack trace ---

 

Solution:

Add impersonate in AgilePoint Server Configuration.

2009-04-14_112558

2009年4月13日 星期一

Path of stsadm

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN

2009年4月2日 星期四

Enable Globalization and Localization for ScriptManager

<asp:scriptmanager runat="server" id="SC1" EnableScriptGlobalization="true" EnableScriptLocalization="true" />


Without this, AJAX control will not have capability to globalize or localize.

2009年3月3日 星期二

Callback manually

Usually we use __doPostBack(‘’,’’); for manually do PostBack action in our ASP.NET code, but if you use this function in an AJAX enable page, you won’t get any benefit from UpdatePanel, your UI will still get flash every you call __doPostBack().

Now, try to call __doPostBack() in the other way: setTimeout('__doPostBack(\'\',\'\')', 0);

Use javascript function setTimeout instead call __doPostBack directly then you won’t see any UI flash now. :-)