Connection Strings And SQL Express 2005

Sep 12, 2006

Hello,

I am working on porting a Windows Forms VB.net VS 2003 app with a SQL 2000 backend - to using VS 2005 with SQL Express 2005.

I cannot seem to figure out how to set my connection string to work in the new environment. I have already recreated my database in SQL Express 2005 and ported the VS project to VS 2005.

The old string was (in my app.config file):

<add key="ConnectionString" value="workstation id=MAIN1;packet size=4096;user id=sa;data source=MAIN1;persist security info=True;initial catalog=Dbname;password=####" />



Any ideas?

Thanks,

Sam

View 1 Replies


ADVERTISEMENT

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

Question Regarding SQL Express And Connection Strings

Nov 20, 2007

Hello everyone! I am having some more problems while trying to get my site online. I built the site offline using Visual Web Developer Express Edition, and used "SQL Server Express" that comes with ASP.Net.  Therefore, I have the ASPNETDB.mdf and mydatabase.mdf in the App_Data folder.  Now, on my local machine everything runs fine.  When I tried to put the site online however, I get the following 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. (provider: SQL Network Interfaces, error: 26
- Error Locating Server/Instance Specified) This is the connection string in my web.config file:    <connectionStrings>        <add name="ConnectionString" connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=|DataDirectory|mydatabase.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>    </connectionStrings> Now, my web-host does have SQL Server 2005.  Does my ASP.Net application use that though, since I have it running just through SQL EXPRESS?  Also, does anyone know where I could change my "SQL Server 2005" settings?  My web-host uses Plesk 8.2.0, and the database managing program is "ASP.Net Enterprise Manager", but I can't find any options anywhere to change the Server settings to allow remote connections. Any help would be greatly appreciated!  Thanks in advance, Markuu 

View 4 Replies View Related

MS SQL Express - Connection Strings For Depolyment

Mar 18, 2006

From my Web.Config<connectionStrings>  <add name="CustomerConnectionString" connectionString="Data Source=.SQLEXPRESS;AttachDbFilename=&quot;D:-- Work Documents --WorkezWebApp_DataASPNETDB.MDF&quot;;Integrated Security=True;Connect Timeout=30;User Instance=True"   providerName="System.Data.SqlClient" /> </connectionStrings>It's obvious to me that the next in orange would cause my db application not to work when i roll it out onto the net.Am i correct to say this? I recalled i needed something like "Server.mappath("path-name")"anyone know what i need to do?

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

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

Connection Strings

Nov 11, 2006

I am trying to develop a web site. I have a local ms sql database on my machine.
I am trying to connect to a ms Sql database on a goDaddy server from the application.
I am trying to understand the connection string and its total properties.
here is what I think should be in my web.config file

add name="Personal" connectionString="Server=whsql-v12.prod.mesa1.secureserver.net;
Database=DB_XX10;
User ID=myID;
Password=myypassword;
Trusted_Connection=False" providerName="System.Data.SqlClient"
 
/>
<remove name="LocalSqlServer"/>
can someone please tell me where I am going wrong, Thanks for your help.....

View 7 Replies View Related

Connection Strings

Nov 24, 2007

I developed an application and deployed it onto a hosted provider.  I use SQL 2005 Express for development SQL 2000 for production.  Both systems work.
I backed up my production database and wish to use it for my development testing.  I restored it as a SQL 2000 database on my development machine and changed my connection strings to point to it.  I added it as a new Data Connection in Database Explorer and can see all of the data through it, but I see that all the tables now have the owner name in parenthesis as part of the table name.
My application now fails trying to find any of the tables.  It works if I include the owner name as part of the SELECT statement.  So much for data separation.
I don't know where to start.  Is this an issue between SQL 2005 Express and SQL 2000, or is it an issue between SQL and ASP.NET, or is it a hosting provider issue, or what?????

View 6 Replies View Related

Connection Strings

Jan 24, 2008

Hey guys, don't know if this is in the right place but here goes.
I'd like some advice on optimizing the way I write my code. Here's the scenario. I have a select string for 3 different tables. One for the main gridview, and two others that are binded to dropdownlists.
So I created a Sqldatasource1,2,3 and had to create the connection strings for each one.
ex. SqlDataSource1.ConnectionString = "blah", SqlDataSource2.ConnectionString = "blah", SqlDataSource3.ConnectionString = "blah"the thing is, the connection string itself is the same. Is there a way to consolidate that? So that when I use a select/update/insert command for each sqldatasource i dont have to have another connection string? Also, having multiple connectionstrings, does that slow down the performance?

View 3 Replies View Related

Connection Strings

Mar 14, 2008

Hi,
Im struggling to work out the connection string to my ms sql database.
My website is being hosted with freezone.co.uk and I have a ms sql database called "aspnetdb". I usually log into the database with a username but no password. I don't no what other information is needed to create my connection string?
Thanks, Mark Lawton

View 2 Replies View Related

Connection Strings

Nov 6, 2006

I have created a SSIS package, and got it to perform as I want.

I am having a problem though with connecting to my data source (OLE DB Source) using SQL Server Authentication.

If I use Integrated security, I have no problems. If I use SQL Server Authentication, I get errors.

Here is the connection string that works:

Provider=SQLNCLI.1;Data Source=.SqlExpress;Integrated Security=SSPI;Initial Catalog=MyDataBase

Here is the connection string that fails:

Provider=SQLNCLI.1;Data Source=.SqlExpress;Persist Security Info=True;Password=**********;User ID=myUserid;Initial Catalog=MyDataBase

The strange thing is that when I use the Connection Manager dialog screen and click on "Test Connection", I get the response that the connection succeeded. It is only when I try to run the task that I get an error.

Here is the error I am getting:

[OLE DB Source [1]] Error: The AcquireConnection method call to the connection manager "MyDataBase" failed with error code 0xC0202009.

[DTS.Pipeline] Error: component "MyDataBase" (1) failed validation and returned error code 0xC020801C.

I have eliminated the obvious errors (incorrect Userid or password). Also, I am unable to use Integrated Security as this package needs to be distributed to various systems that may or may not be on our company's primary domain.

It seems I am missing something really basic here, but am not seeing it.

Any thoughts?

View 12 Replies View Related

Connection Strings

Dec 13, 2006

This is probably a very basic question and I apologise for asking. Can an app developed with VWD using SQLexpress be used with server2000? if so how do I modify the connection string.

View 2 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

Sql 2005 And Sql Express Connection Problem

Apr 10, 2006

I have the following problem, and any help would be appreciated.  I am running sql 2005 on my production server, and developing websites on my development server running VWD and Sql Express.
 
I have been looking for the answer to this problem for about a week.  When I upload my site to the production server I get sql errors  on all the pages with dynamic content.  I have looked into the permissions but nothing is working.  Has someone had a similar problem and found a solution?
 
Thanks for any help.

View 2 Replies View Related

Connection To SQLServer 2005 Express

Oct 10, 2006

Hi to all GURUS,

I am very (almost two days) new to SQL Server Express (in fact SQL Server). In my old applications I am using VB.Net 2005 Express with MS Access database and now I wants to go for SQL Server Express.

One thing I am unable to find till now is : if SQLServer Express is installed on my Server machine (say ServerPC) with attached database (say MyDB.mdf), how I can access it through ADO.Net 2.0 from client machine. (using VB.Net Express)

Thanks and hope you will encourge me to use SQL Server .

View 1 Replies View Related

SQL 2005 Express Edition Connection

Feb 25, 2008

I just recieved an ASP script with SQL mdf file and I just installed the SQL 2005 express edition. I'm running it in mix mode (don't even undarstend what it means). The script works with the connection string pointing to the developers site.

connStr= "Provider=SQLOLEDB;Data Source=sql385.mysite.com;User Id=myID;Password=myPass; Initial Catalog=hra;"

I got a table called hra_DATA.mdf and a log which i was able to attach to them from the Microsoft SQL Server Management Studio Express panel.

How can i configure the connection to work with my server.
My servername and instance is MTL-SRV100SRV100

Thanks to all

View 10 Replies View Related

Slow Connection To SQL 2005 Express

Jan 22, 2008

I've just moved a website/database application from windows server 2000 and sql server 2000 to windows server 2003 sp2 and SQL 2005 Express SP2. Database intensive pages now take about 40 seconds where before they took 2-3 seconds.

Things I've tried that haven't helped...

- I changed the ADODB connection string

from: sCnString = "dsn=mydsn;Database=mydatabase;uid=myuid;pwd=mypassword"

to: sCnString = "driver={SQL Native Client};server=myserverSQLEXPRESS;Database=mydatabase;uid=myuid;pwd=mypassword"

- Checked that autoclose is false.

What else can I look at?

View 1 Replies View Related

Connection To SQL Server 2005 Express?

Nov 15, 2005

Hi all, I've been reading other posts for awhile now and I can't figure out what I'm doing wrong.

View 14 Replies View Related

SQL EXPRESS 2005 Connection String

Dec 25, 2006

I try to use this conn string but it is not working I think the problem is with the provider
DataBaseSource = "Provider=SQLOLEDB; Password=sa2006; User ID=sa;Initial Catalog=coupon; Data Source=YAELSQLEXPRESS;"
I get error message
Microsoft OLE DB Provider for SQL Server (0x80004005)
[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

do you know which provider can I use?
or maybe it is a sacurity problem

Yael

View 1 Replies View Related

SQL Express 2005 Connection Problem

Aug 5, 2007

I know this is an old problem that has been discussed many times but I'm having a problem getting connected to a remote SQL Express server.

I am running SQL Express 2005 on Windows 2003. I am trying to access it from Windows XP PRO. I have read all the articles about enabling remote access, enabling TCP/IP connection etc and have done that. I also created a user in SQL Express to allow for SQL-SA based authentication. I beleive that this my only option since the two systems are not in a Domain, they do not share common user names.

Using SQL Server Management Studio Express(SSMSE), I can see the instance of SQL, but have had no luck in attaching to it. I thought it might be a firewall problem, but I disabled them completely with no help(ZoneAlarm and Windows). The error message(below) seems to indicate that it can't see the specified SQL instance but I've checked the name multple time and I use the browse feature in SSMSE to identify it.

What am I missing? I've tried everything I can think of and I have made this work before so I'm not a total novice at it.

I would appreciate any suggestions...

Thanks

rivers
==============================================================
==============================================================
Here's the error text:

TITLE: Connect to Server
------------------------------
Cannot connect to BIGREDSQLEXPRESS.
------------------------------
ADDITIONAL INFORMATION:
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) (Microsoft SQL Server, Error: -1)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------

View 4 Replies View Related

ODBC Connection To SQL 2005 Express

Jan 18, 2006

I am attempting to setup a SQL Server 2005 Express database as a backend to an Access MDB, and need to establish an ODBC data source for the backend database. On two different systems (Windows XP Pro and Windows 2003 SBS), I get an error that says I cannot connect to the SQL Server. I get a message that says:

Connection failed: SQL State 08001 SQL Server Error: 2
[Microsoft][SQL Native Client]Named Pipes Provider: Could not open a connection to SQL Server

That is followed by a Login timeout expired and a suggestion that under the default settings SQL Server does not allow remote connections.

I have shared memory, named pipes and TCP/IP protocols enabled, and the firewall set to allow connections on port 1433. And the Express manager seems to work OK.

I see several posts about issues with ODBC, but none of the suggestions seem to help in this situation. Can anyone suggest something to try? Thanks in advance.

View 25 Replies View Related

Dynamic Connection Strings

Feb 5, 2007

Hi,
I am looking to allow a user to select which database they need to connect to, and then for them to be able to use that connection string until they choose a different database. I have a separate database specifically to hold the list of databases with the respective connection strings, and various forms that are currently looking at the web.config for the connection string. Unfortunately, I can't just put all the connection strings into the web.config as the number of databases available to the user will increase on a weekly basis which will be handled by a database administrator, so I want a user to select from a list of databases (for which they have permissions), and for that connection string to remain for that user. Potentially there will be 20 or more users each connected to a different database (all SQL Express).
If anyone can provide any help on this I will be truly thankful as I've hunted on the internet for hours and have been unable to find anything that has helped.
Thanks in advance.
Paul

View 4 Replies View Related

Dynamic Connection Strings

Feb 6, 2007

Dynamic connection strings
I have found lots of people asking for something similar to this but cannot find any solutions - can you help?
I am developing an application (ASP.Net2) in which users are associated with 'Clients' and every Client has their own SQL Server database.
Users are authenticated using standard ASP.Net Authentication via a separate database (common for all users). This includes a table linking them to a Client and each Client record includes the connection string to their database. Currently a default connection string is held in the web.config file.
My problem is that I don't know how to dynamically change the connection string after a user has logged on. I have a large number of databound controls, many of which are declared and some are coded in the VB.Net code behind. I know I can use code behind to change the connection string for a SQLDatatSource:
I thought I had it cracked with the following:
Public objClientConnection As New ConnectionStringSettings
Public Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs)If Session("ClientDBConnectionString") <> "" ThenobjClientConnection.ConnectionString = Session("ClientDBConnectionString")objClientConnection.Name = "ClientDBConnection"objClientConnection.ProviderName = "System.Data.SqlClient"ElseobjClientConnection = ConfigurationManager.ConnectionStrings("WebTool1ConnectionString")End IfEnd Sub
The session variable Session("ClientDBConnectionString") holds the client specific connection string and is populated when the user logs on. If this is not populated then the connection string defaults to one collected from web.config. This should ensure there is always a design time connection string available.
The trouble is, when I try and declare the SQL data souce like this:
<asp:SqlDataSource ID="dsTest" runat="server" ConnectionString="<%# objClientConnection.ConnectionString %>" SelectCommand="usp_SEL_DocumentTypes" SelectCommandType="StoredProcedure" ></asp:SqlDataSource>
I get an error: The ConnectionString property has not been initialized.
I have been going around in circles on this for days and would really appreciate some help. Am I on the right lines? What needs to change to make it work? Is there a better way?
Many thanks,
Cliff

View 50 Replies View Related

Connection Strings In Web.config

May 31, 2007

What am I doing wrong?
This works:
SQLConn.ConnectionString = "Data Source=McD_DB;Initial Catalog=McDFeelGood;User ID=uuu;Password=ppp"
Now I want to put it in my web.config, but these don't work ("ConnectionString property has not been initialized"):
SQLConn.ConnectionString = ConfigurationSettings.AppSettings("McDFeelGoodConnectionString") (VS IDE says this method is obsolete)SQLConn.ConnectionString = System.Configuration.ConfigurationManager.AppSettings("McDFeelGoodConnectionString")
<connectionStrings>    <add name="McDFeelGoodConnectionString" connectionString="Data Source=McD_DB;Initial Catalog=McDFeelGood;Persist Security Info=True;User ID=uuu;Password=ppp" providerName="System.Data.SqlClient" /></connectionStrings>

View 1 Replies View Related

TableAdapter And Connection Strings

Sep 19, 2007

Hello,
I'm trying to setup a typed dataset with a table adapter in .NET 2.0, and the problem I am having is that I cannot get the table adapter to use existing connection strings setup in the web.config file.  How can I get it to do so?  It doesn't see the connection strings, and so it wants me to create a new connection, which I don't want to do.

View 2 Replies View Related

SQL Server Connection Strings

Dec 18, 2003

I should start by saying that I'm new to SQL Server and ASP.NET. My question is about connection strings. With so many possibilities of these strings, how will I ever know what is best to use or try when one does not work. Is there a rule of thumb or an article or even a book that someone can recommend? Something that will demystify this part of working with the SQL Server and ASP.NET?

Thank you very much for any help on this.

View 1 Replies View Related

Database Connection Strings

Aug 2, 2004

My question is, are the user id and password optional when creating a database connection string? I've created an asp page without including them, but in my aspx page (which is basically supposed to do the exact same thing as the asp page), I'm receiving the following error:

Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
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 '(null)'. Reason: Not associated with a trusted SQL Server connection.

Source Error:


Line 48: DisplayConnection = New SqlConnection("Server=infomart;Database=psg")
Line 49: DisplayCommand = New SqlCommand("SELECT RollOutID,RequestedDate,Background,Product,StagingPushDate,ProdPushDate FROM rolloutrequests ORDER BY RollOutID DESC", DisplayConnection)
Line 50: DisplayConnection.Open()
Line 51: DataGrid2.DataSource = DisplayCommand.ExecuteReader()
Line 52: DataGrid2.DataBind()


Source File: c:inetpubwwwroot
olloutrequests
olloutrequests.aspx.vb Line: 50

Stack Trace:

[SqlException: Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.]
System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) +472
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
rolloutrequests.WebForm1.Page_Load(Object sender, EventArgs e) in c:inetpubwwwroot
olloutrequests
olloutrequests.aspx.vb:50
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731


Any help would be greatly appreciated! Thanks!

View 1 Replies View Related

Storing Connection Strings

Oct 1, 2004

My app is in a shared hosting environment. They use SQL Server authentication and I'm not wild about storing user ids and passwords in web.config. What's the best practice for storing this connection string information?

Thanks

View 3 Replies View Related

AS400 DB2 Connection Strings

Jan 17, 2007

I am trying to construct a connection string via iSeries OleDb provider. The default list of libraries on the AS400 for my user is fine for production. But in test scenarios the code/data libraries are rolled out through a sequence of test libraries. How do I specify the additional libraries for testing.

I connect fine and can execute sql. the statements like insert into TestLibrary.Table work fine, but the associated trigger code isn't called.

Would it be better to use the .Net Connection set of classes instead. I switched from ODBC to OleDb because of assumed thread safety issues.

View 3 Replies View Related

Login Fails: No Connection To SQL Express 2005

May 2, 2007

Hello
 
I have copied my web site to the default folder on IIS 5.1 (I am using XP Pro), and now when i run the app, i get to the login page and after hitting "Login" button the page refreshes and clears the fields but no error message.
I am not sure what to do.
 
 

View 2 Replies View Related







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