GoDaddy

Last post 05-26-2008 8:29 PM by phamster. 48 replies.

Sort Posts:

  • Re: GoDaddy

    03-26-2007, 11:36 AM
    • Loading...
    • Pegasus82
    • Joined on 03-26-2007, 2:34 PM
    • Posts 3

    I am going to answer myself here Wink

    What I had forgotten to do was to Rebuild the website locally, with the web.config file modified to suit the GoDaddy database information ie:

    Server=p3swhsql-v02.shr.phx3.secureserver.net; ....etc

    and then upload the files to GoDaddy.

    At this point in time - I am quite amazed to say - everything I have checked so far is working except that I cannot login using the administrator role which I created locally earlier.
     

  • Re: GoDaddy

    05-04-2007, 10:00 AM
    • Loading...
    • ckeezer
    • Joined on 04-27-2007, 11:51 AM
    • Posts 136

    After the rebuild do you have to do anything other than ftp the files to Godaddy?

     Thank,

    CK
     

  • Re: GoDaddy

    06-15-2007, 11:47 PM
    • Loading...
    • rhhanson63
    • Joined on 06-28-2006, 9:44 PM
    • Hattiesburg, MS
    • Posts 76

    Here is my working web.cong.  Here are the steps I followed on Go Daddy

    1. First, get a copy of the Go Daddy Walkthrough post on this site
    2.  Create your DB on Go Daddy using their SQL tool.  Note the user name and password you use to create teh DB
    3.  Using the create scripts in the CSK, create your table, sp's, etc. changing the dbo ownership in the scripts to the ID you used to create your DB on Go Daddy.
    4.  Use the Go Daddy Walk Through to add your Admin ID
    5.  Modify your web.config to use the proper Go Daddy server, etc.
    6.  Post your site.  I used VWD and just FTP'd it up.

    Here is my working web.config.
    <?xml version="1.0"?>

    <configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

    <location path="events_edit.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="locations_edit.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="news_edit.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="photoalbum_new.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="member_list.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>

    <location path="member_details.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>

    <!--<location path="Files.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>
    -->

    <location path="forum_manage.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="forum_editpost.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="forum_addpost.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>

    <location path="Admin.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="Poll_Manage.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="Poll_Answers.aspx">

    <system.web>

    <authorization>

    <allow roles="Administrators"/>

    <deny users="*"/>

    </authorization>

    </system.web>

    </location>

    <location path="Poll_AddReaction.aspx">

    <system.web>

    <authorization>

    <deny users="?"/>

    </authorization>

    </system.web>

    </location>

    <connectionStrings>

    <add name="ClubSiteDB" connectionString="Data Source=XXXXX-XXX.XXXX.XXXXX.XXXXXXXXXXXX.XXX;Initial Catalog=XX_XXXXXX;User ID=XXXXX;Password='XXXXXX';Trusted_Connection=False" providerName="System.Data.SqlClient"/>

    <remove name="LocalSqlServer"/>

    <add name="LocalSqlServer" connectionString="Data Source=XXXX-vXXX.XXXX.XXXXX.XXXXXXXXXXXX.XXX;Initial Catalog=XX_XXXXX;User ID=XXXXX;Password='XXXXXXX';Trusted_Connection=False" providerName="System.Data.SqlClient"/>

    </connectionStrings>

    <system.web>

    <roleManager enabled="true"/>

    <authentication mode="Forms"/>

    <compilation debug="true" strict="true">

    <assemblies>

    <add assembly="System.Xml, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

    <add assembly="System.Messaging, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

    <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

    </assemblies>

    </compilation>

    <membership defaultProvider="AspNetSqlMembershipProvider"/>

    <siteMap defaultProvider="AspNetXmlSiteMapProvider" enabled="true">

    <providers>

    <remove name="AspNetXmlSiteMapProvider"/>

    <add name="AspNetXmlSiteMapProvider" description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider" securityTrimmingEnabled="true" siteMapFile="Web.sitemap"/>

    </providers>

    </siteMap>

    <customErrors mode="Off" defaultRedirect="ErrorPage.htm"/>

    <globalization requestEncoding="utf-8" responseEncoding="utf-8"/>

    </system.web>

    <system.net>

    <defaultProxy>

    <proxy usesystemdefault="False" proxyaddress="http://wc-v01.inet.mesa1.gdg:3128" bypassonlocal="False" />

    </defaultProxy>

    </system.net>

    <system.net>

    <mailSettings>

    <smtp deliveryMethod="network" from=XXXXXXXXX@XXXXXXXXXX.XXX>

    <network

    host="relay-hosting.secureserver.net"

    port="25"

    defaultCredentials="true"

    />

    </
    smtp>

    </mailSettings>

    </system.net>

    <appSettings>

    <add key="BccLimit" value="10" />

    </appSettings>

    </configuration>

     

     

    Robert H. Hanson
  • Re: GoDaddy

    06-24-2007, 8:55 PM
    • Loading...
    • jay0555
    • Joined on 06-25-2007, 12:47 AM
    • Posts 27

    I"m having trouble launching my site locally as well as accesing the asp.net applications. here's a copy of my web.config. Does godaddy.com allow remote access or not?

    thanks,

    jay0555

    <connectionStrings>

    <add name="ClubSiteDB" providerName="System.Data.SqlClient"

    connectionString="server=whsql-v21.prod.mesa1.secureserver.net;

    database=DB_146614;

    uid=xxxxxx;

    pwd=xxxxxx
    "/>

    <remove name="LocalSqlServer"/>

    <add name="LocalSqlServer" providerName="System.Data.SqlClient"

    connectionString="server=whsql-v21.prod.mesa1.secureserver.net;

    database=DB_146614;

    uid=xxxxx;

    pwd=xxxxx
    "/>

     

    </connectionStrings>

  • Re: GoDaddy

    06-25-2007, 3:49 PM
    • Loading...
    • MarValUS
    • Joined on 03-16-2007, 6:25 AM
    • Florida
    • Posts 28

    No GoDaddy doesn't allow remote access.  To run your site locally you have to change your connection string to connect to your local DB.  To look at/ connect to your live DB you have to use their DB manager tool.  I wish they would chage to allow remote access, it would be a lot easier but also more chance of the DB getting hacked.

  • Re: GoDaddy

    07-16-2007, 10:24 PM
    • Loading...
    • jay0555
    • Joined on 06-25-2007, 12:47 AM
    • Posts 27

    ok, how do i connect to my remote database. i'm getting this error:

     

    Line 4: 
    Line 5:  void Application_Start(object sender, EventArgs e) {
    Line 6:  if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators");
    Line 7:  }
    Line 8:  

     

    here's my local connection code:

     

    <remove name="LocalSqlServer"/>

     

    <
    add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=true;AttachDBFileName=|DataDirectory|Club.mdf;User Instance=True" providerName="System.Data.SqlClient"/>

    Any suggestions would be greatly appreciated.

     

    thanks,

    Jay0555

  • Re: GoDaddy

    07-17-2007, 7:20 PM
    • Loading...
    • jay0555
    • Joined on 06-25-2007, 12:47 AM
    • Posts 27

    i meant to say, how do i connnect to my local database.

     

     

    Line 4: 
    Line 5:  void Application_Start(object sender, EventArgs e) {
    Line 6:  if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators");
    Line 7:  }
    Line 8:  

     

    here's my local connection code:

     

    <remove name="LocalSqlServer"/>

     

    <
    add name="LocalSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=true;AttachDBFileName=|DataDirectory|Club.mdf;User Instance=True" providerName="System.Data.SqlClient"/>

    Any suggestions would be greatly appreciated.

     

    thanks,

    Jay0555

  • Re: GoDaddy

    07-17-2007, 9:02 PM
    • Loading...
    • MarValUS
    • Joined on 03-16-2007, 6:25 AM
    • Florida
    • Posts 28

    Jay,

    The connections sometimes are enough to drive you nuts, hope the below info helps. 

    The local connection should be:

    <add name="ClubSiteDB" connectionString="Data Source=.\SQLExpress;Integrated Security=true;AttachDBFileName=|DataDirectory|ClubDB.mdf;User Instance=True" providerName="System.Data.SqlClient"/>

    Your remote connection string should look something like this:

    <add name="LocalSqlServer" connectionString="Data Source=whsql-vXX.prod.mesa1.secureserver.net; Initial Catalog=YOUR-DB-ID; User ID=YOUR-USER-ID; Password=YOUR-PASSWORD;" providerName="System.Data.SqlClient"/>

    I'm looking back at your previous posts and noticed you posted the actual DB# for your remote connection-you should never post that information for security reasons.  I would strongly suggest (since it looks like you're not live yet) deleting that remote DB and adding a new one so that you have a diff DB id.

    Good Luck.

  • Re: GoDaddy

    07-24-2007, 7:27 AM
    • Loading...
    • elector
    • Joined on 04-05-2007, 1:11 PM
    • Novi Sad, Serbia
    • Posts 41

    Hi guys

    I have a GoDaddy hosting as well. I have set up my ASPNETDB database but my connection string is not working as far as I can tell.

    From reading this thread I see that I should NOT use database name but an ID instead? And how important it is to have Trusted_Connection=False or Integrated Security=True in connection string?

    I just can't understand why can't this database deployment be simpler?  

    Thanks 

    *Edit: I went to my database manager and I see that my database doesn't have an ID but only name.

    I have no idea why isn't this working !!!!! @#$@#$$$%%^@@#$ !!!!! 

  • Re: GoDaddy

    07-24-2007, 8:08 PM

    Having Trusted_Connection=False is optional but it won't hurt. But DO NOT have "Integrated Security=True" - that will ensure your connection won't work.

    Post your error message so that we can trouble-sho