Up-loading to go daddy does not work

Last post 04-26-2008 9:30 PM by whighfield. 13 replies.

Sort Posts:

  • Up-loading to go daddy does not work

    04-24-2008, 3:02 PM
    • Loading...
    • zoekeen
    • Joined on 04-24-2008, 6:56 PM
    • Posts 16

     Hello,

    Any advise is much appreciated.

    I am new to asp and have a question you may be willing to answer.

    If so, here it is:

    I am using a personal site starter kit from asp.net
    I am using a windows hosting account with go daddy.
    everything seems to be set up fine on godaddys side.
    My starter kit works on my computer.
    Won't work using a browser accessing the site.
    hello world page works.

    Any tips or thoughts for me?

    Can't thank you enough.

    Zoe
     

  • Re: Up-loading to go daddy does not work

    04-24-2008, 5:40 PM

    You need to describe what you mean by "won't work".  There are miilions of possible reasons for something "not working".  Do you get an error message? If so, can you show it - along with the code that causes the error?  The error message is intended to help narrow the possibilities down to a handful at most.

    I would say, however,  that often, upload-related problems are due to either a file that exceeds the sie limit or incorrect permissions on the directory that the file is being written to.

     

    Regards Mike
    [MVP - ASP/ASP.NET]
  • Re: Up-loading to go daddy does not work

    04-24-2008, 6:27 PM
    • Loading...
    • zoekeen
    • Joined on 04-24-2008, 6:56 PM
    • Posts 16

     Hi Mike,

    First off let me thank you for your time! I am very happy you are trying to help me. 

    I am sorry I did not provide more information. The error is a generic one I think.

    Again, I downloaded the personal starter site, set it up locally and tested it.

    Upon up-load to go-daddy the error I receive is: 

    Server Error in '/' Application.

    Runtime Error

    Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

    Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>

    Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

    <!-- Web.Config Configuration File -->

    <configuration>
    <system.web>
    <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
    </system.web>
    </configuration>
     

    I am running on go daddys hosting service:

    Operating System:
    Windows
    .Net Runtime Version:
    ASP.Net 2.0/3.0/3.5
    IIS Version:
    IIS 6.0
     
     
    Does this help you think of somthing that could be wrong. My site is www.songmetropolis.net
    Thanks very much,
    Zoe 
  • Re: Up-loading to go daddy does not work

    04-25-2008, 2:07 AM

    Yes - it is a generic error. The Details section of the error message tells you what you should do next in order to reveal the specific error.  When you have amended your web.config file, and uploaded it, you should then get a "proper" error message which should also highlight the lines of code that cause the error to occur.  If the cause isn't obvious to you from the error message, the next best thing is to paste the error message into Google, and see if any of the search results help you.  If not, then paste it here.

     

    Regards Mike
    [MVP - ASP/ASP.NET]
  • Re: Up-loading to go daddy does not work

    04-25-2008, 5:27 AM
    • Loading...
    • zoekeen
    • Joined on 04-24-2008, 6:56 PM
    • Posts 16

     I am lost.  Here it is. Thanks so much!

    Server Error in '/' Application.

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Source Error:

    Line 5:  	void Application_Start(object sender, EventArgs e) {
    Line 6: SiteMap.SiteMapResolve += new SiteMapResolveEventHandler(AppendQueryString);
    Line 7: if (!Roles.RoleExists("Administrators")) Roles.CreateRole("Administrators");
    Line 8: if (!Roles.RoleExists("Friends")) Roles.CreateRole("Friends");
    Line 9: }

    Source File: d:\hosting\zoekeen\Global.asax    Line: 7

    Stack Trace:

    [SqlException (0x80131904): An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)]
    System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800131
    System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
    System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +737554
    System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +114
    System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +421
    System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +181
    System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +173
    System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +133
    System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +30
    System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424
    System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
    System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +494
    System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
    System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
    System.Data.SqlClient.SqlConnection.Open() +111
    System.Web.DataAccess.SqlConnectionHolder.Open(HttpContext context, Boolean revertImpersonate) +84
    System.Web.DataAccess.SqlConnectionHelper.GetConnection(String connectionString, Boolean revertImpersonation) +197
    System.Web.Security.SqlRoleProvider.RoleExists(String roleName) +482
    System.Web.Security.Roles.RoleExists(String roleName) +242
    ASP.global_asax.Application_Start(Object sender, EventArgs e) in d:\hosting\zoekeen\Global.asax:7


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
  • Re: Up-loading to go daddy does not work

    04-25-2008, 5:33 AM
    • Loading...
    • kipo
    • Joined on 07-20-2006, 7:10 AM
    • Croatia
    • Posts 1,469

    Did you deploy database into GoDaddy server? If you didn't, or you don't know how, find more informations here: http://weblogs.asp.net/scottgu/archive/2006/12/22/recipe-deploying-a-sql-database-to-a-remote-hosting-environment-part-1.aspx

  • Re: Up-loading to go daddy does not work

    04-25-2008, 4:36 PM
    • Loading...
    • zoekeen
    • Joined on 04-24-2008, 6:56 PM
    • Posts 16

     Got it to work! Thank you! One last question. I can't see the link once I log in as admin to the  ASP.net configuration  as described in the instructions.

    I need to approve users who wish to create accounts. Any tips here?

    Thanks mucho!

    Zoe 

  • Re: Up-loading to go daddy does not work

    04-25-2008, 8:25 PM
    • Loading...
    • whighfield
    • Joined on 01-02-2006, 5:37 PM
    • Winterpeg, Manitoba
    • Posts 272

    zoekeen:

     Got it to work! Thank you! One last question. I can't see the link once I log in as admin to the  ASP.net configuration  as described in the instructions.

    I need to approve users who wish to create accounts. Any tips here?

    Thanks mucho!

    Zoe 

    The ASP.net configuration part only works locally, you will need to download a separate user management module for the kit or program one yourself.

    For the stock starter kit you can get such a module from Jeremy Wadsworth's site or from the Code Library from my site.  There are others but I only remember Jeremy's site as one.

    - William

    Please mark the most helpful reply/replies as "Answer".

    Give my enhanced version of the PWSK a look.
    www.willyd.ca
  • Re: Up-loading to go daddy does not work

    04-25-2008, 11:29 PM
    Answer
    • Loading...
    • zoekeen
    • Joined on 04-24-2008, 6:56 PM
    • Posts 16

     Hi William,

    Thanks for the links! I have downloaded your pwsk and am checking it out now.

    I do have a burning question you may be so kind as to answer.

    With the standard kit, where does the info go when someone registers on the site? The database I suppose on the server.

    But I thought somehow I would receive an email or something or see their request in the admin section pending when I log in as admin.

    So if you can't see the admin section of the site via the web only locally, how would you know if you have requests to "join" the site if that data is on the servers database?

    I am confused and this does not make any sense to me. I would think you would need to have a module that is "web-based" to handle this like you do.

    I had to run a database wizzard to map my local database, then run the script on the server to map that database and change my links to the host database to get the stock psk to work.

    This does not make sense to me. Do you open the site remotely somehow in VS? Thanks for your time!

     

  • Re: Up-loading to go daddy does not work

    04-26-2008, 11:23 AM
    Answer
    • Loading...
    • whighfield
    • Joined on 01-02-2006, 5:37 PM
    • Winterpeg, Manitoba
    • Posts 272

    zoekeen:

    With the standard kit, where does the info go when someone registers on the site? The database I suppose on the server.

    Yes when you enable the built-in membership support the data is stored in a specific set of tables (prefixed with aspnet_).  This has to be setup on a server database before you enable the support.  There is an amazing post with links to everything about ASP.NET 2.0 Membership, Roles, Forms Authentication, and Security Resources on Scott Guthries blog.  It is worth checking out as well bookmarking since it is the largest I have found during my travels on tech blogs.

    zoekeen:

    But I thought somehow I would receive an email or something or see their request in the admin section pending when I log in as admin.

    So if you can't see the admin section of the site via the web only locally, how would you know if you have requests to "join" the site if that data is on the servers database?

    I am confused and this does not make any sense to me. I would think you would need to have a module that is "web-based" to handle this like you do.

    The only support for email notification is the built in "Forgot Password" feature, but this depends on how you configure the storage of passwords.

    As for the email notification when a user joins the kit does not support that feature, however you can program it.  The user management module on my site has code that does this.  It also sends out a confirm email to the user that they have to click on to get access to the site.  It's pretty simple code to implement so you or anyone probably can rip the code out and implement it any way you like.

    zoekeen:

    This does not make sense to me. Do you open the site remotely somehow in VS? Thanks for your time!

    Do you mean how do you update your site now after it has been "launched" live?

     

    - William

    Please mark the most helpful reply/replies as "Answer".

    Give my enhanced version of the PWSK a look.
    www.willyd.ca
  • Re: Up-loading to go daddy does not work

    04-26-2008, 1:09 PM
    Answer
    • Loading...
    • zoekeen
    • Joined on 04-24-2008, 6:56 PM
    • Posts 16

    William,

    You are awesome! This is great info.  I will study this today and see what I can learn.
    By the way, I have learned more here that I have in school. Thank you! Thank you!

    OK, 

    I can make up-dates to the site once it is live, but am still kinda confused about a few things I was unable to word properly in my last post.

    1. Say a new user requests an account online with the (PSK) stock. How do you know? The data is in the database online and my local copy
    is local (Un changed) so when you go threw VS and pull up the account manager you are looking at the local database, not the one on the server.
    Also my web.config file is unchanged on my local computer and the one online is up-dated with the path pointing to the database online?
    Does this make any sense to you? I wish I could word this better.
     

  • Re: Up-loading to go daddy does not work

    04-26-2008, 4:16 PM
    Answer

    zoekeen:
    but am still kinda confused about a few things I was unable to word properly in my last post
     

    When your question changes markedly from the one you originally asked, you should really start a new thread in the appropriate forum.  That way, each thread contains one question, and (hopefully) the answer to it, so people doing searches can find stuff easily. 

    Oh, and there is a Mark As Answer button on each post,  If you click that button on the post(s) that helped you, the person providing the answer gets awarded some points.  I'm sure William would appreciate that

    Big Smile

     

     

    Regards Mike
    [MVP - ASP/ASP.NET]
  • Re: Up-loading to go daddy does not work

    04-26-2008, 4:27 PM
    • Loading...
    • zoekeen
    • Joined on 04-24-2008, 6:56 PM
    • Posts 16

     OK, thanks for the info. Now I know.

  • Re: Up-loading to go daddy does not work

    04-26-2008, 9:30 PM
    • Loading...
    • whighfield
    • Joined on 01-02-2006, 5:37 PM
    • Winterpeg, Manitoba
    • Posts 272