Compiler Error Message: CS1501: No overload for method 'GetSLT' takes '1' arguments

Jul 12, 2010 at 4:38 PM

Final Step of testemailredirect process yields above compiler error.  Same error displays if I use the emaildirect.jsp by clicking the email icon.

Full error display is:

Server Error in '/SSOPortal' Application.
--------------------------------------------------------------------------------

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1501: No overload for method 'GetSLT' takes '1' arguments

Source Error:

 

Line 88:
Line 89:                     LiveSLT ticket = new LiveSLT(certThumb, siteID, webProxy, loginSeconds);
Line 90:                     string slt = ticket.GetSLT(liveMail);
Line 91:
Line 92:                     if ((String.IsNullOrEmpty(slt)) || (!ticket.Success))
 

Source File: e:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx.cs    Line: 90



Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ssoportal\b563bead\e38b11a6\App_Code.sr_54dri.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.DirectoryServices\2.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ssoportal\b563bead\e38b11a6\App_Web_tsmgn9ds.dll" /D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699;1701  "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ssoportal\b563bead\e38b11a6\App_Web_tsmgn9ds.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ssoportal\b563bead\e38b11a6\App_Web_tsmgn9ds.1.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ssoportal\b563bead\e38b11a6\App_Web_tsmgn9ds.2.cs"


Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.3053
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

e:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx.cs(90,34): error CS1501: No overload for method 'GetSLT' takes '1' arguments
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ssoportal\b563bead\e38b11a6\App_Code.sr_54dri.dll: (Location of symbol related to previous error)
e:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx.cs(98,37): error CS1501: No overload for method 'CreateRedirectString' takes '2' arguments
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\ssoportal\b563bead\e38b11a6\App_Code.sr_54dri.dll: (Location of symbol related to previous error)

 



Show Complete Compilation Source:


