Visual Studio :: Running Project With VS Development Server?

Feb 25, 2011

I'm attempting to run/debug an ASP.NET MVC project under .NET 4.0 using VS2010's Dev Web Server. The server appears to spawn successfully and an instance of IE Explorer opens. However, the browser never seems to find the page. The browser just "spins" showing only a white page...no error message.VS is configured to randomly select a port, although I get the same results when configuring numerous static ports.The ASP.NET project is the start-up project.

View 2 Replies


Similar Messages:

Visual Studio :: Unable To Connect To Development Server On Running Website

May 12, 2010

I have VS 2008 with SP1 installed on Win XP. I have .NET 3.5 with SP1 installed When I ran and opened an existing project for the first time, I got the below error WebDev.WebServer.exe has encountered a problem and needs to close. After this error, I continusly get "Unable to connect to the ASP.NET Development Server. whenever I run the website. I checked the internet and ASP.NET forum and tried all the following Making port numbers auto assign Making it to a specific port number using the Custom web server Tried creating new web site and checking Replaced WebDev.WebServer.EXE after downloading it from a website My anti virus have not blocked any websites as such I tried resetting VS settings by running devenv /resetsettings what else might be the problem?

View 7 Replies

Visual Studio :: Cannot Connect To Development Server After Closing The Server And Restarting The Project

Sep 29, 2010

I'm getting "Cannot connect to ASP.NET development server" almost every time I stop the ASP.NET server before restarting the project in debug mode. It can take between 15 seconds and 2 minutes to get the error message, and Visual Studio is frozen.

Sometimes I get three in a row, and I have to wait 2 minutes each time, or go into Task Manager and kill to process. Then I have to start Visual Studio 2010 again, which is at least three times slower than Visual Studio 2008 to open.

It's *extremely* annoying. I know I don't have to close the server if the code has changed, but sometimes I simply want to restart my website in debug mode (there is a cache on most web service calls, so this clears the cache). A workaround is to add "foo" code to a class and restart the project.

I'm running Visual Studio 2010 Professional on Windows Server 2008. I'm running the Visual Studio Power Tools too, with the latest update.

View 1 Replies

2 Browsers Open In Visual Studio WebSite Development When Running Without Debugging?

Jan 19, 2011

In Visual Studio, when I click > Debug, > Start Without Debugging, (with my default browser set to IE), the application starts but it opens 2 IE browser instances. It opens 1 IE instance to start BUT when I close it, it launches another browser instance with the same start page. This bug is repeatable and consistent behaviour, that I can reproduce on-demad in IE.

(In some other minor variations, it seems that depending upon exactly how I start it, it will open 1 browser instance with 2 tabs, each tab having the startup page in it. However, this is not yet repeatable or consistent. It has happened; but, as of now, I am uncertain as the the exact steps to reproduce this particular variation of the anomaly.)

I am using Internet Explorer 8 (IE8).

I am using on Windows 7 32-bit.

I am using Visual Studio 2008 Standard.

I only have 1 startup project defined in Solution properties.

I have all Toolbars And Extensions set to "Disabled" in IE.

I have turned off "Automatic Crash Recovery" in IE.

(This does NOT happen in FireFox.)

View 2 Replies

Running Visual Studio Project On A Mac With Parallels 6?

Dec 17, 2010

I use Mac as my primary OS, but I often work on ASP.NET MVC projects. I want to use the same file system for them, and not virtual OS image.

The reason for that is because I want to integrate the projects with Mac OS (i.e. upload them to the server via Transmit, a Mac OS FTP app).

But the problem here is that ASP.NET can't really work with projects located on network drives. So when I try to run a site (either with VS 2010's built in web server or with IIS 7), I get

Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

And this is a common mistake but no solution that I could find worked for me.

If I create a project on Parallel's virtual C: drive, everything works fine.

P.S. I hear that VMWare has better network drives support, but is it as smooth as Parallels? Parallels 6 runs extremely fast for me, and my Mac Mini doesn't even get warm with VS 2010 and several other Mac apps open.

P.P.S. I also heard about using DropBox and/or Windows Live Mesh. Is clouding a good idea in this case?

View 1 Replies

Visual Studio :: White Screen On Running Project?

Jan 25, 2010

When I build me C# web app in VS 2008 I am presented with a white screen. Internet exporer shows that it is 'Done'. This happens no matter which Form of my project I run and will not display even the directory screen.

I recently copied and pasted controls from one form to another and after this it seems to have stopped working. I have tried deleting the newly created controls and then eventually the Form.

View 2 Replies

Visual Studio :: Running A Web Site Or Web Application Project?

Mar 16, 2010

So I have seen the items about the differneces between web application and web site projects. My big question is - how can I tell which one I am running in the RC of VS 1010?

View 1 Replies

Visual Studio :: 2010 Hangs After Running First Cloud Project?

May 2, 2010

I installed VS2010. Then The Azure toolkit. I created a new solution, with one webrole in it. I added 'HelloAzure' to the default.aspx, and then pressed f5 to run it.

It runs! I see my text 'HelloAzure' in IE8. Yeah!

