4
Answers

How to solve hangfire.sqlserver assembly issues?

Anele Ngqandu

Anele Ngqandu

7y
294
1
Hi
 
I have a normal DB first solution I created, it working locally but when i publish to server I get error
 
Could not load file or assembly 'Hangfire.SqlServer, Version=1.4.3.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The module was expected to contain an assembly manifest.
 
I then tried to install hangfire sqlserver with version 1.4.3 but nothing works
 
Any ideas whats happening here? 
Answers (4)
0
amrish kumar

amrish kumar

NA 56 2k 9y
i have soled the problem.
I was passing int in parameter,
but when i passed the value in string it resolve the error.
 
Thanks Manas Mohapatra for your response. 
0
amrish kumar

amrish kumar

NA 56 2k 9y
Hi
I Used request.Method = "POST";  abut error have not solved
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Hi,
 
Please add following code after creating request object:
 
request.Method = "POST"; 
0
amrish kumar

amrish kumar

NA 56 2k 9y
Thank you for your quick Response
By My Service is worked when im using Get Method in Service.
But it Doesnt work when im trying to use post Method.
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 9y
Hi,
 
As per your error, your url is not correct.
 
When you are creating  WebRequest.Create("") and passing the string path - this is not correct.
 
Please recheck it. 
 
Secondly your service should be in running mode.