CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.classifieds_starter_kit Tags:
Item Type: NewsGroup Date Entered: 6/16/2007 6:09:44 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 2 Views: 22 Favorited: 0 Favorite
3 Items, 1 Pages 1 |< << Go >> >|
rondakay
Asp.Net User
Need help with the web.config6/16/2007 6:09:44 AM

0

I installed locally... it picked up my sqlexpress and was up in seconds.  I went ahead and ran the scripts on my remote database and then published to my web server but now I am getting errors that it can not use a remote connection.  I changed the connection string in my web.config but am wondering what value I am supposed to have in this section.  Can someone give me an example that is not 'localsqlserver' - my SQl is on a different machine - it is a shared SQL and I am not sure what connectionstringname means.... I tried a reference to my connection alias but that is not working.

 

 <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="/" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="7" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" passwordStrengthRegularExpression=""/>

 

TIA,

 

Ronda

Kadjiokou
Asp.Net User
Re: Need help with the web.config6/16/2007 7:43:01 AM

0

devinmccloud
Asp.Net User
Re: Need help with the web.config6/26/2007 6:58:53 PM

0

 /* SQL EXPRESS CONNECTION STRING */
<configuration>
  <connectionStrings>
    <add name="Classifieds" connectionString="Server=(local);Integrated Security=True;Database=Classifieds;"
      providerName="System.Data.SqlClient" />
  </connectionStrings>
</configuration>

This is your connection string to your database. It's using "integrated security=true", (windows Authentication)  if you set up your database with window authentication then this will work. If you wanted sql authentication you would replace it with (Password=mypassword;UserID=myusername;). You can combine both the databases into the same file (not recommended) or have a seperate database for memberships. So its better to have one database for the classifieds and one for the aspnet memberships. So for the memberships you need to add a reference below classifieds.

/* Connection string for a .MDF file located in the APP_DATA folder of your project */
 <connectionStrings>
    <add name="classifiedsConnection" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\classifiedsdb.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient"/>
  </connectionStrings>

This is a connection string to your application in developement mode. It directs Sql to the .mdf  file. Here's some good references for connection strings for all the databases out there.Check out connectionstrings.com for a full list!

<!-- Changing the password requirements and login info in your site through the web.config file -->

<membership>
  <providers>
    <remove name="AspNetSqlMembershipProvider" />
    <add name="AspNetSqlMembershipProvider"
        type="System.Web.Security.SqlMembershipProvider"
        connectionStringName="LocalSqlServer"
        enablePasswordRetrieval="false"
        enablePasswordReset="true"
        requiresQuestionAndAnswer="false"
        applicationName="/"
        requiresUniqueEmail="false"
        passwordFormat="Hashed"
        maxInvalidPasswordAttempts="10"
        minRequiredPasswordLength="7"
        minRequiredNonalphanumericCharacters="0"
        passwordAttemptWindow="10" />
  </providers>
</membership>
 


Jer
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Beginning ASP.NET 3.5 in VB 9.0: From Novice to Professional Authors: Matthew MacDonald, Pages: 1149, Published: 2007
Pro ASP.NET 3.5 in C# 2008 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1498, Published: 2007
Beginning ASP.NET 3.5 in C# 2008: From Novice to Professional Authors: Matthew MacDonald, Pages: 954, Published: 2007
ASP.NET Unleashed: unleashed Authors: Stephen Walther, Pages: 1488, Published: 2003
DotNetNuke For Dummies Authors: Lorraine Young, Philip Beadle, Scott Willhite, Chris Paterra, Pages: 408, Published: 2007
Pro ASP.NET 2.0 in C# 2005 Authors: Matthew MacDonald, Mario Szpuszta, Pages: 1255, Published: 2005
Pro ASP.NET 2.0 in VB 2005: From Professional to Expert Authors: Laurence Moroney, Matthew MacDonald, Pages: 1253, Published: 2006

