Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9252065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T10:51:11+00:00 2026-06-18T10:51:11+00:00

I’m trying to upload my web app to an EC2 instance through the .NET

  • 0

I’m trying to upload my web app to an EC2 instance through the .NET SDK using the “Publish to AWS” feature. For my other web application, this worked perfectly! The only difference between the two that I can see is this web app has a connection string to an attached RDS instance that is already live.

When the publish does go through, the instance launches and seems to be running fine. Within about ten minutes, the instance rolls back and terminates itself. After unchecking the terminate on fail checkbox the instance won’t terminate, however I’m not able to access my Default.aspx page. I haven’t been able to find anything helpful in the logs. I’m thinking it must have something to do with the connection string and attached volume.

I added my security group to the RDS instance that I use to launch the instance, however it still returns the same error.

Publish Info:

Instance Size: Micro
SDK Version: 1.5.10
AMI: ami-10ec6520
Region: US West 2

Error:

WaitCondition timed out. Received 0 conditions when expecting 1.

Stack Template

    {
  "AWSTemplateFormatVersion" : "2010-09-09",

  "Description" : "This will launch a single EC2 instance and deploy your application    to it. **WARNING** This template creates one or more Amazon EC2 instances. You will be billed for the AWS resources used if you create a stack from this template.",

"Parameters" : {
"InstanceType" : {
  "Type" : "String", 
  "Default" : "t1.micro", 
  "Description" : "EC2 instance type."
},
"KeyPair" : {
  "Type" : "String", 
  "Description" : "EC2 Key Pair."
},
"SecurityGroup" : {
  "Type" : "String",
  "Description" : "EC2 Security Group"
},
"BucketName" : {
  "Type" : "String",
  "Description" : "[Hidden]S3 Bucket for deployment."
},
"ConfigFile" : {
  "Type" : "String",
  "Description" : "[Hidden]Deployment Configuration File."
},
"AmazonMachineImage" : {
  "Type" : "String",
  "Default" : "ami-10ec6520",
  "Description" : "AMI to launch."
},
"UserData" : {
  "Type" : "String",
  "Description" : "[Hidden]Base64-Encoded user data."
}
  },

  "Resources" : {

"DeployedApplicationWaitHandle" : {
    "Type" : "AWS::CloudFormation::WaitConditionHandle",        
    "Properties" : {
    }
},

"DeployedApplicationWaitCondition" : {
    "Type" : "AWS::CloudFormation::WaitCondition",
    "DependsOn" : "Ec2Instance",
    "Properties" : {
        "Handle" : { "Ref" : "DeployedApplicationWaitHandle" },
        "Timeout" : "900"
    }
},

"Ec2Instance" : {
    "Type" : "AWS::EC2::Instance",      
    "Properties" : {
        "ImageId" : { "Ref" : "AmazonMachineImage" },
        "KeyName" : { "Ref" : "KeyPair" },
        "InstanceType" : { "Ref" : "InstanceType" },
        "SecurityGroups" : [{ "Ref" : "SecurityGroup" }],
        "UserData" : { "Fn::Base64" : {"Fn::Join" : [ "", ["[", { "Ref" :     "UserData" }, "]", "[", { "Ref" : "DeployedApplicationWaitHandle" }, "]"] ]}}
  }
}
      },

  "Outputs" : {
"URL" : {
  "Description": "URL of the deployed application",
  "Value" : { "Fn::Join" : [ "", [ "http://", { "Fn::GetAtt" : [ "Ec2Instance", "PublicDnsName" ] }]]}
},
"Bucket" : {
  "Description" : "The S3 Bucket where the Web Deploy archive and configuration file are uploaded",
  "Value" : { "Ref" : "BucketName" }
},
"ConfigFile" : {
  "Description" : "The deployment configuration for the application",
  "Value" : { "Ref" : "ConfigFile" }
    },
"VSToolkitDeployed" : {
  "Description" : "A flag indicating that the stack was created via VSToolkit Deploy wizard",
  "Value" : "True"
    }
  }
    }

UPDATE 1/18/2013

I finally got an instance launched that let me RDP into it. Below is the error that stuck out.

Error:

Microsoft.Web.Deployment.DeploymentFatalException: The SQL provider cannot run because of a missing dependency. Please make sure that Microsoft SQL Server Management Objects (Version 10 or higher) is installed. —> System.IO.FileNotFoundException: Could not load file or assembly ‘Microsoft.SqlServer.Smo, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91’ or one of its dependencies. The system cannot find the file specified.

Any help would be greatly appreciated! If there’s any more information that would be helpful to provide, just let me know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T10:51:12+00:00Added an answer on June 18, 2026 at 10:51 am

    Turns out the answer was within my deployment settings in Visual Studio. Very amateur mistake on my part. In Project Properties => Package/Publish Web I needed to uncheck “Include all databases configured in Package/Publish SQL tab”

    Since my database was already out and configured on RDS, all I needed to do was include the correct connection string in the Web.config file.

    Thanks everyone for the help!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Paperclip to handle profile photo uploads in my app. They upload
I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.
That's pretty much it. I'm using Nokogiri to scrape a web page what has
We're building an app, our first using Rails 3, and we're having to build
I'm trying to convert HTML to plain text. I get many &\#8217; &\#8220; etc.
I am trying to loop through a bunch of documents I have to put
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.