Question

Photo of Anand Leslie

0

Compilation Error -

Hey ,


I've just installed rock ...but am unable to log in...i keep getting the below msg...can someone pls help


Server Error in '/' Application.

Compilation Error

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

Compiler Error Message: CS0234: The type or namespace name 'Owin' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

Source Error:


Line 16: //
Line 17: using System;
Line 18: using Microsoft.Owin;
Line 19: using Owin;
Line 20: using System.Web;

Source File: c:\inetpub\wwwroot\App_Code\Startup.cs Line: 18


Show Detailed Compiler Output:

Show Complete Compilation Source:

  • Daniel Hazelbaker

    Anand, It looks like a file is missing for some reason - though I just verified it is included in the installer. Can you check if these two files exist:


    C:\inetpub\wwwroot\bin\Microsoft.Owin.dll


    C:\inetpub\wwwroot\bin\Owin.dll


    Also, can you report what version of Windows this is installed on?

  • Photo of Anand Leslie

    0

    Daniel,

    Both the files are missing...

    and its Windows 7 Professional



  • Photo of Anand Leslie

    0

    Now...i get the following error

    Server Error in '/' Application.

    Compilation Error

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

    Compiler Error Message: CS0246: The type or namespace name 'Rock' could not be found (are you missing a using directive or an assembly reference?)

    Source Error:


    Line 20: using System.Threading.Tasks;
    Line 21: using System.Web;
    Line 22: using Rock;
    Line 23: using Rock.Data;
    Line 24: using Rock.Model;

    Source File: c:\inetpub\wwwroot\App_Code\GetFile.ashx.cs Line: 22

  • Photo of Daniel Hazelbaker

    0

    Something went very wrong with your install, but I can't say what or why. I would suggest starting over and double checking all the steps in the installation guide: https://www.rockrms.com/Rock/BookContent/1/90#installingrock

  • Photo of Anand Leslie

    0

    Hi,

    As mentioned , have re installed it in my local server. But the issue still persists...

    Can you advice.


  • Photo of Daniel Hazelbaker

    0

    Hi Anand, Since you said you are trying to install it on Windows 7, the best suggestion I could make is to try and install it on Windows Server as the documentation includes working step-by-step instructions for that. While it should work on Windows 7 (I have it running on Windows 10 personally for my testing/development server) it is not really documented as that is not the recommended way to run a Rock server.  If you do not already have a Windows Server you can install on, you can download a free evaluation version that works for 180 days from Microsoft.

  • Photo of Anand Leslie

    0

    will try  it..

    in the meantime, i tried using a external hosting service provider called  mywindowshosting.com, they do have free trial. 

    it all went on well till the time it we to "creating database"  then i got this message.. 

    That Wasn't Suppose To Happen An error occurred creating database. Message: CREATE DATABASE permission denied in database 'master'.

    what can i do..

    i want to test rockrms before i ask my church to implement the same


    regards,


    Anand