Web:
Need help with the web.config - ASP.NET Forums Re: Need help with the web.config. 06-16-2007, 3:43 AM. Contact ... /Kadji. Re: Need help with the web.config. 06-26-2007, 2:58 PM. Contact ...
Web.config Authorization Help - .NET ASP Web.config Authorization Help. Get answers to your questions in our .NET ASP forum. ... If you need to set it for a folder, just replace ...
need help Limiting user upload size by changing the web.config ... [Archive] need help Limiting user upload size by changing the web.config .NET.
Need help configuring web.config file for my ASPnix hosting ... ASP.NET hosting, SQL hosting, AJAX Hosting, Access hosting, ASP Web Hosting, Microsoft Windows hosting, iis7 hosting, VPS, dedicated, Windows Server, 2003, ...
Need setup help with web.config - General - Yet Another Forum.NET NET » YAF Forum Discussions » General » Need setup help with web.config. Forum Jump. YAF Forum Discussions, - YAF Announcements ...
Need help getting a custom section in web.config setup properly ... Hello all, I need to get a custom configuration section in the web.config file for my project. The structure of what I need to get setup looks like this: .
Web.config Help Needed. - ASP.NET Forums Or is there something I have missed? Where should the web.config be located? Do I need to compile it at all? Re: Web.config Help Needed. ...
Need help on Issue with Windows registry +Web.config+Deployed ... Need help on Issue with Windows registry +Web.config+Deployed WebApplication ASP .NET.
AppSettings In web.config Feb 13, 2005 ... Although web.config is designed for just such a setting, we might find in the future that we need to pull configuration settings from a ...
CodeProject: Customizing SectionGroups and Sections in Web.config ... Jun 1, 2004 ... This article deals with how to customize web.config file in our application. ..... General, Re: Configuration file - Need help, member ...

Videos:
Vodafone Config Help Here's how Vodafone provides self-help on the web to subscribers that need new network configuration. Using my N73 as an example.
Setup PHP On To The Apache Web Server this video shows you how to setup and configure PHP to apache. download PHP here " http://uk.php.net/get/php-5.2.6-win32-installer.msi/from ...
Using Reflection to dynamically load the DAL http://blog.dmbcllc.com Last week, we took a look at creating a DAL that would allow us to swap out database providers without having to rewrite a ...
How to Create a Java Server Faces (JSF) Development ... This is part one of a three part Java Server Faces CBT Tutorial that demonstrates how to configure your Windows XP environment in order to do some ...
Goldspring 19 OpM Silver-Gold Config of GSPG Merril Crowe ... Guy, Operations Manager (OpM) describes at the site: Silver is a by-product. Current configuration of Merril-Crowe process is optimal for a ...
how to speed up utorrent 1.8 how to speed up u torrent 1.8 link to internet speed test http://www.speedtest.net/ download link for utorrent http://www.utorrent.com/download ...
Fresh Peace for the Middle East Specific ideas for how to achieve peace, stability and democracy in Iraq and the greater Middle East by U.S. Senate candidate Steve Moyer ( http ...
A Googly MySQL Cluster Talk Google TechTalks April 28, 2006 Stewart Smith Stewart Smith works for MySQL AB as a software engineer working on MySQL Cluster. He is an ...
Developing and deploying an application on Google App Engine This video introduces developers to building apps on Google App Engine. For more in-depth information and deep-dive technical sessions, come to ...
ebaY HACKED ! ~ dwood10s V First.Power.Sells AT gmail.com Please read this text accompaniment Now driving home the point again! EbaY is under MASSIVE WORLDWIDE HACK ATTACK, MULTIPLE USER HIJACKING, and ...






deploying asp.net 2003 project on windows server

accented characters are removed

asp.net web development firm referal needed

vs2005 sp1 + web deployment + vista

how to create a single installer

cabinet file _2beb9ada79875ca469ad3cacb2610246 corrupt

deploy problem

can two different version of .net framwork web site run on same iis?

web deployment projects

question about publishing

web setup project & iis new website

transactional deployment? is-it possible?

asp_merge.exe

separate assembly not working

wdp: prevent output folder destroy

can't get excludefrombuild to work....

visual studio 2005 deployment project

warning msb3245: could not resolve this reference

code for sending email is not working.

web deployment project only copies files of 'known' extension??

custom database-driven site map provider

web deployment project - editing the bannertext

web setup project and appmappings

error: the project file xxxx has been moved, renamed or is not on your computer.

web.config file section replacement - source files in directory

problem: individual assemby:.cs files

web deployment project ascx compile errors

deploying from vs 2005 to 1.1 framework.

how to deploy website on local iis / on local network in asp.net 2.0

adding create database user, create database and create administrator ui dialogs in web deployment project

   
  Privacy | Contact Us
All Times Are GMT