Deploy A Web App To Production?
Nov 11, 2010
My technique for deploying an ASP.NET webapp into production is as follows[code]...
I don't stop the database or run any additional tools to promote to production. It's a small company, and this seems fine. What's wrong with this technique in your opinion?
View 4 Replies
ADVERTISEMENT
Sep 21, 2010
I do have an application distributed with click once. I want this application to be installed (and thus distributed) two times on the same computers. One time as production version and one time as deployment version. When trying to do so, I get the folloging error:
"Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application."How do I modify the manifest version in a way that allows my easily to switch between "Production" and "Testing"-Version?
View 2 Replies
Nov 5, 2010
I need to sync the data of a ms-sql 2005 & 2008 server to my development server (mssql 2005 & 2008). The problem is I can't create .bak files, no permissions (to access the network share where the backup is saved). The problem is not that I may not view the data (I have complete read access to the production server). I can also backup data to csv files and read them in on my system, but that's rather painful (encoding, foreign key reference constraints, having to do it for every table, etc...). The problem is that the admin has no time to set me the necessary permissions (he has larger problems...).
How can I still sync the data to my development server ? I need some kind of syncing to a file, then transport anyhow (manual by FTP if necessary), and then update my development database. I've already tried backing up to a back file on a network share, but that doesn't work either. I don't mind if I have to code a bit in my free time, but I really don't want to do all the low level stuff myself, like resolving constraint dependencies.
[Code]...
View 6 Replies
Jun 4, 2010
Currently all my application that is released is always release in production. However I would like that changed and also have a development side (For testing).
I've tried searching for steps on how to create a development server however I cannot seem to find a tutorial.
In the past I've seen someone release their application in development by having it in on "Debug" option and have it released in production by having it on the "release" option. (I apologize for the vagueness as it was along time ago since I saw it).
View 2 Replies
Oct 26, 2011
I'm working on a "UPLOAD DOCUMENTS" functionality where different customer can upload the required documents and employer should be able to view all the uploaded documents by the customers. Currently in my local system I can upload the documents and it saves the uploaded file to "inetpub" folder. But in order to provide "upload documents" feature to production environment what should be the path?
View 1 Replies
Jun 17, 2009
From my initial readings on unit testing it is wise to put all of your setups and tests in a separate project from the code being tested.I've recently begun reading The Art of Unit Testing, trying to discover how to break dependencies on things such as database calls.The methods offered involve changing areas of the test code, such as adding specific interfaces and "stub" methods to the production code.This seems to defeat some of the good things about keeping tests and production code separate.Is there any recommended dependency-breaking technique that doesn't involve changing production code?
View 3 Replies
Dec 22, 2010
My MSSQL 2008 and VS2005 were corrupted out of sudden. I had reinstalled .net Framework 2.0, .net Framework 2 SP2, MSSQL 2008 and VS2005.
After installation and without any code modification, I tried to debug the program and I got the below error message.An unhandled exception of type 'System.TypeInitializationException' occured in Production.exe.Additional information: The type initializer for 'Common' threw an exception.
View 1 Replies
Jun 3, 2009
I have an application that contains both test code and production code. The test code points to the test files on the local machine while production is located on the server. I comment out the production code when testing. To save some time I figured I would create a Global Variable integer called pTest and encase the test and production code in a Case statement so that if I set pTest=1 then the test code will run and if pTest=0 then production code will run.
[code]...
View 6 Replies
Apr 30, 2012
I currently have my resources (images) in C:inetpubwwwrootimages I also have the images in the same location on my production server. How can I set it up so that I don't have to constantly sync up the folders? Seems like an easy thing but I'm not sure..
View 3 Replies
Jan 21, 2011
I have created my site using ASP.NET Personal Starter Kits 3.5. I use Visual Studio 2008 only . .with its built-in SQL Server (2005 Express) ... my database in App_Data is ASPNETDB.MDF ...I have created some of my tables also ....in ASPNETDB ..In my local PC the site was running fine ...But when I publish my site on production server it doesn't work and shows the following error
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
[code].....
View 2 Replies
Oct 28, 2010
I work for a shop that maintains a fairly new app. The app still has its fair share of bugs, with numerous tickets coming in daily. The error information we're given with those tickets is not as useful as it might be because the application was compiled in Release mode, which I read is smaller and faster (makes sense).
Are there any ramifications to deploying a .NET application to production that was compiled in Debug mode? I would expect it would be a bit slower, but I've read the difference is nominal. This would assure us that when we get errors on tickets we have line number associated with those errors and this, of course, makes debugging much easier. major red flags that would prevent you from doing this? I'm tasked with researching the possibility.
View 6 Replies
May 18, 2012
I'm being asked to maintain several internal-only web apps for my company. For testing, after making my changes, I've created some staging sites which make use of separate databases. As such, if my users were to mistakenly use this site as if it were the production site, they may enter important data and wonder where it "disappeared" to thinking it was the production server.
I'd like to create a big banner of some sort across the top of the staging site (which ONLY appears on the staging site) to remind my users that they are on the test site. I'd like recommendations on the best way to do this, with the following considerations:
IDE: Visual Studio 2008
Server: Windows 2003 with IIS 6
Language: VB.NET 2.0
View 2 Replies
Jan 22, 2011
I m getting the following error when i upload my site to Production Server using Database in App_Data ASPNETDB.MDF
Server Error in '/' Application.
Runtime Error
[code]..... ...
View 2 Replies
Sep 22, 2011
I moved my web application to a server and im getting this error below, but on my localhost it works great. Im finding that the error has to have something to do with the dataset not pulling back any data, when I do a for each statement. But the weird thing is that I do a for each statement on another page and it works fine. Here is my for each statement, that im assuming doesnt work. The reason im assuming it b/c when i test it on local it works fine:
Dim retObj As New ClassLibrary1.sql_class
For Each row As DataRow In retObj.sel_all_email_list(company).tables(0).rows
email += row("EMAIL_ADDRESS") & "/"
Next
[code]....
Error:Exception Details: System.IndexOutOfRangeException: Cannot find table 0.
View 1 Replies
Oct 24, 2011
What is the best way to easily switch from a test database to a production database in vb.net and MySql, when all MySql connection strings are currently hard coded?
View 3 Replies
Jun 11, 2009
I have windows 2003 server , and a asp.net project developed in VS2008 developer edition how to deploy this website in the server?
View 4 Replies
Mar 31, 2009
I need to deploy this app and currently the installer the path goes something like "C:Program FilesManufacturerApp". I just want it to be "C:Program FilesApp" by default. I know I can change this manufacturer from the properties for the project, but I want it to go away altogether. The setup project won't build with it gone.
View 2 Replies
Jan 16, 2011
As i am deploying my vb.net application with sql database
it doesn't work on other client system without SQL installation
What is the way to deploy a vb.net application with SQL.
View 5 Replies
Jun 21, 2010
I want to publish my project along with some of the other text files(.txt) . i am able to publish it successfully but the files in the "debug" folder are not getting added.... so when i install and run my project it shows me a error message "FILE NOT FOUND".
View 1 Replies
Jan 19, 2009
I made an app that uses a Access Db extensively(will be changed to sql later). I have hard coded the location of the db into the app,i use one click to deploy the program and then i manually copy the database into the location.
View 7 Replies
Jun 29, 2009
i just finished developing an application with visual basic and want to deploy it on the client computers while the database is on the server in a LAN environment.i tried installing the application on the server but the other computers on the network couldn't access it.i am using SQL 2000 database on the server.
View 2 Replies
Jun 21, 2010
how do i go about publishing my program so that it can run right from the cd? do i just publish it to my pc then install it to a blank cd?
View 1 Replies
Aug 21, 2009
I've designed a small database app that I now want to deploy on a different machine.If I "publish" the app from the IDE does that give me the appropriate functionality to do this?
View 3 Replies
Dec 19, 2011
I have created several small applications that use my own DLL. The problem is, this DLL is constantly changing. My current solution to this problem is that I have a Setup project in the class library solution that creates and registers the DLL. In all my applications I then have to open the solution and re-reference the newly created/registered DLL. Then I have to re-compile their setup projects, uninstall the old applications, and then re-install the new application.
There has to be a better way and I'm just not sure because I'm fairly new to all this. I have looked into ClickOnce but I don't think that will solve my issue as I cannot publish a class library. I have looked into checking version numbers but I must be doing something wrong because it doesn't work either.I understand that once a DLL is created and being used in an application it should essentially not be touched. I do not have that option in this situation. It is constantly updated. Done.
Edit: The DLL is not constantly changing during runtime but it is constantly evolving to allow more functionality and detail within the other applications. Also, one big thing I guess I should have mentioned is the Public interface is constantly chaning - usually adding new methods.
View 4 Replies
Jun 14, 2011
I have created a PowerPoint addin using the steps from this article: Using RibbonX from Visual Basic
The plugin works fine when I start the project using F5 in Visual Studio 2005. But if I try to use the installer created by the setup project that is automatically added to the solution, the plug-in won't show when I run powerpnt.exe
Is there something I missed? Do I need to make some modifications to the installer?
View 1 Replies
Feb 6, 2006
I've developed a vb.net app which works great on my dev machine, both within the IDE and as a compiled executable. But when I deploy it to a user workstation, I receive the following:
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.
Could not load file or assembly Microsoft Office Interop.Excel, Version=11.0.0.0,Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannon find the file specified.
View 12 Replies
Feb 15, 2010
I have an vb.net application that I want to install on client machine. The backend is SQL server. Could I make up a setup package that would deploy an application that includes the database with all the stored procedures and tables? The client pc do not have sql server installed there.
View 14 Replies
Feb 24, 2009
Im trying to deploy an application by using clickonce and having some difficulties with it. In a class i have this function
Private AD As ApplicationDeployment
Private updateCheck As UpdateCheckInfo
Public Function SoftwareUpdate() As Boolean
[code]....
When i create my code on a form (to run the function above) i receive the error "Object not set to an instance" I try to add New to my declaration but then receive the error "Application Deployment has no constructors". Im not sure what im doing wrong or how i should go about this.it does not go past the line AD = ApplicationDeployment.CurrentDeployment i decided to leave the remaining code
View 4 Replies
May 10, 2012
I've just published an application that I was working and now when I install and run it on another machine it gives me an error it says "The Microsoft.Ace.Oledb.12.0 provider is not registered on the local machine" How can I rectify this problem I've looked in refferences and the prerequisitues but its not there. what else can i do?
View 4 Replies
Jun 28, 2009
As far as I understand all default settings of app.config settings is hard coded in the application and will generated on the fly in the first run.
If this is true then there is no good reason to deploy these files with an installer or in a zip package, am I right?
View 1 Replies