473,769 Members | 2,382 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error on opening ASP.NET Project

The error is "The Web Server reported the following error when
attempting to create or open the Web project located at the following
URL: "http://localhost". 'The HTTP redirect request failed'.

There is a value in the web.config that we use to auto login us
developers so that we are not prompted to go to our login page each
time we open the website for debugging. Our login page looks for this
particular string, and logs us in accordingly. This works great and
saves us time while developing.

However, if we leave this value in web.config when we open the
project, we get the above error. It "seems" as if when visual studio
is opening the project, it is being redirected to the login page.
Then it errors out when it sees our code that accesses that string
from web.config (which hasn't loaded yet).

This is just a stab, and I can't seem to figure out how to fix it.
Here is what our project looks like.

/dir1
/dir2
/login.aspx
/project.vbproj
/project.webinfo
/web.info

and our web.info file:

<authenticati on mode="Forms">
<forms loginUrl="login .aspx" timeout="5" path="/" protection="All " />
</authentication>

<authorizatio n>
<deny users="?,*" />
</authorization>

http://localhost/project.vbproj is mapped to the /project.vbproj I
wrote above.

I have already tried writing this to NOT authenticate on a particular
project file (i did this for al vbproj files and login to no avail) :

<location path="Portal.vb proj">
<system.web>
<authorizatio n>
<allow users="?"/>
</authorization>
</system.web>
</location>

To get around this, we just change the web.config string name before
we open the project, then change it back.

You can also email at scottelkin-noooospaaaam-at-hotmail.com

Thanks!
Jul 21 '05 #1
0 1587

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1708
by: amusa | last post by:
When opening a visual basic project type and choosing an ASP .NEt template getting this error The Web Server Reported the following error when attempting to create or open the web project loaded at the following URL:'http://localhost/test". the server returned an invalid or unrecognized response' thanks for your help in advanced.
1
4364
by: DavidE | last post by:
Hi, Recently, when I try to open files in web projects with visual interdev 6 I get this error message: Server error: Error 2 opening registry key Software/microsoft/shared tools/web server extensions/ports/port 80 . Well, just in one project I can open its files. I don't know why is the difference between this project and other projects. I tried this solution but it doesn't solve the problem....
6
4753
by: Peter Frost | last post by:
Please help I don't know if this is possible but what I would really like to do is to use On Error Goto to capture the code that is being executed when an error occurs. Any help would be much appreciated. Thanks in advance
5
1870
by: Brad | last post by:
I'm running 2003 server std, have multiple web sites and use host headers to differentiate the web sites (I'm on a domain using DHCP so can't use static IP's). I'm using VS2003 to create and maintain my web projects. With that said, on some projects I open an existing or create a web project, work with for awhile, close it....and when I attempt to reopen it I get the following message: Unable to open Web project 'myapp'. The file...
5
6580
by: Bruce Schechter | last post by:
I just started to develop an ASP.NET application in vs.net 2003 . But each time I try to execute the application (which is basically empty so far), I get a dialog box titled "Microsoft Development Environment" with this message: "Error while trying to run project: Unable to start debugging on the web server. Server-side error occurred on sending debug HTTP request. Make sure the server is operating correctly. Verify there are no...
16
2310
by: Paul S. Natanson | last post by:
What is a Null Reference error and how do I fix it? My newly installed VB.Net2003 gives me a "Microsoft Development Environment" error message box EVERY time I try to run/start ANY project - even very simple ones. The error says: "An unhandled exception of type 'System.NullReferenceException' occurred in
0
256
by: Scott | last post by:
The error is "The Web Server reported the following error when attempting to create or open the Web project located at the following URL: "http://localhost". 'The HTTP redirect request failed'. There is a value in the web.config that we use to auto login us developers so that we are not prompted to go to our login page each time we open the website for debugging. Our login page looks for this particular string, and logs us in...
1
13308
by: PK9 | last post by:
I am receiving the following error in Visual Studio 2003: "the web server reported the following error when attempting to create or open the web project HTTP/1.1 403 Access Forbidden" I am receiving this error when opening a web project that I created on another machine. I have a development machine on which I created an ASP.NET application. By default, it was created in inetpub/wwwroot. I copied this source code (including the...
1
3157
by: =?Utf-8?B?cnNvbWFzdW5kYXI=?= | last post by:
Hi, I got the following error while trying to run the project in ASP.Net 2003 to one of my application in my machine. I think some where im loosing the IIS configurations. Error Detail: Auto-attach to process ' aspnet_wp.exe' on machine '<machine name>' failed. Error code 0x8004000e. Could you help me to find resolution.
0
9586
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10210
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9990
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9861
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8869
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6672
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5298
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5446
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2814
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.