PHP5, Apache 2.2, MSSQL 2005 Express - Intermittant DB Connection Problem?

Feb 20, 2008

Hi all.

I've had a web service developed in PHP5 running on an Apache webserver for the last 9 months. It handles a lot of XML requests and stores/reads from an MSSQL Server 2005 DB (Express, if that matters).


Occasionally, I will come across the error 'Could not connect to database'. Refreshing the page works 99% of the time removes the error and the system continues as normal. I'd say this is happening about 1/100 requests at the moment, and my client is steadily becoming more irritated by it.


As far as I know, the system settings are mainly stock. It was set up by another developer.


I'm out of ideas with regards to debugging this problem.
Can anybody shed some light, or some possible solutions?




Kind Regards,
Jomn

View 9 Replies


ADVERTISEMENT

Installing Apache, Php5 And Mysql 4

Feb 15, 2006

I am trying to get mysql 4, php5, and apache to work on my winxp sp2 comp,unfortunately even though php5 and apache seems to work ok I am unable toutilise mysql with php and apache, I have yet to see a guide that has aproblem free installation, if there is such a guide or a fix on how to getphp5, apache and mysql all working on winxp sp2, after having movedlibmysql.dll to the c:php directory as well as the c:windowssystemdirectory,. and amended php.ini to show the path to c:phpext (althoughthis version of php didn't automatically create an ext directory) and havingamended pathn the system environments to point to c:php, as well asnumerous other recommendations, I am stuck as to how to proceed. Any helpwill be greatly appreciated.

View 1 Replies View Related

Apache+Tomcat+MSSQL

Jan 11, 2008

Hi,

I have a Apache TOMCAt 5 server running as my web server and I would like to connect my web app to a MS SQL database, can anyone help me out on how to connect my MS SQL with the Web app which is running on my TOMCAT web server.

TOMCAT+Apache is running in Linux system.
MS SQL is running in windows system


Thanks,
Vadiraj

View 1 Replies View Related

Intermittant Connection Errors

Oct 9, 2006

I have a Merge-Pull subscription setup between two SQL 2005 databases. While watching the status messages display for the subscription, I am constantly seeing the following message being displayed:


"The merge process could not connect to the Publisher '{server}:{database}'. Check to ensure that the server is running."

It will display for anywhere between 15 seconds to a few minutes, then it will display the standard "Waiting 60 seconds..." message which is what I'm used to seeing when all is working well.

There doesn't seem to be any network issues that I can identify. I ran a quick script to run ping continuously against the publisher server and verified that the server was constantly "pingable", even when the above message was displayed (which, by the way, was being displayed by using SSMS while connected to the publisher).

Does anyone know what would cause this message to appear all the time - for extended amounts of time, with occasional glimpses of a non-error status?

View 6 Replies View Related

Deploying MSSQL 2005 Express DB To MSSQL 2005 WKGP Errors

Sep 29, 2006

DB is developed on local computer with MSSQL 2005 Express. My host is on MSSQL 2005 workgroup. Are they compatible, because I am getting errors? Is my approach wrong?

I have tried several approaches.

A) I created a backup of database on my local, then placed a copy on the server. Then I tried to restore through Server Management Studio. I get this error.

TITLE: Microsoft SQL Server Management Studio

------------------------------

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

ADDITIONAL INFORMATION:

The backed-up database has on-disk structure version 611. The server supports version 539 and cannot restore or upgrade this database.

RESTORE FILELIST is terminating abnormally. (Microsoft SQL Server, Error: 3169)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=08.00.2039&EvtSrc=MSSQLServer&EvtID=3169&LinkId=20476

------------------------------

BUTTONS:

OK

------------------------------



B: I also have tried copying the database. I put it in the same path as the other databases that can be read with server management studio on the server. Then, tried to get to it through server managements studio and it did not appear. So I tried to attach it. Then I received this error:

TITLE: Microsoft SQL Server Management Studio

------------------------------

Attach database failed for Server 'MROACH1'. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.2047.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476

------------------------------

ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

------------------------------

Could not find row in sysindexes for database ID 10, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes.

Could not open new database 'LodgingDB'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 602)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=602&LinkId=20476

