Moved from filesystem to HTTP ->net 2005..

G

Guest

Hi,
Actually i have developed one site. after some time i reliazed that i have
created that site in "File System". So, i have created a virual directory and
given path to my site. I am able to open and build the application . but when
i run the application i am getting the below error. Based on the error i have
checked my web.config, it is perfect. no issues with that. Any idea?

thanks in advance

---------------------------
Microsoft Visual Studio
---------------------------
Unable to start debugging on the web server. <?xml version="1.0" ?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head>

<title>Server Unavailable

</title>

</head>

<body>

<h1><span style="font-family:Verdana;color: #ff3300">Server
Application Unavailable

</span></h1>

<p>

<span style="font-family:Verdana;">

The web application you are attempting to access on this web server
is currently unavailable. Please hit the "Refresh" button in your web
browser to retry your request.

</span></p>

<p>

<b>Administrator Note:

</b> An error message detailing the cause of this specific request failure
can be found in the application event log of the web server. Please review
this log entry to discover what caused this error to occur.

</p>

</body>

</html>



Make sure the server is operating correctly. Verify there are no syntax
errors in web.config by doing a Debug.Start Without Debugging. You may also
want to refer to the ASP.NET and ATL Server debugging topic in the online
documentation.
 
J

Juan T. Llibre

re:
!> So, i have created a virual directory and given path to my site. I am able to open
!> and build the application . but when i run the application i am getting the below error.

You have a conflict between the internal web server and IIS.

First, get rid of the virtual directory.
( IIS Manager, select the virtual directory, right-click and delete ).

Second, if you want to run the site in IIS, instead of the configuring a virtual directory
to the physical directory where the internal web server runs your site, *publish* your
site to your IIS web server.

To publish the website, right-click the file system website in VS 2005's Solution Explorer,
and select "Publish Web Site".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top