15,919,423 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Jay Ahmedabad (Top 4 by date)
Jay Ahmedabad
24-May-16 9:34am
View
I have a function to perform sign in for identity server users. I am passing usename and password parameter in that function.My code is as below
public void SignInIdSrv(string user, string pass)
{
var returnUrl = _context.Request.QueryString["returnUrl"];
if (WebAppServiceGateway.Instance.Authorize(user, pass, true))
{
_context.Response.RedirectLocation = returnUrl;
}
else
_context.Response.RedirectLocation = _context.Request.RawUrl;
}
error occurs at WebAppServiceGateway.Instance.Authorize(user, pass, true).
error message is "Could not load file or assembly 'Thinktecture.IdentityServer.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)"
Jay Ahmedabad
24-May-16 7:31am
View
Resigned all assemblies,Added to GAC,removed all references and added them again.But error remained same.Still not able to solve the issue
Jay Ahmedabad
24-May-16 5:08am
View
Thanks for your concern.I have seen all the dll into reflector and found all dll signed.Can you tell me from where I should refer dll after adding them in GAC.Currently I refer all dll from package folder And still getting above error.
Jay Ahmedabad
24-May-16 3:22am
View
I tried to check either assembly is in GAC or not as follow
C:\Windows\system32>gacutil /l Thinktecture.IdentityServer.Core
Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.33440
Copyright (c) Microsoft Corporation. All rights reserved.
The Global Assembly Cache contains the following assemblies:
Thinktecture.IdentityServer.Core, Version=1.0.0.0, Culture=neutral, PublicKeyT
oken=95df42fe70e34d1d, processorArchitecture=MSIL
Number of items = 1
As per above result assembly is in GAC.
Still at run time it gives error message
Could not load file or assembly 'Thinktecture.IdentityServer.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)