Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Aug 11, 2005 07:27 AM by GenX
Member
5 Points
1 Post
Aug 11, 2005 07:27 AM|LINK
I found this tutorial very useful. I learned quite a bit. I do have one problem though: When I try to build the site, it gives me this error: Error 1 c:\Inetpub\wwwroot\Docs.aspx(29): error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line I've read the article a few times thoroughly but there seems to be something I've missed. Seems nobody else has had this problem. Any ideas would be appreciated. Doh! Nevermind, debug revealed: <%# <%# Eval("CategoryID", @"Docs.aspx?categoryid={0}") %>' %>' Should be: <%# Eval("CategoryID", @"Docs.aspx?categoryid={0}") %>' Lines 29 & 48. Not sure how the extras got in there.
GenX
Member
5 Points
1 Post
Build error
Aug 11, 2005 07:27 AM|LINK
I found this tutorial very useful. I learned quite a bit. I do have one problem though: When I try to build the site, it gives me this error:
Error 1 c:\Inetpub\wwwroot\Docs.aspx(29): error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line
I've read the article a few times thoroughly but there seems to be something I've missed. Seems nobody else has had this problem.
Any ideas would be appreciated.
Doh! Nevermind, debug revealed:
<%# <%# Eval("CategoryID", @"Docs.aspx?categoryid={0}") %>' %>'
Should be:
<%# Eval("CategoryID", @"Docs.aspx?categoryid={0}") %>'
Lines 29 & 48. Not sure how the extras got in there.