Now, when I close IE8, it seems that VS2010 simply hangs, is frozen. It accepts no input from mouse/keyb. Nothing moves ... you know ... it hangs.

Taskmanager is required to get out if this state.

View 5 Replies

Visual Studio :: Opening A Project Across 2 Computers Running The Exact Same 2008

Feb 11, 2011

The problem is I have a laptop that I take to University with me to all my lessons and lectures and it has Visual Studio 2008 installed on it and I work on my assignments in Visual Studio just fine. However when I get home I would like to use my desktop PC which has the exact same copy even from the very same disk of Visual Studio 2008 that is installed on my laptop. The problem is no matter what I do I can't open and work with any projects that I have created on my laptop.

Now if I create the project on my desktop PC it will open just fine on my laptop and I can continue to work with the project but the minute I save and take that project over to my desktop I get the self same error message shown below. [URL] I did do a little research and I found what looked like a solution for some people and that was to change the "SQL Server Instance Name" to SQL2008. As shown below it was set to SQLEXPRESS which is the same as what it says on my laptop copy. [URL] But all this did was present me with a new message as shown below. [URL] Uploaded with [URL] I'm completely at a loss as to what the issue is. Both my laptop and desktop run a fully updated copy of Windows 7 64Bit and have the same copy from the same CD of Microsoft Visual Studio 2008.

View 13 Replies

C# - Disable Script Debugging In Visual Studio 2010 When Running Website Project?

Apr 1, 2011

I'm creating a website in Visual Studio 2010. I would like to use Visual Studio for C# debugging, but it also uses Visual Studio as JavaScript debugger. Is there a way to disable script debugging for Asp.Net website projects? I run my projects by hitting F5 in my Visual Studio. (I've noticed that when I attach the debugger manually, I can specify the type of stuff I would like to debug.) Note: I would like to debug, but not with Visual Studio. The developer toolbar is enough.

View 3 Replies

How To Get Visual Studio Development Server To Work With PHP

Jan 26, 2011

I'm a .NET specialist working with a PHP/Flash programmer to deliver an app via IIS. After jumping through 17 hoops of fire and defeating a gargoyle in a gruesome battle to the death, I managed to get my IIS 7.5 server to cooperate with PHP, and now if you browse to my public web site, you can see the Flash objects happily doing their behind-the-scenes stuff with PHP, whatever that may be.

But... when I'm debugging my app using the VS Development Server, that still apparently doesn't know how to cope with PHP: I'm getting the same HTTP 405 (Method Not Allowed) errors that I was getting on IIS before aforementioned gargoyle breathed its last ("The HTTP verb POST used to access path '/php/blah.php' is not allowed.").

So, what do you have to do to get the VS Dev Server to play nice with PHP?

View 3 Replies

Disabling Visual Studio Development Server?

Aug 12, 2010

When debugging my website project I usually go to start options in the web project's properties and select 'Don't open a page' and 'Use custom server' with a url that's in my host file pointing to my local IIS.

Even when I do this though visual studio still spawns it's own Development Server instance every time I hit f5.

Also for web application projects that have shared ascx files for instance Visual Studio will also launch an instance of Development Server each time I debug the solutions for each for these projects. This results in a million instances of Development Server running on my machine at any given moment.

Is there any way to disable development server for a given project completely? Without pointing it to a localhost sub application?

View 3 Replies

Visual Studio :: Development Server Has Stopped Working?

Jan 6, 2010

Came into work this morning and discovered that my local asp.net developmentn server has stopped working. Im getting the following page :

[Code]....

Im running visual studio of my personal PC withing my company's network.

View 3 Replies

Visual Studio :: Does The Internal Development Server Support PHP

Feb 21, 2010

Under IIS I would have to do a special configuration to support PHP. I have also found a number of references related to previous versions of VS which state that the development server would not, hence my question. Will the development server run the following PHP script server side in the header? Are there special configuration requirements?

<head id="Head1" runat="server">
<script type="text/javascript" src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php"></script>

A number of developers trying to create Silverlight apps intergrating Facebook have ran into the same wall with the MS Facebook SDK, and are struggling to determine the cause. I am assuming the script file contains the integration functions.

View 1 Replies

How To Deploy Visual Studio Development Server With Web Applications

Nov 15, 2010

i want to know how do i deploy ASP.NET web applications on client machines which runs with the visual studio development server rather than configure it in the IIS on the client machine? I know its possible and telerik also uses this approach.

View 1 Replies

Visual Studio :: Unable To Connect To Development Server

Mar 3, 2010

I'm getting this problem with one of my web projects. I've looked at [URL] and other suggestions around the place, none of which apply here. The odd thing is, it's occurring with *one* of my new web site projects, but not another one. Odd again is that they're both 100% fresh sites, created with the "New Web Site" option in the File menu, within a day of each other, and nothing has been done to them, apart from a bit of "hello world" html. WebSite1 was created first, and Cassini worked when I first created it the other day. A day later, I created WebSite2 and Cassini worked (and still works) with that one.

