Visual Studio :: Running Asp.net Web Application?

Jan 6, 2011

my os : win XP service pack 2my website was developed in asp.net 2.0(visual studio 2005) and then i converted into asp.net 3.5(visual studio 2008). and i added one page. it was working.now,while i am running my website,output should be like this 'http://localhoast:8799/mypage.aspx'but at first it tries the above url and then it is automatically changes the url into like this 'http://www.localhost.com/mypage.aspx'.
i am facing this problem only in firefox as well as google chrome.but i am not facing this problem if the browser is internet explorer.is there any problem with my IIS? or in the browsers?

View 1 Replies


Similar Messages:

Visual Studio :: Get A Debug Running Remote Web Application

Jul 10, 2010

Debugging running remote web application

View 1 Replies

Visual Studio 2010 - Error When Running Asp 4 Application

Sep 19, 2010

I am getting this error, and cant figure out what the issue is.

Server Error in '/' Application.

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: 'JobManager.Contact' is not allowed here because it does not extend class 'System.Web.UI.Page'.

Source Error:
Line 1: <%@ Page Title="Contact" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
Line 2: CodeBehind="Contact.aspx.cs" Inherits="JobManager.Contact" %>
Line 3:

Source File: /Contact.aspx Line: 1
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

The code behind syntax is:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace JobManager
{
public partial class Contact : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}

View 3 Replies

Installation :: Running Server Application From Outside Visual Studio?

May 26, 2010

I am a programer really new to all ASP applications and stuff. I have a server application done with VS, wich run correctly from there, but I need it to run from outside VS. I guess It has something to do with the IIS, and I already added it to the windows components, but I still have no clue how to run it.

View 1 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 :: Ensure Web Application Converted From 2003 Visual Studio To 2008?

May 28, 2010

How can I ensure that web application converted from 2003 visual studio to 2008 visual studio

to have two files as it is when create a web file in visual studio 2008.The web application is in Chsarp. I have converted these filesfrom 2003 to 2008 but they still have three files each.

View 4 Replies

Get App_offline To Be Ignored When Running In Visual Studio?

Dec 3, 2010

I have a web app that has an app_offline.htm file, this file is stored in source control along with everything else.

The problem I have is that each time I (or any other developer) do a get latest on the source I get the app_offline.htm file and then when I try to run the app all I see is the app_offline rather than the actual web site.

Is there way that I can stop this from happening?

View 1 Replies

Visual Studio :: Possible Running Vs 2008 Under Different Platforms?

May 19, 2010

I am taking a couple C# classes at school and I finally got VS set up on my home computer. I am having one issue that I'm not sure where to go looking.

At school, the program is installed on XP Pro.

At school, I can read, output, and create files that are saved on my hard drive. I know any code I have used is correct because I can open up the files my code creates with other applications without issue.

