Configuration :: Deploy Project In Client's Machine
Mar 20, 2011
I have developed a small website to be hosted in my client's office (intranet). This is my first website. I don't know how to deploy it.!! We can run it by copying and pasting the whole project folder in their server. But if we do like that they can modify the code whenever they need.
I have developed a web application in vs 2008(3.5 SP1) using sql 2005 as backend ; What all softwares need to be installed to deploy this web application on client's production server?
I am using Visual Studio 2010 and therefore have RDLC 2010 so developed couple of reports but when I run the project within developer machine and tries to export in Excel it works fine. But when I deploy my project on UAT machine (IIS) it simply refuses to export with the following error"The file you are trying to open 'myreport[1].xls' is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file."then it ask do u want to open anyway...when you select YES then it comes simply blank.
i am facing an issue with crystal report when i deploy my web application in client side. I have a web application developed in visual studio 3.5. Our build machine contains crystal report version 10.5, we have published the web application and created the build to deploy in the client machine IIS. We have installed the redistribution of crystal report 11 in the client machine. we have currected the config file and all based on this. but we are getting a runtime error when the application try to load reports.
I have created 2 projects in a solution. One project contains Asp.net classes with login page and different other pages.
Another project contains a web service.
When I launch the solution(click F6 in visual studio 2008) the login page can access to the method of the webservice. Both projects are launched.
However when i added this 2 projects into IIS and deploy them (with create command) the login page cannot contact the method of the web service. Even though the web service is running because i can acces it manually. But they cannot communicate each other.
I have tried to deploy a project using Windows Installer Deployment. And Successfully installed it in computer. But it is unable to connect with the Database in my system. Earlier the same project worked from my Visual studio but it is not working after the deployment.
And we deploy it onto customer machines. The application calls various .exe files on the the machine. We sometimes get permissions issues and we were wondering what the reccomendations are for deploying web apps in this way. Should we be telling our customers to leave the app out of the domain until we install our software and have it all up and running?Are there any articles that would go over permissions and how c# and asp.net interract with the machine?
I am using visual studio 2008 in a asp.net project where my database is SQL Server 2005. i am trying to deploy the project in IIS by creating a virtual directory. But it gives the error while i run from IIS. It gives the followin error. Login failed for user 'Machine NameASPNET'.; I used the command secpol.msc to set the 'log on as batch job' to the user name ASPNET. But still i got the message.
When calling Response.Cookie.Add(new HttpCookie("MyCookie", "objValue")); where does the cookie saved? on Client Machine or Server Machine?
EDIT:if saved in Client Machine, how can I read it from javascript then? I tried this kind of script.
function getCookie(c_name) { var i, x, y, ARRcookies = document.cookie.split(";"); for (i = 0; i < ARRcookies.length; i++) { [code].....
I cannot get the cookie that I saved from code behind. When I look into the document.cookie object, it is just an empty string.
Scenario:On Page_Init() on code behind. I create a cookie using Response.Cookie.Add(new HttpCookie("MyCookie", "cookieValue"));. On Client side, I'm trying to read the cookie saved from code behind on page load using the snippet above, but it returns undefined
I have around 100 rdl report files...what i have found in google is -> open RS Admin site upload each report...doing this manually takes a lot of time... We don't want to use Target report server url method and clicking deploy option to deploy the reports or report project onto the report server...because we are not provided with such production server url information...!! In client perspective...We just give the reports as a rar file...now client will have to extract the report files...and what should be the next step...!! Is there anyway to deploy or upload all the reports at a time...!!
Problem is occur when i deploy a MVC project on IIS 5.0. 0n IIS I create a new virtual dicrectory with alias name is POS, when I run my site I have got directories without alias name like that "localhostScriptCommon.js" intead of "localhostPOSScriptCommon.js", so website can't get any javascript files and other files but the links to pages is ok.
I built my ASP.NET website using vs2008 professional.
Now I have purchased vs2010 professional edition.
I do format my computer and then installed vs2010.
Now I want to deploy my website in vs2010, but it is giving configuration error in <add assemblies...
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
I am deploying my first ASP MVC project. The project runs just fine, I would like to take the next step and run this outside of my visual studio environment on my local IIS. I am running Windows7, Visual Studio 2008, and I have created a basic ASP MVC project. On my solution, I find the project I would like to deploy. I right click and select Publish. I have backed up C:inetpubwwwroot and would like to deploy there. I accept all defaults, and click the "Publish" button. The Output Build window shows 1 project failed.
Basically is says that it is unable to add any of the binaries to the site, copy files, create new directories. Access is denied. When I do click "Publish" at work, I don't get these errors. What do I have to do here to publish the website to make the website available to the rest of my home network? Also wwwroot appears to be readonly, but telling the folder to not be read only doesn't seem to help, it still appears to be readonly even after I've unselected this property in the property dialog.
There has been a suggestion that on Win7, you launch VS2008 as an Admin. While this does appear to work, I find it hard to believe that this is the "way" you do it.
i have created asp.net web application which use Crystal report 2008. Now i want to publish this project. i have installed full version of Crystal report 2008 on server. And all works good. But my bosh does not want Full Crystal Report 2008 to be installed on server. now my question: what i can do?
CRRedist2008_ia64.msi installs the crystal reports runtime dlls in the GAC.
However, I would like to install these dll in the bin directory of my .NET project and deploy. I copied all the Crystal Reports dlls which gets installed by CRRedist2008_ia64.msi in the GAC ino the in directory of the project and referenced these dlls in my project. However, I still get the following error message.
Is there a way to not install the runtime but copy the dlls manually?
Server Error in '/***_net' Application.
An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. [URL]
Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: CrystalDecisions.CrystalReports.Engine.LoadSaveReportException: An error has occurred while attempting to load the Crystal Reports runtime.
Either the Crystal Reports registry key permissions are insufficient or the Crystal Reports runtime is not installed correctly.
install the appropriate Crystal Reports redistributable (CRRedist*.msi) containing the correct version of the Crystal Reports runtime (x86, x64, or Itanium) required. [URL]
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.
I'm looking into a ASP.Net project for a friend who has a client at the moment. I just want to make sure that I can log onto her client's machine where they host their site, I'm working from home and not on their domain.
If I can't log in using the account info they gave me, is it possible that they can limit FTP access from outside IPs? Just a question in case I have a problem then I can suggest a solution. "Hey friend, I tried to log in, but the service denied me probably because your client has to include from my outside IP. My IP address is ....." or something like that.
System.Diagnostics.Process.Start("C:Windowssystem32otepad.exe") i Use this codeing it work on my system but not work on server. and with the javascript it also give the error
e are developing an ASP.Net application. The requirement is to install and run an app (say console app developed using .Net) on the client machine through out ASP.Net application. How can we install this app (and .Net Framework required to run the app) when the user access our web app