VB .NET Error

I have successfully created an a scheduler in C#, but when I try in VB, I’m getting the error at the .ashx level (cannot create WebPlanning.dbConnector):

Handler:

<%@ WebHandler Language=“VB” CodeBehind=“schedulerConnector.ashx.vb” Class=“WebPlanning.dbConnector” %>

Code (schedulerConnector.ashx.vb):

Namespace WebPlanning
<WebService([Namespace]:=“http://tempuri.org/”)> _
<WebServiceBinding(ConformsTo:=WsiProfiles.BasicProfile1_1)> _
Public Class dbConnector
Inherits dhtmlxRequestHandler
Public Overloads Overrides Function CreateConnector(ByVal context As HttpContext) As IdhtmlxConnector
Dim connector As New dhtmlxSchedulerConnector( _
etc…

I have now replaced the dhtmlxscheduler.js with the latest build found in the forum. In my C# application, it has solved one of the remaining issue, but now in the VB verion, I’m getting:

Error Type: LoadXML
Description: incorrect XML

(I’m using a SQL Server database…)

Most likely error:
Error Type: LoadXML
Description: incorrect XML
is caused by the fact that connector is not working, so instead on valid XML scheduler receives standard asp.net error page.
Connector 's problem in its turn most likely is caused by compiler issues. You may have missed “imports” statements or something like that. To get detailed error description you may try to create plain aspx page and add connector initialization code in there. “Build” action will show you all errors/warnings.

And where can I find that code please ?

Just take your VB code that doesn’t work and copy it to ordinary aspx.vb page. This is necessary for compiler to show all errors you made in Web Handler file. After that when all errors are solved, you can copy code and all the necessary “imports” statements back to your ashx file.