Giter Club home page Giter Club logo

Comments (6)

VannaDii avatar VannaDii commented on August 20, 2024

If the project builds then the proper assemblies are available at build time, if it does not run then this is an issue with the environment in which you're attempting to run it. You should verify that the assemblies required to build are deployed to the environment on which you intend to run. If you're running in IIS, make sure that the target framework version (.Net v2 or v4) matches for whichever you've compiled against.

This issue will be marked as "wontfix" since it's a deployment issue and not a project issue.

from oneall.

antukidem avatar antukidem commented on August 20, 2024

see original error:

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: CS0012: The type 'System.Web.Mvc.MvcHtmlString' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

Source Error:

Line 1: <%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="OneAll.ASPNET.Account.Login" %>
Line 2: <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
Line 3: <%= Page.OneAllHeaderScript() %>
Line 4: /asp:Content
Line 5: <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">

Source File: c:\Users\Administrator\Downloads\OneAll-master\OneAll-master\Demo\Account\Login.aspx Line: 3

from oneall.

VannaDii avatar VannaDii commented on August 20, 2024

Based on this message, you’re trying to use the MVC library in an ASPX (non-MVC) site. There are three different CSPROJ (Projects), each one results in a library for a different scenario. If you’re going to use the library in an ASPX (non-MVC) site then you need to use the non-MVC library (OneAll.ASPNET.csproj) and still be mindful of matching .Net Framework versions.

from oneall.

antukidem avatar antukidem commented on August 20, 2024

following the instruction above, this is what I get

[OneAll Social Login] To enforce the security of our services we require each domain to be whitelisted. Please click here to open your security settings and whitelist the domain localhost. Reload this page afterwards.

I have removed the MVC class project since i am using asp.net
I have added my domain . and i have also added local host since I am testing off my local box. but still get the error

from oneall.

VannaDii avatar VannaDii commented on August 20, 2024

You'll need to contact OneAll directly as that us a response from their server. If you've got an undesirable response from their server you'll need to seek their support.

Sent from a mobile device


From: antukidemmailto:[email protected]
Sent: ý12/ý29/ý2013 11:43 AM
To: DerikPal/OneAllmailto:[email protected]
Cc: Derik J. Palacinomailto:[email protected]
Subject: Re: [OneAll] CS0012: The type 'System.Web.Mvc.MvcHtmlString' is defined in an assembly that is not referenced (#2)

following the instruction above, this is what I get

[OneAll Social Login] To enforce the security of our services we require each domain to be whitelisted. Please click here to open your security settings and whitelist the domain localhost. Reload this page afterwards.

I have added my domain . and i have also added local host since I am testing off my local box. but still get the error


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-31321370.

from oneall.

antukidem avatar antukidem commented on August 20, 2024

it is working now.

Many thanks

from oneall.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.