KB Issue
When adding a Replace Function to our string, we might inadvertently add a comma instead.
Issue Details
Server Error in '/mysite' 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: BC30455: Argument not specified for parameter 'Replacement' of 'Public Function Replace(Expression As String, Find As String, Replacement As String, [Start As Integer = 1], [Count As Integer = -1], [Compare As Microsoft.VisualBasic.CompareMethod = Microsoft.VisualBasic.CompareMethod.Binary]) As String'.

Source Error:
Line 565:
Line 566:For Each row As DataRow In dt.Rows
Line 567: words.Add(Convert.ToString(row("AllKeywords")),Replace(" "," "))
Line 568:Next
Line 569:
Source File: G:\Inetpub\wwwroot\mysite.com\App Code\Editor\Sites\mysitedata.vbLine: 567
Recreate Issue
In our code, we have a comma where a period is supposed to be. ,Replace
Copy
Search Site
Search Google
[ASP.NET - Replace Function with illegal character.]
CFFCS | CarrzSynEdit: | ASP.NET (VB/C#)
For Each row As DataRow In dt.Rows
  words.Add(Convert.ToString(row("AllKeywords")),Replace(" "," "))
Next

Resolve Issue
When adding a replace function to your string, make sure it has a period in it. .Replace
Copy
Search Site
Search Google
[ASP.NET - Replace Function with illegal character.]
CFFCS | CarrzSynEdit: | ASP.NET (VB/C#)
For Each row As DataRow In dt.Rows
  words.Add(Convert.ToString(row("AllKeywords")).Replace(" "," "))
Next