------------------------------

BUTTONS:

OK

------------------------------

C: I have also tried opening the Database, and back up file through Server Management Studio. without success.

D: I also tried Windows and Software update at microsoft update, but no updates were recommended for Version on Server.

I'm surprised this is so hard. My original data base was created in same family of software. 2005 MS SQL Express. I could use some direct help from someone experienced with this. Am I doing it wrong or are the DB versions incompatible.

Mark Roach





View 5 Replies View Related

Database Connection: Mapped Network Drive (VC++ Express, MSSQL SMS Express, XP)

Sep 8, 2007


Hi


I have VC++ express and MSSQL SMS express and have an application working nicely locally. The Data explorer and data connections part works really easily.

Now, I want to make the application available to my home network.

I mapped the drive where the database is and called it Z: so I could put my "release" on my other network PC and assumed it would find Z: if I mapped the shared network drive on that machine and called it Z:

But: I can't even add the mapped connection on the local machine, I get:

The file "Z:databasescalorie.mdf" is on a network path not supported for database files. An attempt to attach.....etc"

It works fine on the original F drive.......

Am I approaching this the wrong way. How should I distribute to network PCs?

thanks hopefully
David

View 5 Replies View Related

MSSQL Express 2005 Vs. MSSQL 2000

Jun 15, 2006

Ben writes "I have a sql script that doesn't function very well when it's executed on a SQL 2000 server.

The scrpt looks like this:


---------------------------------------------------------------------------------------------------
USE [master]
GO
IF NOT EXISTS (SELECT * FROM master.dbo.syslogins WHERE loginname = N'SSDBUSERNAME')
EXEC sp_addlogin N'SSDBUSERNAME', N'SSDBPASSWORD'
GO
GRANT ADMINISTER BULK OPERATIONS TO [SSDBUSERNAME]
GO
GRANT AUTHENTICATE SERVER TO [SSDBUSERNAME]
GO
GRANT CONNECT SQL TO [SSDBUSERNAME]
GO
GRANT CONTROL SERVER TO [SSDBUSERNAME]
GO
GRANT CREATE ANY DATABASE TO [SSDBUSERNAME]
GO
USE [master]
GO
If EXISTS (Select * FROM master.dbo.syslogins WHERE loginname = N'SSDBUSERNAME')
ALTER LOGIN [SSDBUSERNAME] WITH PASSWORD=N'SSDBPASSWORD'
GO
GRANT ADMINISTER BULK OPERATIONS TO [SSDBUSERNAME]
GO
GRANT AUTHENTICATE SERVER TO [SSDBUSERNAME]
GO
GRANT CONNECT SQL TO [SSDBUSERNAME]
GO
GRANT CONTROL SERVER TO [SSDBUSERNAME]
GO
GRANT CREATE ANY DATABASE TO [SSDBUSERNAME]
GO
USE [master]
GO
IF EXISTS (select * from dbo.sysdatabases where name = 'ISIZ')
DROP DATABASE [ISIZ]
GO
USE [SurveyData]
GO
exec sp_adduser 'SSDBUSERNAME'
GRANT INSERT, UPDATE, SELECT, DELETE
TO SSDBUSERNAME
GO
USE [SurveyManagement]
GO
exec sp_adduser 'SSDBUSERNAME'
GRANT INSERT, UPDATE, SELECT, DELETE
TO SSDBUSERNAME
---------------------------------------------------------------


I need to be converted to a script that can be executed on both MSSQL 2000 and MSSQL 2005.

I was wondering if somebody there could help me with this problem?!

Thanks,
Ben"

View 1 Replies View Related

Migrate MSSQL 2005 Express -&&> MSSQL 2005 Srv

Apr 25, 2006

Hi!

What is the best way to migrate MSSQL 2005 Express -> MSSQL 2005 Srv?

View 4 Replies View Related

ADO Connection To MSSQL Server 2005... Need Help

Oct 8, 2006

Hi,

at first a few things about my system:
I use Visual Studio 2005 Pro on WinXP SP2 and I have recently installed MSSQL Server 2005 Express on my system.

I want to establish a connection to the MSSQL Server from C++ (not .NET) using ADO.

For this I use the following connection String:

Open(L"Provider=SQLNCLI;Server=FREECASTLE;Integrated
Security=SSPI;DataTypeCompatibility=80;MARS
Connection=True;",L"",L"",ADODB::adConnectUnspecified);



This works. But this is not exactly that what I wanted, because here
just my Windows Authentication is used. I want to be able to pass
username and password for users that are allowed to access the SQL
Server. Here my first confusion begins: I have the option to pass the username and password into the connection string (User Id and Password) or I guess that I can pass them also as parameter 2 and parameter 3. But with trying both of these options I get always a connection error that my specified Username is not be trusted ( I don't know how the message looks in the English version, because I have the german version), but I suppose you know what I mean.

Of course I have to create such accounts in the SQL Server before trying to login with them. I guess that I made something wrong when doing this. I started the Server Manager Studio and there I navigated into the Object Explorer. In the folder Security I created a new account for testing (using SQL Server Authentication). But I cannot use that account for logging in.

I have to admit that I am very new to the SQL Server thing, so I hope someone can help me or can give me hints on what to do better. I am very thankful for every reply...

View 3 Replies View Related

MSSQL 2005 - Connection Limitation?

Aug 29, 2007

I've searched the forums and found posts stating that there is no connection governer in the 2005 edition, but I am getting connection limitation errors. I have Standard Edition with 25 CALs.

------
A problem occurred when attempting to contact the server (Server returned: Connection reset). Please ensure that the server parameters passed to the driver are correct and that the server is running. Also ensure that the maximum number of connections have not been exceeded for this server.

-----

How can this be?


Thanks!



View 3 Replies View Related

Converting SQL Express 2005 To MSSQL 2005 Database

Jul 14, 2007

Hello, im shure this must have been up before and i apologize for that. But i wonder if there is a way to convert the SQL server express databases to MSSQL 2005 databses?

View 3 Replies View Related

MSSQL 2005 Express For Web Application?

Sep 10, 2007

Hi,

I'd like to get the experts' advice on whether SQL server 2005 Express edition (SSE) is suitable for medium scale web applications.

I have looked through the reviews of SSE. From what I understand, its limitations over the MSSQL 2005 Standard are:

1. SSE limits database size to 4GB and memory to 1GB.
2. Support for only 1 CPU.
3. No analysis or reporting services.
4. No full text indexing
5. No SQL Agent.

I have a web application that is currently running on a shared web host with a shared MSSQL 2000 database. I'm thinking of shifting to a Virtual Private Server, where I can install SSE for free.

Currently my app has about 14,000 page views a month, and each of them pulls out data from the database. I don't use any analysis or reporting services, or full text indexing or SQL Agent (for now).

My questions:
1. Is 1GB memory sufficient for this type of application?
2. Is there any reason I should not be using SSE for my type of application?

Thanks in advance for the help.

View 5 Replies View Related

VB Studio Express And MSSQL 2005

May 23, 2007

How can I connect to a MSSQL 2005 database with MS VB Studio Express?

View 1 Replies View Related

MSSQL Server 2005 Remote Connection Problme

Nov 8, 2007




I am using MSSQL Server 2005 Express Studio and tryig to connetch to the remore server but does not work.

I get this error.

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.


Though I have read like child and made changes according to it.

http://support.microsoft.com/kb/914277

Still says same error.

I am clueless how to do it.

Do any one know web based mssql editor where i can connect mssql?


Thanks in advance.

View 2 Replies View Related

MSSQL 2000 And SQL Server 2005 Express

Jul 5, 2006

Hi,

Does anybody know if MSSQL 2000 and SQL Server 2005 Express Edition can live together on the same machine?

I need to keep MSSQL 2000 up and running while evaluating the SQL Server 2005 Express Edition.

Thank you,
Paul

View 2 Replies View Related

Problem With Mssql Express 2005 Connections

Jul 20, 2007

i Have this stored procedure below that creates a backujp copy of tblpersons from database db1 into another database db2 with a table1 pressing f5 to create it it goes fine up to around 5 seconds and after that the error below appears and looking at the stored procedure it is not created either. I already activated the default settings SQL Server to allow remote connections but still the error appears.

CREATE PROCEDURE makebackup
BEGIN
SELECT * INTO table1 FROM sql1.database1.dbo.tblpersons
END
GO

OLE DB provider "SQLNCLI" for linked server "amps" returned message "Login timeout expired".
OLE DB provider "SQLNCLI" for linked server "amps" returned message "An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.".

Msg 126, Level 16, State 1, Line 0
VIA Provider impossible to find the module

THANKS
ALEX

View 5 Replies View Related

Cant Connect To MSSQL Server Express 2005

Nov 6, 2006

Hi,

i have installed MS SQL Server Express 2005 on my local machine. Also the managment Studio. I can connect to the MS SQL Server Express 2005 with my c# programm and with the mangament studio.

I have in Windows/system32 the file ntwdblib.dll version 2000.80.2039.0. The TCP/IP and Ip Protocl are active. But i cant connect with php to the local MS SQL Server Express 2005.

My php code is:

mssql_connect('192.168.0.2,1433', 'martin', '');

I get the return code Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: 192.168.0.2,1433 in c:InetpubwwwrootProjekteSkriptemssql_connection.php on line 2


Does anyone know what i made wrong or i have forgotten?

mfg martin

View 5 Replies View Related

Mssql 2005 Express Sever Authentication

Jun 1, 2008

I am new to mssql
I am not sure when I should use windows authentication and when to use sql server authentication
I set it to sql server installation when sql server was installed
I am using it right now on xp-pro platform on my home computer but I also have a website where I would like also to use it
right now I do not have problem accessing the server with windows authentication but I keep getting errors when I switch to sql server authentication
Your help is appreciated
Dory

View 5 Replies View Related

MSSQL 2005 Express Client Installation

Mar 18, 2008

I need to install the 'MSSQL 2005 Express Client' on a computer that will be hosting a copy of an MSSQL 2005 Standard Edition database.
Question: Should I install both the DataBase Services feature and the Client Components feature?

Many thanks, for your help on this.

View 4 Replies View Related

MSSQL Express 2005 Performance So Inconsistent!

Jan 26, 2007

Hi, just wondering if anyone noticed the MSSQL Express 2005 is so inconsistent with its performance. I was testing out a query with 2 joins, with the main table having about 13,600,000 records. With the same criteria value, sometimes it finished executing in 3 secs. sometimes almost a 1 min.

Could it be just the volume of the data? This is really driving me crazy!

Any advise will be greatly appreciated.

Rick..

View 2 Replies View Related

Automatic Nightly Backup With MSSQL 2005 Express

Feb 2, 2007

Hello, we are running MSSQL 2005 express on a windows 2003 machine. I have looked in SQL Server Management Studio for close to an hour and could not find a way to setup automatic backups of databases. Where is this feature, and short tutorial would be great. Thanks!

View 1 Replies View Related

Connection Strings, Trusted-connection VS Username-password, SQL Server 2005 Express

Mar 9, 2007

All --
Please help.
I have some questions about connection strings.
 
BACKGROUND...

Note that I am using the "SQL Native Client OLE DB Provider", SQL Sever 2005 Express, ASP.NET, C#.NET, and VS.NET 2005.
Note that I do not want to use the "Attach a database file" type of connection string.
Note that I am using the site http://www.ConnectionStrings.com as a reference.
Note that this "Standard security" connection string...<add name="LocalSqlServer" connectionString="Server=MYTESTOFFICESERVERS;Database=MyDatabase;Uid=MyDatabaseUser;Pwd=MyDatabasePassword;" />...does not work and causes the following run-time error...A connection was successfully established with the server, but then an error occurred during the login process. (provider: Shared Memory Provider, error: 0 - No process is on the other end of the pipe.)
Note that this "Trusted connection" connection string...<add name="LocalSqlServer" connectionString="Server=MYTESTOFFICESERVERS;Database=MyDatabase;Trusted_Connection=yes;" />...works but is less-than ideal because it uses a Trusted Connection rather than a Username/Password combination.
 
QUESTIONS...
(A) What exactly does the error in Item 4 mean?
(B) Do 4 and 5 imply that one must use a Trusted_Connection for all SQL Server 2005 Express connection strings when the database does not reside in the web application's App_Data folder or use a "Attach a database file" type of connection string?
(C) Are there any alternatives?
(D) What do you suggest?
 
Please advise.
Thank you.
-- Mark Kamoski

View 1 Replies View Related

Slow Connection. ASP Page Querying A Linked Server On MSSQL 2005

Dec 28, 2006

Creating a web application.  Running a simple query "SELECT username FROM vwCustomer"

vwCustomer is a view built on top of an Access DB which is set up as a linked server.  Within SQL Server that view responds immediately.  But when I try to access it from an ASP page it takes over 20 seconds to respond.

Used the following to create the linked server:

EXEC sp_addlinkedserver 'DBName', 'Jet 4.0', 'Microsoft.Jet.OLEDB.4.0', 'c:databasesdatabase.mdb'

GO

EXEC sp_addlinkedsrvlogin 'DBName', FALSE, NULL, 'Admin', ''

GO

The view is simply(this works fine in SQL Server):

SELECT * FROM DBName.db.dbo.customer

The ASP page:

SELECT * FROM vwCustomer

Can anyone give me a hint as to where the bottleneck is?  Or how I can figure that out using SQL Profiler or something?

Please help!

View 3 Replies View Related

Windows Accounts And User Permissions In MSSQL EXPRESS 2005

May 15, 2008

This may be an idiotic question:

I am attempting to use Visual Web Developer Express with a connection to a SQL Express db from a non-admin account on my XP Pro SP2 machine.

I can do everything in the app under an admin login, but can't seem to configure the db to allow the non-admin account access to the db. I've tried tweaking WMI, using Network Service, Local Service, and Local System with NT AUTHORITY, individual logins, and group permissions, but I'm stuck.

Any thoughts?

View 5 Replies View Related

Format DateTime Coulmn In Mssql 2005 Express Edition

Jan 1, 2008

hi ,
this is my first post on MS Forums .

Q: my question is that , i want to format a date column .. d/m/yyyy .. but there is no any format facility ..



anybody can help me here ??




View 1 Replies View Related

Extracting MS Excel Data In MSSQL Server 2005 Express

Aug 26, 2006

Is there a way of extracting data from MS Excel using MS SQL Server 2005 Express?

View 1 Replies View Related

How To Get A Remote Connection To SQL Server Express From VB 2005 Express In A Network PC That Is Granted For Administrator Use

Aug 22, 2007

Hi all,

I have SQL Server Express and VB 2005 Express installed in a Microsoft Windows XP Pro PC that is a terminal PC in our office Network. My Network Administrator has granted my terminal PC for Administrator Use. I tried to do the ADO.NET 2.0-VB 2005 programming in my terminal PC and I could not get a remote connection in the Window Form Application via Window Authorization. I do not know how to make this kind of remote connection in my Network. Please help and advise.

Thanks in advance,
Scott Chang

View 6 Replies View Related

SQL Express 2005 Remote Connection With VWD 2005 Express

Jun 22, 2006

Hi all,Just wondering if SQL 2005 express edition can be connected remotely. I've set up SQL 2005 Express on a separate machine and am having trouble connecting to it from VWD when creating the websites. Currently I've set up ASP.NET 2.0 Framework on the remote machine with IIS6 using Windows Server 2003 Web Edition. And I am directly editing the website remotely on the server machine from my PC. Could someone please help me in setting up a remote connection from VWD to the SQL Server?I've enabled TCP/IP setting in the SQL Configuration Manager but still getting errors. Could this be an issue with Express Edition? Because if it is I also have a copy of SQL Server 2005 to install. Any direction to resolve in this issue would be greatly appreciated.PS. I'm new to this so pls bear with me. Thanks.

View 1 Replies View Related

Nebie Connection Problems With SQL Server 2005 Express And VS 2005

May 10, 2007

I downloaded SQL Server 2005 Express and some sample databases (incl. Adventureworks_data.mdf), but when I try to Add Connection in VS 2005 to point to this db and use the Test Connection button, it gives the error:



---------------------------
Microsoft Visual Studio
---------------------------
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
---------------------------



I've tried setting the data source as either "Microsoft SQL Server Database File" or "Microsoft SQL Server", but get the same error.



Any tips on verifying SQL Srv Express is installed correctly? Any ideas on how to solve this problem?



Thanks in advance.

View 1 Replies View Related

Intermittant Missing Characters

Sep 17, 2007

I'm getting some odd intermittant missing character problems when displaying text from a 'text' column. The text is in plain English with no unusual or non alphanumeric characters. Every so often the text is displayed with a character missing somewhere in the middle of the text.

I have tried to look at what is stored in the database but cannot seem to view the contents of the 'text' column using Enterprise Manager.

The following extract shows two lines of text which are list items (<ul>). The second line shows a lowercase 't' missing on the word dedicated. This line was copied from the first. Sometimes it displayes correctly and at other times the 't' is missing.

EXAMPLE:
The only dedicated wine travel website with producer recommendations from a team of well known wine writing experts.
The only dedicaed wine travel website with independent recommendations of places to stay and eat.

This is doing my head in as I can find NO logical reason for it.

If anyone has any clues as to where I should be looking for some answers I would be delighted to know.

Thanks.
Charles H.

View 6 Replies View Related

SQL Express 2005 Connection

Mar 5, 2007

Hi,

i am stuck in a strange situation.
I have successfully built my application setup through InstallSheild 12. Which first installs SQL Express user define instance as a pre-requisite and then install my application files. First time when i run my application (without restarting the pc), it connects successfully with user define instance.
But as i restart my PC and try to open my application, it is not connecting with database.
i am using the following command line to install SQL Express 2005 user define instance:

"/qn ADDLOCAL=SQL_Engine INSTANCENAME=MyInstance SECURITYMODE=SQL SAPWD="test" AUTOSTART=1"

if i change Remote connection to "using both TCP/IP and named pipes" through "SQL Server Surface Area Configuration" and then restart my pc again. My application connects successfully with Database.

Please guide me where i am getting wrong in building setup. do i have to add something in my command line to not get this error

View 3 Replies View Related

SQL 2005 Express Connection Problem

Jan 24, 2007

I'm a newbie to asp.net, but I have been a programmer for years.I have a question that I'm hoping someone can give me a good answerfor, I have been trying to set up a site remotely and I've been usingthe login control that comes with Visual Web Developer 2005 Express,this comes with SQL 2005 Express.  The remote site is not a companycomputer, but basically a host that I'm paying for.  When I deploy onthis remote site and try to log in I get this error:An error has occurred while establishing a connection to the server.When connecting to SQL Server 2005, this failure may be caused by thefact that under the default settings SQL Server does not allow remoteconnections. (provider: SQL Network Interfaces, error: 26 - ErrorLocating Server/Instance Specified)Using the Database Explorer I noticed that on my laptop the databasefile is sitting on my C: Drive.  I also noticed that on the remoteserver I deploy to has all my files on their D: Drive.  My question isdo I have to set my SQL 20005 Express file up locally exactly the waythe file will set remotely?  In other words... If, on the remoteserver, my files will be on D:(url)asp_data... in order for my logincontrol to be able to use it, it has to be set the same way?Also, does that remote site need to be set up with SQL 2005 express aswell? or will the site be able to work off of that file?And Finally, I also have SQL Server 2000, if I wanted to use this login control (the one that comes with Visual Web Developer 2005), how can Ireference this server instead of SQL 2005 Express?  It seems Visual WebDeveloper 2005 wants to use it automatically.Thanks in advance

View 2 Replies View Related

SQL Server 2005 Express Connection

Mar 23, 2007

I am having trouble connecting to SQL Server 2005 Express using ASP.NET written in VB.NET (1.1 Framework) in VS2003.  I am trying to programmatically connect to the SQL Server.  Since this is a redistributable web application and I don't want to rewrite the connection string every time I distribute a copy, is there any way to automatically get a connection string without prompting the end user for one?  I can get the server name and the data base name, but I don't know how to get a username.  It returns an error saying SERVERASPNET can't log on.  Can anyone help?

View 3 Replies View Related







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