At home, I have the program installed on Win 7. (I just upgraded my home comp so I'm still figuring out this new platform honestly.)

At home, everything runs, etc, but it will not create files. I can see the drives working, but nothing is written. I have tried several drives - all failing.

I'm assuming this is a flag or an environment setting somewhere on my installation but I have no idea where.

View 3 Replies

Visual Studio :: Running Service Based App?

Apr 16, 2010

here's my issue. I'm trying to run service based applications from Visual Studio. My previous workstation died, and I got a replacement, and I can no longer run the service based apps from Visual Studio, so obviously there's something that I neglected to reload. The specific error I'm getting is:

Cannot start service from the command line or a debugger. A Windows Service must first be intstalled ( using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool, or the NET START command.Going through debugger, I eventually get the error "Service <appname> was not found on computer .."The DOS environment does not seem recognize the installutil.exe command.

View 2 Replies

Visual Studio :: Running Or Debugging A Page?

Jul 28, 2010

Is there any way to debug, or just simply run an ASP.Net page or project without using Local Host? F5 or Ctrl F5 sometimes load the page fairly fast and sometimes it just does not happen. (At least not within my span of patience.) It seems that when it stalls, if I close the browser or click Stop Debugging, and then try again, it happens! But it is never consistent and usually frustrating.

View 2 Replies

Visual Studio :: Debugging - Running Twice Or Crashing

Nov 13, 2010

i have 2 problems with running&debugging my web projects using visual studio 2008 pro :

1.when choosing to run without debugging , IE is being opened (which is ok , since i chose it to be the default one to be opened via VS ) , and yet when i close IE , it is being opened once again .

2.when choosing to debug , visual studio crashes and IE is being frozen (can only be killed via task manager) ,even when i don't have the "debugger;" string in the javascript code.

i've tried to re-install VS , and also uninstall it and then re-install it, but it didn't help. i have windows xp sp3 home edition 32bit. what should i do? EDIT:about #1 , it seems that from some reason, VS didn't install "Microsoft Visual Studio Web Authoring Component" , and this is also why i had another problem of not being able to use the design/split mode . after installing this component, it seems that IE doesn't run twice anymore. however, i still have crashes of VS when trying to debug (problem #2) ,even thogh script debugging is enabled on IE. the weird thing is that on maxthon2 , which uses IE engine, debugging works just fine.

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 :: 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

Visual Studio :: Running VS2008 And VS 2010 Parallel To Each Other?

Feb 28, 2011

I've got about 30 projects in VS 2008 and we are finally starting to upgrade to 2010. I get change requests pretty regularly so I'm likely to have to make changes to projects that are still in 2008 after VS 2010 is installed. Is it possible to intall VS 2010 without messing up the VS 2008 install? If so is there any particular trick to it so they live side by side or do they automatically do parallel install in different directories?

View 3 Replies

Architecture :: Folder Opens On Visual Studio But Not Running On IIS?

Dec 28, 2010

I have to open a folder in my application, I have specified its path in a process -

string loadPath=Server.MapPath("~//VMS_Docs");
Process.Start(loadPath);

The window will open in Visual studio but not opened in when I tried to create a virtual directory on IIS.

View 4 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

Installation :: Visual Studio Has Detetcted That The Specified Web Server Is Not Running?

Apr 28, 2010

I was working with very old version of .net 1.1 . I need to compile the solution. So when I try to open the solution using visual studio 2003.I am getting below error.visual studio has detetcted that the specified web server is not running asp.net version 1.1. You will be unable to run ASP.NET applications or services.To resolve this problem, change the status of ASP.NET 1.1 to Allowed in the Web Service Extension list in IIS 6.0. To do this, follow these steps:

Click Start, point to Programs, and then click Control Panel.

Double-click Administrative Tools, and then double-click Internet Information Services (IIS).

Click Web Service Extensions. In the details pane, click ASP.NET v1.1.4322 in the Web Service Extension list.

Click Allowed to change the status from Prohibited to Allowed

But I am using IIS5.1 where there is no web services extensions property ( it was introduced from 6.0)

View 5 Replies

Visual Studio :: Trying To Publish Web Application In Visual Studio 2010?

Mar 28, 2011

I'm trying to publish my ASP.NET web application in Visual Studio 2010. I'm then trying to install it as a website on a server using IIS. I've gotten my application to publish (to a .zip file) but it points to the physical directory on my hard drive. This obviously will not work on the server.

View 3 Replies

Visual Studio :: Running Web Developer 2008 Express Edition On Mac?

Jan 28, 2010

it is possible to run Visual Web Developer 2008 Express Edition on a Mac computer.

View 2 Replies

Visual Studio :: Is It Possible To Determine At Runtime When Site Is Running In The Debugger

Sep 22, 2010

Is it possible to determine at runtime when my site is running in the debugger? I want to use one setting for production and another when I'm running in the debugger.

View 3 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 :: The Agent Process Was Stopped While The Test Was Running?

Oct 11, 2010

I have a solution that was originally created using VS 2008. I have quite a few unit tests that all passed when ran in VS 2008.

Yesterday I opened this solution in VS 2010 and converted it using the wizard. The solution built just fine, it runs just fine, BUT now all tests that access the db fail. I get the same error on every test (below).

"The runtime has encountered a fatal error. The address of the error was at 0x5b3b5ad7, on thread 0x19a4. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack."

In test classes that use ClassInitialize() and ClassCleanup() methods, all the tests fail. All tests fail with the same error, "The agent process was stopped while the test was running." Tests in test classes that do not utilize ClassInitialize() and ClassCleanup() (these tests do not hit the database) all pass.

When this was a VS2008 project all 153 tests passed. No changes have been made to these tests, other than converting the project to a VS2010 project.

I've been playing around with one test class. I commented out the ClassInitialize() and ClassCleanup() methods. I rewrote one test method and mocked everything. I tried running just that one test. I still got the "The agent process was stopped while the test was running" error.

Visual Studio 2010, version 10.0.30319.1 RTMRel

Test framework: integrated VS 2010 MS Test

Mocking framework: Not using mocking, I have a db that is destroyed and recreated in MyClassInitialize(), it is populated with known values. Yes, I know I should be using mocking, but this is an older app and it has not been updated with all of the new bells and whistles yet.

DB Framework: NHibernate

Target Framework is 3.5 for all projects in this solution except for the test project.
The target framework is 4.0 for the test project. I tried changing it to 3.5, it will not let me.

"Attempted re-targeting of the project has been canceled. You cannot change the specified .NET framework or profile for a test project."

View 4 Replies

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

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

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







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