However, when I open WebSite1, I get the above error code - again, it was working fine the other day, and WebSite2 works fine. I've compared their .sln file - so differences apart from the VWDPort number used, and of course the path to the site and various GUIDs. Everything else is identical. Same with comparing web.config files. No differences there at all. So I'm stumped - why would Cassini start up fine with WebSite2 (and subsequent sites I create) but suddenly stop working for the WebSite1 project, when it was working ok a couple of days ago?

View 2 Replies

Sending Email To Visual Studio Development Server

Jul 11, 2010

ng an application that listens on port 25. My application will work as a SMTP server receiving emails. I am aware that I can just enable IIS SMTP feature, but for my current project, I needed to do in this way.If I can send emails to visual studio development server which has a private IP, my debugging will be much easier. Is there a way to send emails to VS development server?

View 1 Replies

Visual Studio :: How To Stop Development Server In 2010

Jul 7, 2010

When viewing an asp.net page in visual studio 2008, the asp.net development server icon shows up in the system tray. It can be stopped by right clicking on it and select "stop". In Visual Studio 2010, I do not see the icon any more. where the asp.net development server is? How to stop it?

View 3 Replies

Visual Studio 2008 Development Server Uses C# 2.0 Compiler?

Aug 4, 2010

I have a test website with VS 2008 that just uses code behind files, such as Foo.aspx.cs. Thus, the web server compiles them on the fly. The problem I'm running into is I can't use any C# 3.0 features. If I do:

[code]....

Then VS will work fine (everything gets highlighted and Intellisensed), but when I run the site it just throws up compiler errors..

Is there a way to fix this, or do you have to compile a DLL to target the 3.0 runtime? If so that's insanely lame.

View 2 Replies

Visual Studio :: Unable To Connect To Development Server?

Nov 23, 2010

Not too long ago I was given a new PC with windows 7 Professional on it. Before, I had vs 2008 running on win xp which worked OK. I started getting error msg (Unable to connect to ASP.NET development server) after I installed vs 2008 (version 9.0.30729.1 sp1 vs team system dev. edition) and ran one of my projects and even a simple test project. The first msg shows the syntax of webdev.webserver with an example in the bottom. I can get this error by running the project or by showing any page in the browser. I noticed that file WebDev.WebServer.EXE does not appear in the folder C:WindowsMicrosoft.NETFrameworkv3.5. If that's the only reason why I am having this problem than how can I fix it. I was told that .net framework 3.5 works on top of .net framework 2.0?! I just want to sort out this .net framework mess on my new machine. I am willing to uninstall all .net framework and start fresh. Another thing that I am willing to try is to get from a coworker the WebDev.WebServer.EXE (from the .net framework 3.5 folder) and see if it works.

View 2 Replies

Visual Studio :: Development Server Hanging On To Old Stylesheet?

May 19, 2010

I noticed a layout issue on the web app I'm working on, and in trying to correct it via the stylesheet I realized that the development server is not recognizing any changes I make to the .css file. As confirmation, I saved a blank stylesheet (which should have removed all styling), cleared my browser cache and rebooted my development machine and the original styling remained. It seems some version of the stylesheet is "stuck." The stylesheet is referenced in my master page, and the path specified is correct.

View 2 Replies

Adding A Virtual Directory To Visual Studio Development Server?

Apr 6, 2010

I'm using the Visual Studio Development Server, with a specific port. Is there a way to add a virtual directory to it?

EDIT:

I'd like to be able to add one or more virtual directories to arbitrary physical directories. For instance: [URL] would map to C:, [URL] etc.

View 6 Replies

Visual Studio :: Debugging With Development Server Initialization Slow?

Apr 25, 2010

Debugging using the ASP.NET Development server is extremely slow to initialize. The behavior I'm getting is that if I launch the DevServer from VS2008, the first attempt to load a page takes minutes. After that, it's fine. Before the first page load, the DevServer UI responds to input normally (I can bring it up from the status area, use its context menu, and move the window around) until the first page load comes in. Then it shows the busy cursor (spinning blue ring) for 2-6 minutes before finally completing. There is no significant processor or I/O activity during this. After that, it runs normal speed, quite fast.

View 2 Replies

Visual Studio :: Running Website Windows 7 Professional 64 Bit / On Loading Up A Website Project Getting Error?

Mar 6, 2010

I have a new development machine running windows 7 professional 64 bit. On loading up a website project Im getting this error

'The Web Application Project 'websitename' is configured to use IIS. To access local IIS websites, you must install IIS components:

IIS 6 Metabase and IIS 6 Configuration Compatibilty

ASP.net

Windows Authentication

In addition you must run Visual Studio in the context of an administrator account

As far as Im aware, I am an administrator of my own pc and I have the .net framework installed.

View 4 Replies

Visual Studio :: Error Popping Up - Unable To Connect To Development Server

Jun 7, 2010

I developed a website project using visual studio 2008 and language used is c#. It was working fine till yesterday[i.e., It compiled and also i could run it using the asp.net development server by pressing ctrl+f5] and today when i tried to run it says "unable to connect to asp.net development server". I tried to reinstall visual studion 2008 and even now its not working. Also when i go to websites n asp.net configuration option it say the same error "unable to connect to asp.net development server". I absolutely no idea about why this error popped up. I got my project demo. day after n how can this be set right.

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved