Hi have a few DotNetNuke websites that intermittently show the under construction page for no apparent reason. I just load and resave the web.config file and it restarts correctly for a few weeks.
I am looking to find ways to identify the source of the problem, I guess it has somehing to do with the database connection or user, but I really don't know where to start troubleshooting and what tools to use to find the issue.
Any help appreciated.
If you go to http://www.mydomain.com/install/install.aspx when you're getting the Under Construction message that will likely tell you that the site can't connect to the database server.
So from there, you will want to check what is going on with your connection to your database. One thing you might try to start, is change the User Account that you are using to connect to the database server. Maybe create a new SQL user/password and connect with that one, instead of the existing account.
I had a website that had this problem, with a remote SQL server, and unfortunately, come to think of it, I didn't do anything to fix it, eventually it just stopped doing that...
Related
I have an ASP.Net webform website that uses SQL Membership for authentication and login. The user's password are encrypted.
In my project I save all exceptions when they happened in a database.
Yesterday I have got this exception which is very wired and I do know about it.
I am assuming that somebody was trying to hack the website.
Error: Global.asax: www.Example.com/citrix/xenapp/auth/login.aspx?CTX_MessageType=WARNING&CTX_MessageKey=NoUsableClientDetected
I have this URL: www.Example.com/login.aspx but why somebody did this citrix/xenapp/auth/login.aspx with some Querystrings.
If it was an attack the SQL Membership is secure enough?
If you have any idea please let me know before something happened.
Thanks
Either someone mis-typed an URL, or more likely, someone was probing your website to see if Citrix XenApp is installed. If it installed, it would probably attempt to make an automated attack on your site.
I'm working and out of no where i get this error. Didn't upload anything. I get Error establishing a database connection. The only thing i've done recently is install piwik analytics but i tested that thoroughly on the test server. I'm scared that i've corrupted the database. And i haven't got the most recent backup. I can't access any page on the website.. front end or backend. What is going on? Is the database overloaded?.. if so when does it reboot, all i want is the website to work as it doesn't belong to me.
i think you should have to refer this link.hope you may got your solution from there.
It could be that your database login credentials are wrong or have been changed.
It could be that your database server is unresponsive.
It could be that your database has been corrupted.
Try to define define('WP_ALLOW_REPAIR', true); inwp-config.php file.
then visit this link http://www.yoursite.com/wp-admin/maint/repair.php.
you see database repair option.
Often, out of sheer desperation I will end up enabling "Everyone" access on a folder that a web app is accessing (perhaps for file creation, reading, etc) because I can't figure which user account to enable access on.
Obviously, this is a very bad thing to do.
Is there a way to determine what account IIS is using at that exact moment to access folders (and perhaps other resources like SQL Server, etc)?
Are there logs I can look at that will tell me? Or perhaps some other way?
I usually use Windows Auth without impersonation. Not sure if that information is relevant.
Another more general approach would be to use a tool like Process Monitor and add a path filter for anything that starts with the root of the website (ie c:\inetpub\wwwroot). You then have to add the Username as a column by right clicking on the column headers, but once you do that the w3wp.exe process should show up in whenever you try to access the website and it will show which user account is being used. This technique should work with all file access permission issues.
If you don't use Impersonation, application pool identity is used in most cases, but accessing SQL Server and UNC files are slightly different.
This MSDN article has all information in one place, but you really need to spare a lot of time on it in order to digest every details,
http://msdn.microsoft.com/en-us/library/ms998351.aspx
Use Sysinternals Process Monitor to see what is actually happening.
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx
One of my site is on a shared hosting and every few days the site will stop working.
The pages will simply stop loading.
After contacting my host they suggested that I disable/re-enable from their hosting
management tool the windows services for my site every time this happens.
In the list on their website I have: ASP, ASP.net and 2 other that I don't need.
When I disable and than immediately re-enable the 2 asp services the site does start
working again right away.
I'm under the impression that this is a probably due to a wrong configuration of the
application pool my domain is using but they're refusing to give details. No
automatic recycle maybe?
Beside changing host, do you have any suggestion about this problem?
Do you believe it's an app pool setup issue like I do or do you have any other
idea on what else could be causing this issue and/or ideas for a permanent solution?
Thanks.
I think there is something wrong with your code. I once ran into a similar issue with my web host and found out later that the app was leaking memory due to some resources that were opened and never closed. I suggest you inspect the code a bit more.
Okay, this is a weird issue that I've been having with a recent project I'm undertaking.
Occasionally, my website will stop functioning and anytime an ASP page is accessed, the browser will hang for many minutes before bringing up a correctly formatted HTML page with nothing in the tag. It seems to happen whenever more than one person attempts to access an ASP page, but I'm not positive it's isolated to those conditions.
Let me emphasize that the issue does not arise when accessing directories/HTML pages/other files. Only ASP pages are the problem. I am using lunarpages as a host.
My question is: Does anyone have any prior experience with such an issue, and if so, what are some ways to mitigate it?
Thanks in advance - let me know if I can provide any more pertinent information.
It sounds like it may be an issue with your Web Server. Do you have the correct version of .Net installed? Is your Web Server setup to host Asp.Net?