473,396 Members | 2,109 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Configuring AspNetSqlProvider to use a different database

I need to configure the provider to use a database in SQL Server
instead of the SQL Express database default, but the admin tool does
not give any options to change the database. Does anyone know how to
change this configuration?

I tried to change default connection in web.config file.

Now it looks like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="SqlServices" connectionString="Data
Source=TEHNOWEB;Initial Catalog=TehnoDB;Integrated Security=true;" />
</connectionStrings>

<system.web>
<roleManager enabled="true" />
<authentication mode="Forms" />
</system.web>
</configuration>

This is not possible to be connected, returned error 26 - Error
Locating Server/Instance Specified and I understand what does it mean
but I don't understand how to do that properly???

1. My question is that all what I need to do, only to change default
connections in web.config file?

2. What does it mean "SqlServices" exactly. I can not see any
conection with something...

Thanks to all
May 19 '07 #1
4 8239
hi,

See if this helps:
http://www.thedatafarm.com/blog/2006...embership.aspx

"Mike" wrote:
I need to configure the provider to use a database in SQL Server
instead of the SQL Express database default, but the admin tool does
not give any options to change the database. Does anyone know how to
change this configuration?

I tried to change default connection in web.config file.

Now it looks like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="SqlServices" connectionString="Data
Source=TEHNOWEB;Initial Catalog=TehnoDB;Integrated Security=true;" />
</connectionStrings>

<system.web>
<roleManager enabled="true" />
<authentication mode="Forms" />
</system.web>
</configuration>

This is not possible to be connected, returned error 26 - Error
Locating Server/Instance Specified and I understand what does it mean
but I don't understand how to do that properly???

1. My question is that all what I need to do, only to change default
connections in web.config file?

2. What does it mean "SqlServices" exactly. I can not see any
conection with something...

Thanks to all
May 19 '07 #2
Thank you so much. This is very usefull.

Now I'm in trouble with roles configuration...

You help me a lot, thanks again.

Mike

On Sat, 19 May 2007 05:08:03 -0700, Siva M
<sh******@online.excite.comwrote:
>hi,

See if this helps:
http://www.thedatafarm.com/blog/2006...embership.aspx

"Mike" wrote:
>I need to configure the provider to use a database in SQL Server
instead of the SQL Express database default, but the admin tool does
not give any options to change the database. Does anyone know how to
change this configuration?

I tried to change default connection in web.config file.

Now it looks like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="SqlServices" connectionString="Data
Source=TEHNOWEB;Initial Catalog=TehnoDB;Integrated Security=true;" />
</connectionStrings>

<system.web>
<roleManager enabled="true" />
<authentication mode="Forms" />
</system.web>
</configuration>

This is not possible to be connected, returned error 26 - Error
Locating Server/Instance Specified and I understand what does it mean
but I don't understand how to do that properly???

1. My question is that all what I need to do, only to change default
connections in web.config file?

2. What does it mean "SqlServices" exactly. I can not see any
conection with something...

Thanks to all
May 20 '07 #3
Check this one:
http://help.maximumasp.com/smarterti...?articleid=878
"Mike" wrote:
Thank you so much. This is very usefull.

Now I'm in trouble with roles configuration...

You help me a lot, thanks again.

Mike

On Sat, 19 May 2007 05:08:03 -0700, Siva M
<sh******@online.excite.comwrote:
hi,

See if this helps:
http://www.thedatafarm.com/blog/2006...embership.aspx

"Mike" wrote:
I need to configure the provider to use a database in SQL Server
instead of the SQL Express database default, but the admin tool does
not give any options to change the database. Does anyone know how to
change this configuration?

I tried to change default connection in web.config file.

Now it looks like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="SqlServices" connectionString="Data
Source=TEHNOWEB;Initial Catalog=TehnoDB;Integrated Security=true;" />
</connectionStrings>

<system.web>
<roleManager enabled="true" />
<authentication mode="Forms" />
</system.web>
</configuration>

This is not possible to be connected, returned error 26 - Error
Locating Server/Instance Specified and I understand what does it mean
but I don't understand how to do that properly???

1. My question is that all what I need to do, only to change default
connections in web.config file?

2. What does it mean "SqlServices" exactly. I can not see any
conection with something...

Thanks to all
May 20 '07 #4
It is great, Thank you very much :)

On Sun, 20 May 2007 03:22:00 -0700, Siva M
<sh******@online.excite.comwrote:
>Check this one:
http://help.maximumasp.com/smarterti...?articleid=878
"Mike" wrote:
>Thank you so much. This is very usefull.

Now I'm in trouble with roles configuration...

You help me a lot, thanks again.

Mike

On Sat, 19 May 2007 05:08:03 -0700, Siva M
<sh******@online.excite.comwrote:
>hi,

See if this helps:
http://www.thedatafarm.com/blog/2006...embership.aspx

"Mike" wrote:

I need to configure the provider to use a database in SQL Server
instead of the SQL Express database default, but the admin tool does
not give any options to change the database. Does anyone know how to
change this configuration?

I tried to change default connection in web.config file.

Now it looks like this:

<?xml version="1.0" encoding="utf-8"?>
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<add name="SqlServices" connectionString="Data
Source=TEHNOWEB;Initial Catalog=TehnoDB;Integrated Security=true;" />
</connectionStrings>

<system.web>
<roleManager enabled="true" />
<authentication mode="Forms" />
</system.web>
</configuration>

This is not possible to be connected, returned error 26 - Error
Locating Server/Instance Specified and I understand what does it mean
but I don't understand how to do that properly???

1. My question is that all what I need to do, only to change default
connections in web.config file?

2. What does it mean "SqlServices" exactly. I can not see any
conection with something...

Thanks to all
May 21 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Mike | last post by:
Looking to find any information on how to properly configure multiple instances of DB2. This is on Win2k db2 ver 7.2. I am basically looking for information on how the multiple instance settings...
5
by: Alex | last post by:
Hi all, I'm sure this is really really easy but I do need some help. I'm writing a java stored prcedure to manage the assignment of IP addresses to mac addresses for a network device database...
10
by: Ed Stevens | last post by:
A tale of woe, and a question . . . Last week my boss said to me "we've installed DB2 Connect on this Solaris box. Make it work." Now, I've barely seen DB2 Connect on Windows, having fumbled...
2
by: Ammar | last post by:
hi all... it is me again asking silly questions lol i am trying to access SQL database through ASP.NET, and i am having some troubles i just installed MSDE 2000 and you can safely say that i dont...
1
by: Ron Weldy | last post by:
So far, every book I have looks at on ASP.NET jumps right into creating a project. There is no discussion about setting up the environment, using a local IIS install (I think it can all be ran on...
3
by: John Bailey | last post by:
I need to configure the provider to use a database in SQL Server instead of the SQL Express database default, but the admin tool does not give any options to change the database. Does anyone know...
1
by: Hennie | last post by:
Ho can I get the role of the user in a ASP.net 2.0 web application? I am using AspNetSqlProvider to manage my membership. I can get the user by using User.Identity.Name. What will the command be to...
4
by: z | last post by:
To reconfigure oracle9i from server to client operation, two files need to be modified: listener.ora (for the server IP address), and tnsnames.ora (for user permissions). What are the...
2
by: Racerx | last post by:
Hi All: I use db2 v8.2 on AIX platform. I have three databases using the same instance. Whenever I stop and start my database for taking a full backup all my three databases are disconnected....
3
by: ukrutter | last post by:
Any help would be greatfully recieved here! I'll try and explain the situation here... I have a database in Access, which is in essence a booking system. I am using VB6 to link to this database....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.