DmitryEfimenko / TwitterBootstrapMvc

Fluent implementation of ASP.NET-MVC HTML helpers for Twitter Bootstrap.
Apache License 2.0
221 stars 78 forks source link

Deployment fails because license not found.... #405

Closed natiki closed 9 years ago

natiki commented 9 years ago

Hi Dmitry,

I have been developing successfully locally using TBMVC and now went to deploy to IIS with FTP. I however get the errir that the lic file could not be found even though it is there in the root directory for the website and there are no permissions errors.

The rest of the MVC application runs without issue. What do I need to try/do to diagnose/fix the issue?

I have checked and the Portable.Licensing.dll has been deployed so it is something else.

image

image

--Donovan

DmitryEfimenko commented 9 years ago

Hello,

I'm sorry you are having this issue. A quick thing to try to fix this is to pass the contents of the .lic file as a string to the .Configure() method. Just make sure to have it all on one line. Please let me know if you are still having issues after that. On Nov 17, 2015 10:09 PM, "Donovan Edye" notifications@github.com wrote:

Hi Dmitry,

I have been developing successfully locally using TBMVC and now went to deploy to IIS with FTP. I however get the errir that the lic file could not be found even though it is there in the root directory for the website and there are no permissions errors.

The rest of the MVC application runs without issue. What do I need to try/do to diagnose/fix the issue?

I have checked and the Portable.Licensing.dll has been deployed so it is something else.

[image: image] https://cloud.githubusercontent.com/assets/4738140/11233081/1b2f5a46-8e0e-11e5-9c50-3c5cb7dd79f0.png

[image: image] https://cloud.githubusercontent.com/assets/4738140/11233109/70d9e57e-8e0e-11e5-85d3-7f60f5b7e32a.png

--Donovan

— Reply to this email directly or view it on GitHub https://github.com/DmitryEfimenko/TwitterBootstrapMvc/issues/405.

natiki commented 9 years ago

Hi Dmitry,

Passing the string directly worked so we will go with that.