473,770 Members | 1,953 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form Based Authentication and open project problem

Hi

I have an ASP.NET v1.4 application that uses form based authorization. My
authorization section of the web.config looks like

<authorizatio n>
<deny users="?" />
<allow users="*" />
</authorization>
Whenever I tried to open the project using VS 2003 it generates a ASP.NET
Version Mismatch error, which (at least to me) appears to be misleading,
because it appears to be an issue with my auth section. If I comment out
that deny directive the project opens fine. This is what the log files looks
like with it turned on

04:09:24 127.0.0.1 - GET /RROProjects/vs-377871088297373 50_tmp.htm 200
04:09:24 127.0.0.1 - GET /_vti_inf.html 200
04:09:24 127.0.0.1 - POST /RROProjects/_vti_bin/shtml.dll 200
04:09:24 127.0.0.1 - POST /RROProjects/_vti_bin/_vti_aut/author.dll 200
04:09:24 127.0.0.1 SDUNCAN\Steve Duncan POST
/RROProjects/_vti_bin/_vti_aut/author.dll 200
04:09:27 127.0.0.1 - GET /RROProjects/get_aspx_ver.as px 302
04:09:30 127.0.0.1 - GET /RROProjects/login.aspx 302

This is what it looks like turned off

04:10:40 127.0.0.1 - GET /RROProjects/vs3939387202973 7351_tmp.htm 200
04:10:40 127.0.0.1 - GET /_vti_inf.html 200
04:10:40 127.0.0.1 - POST /RROProjects/_vti_bin/shtml.dll 200
04:10:40 127.0.0.1 - POST /RROProjects/_vti_bin/_vti_aut/author.dll 200
04:10:40 127.0.0.1 SDUNCAN\Steve Duncan POST
/RROProjects/_vti_bin/_vti_aut/author.dll 200
04:10:43 127.0.0.1 - GET /RROProjects/get_aspx_ver.as px 200

seems like I need a directive of <allow users="me when I am using VS
locally">

Would appreciate any help.
Nov 19 '05 #1
2 1134
sduncansca wrote:
Hi

I have an ASP.NET v1.4 application that uses form based
authorization. My authorization section of the web.config looks like

<authorizatio n>
<deny users="?" />
<allow users="*" />
</authorization>
Whenever I tried to open the project using VS 2003 it generates a
ASP.NET Version Mismatch error, which (at least to me) appears to be
misleading, because it appears to be an issue with my auth section.


You just need to set up a <location> element for get_aspx_ver.as px. Set the
path attribute to "get_aspx_ver.a spx" and put an authorization element in
there that allows everyone.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003


Nov 19 '05 #2
Jim
What can I say other than you are the man.

Thanks
S

"JIMCO Software" <co*******@jimc osoftware.com> wrote in message
news:uV******** ********@tk2msf tngp13.phx.gbl. ..
sduncansca wrote:
Hi

I have an ASP.NET v1.4 application that uses form based
authorization. My authorization section of the web.config looks like

<authorizatio n>
<deny users="?" />
<allow users="*" />
</authorization>
Whenever I tried to open the project using VS 2003 it generates a
ASP.NET Version Mismatch error, which (at least to me) appears to be
misleading, because it appears to be an issue with my auth section.


You just need to set up a <location> element for get_aspx_ver.as px. Set
the path attribute to "get_aspx_ver.a spx" and put an authorization element
in there that allows everyone.

--
Jim Cheshire
JIMCO Software
http://www.jimcosoftware.com

FrontPage add-ins for FrontPage 2000 - 2003

Nov 19 '05 #3

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

Similar topics

0
749
by: Raul | last post by:
When I open a new browser in a form-based authentication application this new browser window is not authenticated as the opener window is... I have set the content type of the document that I open in this new browser window to application/vnd.ms-excel... Can you tell me if that's a normal behaviour and if it's possible to avoid this? (I mean, if I'm going to be able to open this new browser window, with the application/vnd.ms-excel...
0
1209
by: Nyhetsgruppe | last post by:
I have a project that I manage from Visual Studio. When I change to Form authentication in the web.config file I get an error the next time I open the project in Visual Studio. "The file path..... does not correspond to the URL....". Can anybody tell me what I do wrong? If I set the authentication back to "Windows" the project opens without problems, but I can't do this manually change each time I do modifications in the application.
2
2688
by: Laurent Bertin | last post by:
Hi i got a strange problem but it's true i don't make thing like anyone... First Config: + IIS5.0 SP2 (yes i know...) WebSite Security Root : Digest Authentication, NT Authenticated SubFolders : Anonymous Login Anonymous login is set to use a domain user to enable a sql server authenticated connection. Permissions are based on Page/action/user Membership
16
2926
by: Philippe C. Martin | last post by:
Hi, I am trying to change the data in a form field from python. The following code does not crash but has no effect as if "form" is just a copy of the original html form. Must I recreate the form order to do that ? My point is for the client to be able to re-read the modified data.
1
1135
by: Morten | last post by:
Hi! I have implemented forms based authentication in one of my web projects. It finally works. The problem is that I have another project in a directory underneath this project. This project of course has its own web.config etc. I've modified the web.config file in the "sub project" like this: <authentication mode="Forms"> <forms name=".Project1" loginUrl="/logon.aspx" protection="All" path="/"
13
1687
by: david | last post by:
I can not figure out what is the problem that I can protect ASP.NEt form resource but not some other type of files, for example, images. All my aspx forms located in Demo folder and image files located in a subfolder of Demo, named images. I implement Role based form authentication. When I access all aps forms, it works fine and ask me user/password. However, I can use IE browser to directly access any image file in subfolder images. My...
6
1373
by: Frank Walsh | last post by:
Can anyone tell me if this is possible in asp.net, I want to use form-based authentication to authenticate my users, however a employee of the company is attempting to be logged in as administrator and as a client in two browser windows. When the FormsAuthentication.Signout is called on one of the windows, it kills both authentications for both browser windows. When the user attempts to do something in the other window, they are directed to...
1
1749
by: sivam.solai | last post by:
hai i have My Asp.net Project in C:\AspNetproject AspNetproject have To sub Folder. 1) Forums and 2) users Exe : C:\AspNetproject\Fourms Exe : C:\AspNetproject:\users The Fourms Foldder Having Topic.aspx,startThread.aspx , Replay.aspx
11
5393
by: benoitc | last post by:
I've been having a problem debugging an ASP.NET 1.1 application on an existing Windows XP/Visual Studio 2003 workstation that I've inherited from somebody else. The application builds fine, but when I try to debug, it gives me the message: Error When Trying to Run Project: Unable to Start Debugging on the Web Server. Debugging failed because integrated Windows authentication is not enabled. Now, the obvious solution for this of course...
0
10254
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...
0
10099
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10036
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
8929
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...
1
7451
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
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();...
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
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.