Web Host MS Sql Performance - My Fault?

Feb 14, 2007

Hi,

I'm using SqlServer 2000 at a web host, and share this db with about 200 others (it's an inexpensive web host so I guess there is not very much traffic on most of them, but I can only see their db IDs so I don't know what organisations they are or the urls they have).

Usually, my web site runs fine, but lately it's really really slow (as in non-functioning in reality). I'm in the middle of coding my seach functionality, so I fear that I'm causing this myself. ;-)

However, there are only ten posts in my test db, so it should be a piece of cake for SqlServer. The other .aspx pages runs rather slow too now, but when I start a programming session they have worked fine (this has happened three times now so I don't know what to conclude). When the server slows down, it can stay down for hours. I've also tried to access my site from other computers but get the same result, so I guess it has nothing to do with caching (I also tried emptying my browser's - IE7 - cache). I have several asp web sites with Access dbs at the same web host, and they all work fine. In addition, I have no problem viewing and editing my db at the web host via SqlServer Management Studio Express.

What do you think of this problem? Should I go for a more expensive web host? Should I give them the "It's not you, it's me" speech? ;-) Or is it really me?

Below's my search code, and as you can see, there are some integers there to make sure the loops don't run ad infinitum. I don't really think the problem actually lies with my search code, as everything worked well a week ago, but I don't know...

BTW, if you think my code can run much faster without getting too tricky, please let me know.

Please help!

Pettrer

If Page.IsPostBack Then

Dim soktext As String = Trim(SokTextBox.Text) + " "

Dim tillagg As String = ""

Dim varv As Integer = 1

Dim loopvarv As Integer = 0

soktext = Replace(soktext, vbCrLf, " ") 'vbCrLf = mellanslag i VB-terminologi

Do While InStr(soktext, " ") And varv < 100

soktext = Replace(soktext, " ", " ")

loopvarv += 1

Loop

While Trim(soktext).Length > 0 And varv <= 20 'Loop för att identifiera ord och lägga till dem i sqlsatsen, ett i taget

Dim icke As String = " "



Dim ordet As String = soktext.Substring(0, soktext.IndexOf(" ")) 'Det godkända ordet läggs till i tmp-strängen

soktext = soktext.Remove(0, soktext.IndexOf(" ") + 1) 'Tar bort det som just använts (eller varit för kort)

If ordet.Length > 1 Then 'Blanksteg och ensamma bokstäver förhindras att komma med i sql-satsen

If ordet.StartsWith("-") Then 'Det är ett minusord

icke = " NOT " 'I sqlsatsen blir det alltså AND NOT (...)

ordet = ordet.Remove(0, 1) 'Tar bort minusttecknet från söksträngen

End If

tillagg += " AND " & icke & " (artistnamn LIKE '%" & ordet & "%' OR " & _

"beskrivning LIKE '%" & ordet & "%' OR " & _

"kulturhemvist LIKE '%" & ordet & "%' OR " & _

"kontaktnamn LIKE '%" & ordet & "%') "

End If

varv += 1

End While

Dim kat As String = ""

If KategoriDropDownList.SelectedValue <> 0 Then

kat = " AND (kategori1 = " & KategoriDropDownList.SelectedValue & _

" OR kategori2 = " & KategoriDropDownList.SelectedValue & _

" OR kategori3 = " & KategoriDropDownList.SelectedValue & _

" OR kategori4 = " & KategoriDropDownList.SelectedValue & ") "

End If

Dim lan As String = ""

If LanDropDownList.SelectedValue <> "alla" Then

lan = " AND lan = '" & LanDropDownList.SelectedValue & "' "

End If

ResultatDataSource.SelectCommand = "SELECT DISTINCT TOP 200 folknuID, kategori1, kategori2, kategori3, kategori4, initial, artistnamn, lan, kontakthemsida, kategori1, (COALESCE(audio1,'') + COALESCE(audio2,'') + COALESCE(audio3,'')) As audio, (COALESCE(video1,'') + COALESCE(video2,'') + COALESCE(video3,'')) As video, (COALESCE(pressbild1,'') + COALESCE(pressbild2,'') + COALESCE(pressbild3,'')) As pressbild " & _

"FROM Mytable " & _

"WHERE shown = 1 AND shownadm = 1 " & _

tillagg & _

kat & _

lan & _

"ORDER BY initial"

ResultatLabel.Text = "SelectCmd: " & ResultatDataSource.SelectCommand

ResultatGridView.DataBind()

End If '*** på sökkoden

View 7 Replies


ADVERTISEMENT

Performance Vs Fault Tolerance

Jul 10, 2001

We are setting up a new SMS (SP3) primary server with local SQL 7.0 (SP3) and are mandated to use the following configuration for hard drives:


C:&D: are on mirrored 18GB drives (2 channel RAID controller)

C: OS (8GB) partition
D: pagefile & temp (10GB)

E:&F: are on RAID 5 (3x36GB) 72GB useable (2 channel RAID controller)

E: temp data for field techs (10GB)
F: SMS & SQL (62GB)

We would like to have the SQL logs on a different physical drive than the data (for improved performance), so we are planning on putting it on drive D:

We realize this will affect redundancy, but should this be a big concern?

Has anyone used this type of configuration?

Pros, cons?

Any help would be appreciated.

Thanks
Brent

View 2 Replies View Related

What Is A Fault Bucket Error?

May 21, 2006

When I open my Computer Management Console and look at Event Viewer/Application, I see an error:

Fault bucket 277816039.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 42 75 63 6b 65 74 3a 20 Bucket:
0008: 32 37 37 38 31 36 30 33 27781603
0010: 39 0d 0a 9..


What is this error and how can I fix it?

Also, When I click on the link to get more information all I get is a page that says there is no information on this error. This happens with ALL my errors! I have never seen any usefull information from this link.

I am running on a Windows 2004 Standard Server with SQL Server 2005.

Charles

View 5 Replies View Related

MMC Caused A General Protection Fault

Mar 23, 2000

I just installed SQL7.0 on a windows 98 machine. When I go to register a new database, I get the following message.
MMC caused a general protection fault

I have rebooted the machine, removed & reinstalled the application.

Help - what else

View 1 Replies View Related

Best Practices For Drive Fault Tolerance

Jun 16, 2008

Hello All,

We have to setup a SQL 2000 box (it's what the app requires) and I would like to know what is considered the best practice for setting up the drive fault tolerance.

We are looking at allocating about 500GB for both system and data drives.

Thank you in advance for your input.

Sincerly,

Larry

View 1 Replies View Related

Fault With Configure The Select Stament

Mar 13, 2007

Goodday all

I,m having a problem with something that worked well just recently. maybe I changed a setting by mistake.

I have a Database grid view on my page. When I configure my data sourse and get to "configure the select statment " on the wizard and press advanced to open the wizard with two check boxes " generate INSERT, UPDATE etc and the other check box "Use optimistic concurrency " this input box of the wizard is greyed out (non responsive)

Does anyone know how to rectify this?

Regards

Rob

View 1 Replies View Related

Recover After A Raid-5 Disc Fault

Jun 17, 2006

Hi,

My raid-5 server failed because one disc, some folders and files are lost, but I have recoverd whit some software for the propuse.

I have reinstaled the SQL server and attached the database, but when I try to open the tables I recieve a error message saying : internal consisty error... somethihg like this.

How can a restore the databases?

View 3 Replies View Related

Blonde To Write Query Or Design Fault

Nov 18, 2005

Dear All,

I’m wondering if it’s the design that needs to be changed or I simply can’t put this together.

I have 3 tables.

1. people (peopId, peopFName, peopSName etc.)
2. codes (codeId, codeName)
3. codedPeople(codePeopleId, peopId, codeId)

Codes represent different skills of people, example the sort of job functions they’ve held in their employment. Like:

t-CEO,
t-CFO
t-Founder
etc.

people, clearly holds data about people.

CodedPeople holds data about which people are coded. So person1 can be coded as t-CEO as well t-Founder, and person2 coded as t-CFO

What I need is a query that returns all distinct people records and takes a number of codeNames as input. So if I throw in t-CEO OR t-Founder I get person1, again if I define t-CEO AND t-Founder I get person1.

However when I add t-CEO OR t-CFO I get person1 and person2 but when the query takes t-CEO AND t-CFO I get no result.

I can’t seem to come up with anything that would give me a good starting point. Is there a design fault here? All opinions are much appreciated, thanks in advance!

View 3 Replies View Related

GP Fault When Using SSRS Print Icon RSClientPrint

Apr 8, 2008

I am getting a general protection fault when pressing the print icon in Reporting Services website.

Hi I found this article:


http://database.ittoolbox.com/groups/technical-functional/sql-server-l/reporting-services-2005-print-icon-causes-machine-to-reboot-1592477

but I can't figure ou how to "remove" the RSClientPrint Class add-on in IE 6.

P.S.
Why does something as simple as printing need to be an ActiveX control? There are all kinds of issues revolving around pushing this out using SMS for users without local admin permission.

View 4 Replies View Related

SQL Server Express: Restore, Backup And Attach Do Not Work Anymore &&amp; Database Locations Fault

May 7, 2008

Hello there,

I've some really big problems with SQL Server 2005 Express. I Recently, I had 2 instances on my machine, one was a SQL Server 2000 Developer and the other a 2005 Express Version. The 2000 version was not necessary anymore, so I unstalled it, since then, the Express version keeps having probems.

Under the Server Properties -> Database settings -> Database Locations I've changed the path to D:sqldatamssql, but now, the programm always takes the "C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLData" to store and load the databases, no matter what I do.

And there are more problems see here:

Restoring does not work=======================
I wanted to restore a database called "fw40_admin" from a backup file (.bak), but that didn't work at all, it always says this as an error:

"System.Data.SqlClient.SqlError: The operating system returned the error '5(error not found)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'D:sqldatamssqlfw40_admin.mdf'. (Microsoft.SqlServer.Express.Smo)"

But as soon as I type in the installation path "C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLData" inside the "Restore As" under "Options", it works.

Why does the backup only work in "C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLData", BUT the database locations under the server properties is indicated with "D:sqldatamssql"????


Attaching does not work=======================
Attaching an existing database does not work either. Most databases (mdf) are located on the path D:sqldatamssql, but as soon as I press

Attach Databases -> Add

The dialog window appears with the "D:sqldatamssql" path, but it is unable to find any *.mdfs altough THERE ARE .mdfs in this directory. But Express can find databases in the selected installation: "C:Program FilesMicrosoft SQL ServerMSSQL.1MSSQLData".
Why can't Express see the directory on the D: partition???


What is wrong? Here? Can anybody help me?

View 5 Replies View Related

Tranaction Log Error- Can Someone Tell Me If This Error Was My Fault

Apr 16, 2007

Hi everyone:We received a error message "Log File to Database is Full. Backup thetransaction log to free up space."I have a Access 2000 application that calls a Stored Procedure thatinserts about 5000 records into a worktable on a SQL server 8.0database table. After the user is finished with the work table astored procedure deletes just the records that he was using in thework file (so I can't use Truncate Table). I have the work tablelinked to an Access database so I can't use a temporary table on theserver.This action of 5000 records being added and deleted to this workfilecan occur 7 or 8 times an hour. And for the last week I've beentesting the application so I have probably been doing this action 10to 20 times an hours.I do not currently use a COMMIT with the INSERT Stored Procedure orthe DELETE Stored Procedure.Although I didn't think this was a lot of records, could it be that myapplication caused this error. Is there a way to find out for sure ifmy application caused this error and if there something I can do in myapplication to keep the Transaction Log from filling up.Thank you for taking the time to read my post and any help would beappreciated.

View 3 Replies View Related

What Is The Host Name?

May 30, 2007

I am trying to connect to a remote MSSQL database through a manager program called "SQL Manager Lite". The first thing that the wizard asks me is the "host name".

How do I find this host name? I just mention that I am trying to connect to a database on a shared hosting.

.

View 3 Replies View Related

Building An NT Box To Host SQL 7

Oct 25, 1999

I'm in the midst of planning how to build an NT box to host SQL 7.0 and was wondering if there is any advantage to segregating the RAID 5 Array (5 x 18GB drives) into numerous *logical* partitions to separate database and log files (I can't see what advantage there would be if the disks are all on the same array, but..)

If anyone has any pointers or links to recommended NT configurations for hosting SQL, I'd appreciate hearing them.

TIA,
RM

View 1 Replies View Related

Host Name Not Displayed

Jul 19, 1999

When using sp_who and sp_who2 on SQL Server 6.5 I seem to get inaccurate results .

Each spid seems to be using the same host name, and the host name used is one that hasn't been connected to SQL server for several months.

Is there a problem with the connection management ? If so how do I find this out ? and how do I fix it ?

View 2 Replies View Related

Change Host Name

Oct 19, 2007

hi,
I change the PC name. so now @@servername returns the oldname.
I try sp_dropserver and I got an error:

Msg 15015, Level 16, State 1, Procedure sp_dropserver, Line 42
The server '[IBM-E81EB247FF3]' does not exist. Use sp_helpserver to show available servers.

I run sp_helpserver and I get the oldname:

IBM-E81EB247FF3IBM-E81EB247FF3 rpc,rpc out,use remote collation0 NULL00

any idea ?
many thanks
Noam


Noam Graizer

View 1 Replies View Related

Deploy .MDF To A Web Host

Mar 17, 2006

Hi all,I'm new to SQLServer (Express edition) so I was wondering: if the webhost supports SQLServer 2005 do I just need to move the .MDF file to mydirectory on the web host to be able to use it?Thanks,Lorenzo

View 3 Replies View Related

The Worst Asp.net Host

Jul 20, 2005

Whatever you do, don't try aspwebhosting.com . One day recently I gotan email from them saying that my account had been suspended for usingtoo much cpu time. There was no further explanation. Those bastardstook my site offline, removed my email account, blocked my ftp accessand even refused to let me get a backup of sql-server data. I sentthem an email (using a yahoo account since they had shut down my ownserver) to ask what I could do to get my data. Rather than answer myemail they simply put me their BLOCK list. All of my emails are nowautomatically bounced. I only sent them one email and it was verypolite. My website is gone. My data is gone. All of my files aregone. The loss of time and effort combined with damage to my businessis unforgivable

View 6 Replies View Related

Is There A Free Ms Sql Host?

Oct 5, 2006

I am looking for a free ms sql database for my programs, but i don't want to host it on my computer, because my web host does not allow servers to be run and people connecting to thme.

View 1 Replies View Related

DB Engine :: Host-name And Name Are Not Same?

Aug 31, 2015

when I run the Query "Select @@ServerName" it is providing the server name which is not same as I connect to SQL Server.example : My SQL Server Name is "XXX123" and when I run the above query it is Printing as "YYY123"

View 5 Replies View Related

How To FTP To Host(Mainframe)?

Jan 24, 2008

Hi,

I am trying to send files over to an ftp server on Mainframe using scripts that is provided in this link, but I can't get it to work.
The problem is the sendfile method concatinates the source file name to the MVS dataset name which causes the issue.

Here's my code (FTPConn is a connecation mgr for FTP):


Imports System

Imports System.Data

Imports System.Math

Imports Microsoft.SqlServer.Dts.Runtime



Public Class ScriptMain


Public Sub Main()



Dim mgr As ConnectionManager

mgr = Dts.Connections("FTPConn")



Dim conn As FtpClientConnection

conn = New FtpClientConnection(mgr.AcquireConnection(DBNull.Value))



Dim toFiles As String

toFiles = "ftpp.a.b.xxxxx.yyyyyy.int"

Dim fromFiles(0) As String

fromFiles(0) = "c: est.txt"

Try


conn.Connect()

conn.SendFiles(fromFiles, toFiles, True, True)

Catch ex As Exception





Finally

conn.Close()

End Try





Dts.TaskResult = Dts.Results.Success

End Sub



End Class



Output:


SSIS package "Package.dtsx" starting.

Error: 0xC001602A at Package, Connection manager "FTPConn": An error occurred in the requested FTP operation. Detailed error description: 200 Representation type is Ascii NonPrint

200 Port request OK.

501 Invalid data set name "ftpp.a.b.xxxxx.yyyyyy.int/test.txt". Use MVS Dsname conventions.

View 13 Replies View Related

SQL Express On A Public Web Host

Mar 28, 2007

Are there any restrictions, limitations or anything to prevent the use of SQL Express database being used with my ASP.NET 2.0 application on a public web host?
If so, what are they?
Thanks.

View 10 Replies View Related

Move Mdf Database To Host

Jan 20, 2008

HiAs i have read, there have been discussions before how to move a local MDF databas to MSsql server at a webhost.But i cant figure it out, i know the answere is out there but i cant find it.I have downloaded the Host Deployment tool that generates a .sql file from my database, it looks ok.The problem is that my host dont allow me to execute this. I have also tried to run a file called RunSql.aspx  that should help me execute my .sql file.But i recieve errors
Opening url http://mydomainz1.com/mydbfile.mdf.sqlAn error occured: System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.GetResponse() at ASP.runsql_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) in d:hsadminaccoundidmydomainz1.comRunSQL.aspx:line 58The line 58 is empty
 Is there anyway that a mdf file that i have build in VWD 2005 can work as a standalone database?I would like it to be as a .mdb database that is simple to move and so on.
Or do the mdf database have to have a MSsql Express or a MSsql Server?
 Grateful for help!
/ mitmit

View 1 Replies View Related

What Is The Best Way To Export MSDE Db To SQL Db On Host?

Jul 22, 2004

I have a DNN install on my local PC that I would now like to transfer to my remote host server. What is the best way to do this? I have exported the db locally but see no way to import it on the host.

Thanks!

View 9 Replies View Related

SQLEXPRESS Database To Host

Feb 10, 2006

I created a sqlexpress database in visual studio 2005 and can't figure out to move the database to my hosting company( godaddy ).  I can't connect remotely to the database on my hosting company.   Whats the best way to go about this?

View 1 Replies View Related

Changing Host Server Name

Oct 24, 2000

At work, we are in the process of moving a server running SQL Server 7 from one domain to another. A part of this domain change will necessitate that the server be renamed. In a couple of tests that we ran we found that changing the domain does not cause problems, but changing the server name does. How does one register the databases with the new server name without reinstalling everything from scratch?

Any assistance would be greatly appreciated as we are under a time crunch here. Please reply to my email as I am unable to check this board often.

Thanks,
Mike Sinnott

View 1 Replies View Related

SQL 6.5 And SQL 7.0 Simultaneously Active On Same Host

Mar 26, 1999

Has anyone developed a workaround to have SQL 6.5 and SQL 7.0 simultaneously active on the same NT 4.0 Server host. The use of VSWITCH.EXE to switch between SQL 6.5 and SQL 7.0 in not an acceptable solution. There are several applications that are only supported under SQL 6.5 and will not be upgraded to SQL 7.0 for another 3 to 6 months.

There are other applications (ERP and data mart) that were developed specifically for SQL 7.0 to take advantage of its new DTS, OLAP, and query capabilities.

All these applications need full-time access to their respective databases.

The obvious solution is to host SQL 6.5 and SQL 7.0 on separate servers. The client has a "monster" database server which would be too expensive to duplicate. Using a "standard" PC to host SQL 6.5 would significantly compromise performance of those applications.

Any advice or suggestions would be appreciated.

Andrew Dominguez, IMS
ajd@cwix.com
909.625.4066 / 7826 fax

View 3 Replies View Related

Rename SQL Server Host Name

May 31, 2001

I have change the name of my host by "network neighborhood"
and user sp_dropserver and sp_addserver.
But when rebooting the host, I have this following message.

"Your SQL Server installation is either corrupt or has been
tampered with (unknown package id). Please run setup."

But I change the name of the hostanme to the former name, there
is no error.

Please, can you advise me something ?

View 3 Replies View Related

MS SQL Problems After Host Migration

Nov 17, 2004

My reseller web host (DIY) migrated a few weeks ago to a new data center.
Unfortunately, my MS SQL databases were not migrating properly. (as well as
other things). I have multiple sites that are not functional due to
problems with their migration.

When I looked at some of the databases, the table structure had been
migrated, but not the data and apparently something else.

Some of the databases of this error when trying to access it:
--- error ---
Error for database: DATABASENAME
Microsoft OLE DB Provider for SQL Server error '80040e37'
Invalid object name 'TABLENAME'.
--- end error---

Some of the databases I can actually access but get:

Microsoft OLE DB Provider for SQL Server error '80040e2f'
Cannot insert the value NULL into column 'TABLENAME', table
'DATABASENAME.dbo.TABLENAME'; column does not allow nulls. INSERT fails.
Everything in all databases worked perfectly before the migration.

They tell me that they have done what they can. They tell me that they are
at the mercy of Psoft who assisted with the migration.

Does anyone know of anything that can my host that can help them figure out
the problem.

Any assistance will be GREATLY appreciated.

View 1 Replies View Related

Migration From Physical Host To VM?

Jun 25, 2015

we have:

(1) one physical server :

OS : Windows Server 2003
Active Directory, DNS, DHCP, File Server, Print Server and SQL Server 2005

and we will install new (2) two server for High Availability with VMware vSphere (ESXi) 6.0

and we will have (2) two Virtual Machine :

1st VM :
OS : Windows Server 2012 R2
Active Directory, DNS, DHCP

2nd VM :
OS : Windows Server 2008 R2 (becaure SQL Server 2005 does not work with 2012 R2 link)
SQL Server 2005 Service Pack 3

My Question is : What is a safe method to Migrate Database's from Physical Host (Windows Server 2003) to 2nd VM ?

View 9 Replies View Related

Error 11001:No Such Host Is Known.

Nov 11, 2006

I was trying to allow remote user to access sql server 2005 database.I have done configuration and tested on my computer,it works well.But from other computer,I can not use the new user to login.

Error message is :no such host is known.

How can I resolve it?

View 3 Replies View Related

Copying A Database From Web Host

May 21, 2007

Hi. I have a client with a database hosted on SQL Server 2005. I don't have a paid version of SQL Server at home so am just using SQL Server Express. I'm getting INCREDIBLY FRUSTRATED that I can't use the "copy database" wizard from SQL Server Express.

Am I just out of luck on this? I can't use the "copy database" feature since I'm using Express. I can't get the actual files since the database is on a shared server. I know I'm not the only person with this issue; I see people asking the question but I don't see any answers.

Is there any way I can copy this database?

Thank you very very much,
- Andrew Clarke.

View 5 Replies View Related

User Can Only Login From A Specified Host

Jul 18, 2007

Hi



I'm trying to create a login (Sql Server 2005) that can only connect from a specified host. Im sure this is

possible but i cant seem to find the option anywhere.

eg. a login that can only connect from localhost or maybe an address range like 192.168.0.%.



Thanks

View 1 Replies View Related

Do Any ISP's Really Host SQL 2005 Express

Jul 30, 2006

Hi, I've been a SQL Server dba for about 10 years, so i know SQL quite well. I've recently started using VWD express, and as it says, its quick and easy to create a website, which I've done. It all works great on my local machine. I've just signed up with an isp and duly ftp'd the project files plus the mdf and ldf that lives in App_Data into their content area, and rather naively I expected it all to work. The pages come up fine until some database access is called for, then i get the seemingly infamous error:

... (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) ...

I've researched this for 2 solid days now, examined forums and posts, followed advice and enabled protocols and so on. Support at the isp in question does not really have a clue about databases and connections strings. Then I started looking closely at the words used by the isp's, none of the isp's explicitly say they support sql 2005 express. They do say SQL 2005, but not express. They do say VWD Express, but not SQL 2005 Express. So does anyone know what is/is not possible with regard to deployment of SQL 2005 express. Does anyone have experience of running SQL express on a production server, or a shared hosters machine? Its been out now for nearly a year I think, so hopefully someone has the answer.

Thanks if you can help! Charlie









View 8 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved