Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 11 04:09

    dependabot-preview[bot] on nuget

    (compare)

  • Oct 11 04:09

    dependabot-preview[bot] on develop

    Bump Orc.FileSystem from 3.1.0 … Merge pull request #104 from Wi… (compare)

  • Oct 11 04:09
    dependabot-preview[bot] closed #104
  • Oct 11 04:08
    dependabot-preview[bot] labeled #104
  • Oct 11 04:08
    dependabot-preview[bot] opened #104
  • Oct 11 04:08

    dependabot-preview[bot] on nuget

    Bump Orc.FileSystem from 3.1.0 … (compare)

  • Oct 04 15:12
    lock[bot] locked #103
  • Oct 04 15:12
    lock[bot] commented #103
  • Oct 01 18:13
    lock[bot] locked #102
  • Oct 01 18:13
    lock[bot] commented #102
  • Sep 30 14:50

    delete-merged-branch[bot] on GitHubSync-20190930-144944

    (compare)

  • Sep 30 14:50

    GeertvanHorrik on develop

    GitHubSync update Merge pull request #103 from Wi… (compare)

  • Sep 30 14:50
    GeertvanHorrik closed #103
  • Sep 30 14:50
    GeertvanHorrik opened #103
  • Sep 30 14:50

    GeertvanHorrik on GitHubSync-20190930-144944

    GitHubSync update (compare)

  • Sep 27 18:10

    delete-merged-branch[bot] on GitHubSync-20190927-180959

    (compare)

  • Sep 27 18:10

    GeertvanHorrik on develop

    GitHubSync update Merge pull request #102 from Wi… (compare)

  • Sep 27 18:10
    GeertvanHorrik closed #102
  • Sep 27 18:10
    GeertvanHorrik opened #102
  • Sep 27 18:10

    GeertvanHorrik on GitHubSync-20190927-180959

    GitHubSync update (compare)

Geert van Horrik
@GeertvanHorrik
No, because we don't need that (we create licenses manually). But it would be fairly easy (since there is a LicenseGeneratorService that you can call from your paypal callback url)
Colin
@cuken
Ok thanks for your time! I'll ping you if I have any questions
Colin
@cuken
@GeertvanHorrik Finally had some time to test it, when I try to launch the server in debug, it's throwing an exception on context.Database.CreateIfNotExists();
An exception of type 'System.Data.SqlClient.SqlException' occurred in EntityFramework.SqlServer.dll but was not handled in user code

Additional information: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL
Geert van Horrik
@GeertvanHorrik
You need a sql database (can be sql express)
the connection string is in web.config if I remember correctly
Colin
@cuken
<add name="DefaultConnection" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|\LicenseManager.mdf;Initial Catalog=LicenseManager;Integrated Security=True" providerName="System.Data.SqlClient" />
Geert van Horrik
@GeertvanHorrik
can you rename the mdf file in the appdata directory? Then it can create a new one
Colin
@cuken
just did, we'll see what happens
Geert van Horrik
@GeertvanHorrik
You could also point to a local sql database (sql express), that's easier than the files (at least that's my experience)
Colin
@cuken
Something like this? <add name="DefaultConnection" connectionString="Server=localhost;Database=LicenseManager;Trusted_Connection=True;"/>
Geert van Horrik
@GeertvanHorrik
Something like this:
providerName="System.Data.SqlClient"
    connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=DatabaseName;Integrated Security=True;MultipleActiveResultSets=True"/>
Colin
@cuken
WOO HOO I got it to render!
Geert van Horrik
@GeertvanHorrik
nice, good job
Colin
@cuken
Does it create the database with a default username/pass?
Geert van Horrik
@GeertvanHorrik
I think so yes
Colin
@cuken
Unless I'm reading this wrong , I see the AspNetUsers table but it's being generated blank
Colin
@cuken
I don't think I can hardcode a user inside the db because it uses the password hash
Colin
@cuken
I think I'm close @GeertvanHorrik was able to hack a user in, but not able to apply rolls to him
Geert van Horrik
@GeertvanHorrik
@cuken do you get an exception or..?
Zenki1201
@Zenki1201
Hi sir, how to get a user account ?
Geert van Horrik
@GeertvanHorrik
@Zenki1201 In theory you don't need user accounts. You only have to create licenses (so basically you need something that you can use to identify a user if you want). Generating the licenses on some sort of server is the best approach.
samirem
@samirem
Hi! I'm looking into the Orc.LicenseManager.Server.Website.NET45 project at the moment. I'm a real beginner in asp.net/sql server and just got the database thing to work. However, when I launch the website, I only get to the login page where I am asked to enter a user name and a password. Can I find these somewhere?
samirem
@samirem
Thank you! :smile:
llgarrido
@llgarrido
@zSakuraEvilz The database initializer that seeds the Admin user is executed in the action Reset() of the HomeController so you will need to visit the Url "/Home/Reset" while the project is running in Debug mode.
Geert van Horrik
@GeertvanHorrik
@llgarrido thanks for pointing him into the right direction