We have hosted our SOLR service in our Azure Pass environment. We are getting the below error intermittently.
The specified CGI application encountered an error and the server terminated the process.
I have restarted the service and it is working fine. BUt it is coming again and again.
If you're referring to Apache Solr, I'm not to familiar with it's setup. But have a look at this answer which is regarding certificate loading. Your app may be trying to use an invalid cert.
Related
I created One MVC application where Repos and Service Layer are implemented. and I tried to deploy the underlying Database in azure SQL Virtual Machine(IAAS) and application in azure App service(Web app) as PAAS. When I deploy it in the cloud, I got a deployment error on action methods where the repo layer presents. I tried to remove the repo layer and run it, then it perfectly works.
In the azure Log stream, it says,
"This error means that there was a problem while processing the request. The request was received by the Web server, but during processing a fatal error occurred, causing the 500 error."
I don't know how to debug the issue. I tried many things using the repo layer, but it didn't work on a remote system. Though It works on localhost perfectly, it shows a deployment error in the remote system.
here you can see my code in the GitHub repository "https://github.com/GSudhindra/Shopping/tree/master/Shopping".
I hope to get a possible solution here.
I have several sites hosted on the same App Service Plan - an S1 instance. All are using the same set out Outbound IPs. I have a SQL server VM where all the databases live. I have a network security group with an inbound rule for the S1's outbound IPs.
All my other sites work perfectly and have access to the SQL VM and their respective databases.
The site in question works perfectly when hosted from my local dev machine, WITH the production database.
Yet I get an Access Denied error: "SqlException: A network-related or instance-specific error occurred...] when I promote it to production on Azure.
All the usual suspects (firewall, user doesn't exist, etc.) can be ruled out because ALL my other sites are using the same database server, credentials, and the only change in the connection string is the Initial Catalog. They are all on the same App Server and all have the same outbound IP so if one was getting blocked the others would be also. If it were a user problem, it wouldn't work when hosted locally.
The only difference between this and my other web apps is that this one is Blazor, built on .Net 6. The others are on .Net Core 3.1 (LTS). I don't think that has any bearing since the application in question, when hosted locally works with the production connection string. This IS the first time I've published a Blazor app and .Net 6 app, so...
I'm sure I'm missing something silly, but I can't figure out why this one site would act differently than the rest.
Could someone please offer up another avenue for me to pursue? Or, a way to get a more verbose error message from the failed connection? Anything to further my troubleshooting?
For anyone reading this, I found my issue and it's unique to my project.
The truth, I separated the DAL from the presentation of the site. In the end, I was editing the wrong appsettings.json file. For three hours. Face-palm
My apologies if I wasted anyone's time.
I am using Tomcat 8.0.45 to deploy java based web application. I am using IIS 8.5 and BonCode connector. The App uses MS SQL db located on different server and IIS on another. Both are not on the same machine.
Issue:
- I followed steps for integratedSecurity=true, then copying sqljdbc_auth.dll in jre/bin.
- I also followed the steps to configure tag inside web.config along with userName (AD user) and password.
- I also mapped the user (AD user ) to SQL server db.
- But still I am not able to make it work. On Tomcat startup, I get error.
"Login failed for User 'MyDomain\ServerName$. ClientConnectionId:3b1161.....'.
My above steps could not wrong or incomplete. I can share logs but the above error is what I get in log file.
Can some one please direct me to any link or provide help here. Please note that mine in java based web app. I found lot of examples but they were all dot net based.
Thanks in advance.
I need to test some error handling use cases in the event that the Solr server shuts down or is unreachable. On one of our testing servers i can run the stopServer script passing in the indentifier for the Solr server. I have tried using the same .bat version of that script locally, but it seems there is no separate profile for Solr.
Is there a way to stop Solr only (ie. the WC instance is still running as is Apache) in RAD, either through the Admin Console, CLI script, or some other UI interface?
In the WebSphere Commerce Developer, I don't believe you can do it since it's not the server deployment where it's in it's own profile. Nevertheless, I haven't tried it but I think what you can do is block the communication ports (on server its 3737).
After rebooting the Windows 2003 Server with the IIS I receive the follow error message:
Cannot connect to the configuration database
in the browser. The error occur on different pages and with different clients. that I think it is a server problem.
What can I do to solve this error?
A quick web search suggests that this error message is probably coming from SharePoint Services, and indicates that SharePoint cannot connect to its database.
There seem to be several reasons suggested:
The SQL database is not running, has been removed, or you otherwise can't connect to it (firewall, login credentials, network failure)
IIS is running in the wrong mode
The latter could be IIS 6.0 configured for IIS 5.0 compatibility mode, or the application pool configured for 32-bit worker processes on a 64-bit system.
I hade the same problem, and it did happen just after a windows update, hmm...
First of all, someone (windows update) hade change the user account on the service "Windows Internal Database (MICROSOFT##SSEE)". Changed back to the right account and the WSS started to work, but with an error (Application / error or something)
This new problem was something I just got for free after I hade run the Exchange Analyzer tool and done some modifications to my system, that was recommended by the tool.
If i changed my web.config too look like this (c:/inetpub/wss-dir/web.config):
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly"/>
</system.web>
</configuration>
I discovered what the problem was, it was a access/security issue. The error message told me:
Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\root\8c91a6b5\649b28ba" is denied.
But this was not the hole truth... the access denied was not to the ..\Temporary ASP.NET Files\root\8c91a6b5\649b28ba folder, it was to the %TEMP% folder, that I hade just moved due to a suggestion from the Exchange Analyzer Tool.
Have a nice day!
I had that problem with sharepoint I used this to fix the sql database
http://heresjaken.com/sharepoint-cannot-connect-to-configuration-database-error-after-installing-kb2687442-update-on-sbs-server-2008/