Configuration :: How To Deploy Project And Web Services Project And Make Them Communicating
Mar 21, 2010
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 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 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.
I am using Visual Studio 2010 Release candidate1. I have to deploy my web application which consists of a website, certain window services, certain WCF services and Sql Server 2005 database.I read Vishal Joshi's blog(http://vishaljoshi.blogspot.com/2009/09/overview-post-for-web-deployment-in-vs.html) detaing Web Package in VS2010. I want to know how to deploy window services and WCF services using Web Package. Also, I want to create a web setup (.msi) for deployment instead of Web Package so that the .msi takes care of all the application and database deployment like the web package does.
I just finished programming a web application, and I want to upload it to a host server so that it works online. However, I faced some problems.When recalling functions from class files, server can't approach them, and the following error appears: (BC30002: Type 'db_class' is not defined)I know that there are steps I have to do in this stage in order to make the project working. I want your help letting me know what these steps are!
I have reviewed many references and posts in this forum, but I couldn't reach a solution.I built a small project that contains ( default.aspx, app_code/class1.vp and web.config). It would survive my graduation project if you would downloading the project and fix the error appearing, and return me back the modified code. I tried many things on my hand to get fixed, but with no result.[URL]
When I turn on Code Coverage in my test settings, on a project that references the Unity DI container I get the following error:
Cannot initialize the ASP.NET project'{Project Name}'.
The event log specifies the following reason:
Could not load file or assembly 'Microsoft.Practices.Unity, Version=2.0.414.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Strong name signature could not be verified.
I am coding in ASP.NET C#. I have Microsoft Dynamics GP hosted at a server and my database hosted at another server. I would like the GP database take value from some table there and synchronise it with my database. Which is the best alternative? Data transmission Service(DTS)?
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 have created simple hello world WCF services it is working fine in local machine but when i try to uploaded to the server and then run that service it not at al start like http://localhost:8080/wcf/helloservice.svc
i am trying to modified the webconfig file <endpoint> address i have changed to my servername.com/wcf/helloservice.svc again it shows error can give usefull link to creation and deployment to the server
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 am writing a web services project in C#/.NET 3.5 / VS 2008. I declare several constants such as: private const string var1 = "hello"; I'd like to change the value of this string when testing, so I put a #TEST directive on top of my .cs file. But I cannot do:
in the variable declaration. It will not compile. I do not want to change the value in various functions because there are too many functions using the value.
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.
At what point (if at any) does it make sense to take some of the features of a .NET web application and split them into separate web services?
For example, we have a very large web application that also calls a series of long running operations (our core business logic). We also have a dll with client-specific custom features that is called directly from the web project. Sometimes we need to move very quickly to change these client functions, often in hours.
However, if we make a change to the client-specific features (or an emergency change to the core features) and publish a new project, then it would kick all the users out the system as the app restarts. It would seem like there's a better way ... but I'm not sure what it might be ...
i have a web service project called (WS_Service) i have a html page thats trying to consume WS_Service. i have web services sits on its own project (the reason i have created is because its independednt and can be called from .aspx or .html or mobile) i dont have problem with .aspx and i have just add the reference and fire the services. but i am not sure how i will be doing on .html page below is my code i am trying to POST to a web service:
Do you keep the developer's control panel and the application's web service, in 1 project? or do you separate them into 2 different projects?(Developer's control panel, is used to setup the web service API, check logs, read document specification, and details about each web service)When you host the solution you would do something like this..developer.domain.com <-- developer's control panel
api.domain.com <--- web service api or api.domain.com <-- both developer's control pnel and web service api
I have downloaded a project from the internet called the SMS Source example. I wanted to open this project in VS2010, so a conversion wizard has popped up prompting for the conversion. But it has errors in converting.
On the Timelog page, I want to put 2 dropdown list: 1 Manufacturing Project, 1 Engineer Project. However, users can choose either Manufacturing project dropdown or Engineer project dropdown (not both).