MSDE

I've heard, from time to time, that MSDE cannot be used for distributed applications.  This is not true!

I wasn't able to find any Microsoft Knowledge Base articles specifically for this, but I was able to find bits and pieces here and there, which I have combined here.

To enable the network libraries of your choice, run (TCP/IP and/or Named Pipes are a good choices):

Installation Drive/Program Files/Microsoft SQL Server/80/Tools/BINN/svrnetcn.exe

If you have access to SQL Server client tools, you have full administrative access to MSDE.  If not, here are some useful registry settings:

To change the authentication mode, set:
HKLM\Software\Microsoft\MSSQLServer\MSSQLServer\LoginMode
to 1 (Windows Only) or 2 (SQL Server and Windows)

To change the audit level, set:
HKLM\Software\Microsoft\MSSQLServer\MSSQLServer\AuditLevel
to 0 (None), 1 (Success), 2 (Failure), or 3 (All)

If your application has a very light load, MSDE is a cost effective solution (free).  The only limitation that I know of is that after eight concurrent queries, the optimizer turns off.  Well, there is also the lack of administration tools.

posted @ Tuesday, November 02, 2004 9:21 PM
Print

Comments on this entry:

# re: MSDE

Left by eugene at 4/7/2005 4:03 PM
Gravatar
I have a related problem, i think TCP/IP might be an issue, but I don't know. Please advise if you have a solution!

I am using an ASP web application along with a MSDE database, and the problem is that some pages time out on large queries. The error message is "sql server driver timeout expired", and it happens when I click update (and a large update query gets sent to the database).

On my development environment I have the exact same ASP web app connecting to a local MSDE, and it works fine, rocket fast, no problems, even large queries are executed really quick.

I also have Enterprise Manager on my local machine and I have tested the queries (the sql that gets executed by the pages that fail on the live server), and the queries seem to be fine, I did an execution plan in Query Analyser, and it did not come up with any problems, executed very quicly.

Is there a reason why the dev site works fine, but the live site fails on large queries??

I did a very standard default MSDE setup on my dev server, but I don't have control over the live server so I can't
look into the MSDE settings.

Thanks in Advance!

eugene

Your comment:



(not displayed)


 
 
 
 
 

Live Comment Preview:

 
«May»
SunMonTueWedThuFriSat
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789