Visual Studio :: Publishing WCF Service In VS2010 And IIS7
Apr 1, 2010
there is probably a really simple answer to this, but I have the flu and can't think straight. I am taking advantage of being out sick by downloading VS2010RC and playing around with it. I created a simple WCF service (my first in this foundation, but not my first service). Its a redo of an existing asmx service I created a while ago. I commented out all the processes, and am simply trying to publish the service to my local IIS7 to see the discovery working. I have setup a new site to host the service ( I tried using Default as well, with the same results). I right click the project in VS and select publish. It is prompting me for a login even though the site is setup for anonymous access. If I try to use WebDeploy, it can't find my site, and if I use FileSystem, it give me a simple "Publish failed" with no details. Can someone point me to a tutorial or something that describes the publish process in VS2010 or give me some leads as to what setup needs to happen either in VS or ISS to let me publish?
View 4 Replies
Similar Messages:
Jan 18, 2011
I've been building an MVC 2 site on my local machine which I then hoped to FTP to my companies IIS7 server.
When I first started using the MVC in VS2010 I published in VS via FTP and everything was fine, asp.net was properly installed and the mvc library was there.
Now I'm faced with a problem that I can hardly define, let alone get around:
When I attempted to publish, the controller folder wasn't being transferred, so I manually copied it across thinking it was just an FTP problem, but then I got errors complaining about an assembly reference in my web.config file:
Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
So I'm guessing that whatever it is that is preventing VS transferring the controllers folder is doing the same with some of the MVC configuration stuff.
Another oddity is that thought the initial settings worked, I've since scrapped the orignal project and started again, I've had a look back at it and tried to use the original settings to FTP across but they now don't work and have the same problem, as does my bosses machine(previously unused version of VS) when I tried to FTP across the default MVC2 project.
VS reports that the FTP publish has succeeded and the controller files aren't listed in the Publish.XML file on either machine.
View 5 Replies
Feb 16, 2011
Using VWD 2010 Express.We are using SVN for versioning control and so there are folder .svn in each of the project source code folder(eg. App_Data, Views, ...). These .svn folders also get published into the deployed location. Anyway can I set up a filter to exclude these .svn folders when do a Publish?
View 1 Replies
Jan 12, 2010
We are using Windows 7 with Visual Studio 2008. We wanted to know if there is a way to automatically configure new Projects to use the publish to IIS and create a virtual directory options, instead of defaulting to using the built-in web server, since we then need to manually go and publish/create the virtual directory.
In the "olden days" when creating a new project it automatically created the virtual directories in IIS, but not anymore .
View 3 Replies
Aug 2, 2010
I have created a Vista Side Bar Gadget in Visual Web Developer. When I run it from Web Developer, It installs to my sidebar, and works great. How do it package it so I can send it to my buddies to install on thier machines to test it for me?
View 2 Replies
Mar 9, 2011
Is there anyway I can put my custom name while publishing asp.net 2.0 website?
View 1 Replies
Dec 19, 2010
I am struggling to publish a site built (and working locally) using VWD 2010 Express to a production server.I realise that this is because I don't understand enough about the relationship between the website and SQL server and I certainly don't know enough about the way SQL server works in general. Can anybody recommend some learning resources - books, tutorials, vids etc, that explain the background and in particular address the issue of how to publish to a production server.
View 2 Replies
Jan 10, 2011
This is just a small problem with some form of workaround im sure.I'm ready to publish my ASP.NET website, however, there is no 'Publish' option when I right click the project in solution explorer or even a Build Tab on the menu. I'm using Visual Web Developer 2010 and having done some research they all refer to this option in the Tab menu when I don't even have the Build tab myself.I did also see something to Download but I accidently closed the tab in a hurry - WebPI is it? Will this work?
The reason I want to 'Publish' ideally via MS VWD 2010 Express is that in previous versions (VS 08) when it 'Publishes' is combines the .cs/vb files with their respective pages rather than upload them as seperate files through FTP.I know some changes need to be done with the web.config file so If there is any info on that and other essential info I need to know please help me out (links references wud do! :P)
View 1 Replies
Aug 3, 2010
I'm trying to publish a site which uses an ajax uploader control which has an extra licence file that must be in the bin folder. Now if i publish my site this file is not published to the server and so i have to manually copy the file every thime to the server. My publishing setting is set to 'Only files needed to run this application'. If I change this to 'All files in the project folder' then it works but what is the point in that? I'm using Visual Studio 2010 Ultimate. (Note that i am a little new to publishing websites etc).
View 4 Replies
Apr 9, 2010
I have a couple files that are missing after a I publish a web application project in VS 2008. I know that the files need to be included in the solution and they are. I have tried excluding them and including them to hopefully reset whatever is missing these files in the first plac but that had no effect.
Ultimately, I need this to work on the command line with msbuild.exe, but I get the same results when I publish through VS.
Knowing that the files are already included in the project, what else do I need to do to get these to files to be copied over in the publish/build?
View 3 Replies
Mar 10, 2011
I'm relativly new to developing in .net so I probably publish to web to check my code more often than most developers but everytime I do it kills my login session... so I have to log in, navigate to the page I'm working on and then test it... is there a setting to stop killing the active sessions.... it would make development MUCH quicker for me.
View 4 Replies
Feb 19, 2010
Before you start using VS2010 RC, knowing that the RC version was launched with a serious bug as reported on the link below.The bug is related to the use of controls within containers in an ASP.Net application, and like almost every ASP.Net application has any container, it is impossible to migrate an application VS 2008 to VS 2010.Before you start any work or migrate to the IDE of VS2010 RC, you know this bug.
View 20 Replies
Mar 4, 2010
I know for those who dont use it may think this is minor, but it appears that VS2010 has done away with the "Brief" style editor. Brief style editing makes me way more productive since I am one that tends to spend most of my time in the code. Does anyone know how to turn on Brief style editing in VS 2010 or are there any plans to add it in?
View 4 Replies
Jan 4, 2010
if i add the SQL Database to the solution (in APP_Data folder) what are the enhancments provided by the VS2010 for it?is there any mechanism to synchronize this DB with the SQL Server DB? or can i use the SQL SERVER DB in my project which remains physically in the APP_DATA folder and SQL SERVER as well?
View 3 Replies
Feb 17, 2010
We all know that we should only be publishing our ASP.NET Web Applications with release build type, so why do I not get a warning when I trigger the "Publish" command in Visual Studio 2008, for a project configured to build in debug mode? Sure, there might be cases where I need to publish a debug build to a development or test environment, but answering yes in a confirmation dialog would be acceptable in these cases. Is there an option that I have overlooked, forcing Visual Studio to warn me every time I try to publish a debug build? Yes, we could just ban using the "Publish" command and use a more solid build management tool, but this involves a change of process and right not be an option in this particular case.
View 3 Replies
Aug 18, 2010
I read somewhere that MS has integrate SilverLight Toolkit into VS2010. Where is it? I can't find it under Toolbox.
View 2 Replies
Jan 19, 2011
can someone recommend me of an online source(version) control integrated with visual studio 2010(free if there is or chargable), something like Microsoft visual source safe hosted in a static IP.
View 2 Replies
Mar 31, 2011
I'm trying to publish my mvc3 project to a web host server, I right clicked my project and selected publish, there i entered the ftp information, VS2010 uploaded the files to the ftp, but when i try to surf to the remote site i get an error "Directory Listing Denied". all guides I found requierd an installation on the web host side, is there no way to just upload the site like in classic asp?
View 2 Replies
Mar 30, 2011
I installed and reinstalled again SP1 for VS2010 I cannot get CSS3 support. HTML5 is working fine
When I open a css file, I can see only CSS 1.0 CSS 2.0 CSS 2.1 as validators.
View 15 Replies
Feb 16, 2011
I am trying to figure out how to use the web deploy feature in VS2010.I installed the web deploy on a 2k8 server, started the services and went to try a deploy. VS2010 is tellingh me the remote certificate is invalid according to the validation process.
I am trying this on a local VM i made so I could see if it works or not.
View 3 Replies
Apr 24, 2010
i have been trying the new VS2010, but i am having trouble to add to the dropdown list of frameworks the .net framework 2.0, i have installed the .net framework 2.0 and also the SDK, but nothing seems to make it to appear in the VS2010 multitargeting dropdown list. Can somebody give me the reason of this, what do i need to do?
View 3 Replies
Feb 15, 2011
On my development box I have VS 2010 Ultimate (64bit), SQL 2008 Express, and SQL 2008 DEV R2 all installed on the same machine. I can access either SQL with Management Studio R2 but I am having problems getting VS to open MDF files in the App_Data folder.It is trying to open them with SQL Express rather than the full version of SQL.I get an error about verion 661 is incompatable with the version installed which is 655.So what I need help with is, I guess, How do I add a program in VS for "open with" to use SQL 2008 R2? The present default for MDF files is "SqlExpress File Bootstrapper (Default)".I can't figure out where to point for it to open.I have considered uninstalling or upgrading the Express edition.
View 7 Replies
Oct 21, 2010
We have a shared drive where web applications are published to. When I attempt to publish I get the following error:
------ Publish started: Project: XXX.Web, Configuration: Release Any CPU ------
Connecting to T:WebSitesXXX...
Unable to create the Web site 'T:WebSitesXXX'. The path 'T:WebSitesXXX' does not exist or you do not have access. The system cannot find the path specified.
Details
OS: Windows 7
IDE: Visual Studio 2008 (running as administrator)
Path exists? Yup.
I assume it's some permissions issue, but I have no idea where to start.
View 2 Replies
Jan 26, 2010
I have created a web app using Visual Studio 2008 Express Edition and have come to the point where I need to publish the site onto my server (which is running window server 2008). I found that the publish function is not limited in the express edition, so published the app to a local file and FTP'd the contents across to my server. I then setup a website through the servers IIS manage and pointed it to the folder containing the FTP'd files.
My question is, how do I run the app? Do I need to point to a specific file?
I have tried to view a number of the files in browser directly from the IIS but keep getting the same standard connection error i.e. "Internet Explorer cannot display the webpage"
I have never used IIS Manager before and I can't find a resource which gives me a step by step guide to setting up a new site which has been created by Visual Studio 2008 Express Edition, are there any config changes needed.
View 3 Replies
Oct 14, 2010
what exactly selecting emit debug information when publishing web site do ?
if i select this can i see error variable names at stack trace ?
View 1 Replies