Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 31st, 2006, 07:26 AM
Authorized User
 
Join Date: Mar 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Config File for uploading to SQLExpress

Hello,

I have found a nice solution to upload my file to a live server offering sqlexpress support, just free.

I have tried several times to attach, but it fails and throws an error. I need to upload my full beer house site immediately.

Can anyone come forward providing me the exact web configuration connecting string as well any other details required for remote hosting. I have not seen any discussion regarding remote hosting with sqlExpress in thsi forum so far.

I have already uploaded the full site and this is the only thing left.

Thanks

SoftMind.
 
Old August 31st, 2006, 03:40 PM
Friend of Wrox
 
Join Date: Aug 2006
Posts: 131
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to kherrerab Send a message via Yahoo to kherrerab
Default

that happens couse a wrong connection string.
What kind of server is it.. sql express or sql server 2005

 
Old August 31st, 2006, 07:37 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A remote Sql Express is basically the same as a remote full Sql Server from a deployment point of view. You have to deploy the same way you would for a remote full Sql Server. The deployment chapter covers this in detail.

By the way, I'm surprised that a commercial hosting company is using the Express version, since the full version is quite affordable if you have a lot of users to spread that cost out, and the full version is faster if the server has a lot of memory. But the Express version will work fine as long as your DB stays under it's size limit.

Eric

 
Old August 31st, 2006, 09:51 PM
Authorized User
 
Join Date: Mar 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

www.freewebdot.com

This is the link. This is a site that is offering everything free in hosting. They are also offering sql2000 and SqlExpress just free with a huge database and space support.

i have already uploaded all the codes and waiting for the connection string to work.

I understand that BeerHouse works perfectly with sqlexpress, hence i need a connection string which can work with the hosting coompany.

They have mentioned on the site that you just need to upload the code with data and use connection string to fetch that data.

I have tried connection strings in many ways, but it fails. Pl. come ahead and help me. This topic will be very useful for all programmers, who needs to work online with beerhouse with sqlexpress
 
Old August 31st, 2006, 10:11 PM
Authorized User
 
Join Date: Mar 2006
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,
This is the solution as provided by the hosting company for sqlexpress connection string.
-----------------INSTRUCTION ONE----------------------------------
To upload MSSQL 2005 Express or MS Access database (*.mdf or *.mdb) file you need to upload it using your favorite FTP client. Then you can connect it from your scripts.
------------------INSTRUCTION TWO----------------------------------
You must add to your connection string following unique value:

Code:

Database=UniqueRandomHashOrDBName

For Example:
Database=MyDatabaseJZb65bjk


Whole connection string:

Code:
Database=UNIQUEHASHVALUE;Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|dbna me.mdf


For more informations about ASP.NET visit main website http://www.asp.net.

This topic is discussed here.
http://faq.freewebdot.com/index.php?...=35&artlang=en

Pl. provide us a webconfig file connection string for BeerHouse, based on this guidelines.

Thanks

SoftMind.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting of web config file epkgupta General .NET 0 July 9th, 2008 09:32 AM
Problems with web.config file !!!!!!!! _fluffy_ BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 2 October 14th, 2006 10:02 AM
Problem with Web.Config file srinivas ADO.NET 3 December 6th, 2004 02:27 PM
web.config file apry BOOK: Beginning ASP.NET 1.0 1 May 27th, 2004 06:39 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.