The problem is you have two "open" one on line 30 and 31. The error is the generated aspx F# file but I'm guessing it actually comes from the F# code behind file.

Cheers,

Rob

By on 12/18/2008 2:35 AM ()

Hi,
yes - this looks like a bug in the F# CodeDOM provider. I'm not sure why the generator adds an empty "open" directive. I guess this could happen if you accidentally had something like:

1
2
<%@ import namespace="" %>
<!-- empty namespace -->

in the ASPX page or maybe something like:

1
2
3
4
5
6
7
8
9
10
<?xml version="1.0"?>
<configuration>
 <system.web>
    
      <namespaces>
        <add namespace ="" /> <!-- empty namespace -->
      </namespaces>
      
 </system.web>
</configuration>

in the web.config. If that's not the case, then it is definitely a bug.

By on 12/18/2008 2:43 AM ()

Hi Tom,

Thank you very much for your replies, somewhat embarassingly, I was able to clear the problem after doing the traditional "reinstall everything" approach.

Cheers,

Chris

By on 1/21/2009 9:01 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper