SQL Restart Kills SQL-based Sites On IIS

Apr 12, 2007

I have a SQL 2005 server on a separate machine from my IIS machine, and anytime the SQL server restarts (like for last night's automatic updates) the connection pooling seems to break.  Among the apps on this IIS box is Community Server 2.1, along with some other custom-built apps.  The only way to resolve it is to stop and restart the IIS services.

Previously all SQL-dependent apps on that IIS box broke when SQL was reset, but I seemed to have addressed it, at least on my custom-built apps, by forcing a TCP connection in the connection strings (instead of the default named pipes method).  I did change the Community Server connection strings as well, but for some reason that didn't seem to work.

Has anyone else experienced similar problems with interruptions in SQL connectivity bringing down apps that connect to that SQL server?  I hate to turn off automatic updates just to make sure my ASP.NET apps are available.

I apologize if this isn't clearly an ASP.NET question, but hopefully someone can help me out.

Thanks,
Josh

View 3 Replies


ADVERTISEMENT

The Year 1700 Kills My DTS

Oct 22, 2007

I am createing A DTS package to move data from Access 2003 to SQL Server 2000. I have a datetime field in Access that has the values '1/1/1700'. These error when DTSing over.

New to DTS, Any sugestions?

Mike

View 3 Replies View Related

Bad Data In Source File Kills Package?

Sep 28, 2005

I'm reading data from sets of CSV source files with " text qualifiers.  Most of the data is good, but I do run into some bad data that doesn't seem to get handled by redirecting rows.  The type of data that is killing me is this:

View 4 Replies View Related

Insert Into Statment Kills My Database Connection?

Sep 13, 2006

Hi

Simple statment is giving me a logout on the server

INSERT INTO Angebot (Nummer,Variante,Bearbeiter,Datum,Geld,Kurs,Language,Flag,AngebotStatus,TStatus)
VALUES (90360,3,'Admin',DEFAULT,'CPI_BE-D',1,'CPI_AG-1',4,NULL,59)

The statment works fine on production, however i have played a backup from production to my laptop to test something and as soon as I add a record to the database my connection to the database is droped (the data is not added to the table).

the error message I get is double, however I execute the statement only once.

Msg 0, Level 11, State 0, Line 0
Für den aktuellen Befehl ist ein schwerwiegender Fehler aufgetreten. Löschen Sie eventuelle Ergebnisse.

Msg 0, Level 20, State 0, Line 0
Für den aktuellen Befehl ist ein schwerwiegender Fehler aufgetreten. Löschen Sie eventuelle Ergebnisse.

Sugestions anyone?

PS: the message in English is:



Msg 0, Level 20, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.

View 1 Replies View Related

Instead Of Trgger Marked Not For Replication Kills After Trigger

Jul 14, 2006

Kill may be overdramatic, but...

I am testing a merge publication with a push subscription.  The publication contains a single table.  That table has an INSTEAD OF UPDATE trigger marked NOT FOR REPLICATION and an AFTER trigger that needs to go off during replication.

During Synchronization neither trigger goes off.  If I drop the instead of trigger the after trigger will go off.  What is going on?

Thanks,

View 11 Replies View Related

SP2 Integration Mode Kills Sharepoint Central Administration

Feb 27, 2007

Hi

I had the following setup:

Farm Server 1
* Sharepoint 2007 full install

Farm Server 2
* SQL Server 2005

I installed the following:
* SP2 for SQL Server 2005 on Server 2
* Web-front end install of Sharepoint 2007 on Server 2 - to install the object model
* SSRS2005 reporting services add-in for Sharepoint technologies on Server 2

Since doing that, I can no longer get to central administration on Server 1 - I now get the following error when navigating to central admin:


Server Error in '/' Application.


Runtime Error Description:
An application error occurred on the server. The current custom error
settings for this application prevent the details of the application error from
being viewed remotely (for security reasons). It could, however, be viewed by
browsers running on the local server machine.

Which web.config do I have to edit to get the full error to show, and has anyone else experienced this?

This happened to me when my servers were fully configured and had data - so I rebuilt them from scratch and the same problem occured again!

Adam

View 8 Replies View Related

Microsoft Search Service Kills SQL 2000 Server

Apr 17, 2007

Hi all,

This may be more of a Sharepoint or server question but I thought I would post it here to start off with. I have an installation of SQL 2000 SP4 and sharepoint services 2003 all on one server. For example the SQL 2000 (SP4), sharepoint and its indexes all on the one server (HP G4 DL380). I have installed the index service and the full text services on the SQL server then configured searching in sharepoint. The search worked fine for about a year until one day the server started randomly hanging for no apparent reason. After a hard reboot the server would begin to hand again after around 2-3 minutes of being online, sometimes less. After lots of problem shooting I nailed it down to being the Microsoft search service that caused the issue. Basically if I set this service to manual and boot I have no problem. As soon as I start the service the server will start to hang about 2-3 minutes later.

I tried this again last night after trying some fixed and got the same result. The only error I get are in the application log which are about 4 of these with different file types.

One or more documents stored in image columns with extension €œX€? did not get full-text indexed because loading the filter failed with error '0x1'

The server continues to log messages while it is hanging and you can ping the server but you can not access sharepoint, remote in to the server, you can login locally but as soon as you try anything like bring up the start menu all resources will freeze up. During this time there is no disk activity and the CPU usage is 1-3% and mem usage is low.

Can anyone suggest anything to fix this problem so I can start the Microsoft search service and use search in sharepoint again.

Thanks,
LS

View 2 Replies View Related

Simple Update Kills TEMPDB Database In SQL2005 64-bit

Oct 6, 2006

Following update runs 20 hours till TEMPDB grows up to 400GB and runs out of space with error message:

Msg 1105, Level 17, State 2, Line 8
Could not allocate space for object 'dbo.Large Object Storage System object: 440701391536128' in database 'tempdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.

T_PERF_LOC has 30,000,000 rows and T_MASTER_LOC has 2,000,000 rows
There is and index on V_KEY in both tables. CHANNEL_KEY is of Integer datatype and not indexed.
F_MAP function performs simple lookup on very small table (10 rows)

UPDATE A
SET CHANNEL_KEY = OTHERDB.DBO.F_MAP(b.ID)
FROM T_PERF A
JOIN dbo.T_MASTER b
on a.V_KEY = b.V_KEY

Any ideas why?
Thanks

View 4 Replies View Related

Full-Text Search Gets Syntax Error And Kills The Transaction

Oct 26, 2006

I am having problems with syntax errors being generated from the search clause of a full-text search. When the syntax error is raised, the batch and transaction are stopped. Placing the search within a SQL Try/Catch allows the batch to continue, but the transaction is uncommitable.

I need to trap and handle the full-text search syntax error then control the commit or rollback of the transaction based on other transactions.

Below is a simplified version of the type of logic I am working with. The XACT_STATE goes to -1 because of the syntax error generated by the full-text search. This forces a rollback of the whole transaction.

Declare @sSearch NVarChar(50)
/* @sSearch is passed by a web page and could come back empty or with an invalid Full-Text search clause*/

Begin Transaction
Begin Try
Print XACT_STATE()
Select *
/*The table 'KnowledgeBase' is a table with a populated Full-Text Search*/
From Containstable(KnowledgeBase,*,@sSearch)
End Try
Begin Catch
Print XACT_STATE()
Print 'Number- ' + Convert(VarChar,ERROR_NUMBER()) + ', ' +
'Severity- ' + Convert(VarChar,ERROR_SEVERITY()) + ', ' +
'State- ' + Convert(VarChar,ERROR_STATE()) + ', ' +
'Message- "' + ERROR_MESSAGE() + '"'
End Catch

/*Some other logic would be here*/

Commit Transaction

View 1 Replies View Related

One Db For Multiple Sites

Feb 23, 2008

hi all. my question is simple: can i have 1 sql data base for multiple sites?

View 3 Replies View Related

Sql Server Dba Sites

Mar 3, 2002

Can any one pls gime list of sql server websites similar to SWYNK.
also pls gime some good sql server links for diccussion groups.

Thanks in Advance
Kinds regards
sk

View 3 Replies View Related

SQL Scripts Sites

May 5, 2006

Hi,

Can any one help me in pointing to some good web sites where I can get SQL scripts for most common useful functions.

Thanks
-Sudhakar

View 1 Replies View Related

Great MS SQL Sites?

Mar 17, 2004

Does anyone know of any links to some great MS SQL sites I can check out to learn from?

Thanks for your thoughts.

Sincerely,

Tim

View 4 Replies View Related

CD, Books, Sites

May 24, 2006

naresh writes "I would like to learn sql server 2000 and I do not have any programming experienc at all so how do i learn this programme. Do you have any suggestion or any basic books or materials you guys can refer to me


Thank you"

View 3 Replies View Related

Help !! Lost Clients Sites

Sep 24, 2005

“HELP !! We’ve lost about 25 client’s websites. The databases were backed up along with all the actual files contained within each CSK….in addition, all the original databases are intact & can be reattached to the new SQL server…..the problem that exists where the original CSK files do not recognize the original database once it is reattached to the new SQL server. Any help would be most appreciated.
 This is the error……
 Login failed for user 'DARRYL1ASPNET'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'DARRYL1ASPNET'.Source Error:




An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:




 
[SqlException: Login failed for user 'DARRYL1ASPNET'.]
   System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
   System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
   System.Data.SqlClient.SqlConnection.Open() +384
   System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +44
   System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet) +38
   ASPNET.StarterKit.Communities.CommunityUtility.GetAllCommunitiesFromDB() +93
   ASPNET.StarterKit.Communities.CommunityUtility.GetAllCommunities() +58
   ASPNET.StarterKit.Communities.CommunityUtility.GetCommunityInfo() +327
   ASPNET.StarterKit.Communities.CommunitiesModule.Application_BeginRequest(Object source, EventArgs e) +221
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87

View 1 Replies View Related

SQLExpress - Hosting Web Sites

Feb 15, 2006

If I were going to look into investing into a virtual dedicated server and wanted to save LOTS of $$$  by offerring SQLExpress (FREE) vs. SQL Server Enterprise $25,000 sticker price.
The Web sites that I build are for small businesses.
Is there an issue in using SQLExpress on the Internet?  Considering it is the Web application account ID accessing the database so that is one user hitting the DB.
I am unclear on how I need to evaluate multiple calls to the system depending on how many users are on the Web site opening the connection performing SQL Commands then closing the connections all with the same user creditials.
<moojjoo />
 

View 4 Replies View Related

Favorite SQL Forum Sites

Jan 25, 2008

What are your favorite Forum sites?


SQLTeam.com
SQLSERVERCENTRAL.com
TekTips.com
MSDNSQL Forum
forums.sqlmag.com

I hate to ask for information such as this but with the low response to my questions I was wondering anyone knows of a better site for SQL Server database mail issues?

Thanks,
Thom

View 1 Replies View Related

SQL Replication For Multiple Sites

Oct 5, 2007

I am trrying to figure out what the best replication would be to use and or setup...

Her eis the current goal and structure..

We are just moving over to a new custom POS system that will be using SQL databases....We have have three locations and we want each location to be independent in case of network connectively failures to our primary location.

Basically, all three locations will be running SQL server 2005 and the POS app...
We want replication to occur overnight, so that each location will have the other locations transactions from the previous days, etc...

Essencially I want all three locations to "syncronize" their data every night....basically two-way replicaiton between all three sites...

Master Site will have say databaseA that the local POS system will use
Sencond Site will have say databaseA that the local POS system will use as well

Third Site will have say databaseA that the local POS system will use well...

Any thoughts or Ideas will be helpful

Thx
Martin

View 1 Replies View Related

Incorrect Syntax Near '@Sites'.

Oct 31, 2006

I have the following code but it keeps erroring on the last line and I'm unsure as to why it is doing it???



Here is the error message



Msg 102, Level 15, State 1, Line 42

Incorrect syntax near '@Sites'.

declare @Sites varchar(50)

declare @Kit_No char(20)

declare @Location char(2)

set @Location = 'Ho'

set @Kit_No = 'mo1k'



if (SELECT sitetype from gss.dbo.kup_regions where region_code = @Location) = 10

begin

set @Sites = '''Pe'',''Hg'',''Vo'',''' + @Location + ''''

end



select

KR.Region_Code,

KR.Region_Name,

Z.Qty,

Z.Kit_Description,

Z.BookedOutToDate as Usage,

Z.Local_Cost,

(select overstock from gss.dbo.vGss_overstock where region_code = Z.region_code and kit_no = 'm01k' )as Rolling_Avg,

C.Symbol,

Z.FOB,

(SELECT

Price

FROM

gss.dbo.FedEx_Rates Fed

WHERE

SourceRegion = (SELECT Region_Code FROM gss.dbo.KUP_Regions WHERE Region_Name = 'penistone')

AND Weight = (SELECT MAX (Weight) FROM gss.dbo.FedEx_Rates WHERE Weight < (SELECT Packed_Unit_Weight From gss.dbo.KUP_Kits WHERE Kit_Code = (select Kit_Code from gss.dbo.GSS_Kits where Kit_No = 'm01k' ))+0.5)

AND Fed.DestRegion=KR.Region_Code) as Fedex_Price

from

(gss.dbo.kup_regions KR with (nolock)

left outer join

(select KRD.Qty,KRD.BookedOutToDate,KRD.Local_Cost,KRD.FOB,GK.Kit_Description,KRD.Region_code,KRD.Archive_Date

from gss.dbo.kup_region_data KRD with (nolock) inner join gss.dbo.gss_kits GK

on KRD.kit_code = GK.kit_code where GK.kit_no =@Kit_No and KRD.archive_date is not null )Z

on KR.region_code = Z.region_code)

inner join gss.dbo.Currency C with (nolock) on C.Country_Code = KR.Country_Code

where KR.ExpectExtract = 1 and KR.Designation = 'p' and KR.Region_code in @Sites





Many thanks for any help

View 4 Replies View Related

How Do I: Create Data-Driven Web Sites?

Jun 13, 2007

I'm very new at this and found this video very helpful.  I downloaded Visual Web Developer 2005 Express Edition and following the direction except for changing a few column names.  When I get to the point of viewing in browser I get the drop down box but nothing in it and the table doesn't show up either.  I copied all the data to my website and tried to view it there but got some error that I don't understand.  Can someone please help.  The website I uploaded the files to is ocbeachrentals.net/default.aspx.  Thanks.

View 1 Replies View Related

Maintaining SQL Server At Customer Sites

Apr 18, 2003

I am wondering how people maintain their SQL Servers which run at several customers sites and disk space is getting smaller and smaller? I want to say that we have tables in SQL dbs which hold a lot of date consisting of statistics, errors, logs etc.
They grow and grow and existing data is not needed anymore as soon as the data get older than let's say for one year. How do you overcome the problem reducing the tables but not charging the system too much as the major application also runs on the same server?

Thanks for any input

mipo

View 1 Replies View Related

VB5 And RDO Connections Any Good Sites Out There To Provide Help?

Mar 25, 1999

I am new to RDO and SQL I have been using DAO and know that the syntax is similar but the connections to the database is different. Does anyone know of a good site that explains this?

Thanks in advance.

LoPingKill
loping@inlink.com

View 1 Replies View Related

Distributing Data To Client Sites...

Jul 15, 2004

We have a large SQL database, and we need to send out updated records to many clients' sites which are not connected.

We currently have a tool which looks at the audit log of changes we made, creates a file based on this, which is then emailed to our clients. They then run a tool we created to remerge the changes.

I suspect SQL server replication might make all this possible. Am I right? Can SQL server produce a file automatically which can be applied to a remote database to update the tables as appropriate? From looking at some replication stuff it looks to me like you have to have the servers on the same network.

View 1 Replies View Related

SQL 2012 :: Replication Between Different Sites And Domains

Jun 10, 2015

Can we setup a replication ( publisher and subscriber are Sql server) between two different domains, basically different company databases.

View 1 Replies View Related

What Is Being Stored In ASPNETDB.MDF -- It Consumes ~1/2 My Sites Space!

Mar 14, 2007

Using VS2005, VB backend and javascript,
I have developed a relatively simple site - its got a few (12) simple aspx pages but its mostly client side javascript. Keeping disk storage costs down is a big concern with this my site. The disk usage for the site is ~24M. Since this was larger than I expected I started inspecting the files comprising my site and found that the "ASPNETDB.MDF" in my "App_data" folder is consuming 10.2M by itself. The thing is that site only has a few pages with calls to SQL Server - but I never did anything (that I know of) with ASPNETDB.MDF. Through VS2005, I opened up the MDF file and poked around, everything that I looked at was empty (NULL). 
So my questions are:

What is causing the ASPNETDB.MDF to consume 10.2M even thought I can't see any data stored in it?
Is there anyway for my to reduce the size of this file? If so, how?
Can someone give me some pointers as to where to read up on what the ASPNETDB.MDF does?

View 4 Replies View Related

Geographic Data, Multiple Sites And Replication

Mar 13, 2002

Hello all, I am in the process of doing some research and thought I would query you guys (and gals) for your opinions. I have never setup replication and my company is bringing up multiple sites, multiple GIS servers with one master GIS server. They want them to be replicated. Network bandwidth throughout the day is a concern and I may have an option to run replication at night. All servers will be continuously connected and they tell me that each site will be owners of it's data so data conflict should not be an issue. I originally thought qued-updating subscribers and transactional replication but it sounds like that does not work if the servers will always be connected. Any opinions on this anyone? Also, keep in mind that this is GIS data so there will be pretty big blob files in the database. Thanks in advance. RayH

View 1 Replies View Related

Keeping PK's Unique Across (potentially) Disconnected Sites.

Apr 17, 2008

Hi All,

I'd like to throw this idea 'out there' to see if I'm missing something I'll later regret.

I'm looking to resolve a scalability issue within our point-of-sale program. Currently the PK on transactional tables (sales and orders) is created by the application layer using a 'MAX(PKCol) + 1' mechanism. Obviously this requires that all users of the system, whether they're local or remote, have current data at any time they wish to insert. It's this limitation I'd like to remove. Most sites are using MS SQL Server 2000. No sites use anything specific to a later version.

By having a PK that can be generated independently of a 'master' database we can overcome this issue. The PK values will need to be unique within a 'group' of shops and able to be generated by a program operating at any level. From 'head office' which manages a number of shops, to the server at a given shop and even the register / till itself should be able to create ID's while disconnected from the server (using a local database).

It seems there's three main ways to accomplish this:
- Identities,
- MachineID, CurrentPK composite.
- GUID's

Identities: I've ruled out identities as I believe the administration overhead of dealing with them makes them impractical (there may be several hundred registers and therefore as many ranges to be set up within a group).

MachineID, CurrentPK composite: The MachineID references a Machine table which has an entry for each ethernet MAC address which connects to the database. The reason I chose to store the MAC in another table rather than simply using it as column is that I'm fetching it from sysprocesses.net_address(nchar(12)) and believe it's computationally cheaper to use an int than a text column. This mechanism means that we can still expose the PK to the user in some cases (eg: InvoiceNumber printed on a receipt). When the local database is not up to date (usually due to network problems) there will be cases where the CurrentPK will be duplicated but kept unique since it's coupled with the new MachineID. The big drawback to this method is that all current code will need to be revised to deal with the composite keys (this will be a significant amount of development).

GUIDs: Ugly to look at and time-consuming to type. They're not something which you'd expose to a user unmodified so realistically this means altering existing code to use a new 'user friendly' number where the PK is currently exposed to them. The use of GUIDs rule-out the use of clustered indecies on tables they're the PK for lest most inserts cause a page split. The splits would also necessitate more frequent index defrags / rebuilds. Using a non-clustered index incurs a penalty Vs a non-fragmented clustered one (doesn't it?) so while this avoids page-splits it comes at a cost.

After all that I think the best solution is to use GUIDs with a non-clustered index for each of the PK's. While it might not be the fastest of the options (slower reads/joins Vs composite PK) it will be significantly faster to develop while maintaining acceptable performance.

Thoughts?

View 14 Replies View Related

Host Multiple Sites On Report Server?

Mar 28, 2007

Is it possible to host more than one site on the server that hosts reporting services?We have a web app that is accessed through intranet. This site is hosted (IIS)on the same server as the sql server 2005 database that is used as the backend. Is it possible to run reporting services from this same server? or does the reporting services default site require to be the only site hosted?



View 1 Replies View Related

I Want The Sites For ASP.NET 2.0 And SQL SERVER 2005 Interview Questions.

May 12, 2008

I want the sites for ASP.NET 2.0 and SQL SERVER 2005 interview questions.


2) Sites for SQL SERVER 2005 concepts

View 6 Replies View Related

Database Connection Pooling Behavior For Multiple IIS Sites.

Mar 28, 2006

How does database connection pooling work for multiple "copies" of the same web application on the same server?  My IIS 5 win2K server has 32 sites, all pointed to the same code. Each site responds to a different IP/URL(www.a.com, www.b.com, etc.) for SSL reasons. DB is SQL 2000.
Based on perf stats, as a new site spins up, a new pool is created.  So when I hit site 1, I see 10 pooled connections. Site 2 bumps it up to 20, etc.  However, I don't see it go up to 320, so it isn't linear.
BTW, I'm trying to build a case for having 1 site/application that all URL's point to in order to conserve memory, connection pooling, caching, etc.
Any help is greatly appreciated.
-Allen

View 2 Replies View Related

Float Type Steals My Decimal Points And Money Type Kills My Query

Mar 28, 2008

Happy Friday!
A while since I have posted a question, and this one is probably real easy.
I am trying to store numeric values from a php form in MSSQL 2000 database. However, the columns are set to float and if the value is 1.00, when entered into the table it is saved as 1

If I change the column type to money, the query fails, with an error message of conversion of datatype varchar to datatype money statement terminated.

anybody know what I need to do? do I need to do something in my query to specify that this is NOT varchar data?

View 2 Replies View Related

Replicating Database Btw Two Sites Why Aren't The Tables Identical In Size?

Apr 30, 2007

I am replicating an 80GB database between NY can CT and would like toknow why table sizes are different between the two.Here is an example of sp_spaceused::NY IOI_2007_04_23 rows(279,664) reserved(464,832)data(439,960) index_size(24,624)CT IOI_2007_04_23 rows(279,666) reserved(542,232)data(493,232) index_size(48,784)Thanks,

View 1 Replies View Related

Report Veiwer Webpar Not Showing Up In Share Point Sites

Jan 19, 2007

I have successfully installed the reporting services in SQLServer 2005 and have integrated with WSS 3.0. When I go to a site to add in the Viewer web part it is not there. Any ideas?

View 6 Replies View Related







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