473,395 Members | 1,468 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

jquery .js file = windows authentication dialogue?

I'd like to use the jquery datepicker.

I have a asp.net 1.1 application set up with forms authentication protecting
an admin directory:

<location path="admin">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>

All works just fine.

I'm now trying to add the jquery.js file:

<script src="jquery-ui.min.js"></script>

as soon as I do that, when I try and run my application, I get the windows
authentication pop-up dialog box.

Why?

I thought maybe it was because I was accessing the .js file in my admin
folder (though that's odd, as I'm using TinyMCE, which also has .js files in
my admin folder) so I tried moving it outside my admin folder:

<script src="../js/jquery-ui.min.js"></script>

Still, same problem. Anyone know why this is happening? I thought ASP.net
1.1 ignored authentication on any non-.aspx files.

-Darrel
Nov 12 '07 #1
2 6025
Darrel wrote:
I'd like to use the jquery datepicker.

I have a asp.net 1.1 application set up with forms authentication protecting
an admin directory:

<location path="admin">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>

All works just fine.

I'm now trying to add the jquery.js file:

<script src="jquery-ui.min.js"></script>
I don't think that it's the problem here, but you forgot the type:

<script src="jquery-ui.min.js" type="text/javascript"></script>
as soon as I do that, when I try and run my application, I get the windows
authentication pop-up dialog box.

Why?
Not sure... Have you determined if it's the including of the script
itself that causes this, or something in the script?
I thought maybe it was because I was accessing the .js file in my admin
folder (though that's odd, as I'm using TinyMCE, which also has .js files in
my admin folder) so I tried moving it outside my admin folder:

<script src="../js/jquery-ui.min.js"></script>

Still, same problem. Anyone know why this is happening? I thought ASP.net
1.1 ignored authentication on any non-.aspx files.
ASP.NET 2.0 protects all files. Have you set up the application to
actually use framework 1.1?

--
Göran Andersson
_____
http://www.guffa.com
Nov 12 '07 #2
You must change permissions to the file.
IUR_.... and IWAM_..... accounts must have read permissions to that file

George
"Darrel" <no*****@nospam.comwrote in message
news:%2****************@TK2MSFTNGP02.phx.gbl...
I'd like to use the jquery datepicker.

I have a asp.net 1.1 application set up with forms authentication
protecting an admin directory:

<location path="admin">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>

All works just fine.

I'm now trying to add the jquery.js file:

<script src="jquery-ui.min.js"></script>

as soon as I do that, when I try and run my application, I get the windows
authentication pop-up dialog box.

Why?

I thought maybe it was because I was accessing the .js file in my admin
folder (though that's odd, as I'm using TinyMCE, which also has .js files
in my admin folder) so I tried moving it outside my admin folder:

<script src="../js/jquery-ui.min.js"></script>

Still, same problem. Anyone know why this is happening? I thought ASP.net
1.1 ignored authentication on any non-.aspx files.

-Darrel

Nov 12 '07 #3

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

Similar topics

0
by: Tim Haughton | last post by:
I've just released an article on using Test Driven Development with C# and Windows Forms. GUI's are often difficult to test, so I thought it might be of interest. The article along with the...
5
by: kevin | last post by:
Hi, Any help with this would be really appreciated! I'm trying to download a file from a remote server. The access permissions is okay but the problem I'm facing is that the file is getting...
5
by: Brett Porter | last post by:
Hi, A very large portion of my site uses forms authentication which seems to work reasonably well. However many of my authenticated pages display a basic authentication dialogue box prior to...
8
by: Keith H | last post by:
I'm looking for a way to force the user to re-authenticate with their Windows username/password/domain after clicking the submit button on an ASP.NET page. This is for an internal application. ...
6
by: Thomas Schoch | last post by:
I want to add a combobox to the save file dialog, where the user can choose an additional option. How can this be done in VB.NET? Thomas
0
by: Jared | last post by:
Hi I am developing an intranet based ASP.NET application. Due to high security on site the application needs to run accross two separate domains (only http and https ports are open). The...
83
by: liketofindoutwhy | last post by:
I am learning more and more Prototype and Script.aculo.us and got the Bungee book... and wonder if I should get some books on jQuery (jQuery in Action, and Learning jQuery) and start learning about...
53
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script...
5
by: jrod11 | last post by:
hi, I found a jquery html table sorting code i have implemented. I am trying to figure out how to edit how many colums there are, but every time i remove code that I think controls how many colums...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
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...

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.