Posted on 14/06/2007 14:56:22
rjm wrote:
Hi,
Iwe now come so as to publish my custom module to the customers website, but ran into two subjects:
1) Iwe developed the module in C#, but the solution is running on the VB base and when I try to put the module on a paragarph Im getting the following error:
Is there any connection there? or is the error triggerede because of something else?
2) wheres the default.aspx.cs or .vb in this case? Seems like its missing when im FTPing the app dir.
best regards
Regin madsen
Hi Regin
It is true that Dynamicweb is written in VB but it has no effect of the code you do in C#. Try the following:
1) When you ftp to the solution remember to overwrite Default.aspx since it may have a reference to our code:
<%@ Page Language="vb" AutoEventWireup="false" validateRequest="false" Codebehind="Default.aspx.vb" Inherits="Dynamicweb.Admin.Load" codePage="65001"%>
and it should be something like this in your solution:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="CustomModules.Default" %>
2) Make sure you uploaded your assembly (CustomModules.dll) to the /Bin directory.
If it does not work send me the URL of the website you are working on on my e-mail: np@dynamicweb.dk