Wrox Programmer Forums
|
BOOK: Beginning ASP.NET Web Pages with WebMatrix
This is the forum to discuss the Wrox book Beginning ASP.NET Web Pages with WebMatrix by Mike Brind, Imar Spaanjaars ; ISBN: 978-1-1180-5048-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET Web Pages with WebMatrix 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 October 25th, 2012, 03:22 PM
Authorized User
 
Join Date: Jun 2012
Posts: 45
Thanks: 11
Thanked 0 Times in 0 Posts
Smile Classifieds tutorial Web Deploy error

hey Imar,
1) I'm deploying the Classifieds web page tutorial, using Web Deploy.

2) I'm getting a "WebSecurity.InitializeDatabaseConnection("Classif ieds","Users","UserId","UserName",true); " ERROR

Exception Details: System.ArgumentException: Keyword not supported: 'file access retry timeout'.


3) I added a connection string to web.config, and created a SQL DB/user/pswd at my provider(DB="Classifieds")

4)? is my connection string wrong or am I accessing it incorrectly in my
erroring statement ?

Thanks, Imar


******************** The Error ***********************
Exception Details: System.ArgumentException: Keyword not supported: 'file access retry timeout'.

Source Error:
Line 1: @{
Line 2: WebSecurity.InitializeDatabaseConnection("Classifi eds","Users","UserId","UserName",true);

********** web.config *******************
<connectionStrings>
<clear/>
<remove name="LocalSqlServer"/>
<add name="LocalSqlServer" connectionString="Data Source=AVEN.arvixe.com;Initial Catalog=Classifieds;User ID=Eddie_DBU;Password=PASSWORD;" providerName="System.Data.SqlClient"/>
</connectionStrings>
 
Old October 25th, 2012, 04:32 PM
Wrox Author
 
Join Date: Dec 2011
Posts: 57
Thanks: 1
Thanked 19 Times in 19 Posts
Default

Web Pages 2 generates a SQL Compact 4.0 SP1 connection string, which includes a new keyword: File Access Retry Timeout. It appears that your host does not have the latest version of SqlServerCE.dll, so you need to make sure it is included in your bin folder. You can get it from here: http://www.microsoft.com/en-us/downl....aspx?id=30709
 
Old October 26th, 2012, 01:03 AM
Authorized User
 
Join Date: Jun 2012
Posts: 45
Thanks: 11
Thanked 0 Times in 0 Posts
Default Deploy Error: Keyword not supported: 'file access retry timeout'.

Hey Mike Thanks for looking,

I'm still getting the same error..Keyword not supported: 'file access retry timeout'.

1) I downloaded/installed the file you mentioned(twice). I had to go get it out of the compact dir(?) and put it in the Bin Dir(& bin/x86 just to be sure).

2)redeployed it as u can see from log below, should i do a full redeploy ?.

3)The file i found is dated 6/4/12: System.Data.SqlServerCe.dll...
is that the correct one ?

4) What's next to try ?

Thankds for your assistance Mike,
Eddie in Mesquite



**** Web Deploy Log***********************

0/25/2012 9:02 PM
9:02:40 PM: Using ID 'affe1a6d-67e0-4fb2-9fe2-2b28c07fc002' for connections to the remote server.
9:02:42 PM: Object filePath (edwardsolon.com\Web.config) skipped due to skip directive 'Autogenerated Skip Directive 1035'.
9:02:42 PM: Updating setAcl (edwardsolon.com/App_Data).
9:02:42 PM: Using ID '4aeb9499-f8b9-409f-9687-b04c231936f8' for connections to the remote server.
9:02:44 PM: Updating filePath (edwardsolon.com\bin\System.Data.SqlServerCe.dll).
9:02:53 PM: Adding child filePath (edwardsolon.com\bin\X86\System.Data.SqlServerCe.d ll).
9:02:53 PM: Object filePath (edwardsolon.com\Web.config) skipped due to skip directive 'Autogenerated Skip Directive 1035'.
9:02:53 PM: Updating setAcl (edwardsolon.com/App_Data).
9:02:53 PM: Publish completed.
 
Old October 30th, 2012, 11:33 PM
Authorized User
 
Join Date: Jun 2012
Posts: 45
Thanks: 11
Thanked 0 Times in 0 Posts
Smile Deployment Problem fixed at Web Provider

Hey Mike & Imar,

Turns out, the problem was at the web provider, I finally did it all over again on one of their free temp Webmatrix 2.0 sites. It ran perfectly the first time. I pointed this out to them and they fixed it without me doing anything further/at all.

site:edwardsolon.com

You guys may close/delete this as it does not any coding issues to share.

Thanks Guys,
Edgy
(but i have another question, which I'll post seperately)

Last edited by EDGY; October 30th, 2012 at 11:35 PM.. Reason: spelling





Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to Deploy my First Web Application shankarnj Apache Tomcat 5 February 28th, 2017 09:57 AM
Deploy to Web lowell General .NET 3 October 18th, 2007 10:58 AM
Deploy web site forumsudhir Internet Information Services 0 July 4th, 2007 08:50 AM
How to deploy Web Application on JBoss inderjeet_79 J2EE 0 November 21st, 2005 06:30 AM





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