title: Invalid URI: The URI is empty error
body: <p>When initially an Exposure is raised through our sharepoint 2010 web application an email will be sent to the customer with URL to access the page and Approve the Exposure.</p>
  
  <p>If Customer does not approve within 15 days, an another email will be triggered from an emailtimer job scheduled in Sharepoint 2010.</p>
  
  <p>The URL sent to Customer in email should have full application URL in both the cases.</p>
  
  <p>Currently, the mail sent through application has the URL as "<a href="http://localhost/pages/exposure.aspx?req=1" rel="nofollow">http://localhost/pages/exposure.aspx?req=1</a>"</p>
  
  <p>However, through the job I get an error " Invalid URI: The URI is empty".</p>
  
  <p>How do I achieve to have the correct URLs in both the cases. Please help.</p>
  
  <p>My code looks like this.</p>
  
  <pre><code>string webUrl = SPContext.Current.Web.Url;
  string awebUrl = "/pages/Exposures.aspx";
  SPSite site = new SPSite(webUrl);
  string obsoluteUrl = site.MakeFullUrl(awebUrl);
                      objRepeatingTokenList.Add(ExposureEmailTemplateTokenName.TokenExposureURL, string.Format("{0}?mode=View&amp;RequestId={1}",obsoluteUrl , requestId));
  </code></pre>