Line 1:    #pragma checksum "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "7D0C25009ACCFDF4D4B3ACABADCD5C6F"
Line 2:    //------------------------------------------------------------------------------
Line 3:    // <auto-generated>
Line 4:    //     This code was generated by a tool.
Line 5:    //     Runtime Version:2.0.50727.3603
Line 6:    //
Line 7:    //     Changes to this file may cause incorrect behavior and will be lost if
Line 8:    //     the code is regenerated.
Line 9:    // </auto-generated>
Line 10:   //------------------------------------------------------------------------------
Line 11:   
Line 12:   
Line 13:   
Line 14:   public partial class Redirect : System.Web.SessionState.IRequiresSessionState {
Line 15:       
Line 16:       
Line 17:       #line 14 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 18:       protected global::System.Web.UI.WebControls.Label lblError;
Line 19:       
Line 20:       #line default
Line 21:       #line hidden
Line 22:       
Line 23:       
Line 24:       #line 9 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 25:       protected global::System.Web.UI.HtmlControls.HtmlForm form1;
Line 26:       
Line 27:       #line default
Line 28:       #line hidden
Line 29:       
Line 30:       protected System.Web.Profile.DefaultProfile Profile {
Line 31:           get {
Line 32:               return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
Line 33:           }
Line 34:       }
Line 35:       
Line 36:       protected System.Web.HttpApplication ApplicationInstance {
Line 37:           get {
Line 38:               return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
Line 39:           }
Line 40:       }
Line 41:   }
Line 42:   namespace ASP {
Line 43:       
Line 44:       #line 333 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 45:       using System.Web.Profile;
Line 46:       
Line 47:       #line default
Line 48:       #line hidden
Line 49:       
Line 50:       #line 328 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 51:       using System.Text.RegularExpressions;
Line 52:       
Line 53:       #line default
Line 54:       #line hidden
Line 55:       
Line 56:       #line 330 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 57:       using System.Web.Caching;
Line 58:       
Line 59:       #line default
Line 60:       #line hidden
Line 61:       
Line 62:       #line 326 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 63:       using System.Configuration;
Line 64:       
Line 65:       #line default
Line 66:       #line hidden
Line 67:       
Line 68:       #line 325 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 69:       using System.Collections.Specialized;
Line 70:       
Line 71:       #line default
Line 72:       #line hidden
Line 73:       
Line 74:       #line 14 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 75:       using System.Web.UI.WebControls.WebParts;
Line 76:       
Line 77:       #line default
Line 78:       #line hidden
Line 79:       
Line 80:       #line 337 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 81:       using System.Web.UI.HtmlControls;
Line 82:       
Line 83:       #line default
Line 84:       #line hidden
Line 85:       
Line 86:       #line 14 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 87:       using System.Web.UI.WebControls;
Line 88:       
Line 89:       #line default
Line 90:       #line hidden
Line 91:       
Line 92:       #line 334 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 93:       using System.Web.UI;
Line 94:       
Line 95:       #line default
Line 96:       #line hidden
Line 97:       
Line 98:       #line 324 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 99:       using System.Collections;
Line 100:      
Line 101:      #line default
Line 102:      #line hidden
Line 103:      
Line 104:      #line 323 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 105:      using System;
Line 106:      
Line 107:      #line default
Line 108:      #line hidden
Line 109:      
Line 110:      #line 332 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 111:      using System.Web.Security;
Line 112:      
Line 113:      #line default
Line 114:      #line hidden
Line 115:      
Line 116:      #line 329 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 117:      using System.Web;
Line 118:      
Line 119:      #line default
Line 120:      #line hidden
Line 121:      
Line 122:      #line 331 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 123:      using System.Web.SessionState;
Line 124:      
Line 125:      #line default
Line 126:      #line hidden
Line 127:      
Line 128:      #line 327 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config"
Line 129:      using System.Text;
Line 130:      
Line 131:      #line default
Line 132:      #line hidden
Line 133:      
Line 134:      
Line 135:      [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
Line 136:      public class public_redirect_aspx : global::Redirect, System.Web.IHttpHandler {
Line 137:          
Line 138:          private static bool @__initialized;
Line 139:          
Line 140:          private static object @__fileDependencies;
Line 141:          
Line 142:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 143:          public public_redirect_aspx() {
Line 144:              string[] dependencies;
Line 145:              
Line 146:              #line 912304 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx.cs"
Line 147:              ((global::System.Web.UI.Page)(this)).AppRelativeVirtualPath = "~/Public/Redirect.aspx";
Line 148:              
Line 149:              #line default
Line 150:              #line hidden
Line 151:              if ((global::ASP.public_redirect_aspx.@__initialized == false)) {
Line 152:                  dependencies = new string[2];
Line 153:                  dependencies[0] = "~/Public/Redirect.aspx";
Line 154:                  dependencies[1] = "~/Public/Redirect.aspx.cs";
Line 155:                  global::ASP.public_redirect_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
Line 156:                  global::ASP.public_redirect_aspx.@__initialized = true;
Line 157:              }
Line 158:              this.Server.ScriptTimeout = 30000000;
Line 159:          }
Line 160:          
Line 161:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 162:          private global::System.Web.UI.HtmlControls.HtmlTitle @__BuildControl__control3() {
Line 163:              global::System.Web.UI.HtmlControls.HtmlTitle @__ctrl;
Line 164:              
Line 165:              #line 6 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 166:              @__ctrl = new global::System.Web.UI.HtmlControls.HtmlTitle();
Line 167:              
Line 168:              #line default
Line 169:              #line hidden
Line 170:              System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
Line 171:              
Line 172:              #line 6 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 173:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("Live Mail SSO Redirection Page"));
Line 174:              
Line 175:              #line default
Line 176:              #line hidden
Line 177:              return @__ctrl;
Line 178:          }
Line 179:          
Line 180:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 181:          private global::System.Web.UI.HtmlControls.HtmlHead @__BuildControl__control2() {
Line 182:              global::System.Web.UI.HtmlControls.HtmlHead @__ctrl;
Line 183:              
Line 184:              #line 5 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 185:              @__ctrl = new global::System.Web.UI.HtmlControls.HtmlHead("head");
Line 186:              
Line 187:              #line default
Line 188:              #line hidden
Line 189:              global::System.Web.UI.HtmlControls.HtmlTitle @__ctrl1;
Line 190:              
Line 191:              #line 5 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 192:              @__ctrl1 = this.@__BuildControl__control3();
Line 193:              
Line 194:              #line default
Line 195:              #line hidden
Line 196:              System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
Line 197:              
Line 198:              #line 5 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 199:              @__parser.AddParsedSubObject(@__ctrl1);
Line 200:              
Line 201:              #line default
Line 202:              #line hidden
Line 203:              return @__ctrl;
Line 204:          }
Line 205:          
Line 206:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 207:          private global::System.Web.UI.WebControls.Label @__BuildControllblError() {
Line 208:              global::System.Web.UI.WebControls.Label @__ctrl;
Line 209:              
Line 210:              #line 14 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 211:              @__ctrl = new global::System.Web.UI.WebControls.Label();
Line 212:              
Line 213:              #line default
Line 214:              #line hidden
Line 215:              this.lblError = @__ctrl;
Line 216:              @__ctrl.ApplyStyleSheetSkin(this);
Line 217:              
Line 218:              #line 14 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 219:              @__ctrl.ID = "lblError";
Line 220:              
Line 221:              #line default
Line 222:              #line hidden
Line 223:              
Line 224:              #line 14 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 225:              @__ctrl.Font.Bold = true;
Line 226:              
Line 227:              #line default
Line 228:              #line hidden
Line 229:              
Line 230:              #line 14 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 231:              @__ctrl.ForeColor = System.Drawing.Color.Red;
Line 232:              
Line 233:              #line default
Line 234:              #line hidden
Line 235:              
Line 236:              #line 14 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 237:              @__ctrl.Text = "";
Line 238:              
Line 239:              #line default
Line 240:              #line hidden
Line 241:              return @__ctrl;
Line 242:          }
Line 243:          
Line 244:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 245:          private global::System.Web.UI.HtmlControls.HtmlForm @__BuildControlform1() {
Line 246:              global::System.Web.UI.HtmlControls.HtmlForm @__ctrl;
Line 247:              
Line 248:              #line 9 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 249:              @__ctrl = new global::System.Web.UI.HtmlControls.HtmlForm();
Line 250:              
Line 251:              #line default
Line 252:              #line hidden
Line 253:              this.form1 = @__ctrl;
Line 254:              
Line 255:              #line 9 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 256:              @__ctrl.ID = "form1";
Line 257:              
Line 258:              #line default
Line 259:              #line hidden
Line 260:              System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
Line 261:              
Line 262:              #line 9 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 263:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n        <div>\r\n            Microsoft Live Single Sign-On cannot be completed at" +
Line 264:                          " this time. Please return to\r\n            the school portal to access your email" +
Line 265:                          ".<br />\r\n            <br />\r\n            "));
Line 266:              
Line 267:              #line default
Line 268:              #line hidden
Line 269:              global::System.Web.UI.WebControls.Label @__ctrl1;
Line 270:              
Line 271:              #line 9 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 272:              @__ctrl1 = this.@__BuildControllblError();
Line 273:              
Line 274:              #line default
Line 275:              #line hidden
Line 276:              
Line 277:              #line 9 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 278:              @__parser.AddParsedSubObject(@__ctrl1);
Line 279:              
Line 280:              #line default
Line 281:              #line hidden
Line 282:              
Line 283:              #line 9 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 284:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("</div>\r\n    "));
Line 285:              
Line 286:              #line default
Line 287:              #line hidden
Line 288:              return @__ctrl;
Line 289:          }
Line 290:          
Line 291:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 292:          private void @__BuildControlTree(public_redirect_aspx @__ctrl) {
Line 293:              
Line 294:              #line 1 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 295:              this.InitializeCulture();
Line 296:              
Line 297:              #line default
Line 298:              #line hidden
Line 299:              System.Web.UI.IParserAccessor @__parser = ((System.Web.UI.IParserAccessor)(@__ctrl));
Line 300:              
Line 301:              #line 1 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 302:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3" +
Line 303:                          ".org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/199" +
Line 304:                          "9/xhtml\">\r\n"));
Line 305:              
Line 306:              #line default
Line 307:              #line hidden
Line 308:              global::System.Web.UI.HtmlControls.HtmlHead @__ctrl1;
Line 309:              
Line 310:              #line 1 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 311:              @__ctrl1 = this.@__BuildControl__control2();
Line 312:              
Line 313:              #line default
Line 314:              #line hidden
Line 315:              
Line 316:              #line 1 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 317:              @__parser.AddParsedSubObject(@__ctrl1);
Line 318:              
Line 319:              #line default
Line 320:              #line hidden
Line 321:              
Line 322:              #line 1 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 323:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n<body>\r\n    "));
Line 324:              
Line 325:              #line default
Line 326:              #line hidden
Line 327:              global::System.Web.UI.HtmlControls.HtmlForm @__ctrl2;
Line 328:              
Line 329:              #line 1 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 330:              @__ctrl2 = this.@__BuildControlform1();
Line 331:              
Line 332:              #line default
Line 333:              #line hidden
Line 334:              
Line 335:              #line 1 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 336:              @__parser.AddParsedSubObject(@__ctrl2);
Line 337:              
Line 338:              #line default
Line 339:              #line hidden
Line 340:              
Line 341:              #line 1 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx"
Line 342:              @__parser.AddParsedSubObject(new System.Web.UI.LiteralControl("\r\n</body>\r\n</html>\r\n"));
Line 343:              
Line 344:              #line default
Line 345:              #line hidden
Line 346:          }
Line 347:          
Line 348:          
Line 349:          #line 912304 "E:\inetpub\wwwroot\SSOPortal\Public\Redirect.aspx.cs"
Line 350:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 351:          protected override void FrameworkInitialize() {
Line 352:              base.FrameworkInitialize();
Line 353:              this.@__BuildControlTree(this);
Line 354:              this.AddWrappedFileDependencies(global::ASP.public_redirect_aspx.@__fileDependencies);
Line 355:              this.Request.ValidateInput();
Line 356:          }
Line 357:          
Line 358:          #line default
Line 359:          #line hidden
Line 360:          
Line 361:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 362:          public override int GetTypeHashCode() {
Line 363:              return 811019769;
Line 364:          }
Line 365:          
Line 366:          [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 367:          public override void ProcessRequest(System.Web.HttpContext context) {
Line 368:              base.ProcessRequest(context);
Line 369:          }
Line 370:      }
Line 371:  }
Line 372:
 

Jul 13, 2010 at 3:57 PM

Was using older version of St. John's kit.  Downloaded new version (April) and found changed emaildirect and testsendredirect files. Used them instead, and eliminated this error.