Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - VS 2005 looks sweet
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VS 2005 looks sweet

 Post Reply Post Reply Page  <12
Author
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2005 at 11:35am
The express's have been great for me so far, but for some reason I can't get the ASP.NET Configuration thing to work right with it... I can only get it to run from a MS Access db when I want SQL Server... And it won't let me create an administratorCry
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2005 at 3:45pm
I had a similar problem, but after I ran
aspnet_regsql.exe -E -S localhost -A all
to create the sql aspnetmembership db and using a web.config like
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
 <appSettings/>
 <connectionStrings>
  <remove name="LocalSqlServer" />
  <add name="norcsfs02" connectionString="Data Source=norcsfs02;Initial Catalog=applixdata;User ID=csintra;Password=clntsrvcs;Persist Security Info=True" providerName="System.Data.SqlClient" />
  <add name="SqlServices" connectionString="Data Source=norcsfs02;Initial Catalog=aspnetdb;User ID=CSintra;Password=clntsrvcs;Persist Security Info=True" />
 </connectionStrings>
 <system.web>
  <membership defaultProvider="csIntra">
   <providers>
    <clear />
    <add connectionStringName="SQLServices" applicationName="csintra" name="csIntra"
     type="System.Web.Security.SqlMembershipProvider" />
   </providers>
  </membership>
  <roleManager enabled="true" defaultProvider="csIntra">
   <providers>
    <clear />
    <add connectionStringName="SQLServices" applicationName="csintra" name="csIntra"
     type="System.Web.Security.SqlRoleProvider" />
   </providers>
  </roleManager>
  <profile defaultProvider="csIntra">
   <providers>
    <clear/>
    <add name="csIntra" applicationName="csintra" type="System.Web.Profile.SqlProfileProvider" connectionStringName="SQLServices" />
   </providers>
  </profile>
  <webParts>
   <personalization>
    <providers>
     <clear/>
     <add connectionStringName="SQLServices"
                &nbs p;       name="AspNetSqlPersonalizationProvider" applicationName="csintra" type="System.Web.UI.WebControls.WebParts.SqlPersonalizationProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
    </providers>
    <authorization>
     <deny users="*" verbs="enterSharedScope" />
     <allow users="*" verbs="modifyState" />
    </authorization>
   </personalization>
  </webParts>
  
  <compilation debug="true"/>
  <authentication mode="Windows"/>
  <caching>
   <sqlCacheDependency enabled="true">
    <databases>
     <add
        name="applixdata"
        connectionStringName="norcsfs02"
        pollTime="600000" />
    </databases>
   </sqlCacheDependency>
  </caching>
 </system.web>
</configuration>
It worked like a charm


Edited by michael - 25 July 2005 at 3:47pm
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.