Error when publishing something with ninject? - azure

I'm getting an error when i publish my website to azure. I don't get any errors when i run my site on localhost.
This is the error i get. I'm having troubles to find out whats really wrong.
Please help me to push me in the right direction to solve this error.
thanks!

It could be many things. Are you loading your ninject container configuration from an external file? If so, is this file being deployed to Azure? That could explain why it works locally, but not in the cloud.

Related

Blazor publish integrity issue

My team is currently working on a new Blazor app and we are facing some strange behavior. We deploy our APP using Azure Dev Ops, but it seems that sometimes things go wrong. If we deploy the same version with the the same pipeline, the issue could be solved...
This is the error we (sometimes) get in every browser chrome, firefox, edge, ...:
admin:1 Failed to find a valid digest in the 'integrity' attribute for resource 'https://domain/_framework/dotnet.timezones.blat' with computed SHA-256 integrity '47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='. The resource has been blocked.
This seems to be happening completely random. We have tried everything... like disabling compression, checking IIS settings, clearing cache, ... We also read the complete Microsoft Documentation. Some other guys also had this problem and they have a solution by clearing the obj/ folder. But we never have this issue locally... So this isn't a solution for us.
Does anybody have any idea what could be the problem? Because it seems completely random to us so far.
The app is ASP.NET core hosted and not stand-alone.
Any help would be very much appreciated!
Kind regards,
Evert
I just ran into the exact same problem. My VS solution compiled and ran under VS 2022 no problem. But when I published to my dev or prod web server I got the same message that you encountered. I solved it by clearing the bin, obj, and .config folders in all my projects in the solution. You mentioned that you don't have the problem locally -- neither did I and this still resolved the issue when I deployed. I suspect an older version of a file is getting into the deployment pipeline somewhere. Mine is also a hosted solution under .NET 6.0.2.

ERR_TOO_MANY_REDIRECTS After deploying SmartStore on azure

facing this issue for days. I have tried many approaches in order to solve it, however, none of them works.
The error I`ve been facing:
The issue I have been facing
The admin module of SmartStore has been working without any issues, the only problem is with the web module of SmartStore. P.S: I have no CDN profile on azure.
What I have tried:
I have tried clearing caches, worked on several different browsers and devices in order to test it. Nothing seems to solve the issue.
Link to the web: https://smartstoreweb20210927175106.azurewebsites.net/
However, if we type any random route after it like lets say:
https://smartstoreweb20210927175106.azurewebsites.net/a
It gives 404 error like it should.
Also, if we try to access admin module:
https://smartstoreweb20210927175106.azurewebsites.net/admin
It works perfectly, and also the registration and other functionalities of the app itself. Any insight would be highly appreciated.
Try this: Find TSL/SSL Settings of your Azure Subscriptions and Turn off the HTTPS only. Hopefully, It will work for you.
The screenshot is attached for your reference.

Deploying Google Cloud SQL Server to Heroku

I am trying to deploy with Google Cloud SQL Server as my database. I currently have it working using Google Cloud SQL proxy locally. But obviously to deploy to heroku I cannot do this.
Below is someone that says they have a solution to this problem.
https://elements.heroku.com/buildpacks/emartech/heroku-buildpack-cloud-sql-proxy#buildpack-instructions
I was able to run their solution, but now I am having a different issue. I am getting this error from heroku when trying to connect to the database:
Before I was getting an ENNOENT error so this is a good sign, but how could I possibly fix this error?
It sounds like something is wrong with the proxy being run in the buildpack. Is it possible to provide logs from it so we can help you further?

IIS configuring with weblogic

I am trying to configure IIS with weblogic, where my application is running on weblogic.
I have searched for many documents online, found few, but not able to configure successfully.
Can anyone, please give me the exact steps on how to configure it.
Thanks in Advance
Siva
Here's some urls about how to configure iis as a proxy to wls using wlplugin.
http://weblogic-wonders.com/weblogic/2010/11/12/configuring-iis-with-weblogic-server/
http://docs.oracle.com/cd/E14571_01/web.1111/e14395/isapi.htm
http://weblogic-wonders.com/weblogic/2012/10/03/configure-iis7-as-a-proxy-with-weblogic-server/
share your configuration, and tell us more about the errors you are getting, then we might be able to help you further.

Does anyone know where I can define this URI parameter?

This happens when I try to deploy a Sharepoint WebPart solution. Is there a file or configuration option that I have missed that is causing this error to occur?
Thanks.
I assume that you're using VSeWSS 1.3 to deploy you solution and that these error occur when you try to deploy the solution. I'm not 100% sure but I think I had the same error some time ago. Unfortunately I could remember what I exactly did to solve this problem. But I'm quite sure the problem was related to some network issues as VSeWSS 1.3 uses web services to handle solutions.
So I would advise you to double check you network settings. For example you could try to adjust your hosts file so that your computer's name could be resolved.

Resources