Deploying .net Webapplications?
Jun 18, 2010I have a local .net webapplication which needs to be run everytime to see the output . Instead of that can i deploy it on the local host server...so that through url i can see the output.
View 2 RepliesI have a local .net webapplication which needs to be run everytime to see the output . Instead of that can i deploy it on the local host server...so that through url i can see the output.
View 2 RepliesI am using XAMPP to publish my a .net application. The server is working fine. I created a sample login.aspx file, and it works fine. I deleted the sample login file, and I build and copy all the files to the XAMPP directory. When I tried to acces the page, it gave an error message "Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. If you think this is a server error, contact the
View 8 RepliesI was trying to deploy an asp web app over to a different server and when I ran the .msi setup I got the error:
Setup requires Internet Information Server 4.0 or higher and Windows NT 4.0, Windows 2000 or higher...
Now its obvious that it has version 6.0 since windows server 2003 is installed, do you have why this is happening or should I just move my entire application with code over? My database has already successfully been installed on this server and just need the app to be deployed to this server.
Used Visual Studio 2008 to publish web app to a local IIS7 Website but still hooked to VS development .mdf file with EF. With this I can successfully access web app via local host. As long as the development db server is running, web access is fine.
Then I tried to change connection to local .SQLEXPRESS where I have other databases (this is my production server). I have replicated the development data into the SQLExpress database already. The connection string appears OK.
The problem is the application's entity data model (.edmx file) is still tied to the development .mdf file.
When I tried to rebuild the entity data model, I can see the production instance in list of db connections but cannot select it. Only the development db objects are available.
So I don't think the problem is related to connecting to the production db. It is more about getting the .edmx file to point to the production table. Either it should migrate over or it needs to be rebuilt. I don't see any MVC deployment pages discussing EF deployments.
We have an application built on ASP.NET MVC 1.0 which, once deployed, should be accessed with HTTPS. I tried few approaches for HTTPS but I have a few questions.:My home page does not need to be Secured (HTTPS), but rest of the hyperlinks following it will be Secured.I read about the action method attribute [requiresHTTPS] however I want to understand what happens to that tag during development on local machine. In a development enviroment, how do I install a certificate on a dev machine/virtual directory to code and test my changes.So this application is complex in nature and we have around 13 controllers and 50 action methods. This application will have information like Credit card numbers since we do accept payment through this website.
View 1 RepliesI have the domain name and space and also prepared my website on visual studio. now i want to know how to make it ready, so that i can copy it the hosting server. means what is the prerequisite for hosting? and then how to publish it?
View 1 RepliesI have a problem deploying crystal report on Windows 2008 R2 server. I had a web app that was developed with VS 2003 and working fine with Crystal Reports on a Win 2003 Server. I recently migrated the app to .NET 2.0.Crystal references are pointing to version 10.2.3600.0 in web.config but when I try to run the report from my web app, it says "The type initializer for 'CrystalDecisions.CrystalReports.Engine.ReportDocument' threw an exception.".I have installed CRRedist2005_X64.msi on the server.Any ideas on how to solve this issue?
View 1 Repliescan anyone tell me What are the steps to be taken while deploying asp.net application
View 1 RepliesI was given a compiled asp.net web application v2.0 which was created in visual studio 2005. I have made some changes to the site and created various new classes and made it look abit cooler . On my localhost I go to the Visual Studio Project and click rebuild and its stays that the dll has been successfully and all the dll, pdf have been created again with new modified dates. So when I publish the site to the production server, the site uses the old current dll which doesn't show any of the changes I have made.
I have done the following - Deleted all the files from obj/Debug before rebuilding the site
Made sure there were no files defined in the application which are not there in the local system (apparently this is a bug)
I'm don't know what else to try, I' have used red gates .net decompiler and can see all my new class names so I know what all the extra classes are in the new dll.
One thing I'm not sure about is what 'Build Action' do you need to set for the binxxx.dll, at the moment it is set to 'content' but if I set it 'compile' I get "Error 1 Unable to write to output file
'C:1stDirectobjDebugvb-website.pdb': System Error
&H80004005&" .
For the last 3 days I struggled to deploy my small asp mvc site on asphostcentral I got the following error wille trying:
could not copy the files on the ftp because I am behind a corporation router and active mode does not work (managed to work around it by copying from a ftp web client)could not run the application because the latest version of asp mvc was not installed, after Could not load file or assembly 'PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35', my guess is that .net 3.5 with sp1 is missing, what do you guys think ?
I can connect to the database server but I get an error when I try to expand databases and get to my database.
We have moved a lot of images and javascript file that was inside class to external Javascript file. In development (Debug inside Visual Studio), everything look nice, all images show, all javascript works and all CSS display perfectly. When we do a package and install with IIS ina virtual directory everything that is pointed by the JavaScript doesn't work.
Question : Since we cannot use the tilde (~) in javascript or in CSS what is the way to display those resources?
Edit 1
The problem is the website is installed with a Virtual Directory and if we have in the JavaScript file a popup that has a hardcoded path in the JavaScript the code try to display : "http://localhost/NameSpace/Directory/File.html" instead of "http://localhost/VIRTUALDIRECTORY/NameSpace/Directory/File.html". Is there a configuration with IIS or inside the code I need to add something like a parameter to pass the path everytime?
In the javascript in dev it work to have something like :
var popWindowPath = '/ProgressFile/Simple/ProgressSlow.htm';
How can i deploy .rdl files using c# to remote server?
View 1 RepliesI have created a dll using .net->classlibrary,which fetches the mac id of client machine.I implemented it in a web application using javascript and it works well in server and client machines in the network.but for that,I have to register the dll using regasm commands in each client machine manually. but I want to use the dll in a senario where I cannot able to register it manually in each client machine...so my Idea is to create a cab file containing the dll and implement it in the login page of web application(using javascript? or codebehind?which is suitable) so that when the client opens the login page,the cab file that contains the dll extracts itself and get installed in the client machine and fetches the mac id of the client machine to the server. Is this the suitable way?if so how can i create the cab file holding my dll?any links? how can I implement it in the web appln?
View 9 Repliesi want to deploy our official asp.net web application (Enterprise Resource Plan ) which mostly contain critical data. currently we have deployed it on internal machine on intranet now we want to open it for public i.e on web .what would be the best deploying strategy so that application remain fast,data secure and prevent unauthorized access.we have also a public ip and also have a server machine.
View 2 RepliesMy app works fine locally on my machine but when I deploy to IIS 7.0, I am getting the following error; What could possibly be causing this? I have the connection defined in my web.config and check to ensure the connection is not being closed unknowingly.
View 2 RepliesThis might be a really stupid question and make you guys laugh. I've deployed my whole website using the copy website tool to my FTP server, but then how do I go and visit the site that I just deployed? The domain name is: H204716.[URL] however when I navigate there through my browser it says 403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied.
View 2 RepliesI've got an ASP MVC (1.0) application. It works fine locally via visual studio and on our dev server which runs IIS6. But when I try to deploy to the Test server (running IIS7 on Windows Server 2008 R2) I get only :"Could not load file or assembly '<ApplicationName>' or one of its dependencies. Access is denied" (where <ApplicationName> is the name of my application). This is followed by a "FileLoadException", a "ConfigurationErrorsException" and two "HttpException" (all with the same message as above)I deployed via publishing to an empty directory, whose contents were then zipped and transferred to the site directory on the test server. If I copy the directories contents to my IIS installation it works fine. I've checked that networkservices has permission to access the site directories and the temporary directories, which were the solutions I found via google,
View 2 RepliesI have a CruiseControl.Net project set up to build an ASP.Net project, using an <svn> task to pull the latest code from source control.
On a successful build, I use a <buildpublisher> to copy the site to a deployment folder. My problem is that the buildpublisher is copying everything to the destination folder, including every .svn folder and its contents. What is the easiest way to strip out the .svn folders before copying to the deployment folder?
I am facing problem in deploying MVC 2 WEB Application on IIS 7.
I am running under Integrated mode.
What do i need to do....
I have created virtual directory also for my application on iis7.
I am using Windows 7.
When i going to browse my application iget following error message.
Server Error in '/StaplesTagging' Application.
The resource cannot be found. Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. review the following URL and make sure that it is spelled correctly.
Requested URL: /StaplesTagging/Views/Programs/ManageLists.aspx
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
I developed a web application using VS2008.I want to deploy that application.how to deploy that application?
View 3 RepliesI ran the redistributional CRRedist2008_x86.msi on my web server, but when I try to browse my page it can't find the Crystal Reports assemblies: Could not load file or assembly 'CrystalDecisions.CrystalReports.Engine, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304'
View 3 RepliesMy web server does not have the framework installed and they are telling me to use the DLLs in bin folder.. is there any difference (performance, security etc) between deploying it by server installation and through bin..
View 2 RepliesWe have been a ColdFusion shop for 10 years, and are now switching over to ASP.net MVC. Our target framework is .net 4.0 BETA 2 using VS 2010 BETA 2. We set up two instances of Windows Server 2008 (staging and production), and will be using our existing database server (SQL Server 2008).
None of us really have much experience in ASP.net itself, though we are all very comfortable in C# and the MVC pattern. The coding itself isn't much of an issue; but the deployment process is. Our goal is to be able to have a CI setup that will automatically pull down, and test, our applications into staging on commit - then have the option to tag, then switch, the checkouts on our production sites when websites pass QA.
Some of the things I'm having issues with here is the concept of an ASP.net application and how it integrates into SVN. CF, like PHP or RoR, are all scripting languages and as such require no build process (checking out the source into production is very straightforward). But in this case, applications need to be compiled - which is where we start to have problems. Will we need to create another server (or use an existing one) that has some sort of application that pulls down code, compiles it, then somehow pushes it on the live servers? If so, what is considered the best way to accomplish this? I imagine if we end up using a build tool such as Nant, adding additional steps to migrate the database would be trivial, but what is the best way to accomplish this as well?
Another, slightly unrelated, problem is how our designers will work with our code. Most of them are on Macs, and using VS isn't much of an option. How will they be able to edit the aspx, css and image files easily? Our goal is to make this as transparent as possible to them.
We have done a lot of shopping around, and ASP.net MVC seems to be the best option as far as our familiarity with the language, and our current platform. We just need to figure out a good build process so everything is as transparent as possible.
I had deployed an asp.net 2.0 web site in IIS 7 in windows 7( with .net 4.0 installed ).
But while I am going to browse my starting page Welcome.aspx it shows error:
HTTP Error 404.0 - Not Found. The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Is there any problem with deployment of the application?
I have a Web application that I have built, published and deployed on a Web Server. It all works great and up to now I have been able to get people to stop using it whilst I published any changes. It is an internal system but I now have firefighters that can be using this 24x7. I am probably being totally thick but how should I deploy small changes in codebehind pages without haviing to do a full deployment to the web server. I am learning ASP.NET as I go along and I am a bit confused with how I can update the web application without affecting users.
View 3 Replies