How to Publish the website

Last post 07-18-2009 8:13 AM by nandu_2322310. 18 replies.

Sort Posts:

  • How to Publish the website

    02-05-2009, 3:21 AM
    • Member
      4 point Member
    • bipulraj
    • Member since 01-22-2009, 4:15 AM
    • Posts 8

    Please help me to publish the website to my hosting server.

    While i am building it it shows build succeded but while publishing it shows build failed.

     reply is ASAP.

    thank you

  • Re: How to Publish the website

    02-05-2009, 4:31 AM
    • Participant
      1,351 point Participant
    • mShoaib83
    • Member since 11-24-2008, 5:47 AM
    • Lahore
    • Posts 264

    Rather than publishing you should use web deployment project. Download the web deployment project from the link below.

    http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=0aa30ae8-c73b-4bdd-bb1b-fe697256c459&displaylang=en

    after downloading install it at yoour pc. restart your Visual Studio. open the project and right click on the Project and click "Add web deployment Project". give project a path and build. You can find the deployable project at the path given of Web deployment project.

    cheers

    Muhammad Shoaib
    Software Engineer,
    Lahore, Pakistan
    www.heartofpakistan.com (U/C)
    --------------------------------
    Mark it as ANSWER if it Helps U
  • Re: How to Publish the website

    02-05-2009, 5:17 AM
    • Member
      91 point Member
    • prabhatasp
    • Member since 01-19-2009, 7:22 AM
    • India
    • Posts 81

     Hi,

    To publish your website, like build you need to select publish web site under build tab or you can simply right cilick on  project name and select publish web site option to publish wesite from solution explorer.

    Now, you will see a popup window. You can change path to precompiled website other wise it will be created at the default location.

    You can select other options for your precompiled website by check boxes.

    1. Allow this precompiled site to updatable.

    2. Use fixed naming and single page assemblies.

    3. Enable strongf naming on precompiled assemblies.

    Simply click ok to publish your website.

    Hope this helps you. If you are getting any error again so tell me about error in detail.

     

  • Re: How to Publish the website

    02-05-2009, 5:26 AM

    hi,

    initially give the name index of your home page. then select publish option from build menu and follow the step.

    after that put ur published folder to ur web server,

    if u get any error then pls send the error msg.

    if it is ur solution then mark as answer.

  • Re: How to Publish the website

    02-05-2009, 7:35 AM
    • Member
      4 point Member
    • bipulraj
    • Member since 01-22-2009, 4:15 AM
    • Posts 8

    Error 52 "aspnet_compiler.exe" exited with code 1.  1 1 ClubStarterKit.Web_deploy

  • Re: How to Publish the website

    02-05-2009, 7:37 AM
    • Member
      4 point Member
    • bipulraj
    • Member since 01-22-2009, 4:15 AM
    • Posts 8

    Error 52 "aspnet_compiler.exe" exited with code 1.  1 1 ClubStarterKit.Web_deploy

  • Re: How to Publish the website

    02-05-2009, 8:05 AM
    • Member
      91 point Member
    • prabhatasp
    • Member since 01-19-2009, 7:22 AM
    • India
    • Posts 81

     Hi,

     Please view these articles for your problem. i hope this helps.

    http://forums.asp.net/p/1051551/1497452.aspx#1497452

    http://www.codeverge.net/item.aspx?item=530118

    http://www.codeverge.net/item.aspx?item=529349

    http://66.129.67.4/p/1259466/2350708.aspx

     

  • Re: How to Publish the website

    02-05-2009, 8:23 AM
    • Member
      4 point Member
    • bipulraj
    • Member since 01-22-2009, 4:15 AM
    • Posts 8

    it doesno work for me

  • Re: How to Publish the website

    02-09-2009, 6:02 AM
    • All-Star
      62,517 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,202
    • TrustedFriends-MVPs

     >it doesno work for me

    It what way does it not work? Please quote the error message you see. Please also specify the version of Visual Studio and your host OS.

    Please look at http://forums.asp.net/p/1376917/2927028.aspx and see if there is anything you can do to help develop an updated CSK.

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: How to Publish the website

    02-10-2009, 6:12 AM
    • Member
      4 point Member
    • bipulraj
    • Member since 01-22-2009, 4:15 AM
    • Posts 8

    Visual Studio 2005 

    Product  version is 2.0.50727.1434

    OS is Vista Enterprise editon service pack 1

     

    the error is as

     

    Error 1 "aspnet_compiler.exe" exited with code 1.  1 1 ClubStarterKit.Web_deploy1

  • Re: How to Publish the website

    02-10-2009, 6:55 AM
    • All-Star
      62,517 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,202
    • TrustedFriends-MVPs
    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: How to Publish the website

    02-16-2009, 2:59 AM
    • Member
      12 point Member
    • rajbipul
    • Member since 02-16-2009, 4:22 AM
    • Posts 19

    Server Error in '/' Application.

    Login failed for user 'LORD\IWAM_plesk(default)'.

    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: Login failed for user 'LORD\IWAM_plesk(default)'.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [SqlException (0x80131904): Login failed for user 'LORD\IWAM_plesk(default)'.]
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4844759
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194
       System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2392
       System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35
       System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +144
       System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342
       System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221
       System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189
       System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +185
       System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31
       System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433
       System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
       System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
       System.Data.SqlClient.SqlConnection.Open() +122
       SubSonic.SqlDataProvider.CreateConnection(String newConnectionString) in C:\SubSonic 2.0.3\src\SubSonic\DataProviders\SqlDataProvider.cs:21
       SubSonic.SqlDataProvider.CreateConnection() in C:\SubSonic 2.0.3\src\SubSonic\DataProviders\SqlDataProvider.cs:15
       SubSonic.AutomaticConnectionScope..ctor(DataProvider provider) in C:\SubSonic 2.0.3\src\SubSonic\Sql Tools\Connection.cs:160
       SubSonic.SqlDataProvider.GetReader(QueryCommand qry) in C:\SubSonic 2.0.3\src\SubSonic\DataProviders\SqlDataProvider.cs:114
       SubSonic.DataService.GetReader(QueryCommand cmd) in C:\SubSonic 2.0.3\src\SubSonic\DataProviders\DataService.cs:343
       SubSonic.AbstractRecord`1.LoadByParam(String columnName, Object paramValue) in C:\SubSonic 2.0.3\src\SubSonic\ActiveRecord\AbstractRecord.cs:328
       ClubStarterKit.Data.WebSettings..ctor(String columnName, Object columnValue) in C:\Users\Bipul\Documents\Visual Studio 2008\Projects\Standard_(VB)\ClubStarterKit.Data\Generated\WebSettings.vb:53
       ClubStarterKit.Web.Settings.PushToSession() +160
       ASP.global_asax.Session_Start(Object sender, EventArgs e) +63
       System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) +8778928
       System.Web.SessionState.SessionStateModule.CompleteAcquireState() +237
       System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +504
       System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.3053; ASP.NET Version:2.0.50727.3072

  • Re: How to Publish the website

    03-09-2009, 8:16 AM
    • Participant
      1,910 point Participant
    • aabruzzese
    • Member since 09-28-2005, 7:40 PM
    • Montreal, QC
    • Posts 464

    This is one of the issues I have with this project...

     

     

    AngeloA
  • Re: How to Publish the website

    03-09-2009, 8:35 AM
    • All-Star
      62,517 point All-Star
    • TATWORTH
    • Member since 02-04-2003, 8:34 AM
    • England
    • Posts 12,202
    • TrustedFriends-MVPs

    You need to create an account for LORD\IWAM_plesk on your database server. Do you have SSMS access to the database?

    What version of SQL Server are you working with?

     

    Don't forget to click "Mark as Answer" on the post that helped you.
    This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.
  • Re: How to Publish the website

    03-10-2009, 4:18 AM
    • Member
      12 point Member
    • rajbipul
    • Member since 02-16-2009, 4:22 AM
    • Posts 19

    I am using MS SQL Server 2005

    and in the querry string for the instance name the server provide me as localhost. along with the database name and the password.

Page 1 of 2 (19 items) 1 2 Next >