FLUX.NET Community

Community site for the FLUX.NET Enterprise content management community.
Welcome to FLUX.NET Community Sign in | Join | Help
in Search

Installing Flux.NET

Last post 07-27-2007, 11:55 by tonyj. 9 replies.
Sort Posts: Previous Next
  •  05-26-2007, 8:24 42

    Installing Flux.NET

    Hi!

     Following Neville's suggestion I downloaded the software, but then, due to a change in my role at work, it just sat on my hard drive for a few weeks!

     I have to confess that I am an IIS newbie, having previously only maintained sites through FTP or Front Page. I think I've followed you installation instructions correctly so far. I can certainly see the website set up in Visual Studio, but when I try to open up the /admin/setup/install page I get an HTTP 403 error, saying that I don't have permission to open the site. Any suggestions?

     By the way, I've assumed that VS.NET meant Visual Studio. It's the main item that came up on a Google search.


    The Proff
  •  05-26-2007, 14:17 43 in reply to 42

    Re: Installing Flux.NET

    Hi Proff,

    Sounds to me like default.aspx isn't set up as a default document in your IIS site and the 403 error is in response to trying to list the directory. Ensure you have ASP.NET and ASP.NET 2.0 installed (which you should have) and that they are registered in IIS. You can do this last bit by opening a command prompt and running:

    c:\windows\microsoft.net\framework\v2.0.50727\aspnet_regiis.exe -i

    This will ensure ASP.NET has it's appropriate script files etc setup. You should then ensure that default.aspx appears as a default document in your site - open IIS, right click your website or virtual directory and select properties. Then go to the documents tab and ensure default.aspx is there - if not, add it in.

     Hope this helps,
    Cheers,
    Tony

    Filed under: ,
  •  06-22-2007, 10:05 46 in reply to 43

    Re: Installing Flux.NET

    i tried the same too and i got a blank default page..any ideas?
  •  06-25-2007, 11:19 47 in reply to 46

    Re: Installing Flux.NET

    Hi Femig,

    We'll need a bit more information than that - you got a blank page for the site itself? I'd expect this in clean install as you have to write templates to get content out - if you mean you get a blank page going into the admin or setup tools then this sounds like an IIS configuration issue and you should ensure you've got IIS and ASP.NET installed correctly.

    a) Can you see the administration tool ?

    b) What happens when you try to open /admin/default.aspx

    If you get any errors etc, please post those.

    Cheers
    Tony

  •  07-08-2007, 16:13 48 in reply to 43

    Re: Installing Flux.NET

    Hi Tony,

    Followed your last instructions, I made sure ASP.NET was registered properly and set default.aspx up as a default document. Still no joy.

     My site folder is a subfolder called NARoot, the equivalent of your SITEROOT, and my virtual folder is called NASiteRoot. To configure my site should I be running http://NARoot/NASiteRoot/admin/Setup/Install ? This gives me another error saying Server Error in /NASiteRoot Application, with the following details:

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load file or assembly 'Deepcode.Flux.Core' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 1:  <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Setup_Install_Default" %>
    Line 2:  <%@ Register TagPrefix="Flux" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>
    Line 3:  
    Line 4:  <html>

    Source File: /NASiteRoot/admin/Setup/Install/default.aspx    Line: 2

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Deepcode.Flux.Core' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

    Any ideas? I have very little spare time on my hands at the moment, and if it is going to be a long struggle to get this working I'd rather pack it in now.

     Dave


    The Proff
  •  07-08-2007, 20:49 49 in reply to 48

    Re: Installing Flux.NET

    Hi Dave,

    From the error specified, I think you've not followed one of the items of configuration - and that is to open your website in VS.NET and add a reference to deepcode.flux.core.dll. If you don't have visual studio 2005, then you can just copy the contents of the /admin/bin directory into a /bin directory to do the same thing.

    Note that in the install guide (001.0 Installation.doc), there is a second page with more detailed instructions than the summary on page 1.

    Also, your URL isn't relevant to the directory you installed in, just the virtual directory setup in IIS admin. As such, if your machine is called NARoot, then yeah, your URL looks to be ok, but the installation hasn't been completed.

    Cheers
    Tony

     

  •  07-26-2007, 19:14 51 in reply to 49

    Re: Installing Flux.NET

    Tony,

    Finally got to the configuration page. I am not sure if I had set up a reference to deepcode.flux.core.dll properly. In any case I copied it across to the site's bin directory instead. Then I found other problems. Luckily the error messages gave me enough of a clue to go forward.

    I had copied WindowsWeb.Config to Web.Config - but I thought you meant to a folder Web.Config. You actually meant 'copy the file WindowsWeb.Config and rename it to Web.Config'.

    Then I wasn't sure whether my SITEROOT should be set up as an application. The error message showed me that it should be.

     My URL works whether I use http://<computer_name> or http://localhost. Using <mysite> doesn't work.

     Now I've got to find out what details I need for setting up the SQL database server before I can get any further. Trouble is that I have MySQL installed for my own use, but one of the applications I use for work has installed MS SQL as well. I have also downloaded MS SQL 2005 Express, but am reluctant to attempt an install and risk fouling up what I already have. At the moment I haven't the foggiest what server name I should use, let alone which repositry my repositry database resides (reposes?) in!

    Dave


    The Proff
  •  07-26-2007, 21:52 52 in reply to 51

    Re: Installing Flux.NET

    Hi Dave,

    Web.config is a standard ASP.NET file - hence why the instructions don't specify it should or shouldn't be a file.

    Your URL should work for both your computer name and localhost, "mysite" is just a way of saying replace with your site's server name in the documentation, so using it verbatim probably won't work unless your domain/server is called mysite.

    As for SQL - if you have MS SQL installed already - you don't need to install it again you can just set the database up in that instance, provided it's SQL server 2005 (any edition). Your settings would probably be server name: localhost and repository: - whatever you want to call it, this will be the name of the database that you want to create on the SQL server to hold your content repository, but before you go ahead and do that...

    From a number of things you say here, I'm coming to the realisation that perhaps you're not familiar with .NET, ASP.NET, IIS, SQL Server or development in general? To be honest if that's the case I would recommend buying a book or two covering these topics and getting to grips with the basics before trying to work with a reasonably complex product like Flux as you are expected to have a good understanding of .NET web development to write the templates and so on, it's not really a tool for novices, and if you want to do anything more complex like extend Flux, you really do need to have a solid understanding of web development, SQL development and the .NET framework.

    Cheers,
    Tony

     

     

  •  07-27-2007, 8:35 53 in reply to 52

    Re: Installing Flux.NET

    Tony,

    You are right, as I said in my first e-mail I am new to IIS and, I have to admit, to .NET as well! I'm not as familiar with SQL as other databases, but I am having to develop an understanding due to my professional needs. I'm ahead of you on that though - I've already got a couple of books to wade through.

    As to development in general, since I am constantly engineering, programming and commissioning projects to integrate and control many of a building's services, I would say the skills are there. I just need to add the knowledge of these particular fields.


    The Proff
  •  07-27-2007, 11:55 54 in reply to 53

    Re: Installing Flux.NET

    Hi Dave,

    Yeah, I remember you said that in your first post, but thought you meant you were familiar with .NET dev, perhaps on desktops or deploying to mono of apache or such like and just weren't familiar with the IIS web server product....

    As I mentioned earlier, Flux (like microsoft cms server, and various other content management solutions) requires a decent level of knowledge of .NET development to be able to do anything with it, so I would recommend getting up to speed there first.

    If you need any assistance, let us know.

    Cheers
    Tony

View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems