Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 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 June 16th, 2007, 07:01 AM
Authorized User
 
Join Date: Sep 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default The SSE Provider did not find the database file

Hi Guys

I have published my website to a hosting server,after configuring the site to use Sql Server 2005.I changed the connection string in the web.config file to point to the sql server 2005 instead of sql express.
However the problem is i am getting the following error when i try to access the website using its url.

System.Configuration.Provider.ProviderException: The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.

The funny thing is that when i test the website from my development machine,it connects well to the remote sql server 2005 database without any problem.

Can someone help me fix this please



 
Old June 16th, 2007, 07:11 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

How does your connection string look like?

Maybe you need to talk to your host; they may have set certain security restrictions on SQL Server, or have a FAQ explaining how to connect to your database.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old June 16th, 2007, 10:03 AM
Authorized User
 
Join Date: Sep 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

My connection string looks like:
connectionString="Data Source=ip address,port;Network Library=DBMSSOCN;Initial Catalog=mssql530;User ID=xxxx;Password=xxxxx" providerName="System.Data.SqlClient"

i am using a different database host from my website host.



 
Old June 16th, 2007, 10:31 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
quote: am using a different database host from my website host.
In that case, talk to your hosts; they may not allow incoming or outgoing traffic for SQL Server....

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Which data provider fro dbf file format in vb kau_shuk Pro VB.NET 2002/2003 1 November 29th, 2006 08:40 PM
Find file with _ in it dunnie Pro VB 6 1 April 23rd, 2004 05:43 AM
ADO could ADO counot find the specified provider. Rob Collie Classic ASP Databases 2 June 9th, 2003 04:12 AM





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