This topic is locked

.net build errors

12/22/2005 12:35:03 PM
ASPRunner.NET General questions
N
nettit author

I am a new user for asprunner .net. I am attemting to create our 1st app and I am getting .net errors on the build. I only get the errors when I select use codebehind. It seems to work when I don't select codebehind. I prefer code behind. A sample of the error is:
C:\Inetpub\wwwroot\dotnet\StaffEdit\Staff_edit.aspx.vb(279) : error BC30201: Expression expected.
cmd.Parameters.Add("##FILE_NAME_FIELD_PARAM##", ##FILE_NAME_FIELDTYPE##).Value = DBNull.Value

~

C:\Inetpub\wwwroot\dotnet\StaffEdit\Staff_edit.aspx.vb(283) : error BC30201: Expression expected.
cmd.Parameters.Add("##FILE_NAME_FIELD_PARAM##", ##FILE_NAME_FIELDTYPE##).Value = func.TypeCast("", fldDepartmentCode.Text, "##FILE_NAME_FIELDTYPE##")

~

C:\Inetpub\wwwroot\dotnet\StaffEdit\Staffsearch.aspx.vb(472) : error BC30198: ')' expected.
fldHomeUrl.Text, fld2HomeUrl.Text)


~

C:\Inetpub\wwwroot\dotnet\StaffEdit\Staff_search.aspx.vb(488) : error BC30451: Name 'sWhere' is not declared.
If sWhere.Trim() = "" Then


C:\Inetpub\wwwroot\dotnet\StaffEdit\Staff_search.aspx.vb(492) : error BC30451: Name 'sWhere' is not declared.
Session("dbGrid_Staff_AdvWhere") = sWhere.Substring(4)

~~~~~~
Can I use codebehind option with this product?
Thanks

Tom Netti
Eugene 12/23/2005

Could you please zip and send on support@xlinesoft.com the whole content of ASPRunner.NET output folder ( ASPX files, VB files, include files) along with the project file and script that creates databases tables or database dump itself? I'll find what's wrong running it on my test box.