Solved

Internal Web Error

Posted on 2013-01-08
12
267 Views
Last Modified: 2013-01-19
We received this attached error on our intranet when we try and open a specific  application.This problem occurs randomly.It has gotten worse the last few weeks where we actually have to restart the server for the application to open.I can't restart the server every day!
The two scenarios that i think is possibly causing this could be
:
1) The software installed by a third party company (This Web Based Employee clocking system) is causing issues with the ISS and ASP.net because of bugs in their software.2 months previously after they "fixed" an asp.net and IIS issue onsite on our premises everything was working fine until about a month ago when this error (attached) started popping up again .

2) Problem on our network or server but then other sections of the nework would also be slow?

Any advice?
Server-Error.gif
0
Comment
Question by:The_Nibbler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
12 Comments
 
LVL 19

Expert Comment

by:Kash
ID: 38754005
similar discussion here >>> http://social.msdn.microsoft.com/Forums/en-GB/adodotnetdataproviders/thread/44430e5a-631b-4156-9e4c-b1fc1e4a260a

if that is this clocking system then you need to ask them to have a look at this and change timeout settings I would say.
0
 
LVL 6

Expert Comment

by:ingriT
ID: 38754163
Is the database server the same as the webserver? It could be a SQL query is creating a lock, or a SQL query is just very slow.

You could profile your SQL Database to see what's going on there. It could also be another database on the same server creating performance issues on this server.
0
 

Author Comment

by:The_Nibbler
ID: 38757895
Att: ingriT.
Yes the database server,Mail server is all on one server.

Haven't used SQL Profiler before so i'll see if i can make sense of this built-in function within SQL Server 2008.

I've attached another screen which within SQL Server when trying to delete a row within a view in this specific Webregister db.Even creating a table within this db is giving this error.

Also get these errors in the log files on the second attachment
SQLError.png
Autogrowth-Error.gif
0
Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

 
LVL 6

Accepted Solution

by:
ingriT earned 333 total points
ID: 38757957
The autogrowth error is the one causing the problems.

Is this a production or a development database? For production you might want to consult a co-worker or a database administrator if you have one.

On development I would just execute this statement:
With SQL Server 2008:
use dbname
GO
DBCC SHRINKFILE(logname, 1)
GO

Open in new window

Other:
ALTER DATABASE MyDatabase
MODIFY FILE ( NAME = MyDatabase_dat, size=5000MB)

Open in new window


See this link for some more information: http://support.microsoft.com/kb/315512/en-us
0
 

Author Comment

by:The_Nibbler
ID: 38758127
Yes,it looks like the Logfile is causing the issue.I see the people who installed this third party software set the db + logfile to autogrowth by 10% in SQL Server which is not recommended by a lot of users on the internet.The actual size of these files in the relevant folder under Program Files is higher than the specified space reserved for space.

We do not have a development server,everything is life.
Can i change the the size properties for this db to a higher value and then run one of the above scripts in our production server.Is this to risky though or not really?
0
 
LVL 6

Assisted Solution

by:ingriT
ingriT earned 333 total points
ID: 38758133
I'm not really an expert on databases, but I run this code on our production databases as well. I don't think it is too risky, especially if it isn't working now anyway.
Please do create a full database backup before running this procedure. And there can be performance issues on this server while running the command, it depends on the filesize how long this will take.
0
 

Author Comment

by:The_Nibbler
ID: 38758162
The Logfile is 8 GB and the db 300MB.

I'll do the backup now.I'm not going to shrink the db but rather increase the space because we do have the space available
0
 
LVL 6

Expert Comment

by:ingriT
ID: 38758187
Oké, that is an even better solution :)
But do keep in mind, that it will fill up some day, maybe set an alert in SQL if that is possible, or set autoshrink (see the previous link) on it at some point.
0
 
LVL 1

Assisted Solution

by:jinsonaf
jinsonaf earned 167 total points
ID: 38758439
By taking the transaction log backup the logfiles gets truncated .
The transaction log backup performs a truncation of the inactive portion of the transaction log, allowing it to be reused for future transactions.
for more infomation about the importance of log transaction refer this link
0
 

Assisted Solution

by:The_Nibbler
The_Nibbler earned 0 total points
ID: 38762584
I set the logfile to 15GB and the datafile to 500 MB without the Autoshrink and it worked!

Only problem was when i walked into work this a.m i saw an error in SQL and in the Application "The transactionlog for".." is full.To find out why space can't be reused........." I think this happened last night when the backups kicked off.
This specific db gets a full backup and after that the backed file gets shrunk with another Maintenance plan.

The two files now changed to 7385 MB and 317 MB respectively?This morning i tried several times to change these values but i got the same error in Sql 2008 as the error description mentioned in above paragraph.An hour after basically giving up i enter 10000 MB and 500 MB and miraciously it worked again.

Tonight i'll be running a normal full backup of this db and 20 minutes after that i'll be running the log backup.Is this the right sequence of setting the the full backup and then the log file backup?
0
 
LVL 6

Expert Comment

by:ingriT
ID: 38762593
Have you read the article suggested by jinsonaf in the comment above?

Setting the recovery model to SIMPLE might do the trick, if you're not creating backups of your transaction log for a specific purpose.
0
 

Author Closing Comment

by:The_Nibbler
ID: 38796114
Alternative options succesfully worked when working on previous comments
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Azure Web App - HTTP Redirect - web.config file help 23 60
Getting robots.txt Error 9 57
Need help for captcha 2 42
Split on ASP 8 53
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question