473,696 Members | 1,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

permission denied

I have a v1.1 web app that works on my local computer. However, running it
at the host computer, the following breaks:

when a viewer selects a different country, the State dropdown should
repopulate with the new country's state/proviences.

Running on the host, the dropdown does not repopulate and says 'Permission
Denied', I take this to mean that at the host, a viewer does not have
permission to put new items in the State dropdown.

how do I provide a viewer with the necessary permission?

Thank you
Jun 27 '08 #1
4 2665
Are you sure that it's not a database permission issue?
First - is there any database access when the page first loads?
Second, if not, does the selection of the country, then query the database?
If not - what are you using to populate the states dropdownlist?

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"xzzy" <mr********@com cast.netwrote in message
news:-O************** *************** *@comcast.com.. .
>I have a v1.1 web app that works on my local computer. However, running it
at the host computer, the following breaks:

when a viewer selects a different country, the State dropdown should
repopulate with the new country's state/proviences.

Running on the host, the dropdown does not repopulate and says 'Permission
Denied', I take this to mean that at the host, a viewer does not have
permission to put new items in the State dropdown.

how do I provide a viewer with the necessary permission?

Thank you

Jun 27 '08 #2

here is the code I converted to csharp. it runs fine on this local computer,
permission denied running at the host.
http://www.MyReader.net/rbr/ajax_Asy...OfPageInfo.zip
Are you sure that it's not a database permission issue?
yes
First - is there any database access when the page first loads?
only when the page is rendered for the first time = no problems
Second, if not, does the selection of the country, then query the
database?
yes, again, okay locally, remotely = it's the only part of the app that
doesn't work

<< the following is from my reply to the "RE: Cascading DropDownList" post
in this NG >>

it's in vb.net, you can solve the problem with csharp code not properly
handling quotes by running the page webform2.aspx similar to:

<%@ Page Language="vb" %>
<script language="VB" runat="server">

Public Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs)
.......

and let vb.net do it's thing with quotes.

I currently have a permission problem ( the new 'permission denied' post in
this ng ) when running the code on the host ( everything works just fine
running the web app locally )

to see what I am talking about,
- go to www.MyReader.net
- select Create Account
- when changing the country, the contents of the State dropdown should
repopulate but does not because persmission is denied

John Bickmore
www.MyReader.net

"David Wier" <dw@dw.comwro te in message
news:uc******** ******@TK2MSFTN GP05.phx.gbl...
Are you sure that it's not a database permission issue?
First - is there any database access when the page first loads?
Second, if not, does the selection of the country, then query the
database?
If not - what are you using to populate the states dropdownlist?

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with
no bloated markup
"xzzy" <mr********@com cast.netwrote in message
news:-O************** *************** *@comcast.com.. .
>>I have a v1.1 web app that works on my local computer. However, running
it at the host computer, the following breaks:

when a viewer selects a different country, the State dropdown should
repopulate with the new country's state/proviences.

Running on the host, the dropdown does not repopulate and says
'Permission Denied', I take this to mean that at the host, a viewer does
not have permission to put new items in the State dropdown.

how do I provide a viewer with the necessary permission?

Thank you


Jun 27 '08 #3
"xzzy" <mr********@com cast.netwrote in message
news:58******** *************** *******@comcast .com...
to see what I am talking about,
- go to www.MyReader.net
- select Create Account
- when changing the country, the contents of the State dropdown should
repopulate but does not because persmission is denied


1) You need to fix all the validation errors before you do anything else:
http://validator.w3.org/check?verbos...untCreate.aspx

2) You have a mixture of http and https resources on the page which will pop
the "This page contains secure and nonsecure items" dialog in most browsers

3) The line which throws the "Permission denied" exception is the
xmlhttp.open line in the following JavaScript method:

function xmlhttp_get(xml http,url)
{
xmlhttp.open('G ET',url,true);
xmlhttp.send(nu ll);
}

A quick inspection of the url variable shows it to be:
"http://localhost/myReader/browser/CountryState.as px?q=GB"

That's almost certainly your problem... Have you hard-coded 'localhost'
somewhere instead of using relative addressing...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #4
That's almost certainly your problem... Have you hard-coded 'localhost'
somewhere instead of using relative addressing...?

thank you for your help, yes I did have localhost hard coded. I think I'm
tired and was looking right at it, but could not see it.
"Mark Rae [MVP]" <ma**@markNOSPA Mrae.netwrote in message
news:OL******** ********@TK2MSF TNGP05.phx.gbl. ..
"xzzy" <mr********@com cast.netwrote in message
news:58******** *************** *******@comcast .com...
>to see what I am talking about,
- go to www.MyReader.net
- select Create Account
- when changing the country, the contents of the State dropdown should
repopulate but does not because persmission is denied

1) You need to fix all the validation errors before you do anything else:
http://validator.w3.org/check?verbos...untCreate.aspx

2) You have a mixture of http and https resources on the page which will
pop the "This page contains secure and nonsecure items" dialog in most
browsers

3) The line which throws the "Permission denied" exception is the
xmlhttp.open line in the following JavaScript method:

function xmlhttp_get(xml http,url)
{
xmlhttp.open('G ET',url,true);
xmlhttp.send(nu ll);
}

A quick inspection of the url variable shows it to be:
"http://localhost/myReader/browser/CountryState.as px?q=GB"

That's almost certainly your problem... Have you hard-coded 'localhost'
somewhere instead of using relative addressing...?
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jun 27 '08 #5

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

Similar topics

1
6062
by: Klunk | last post by:
Hi, last week I moved the folder of my Intranet application to another disk of the same server. After this change all the ASP page return this error: Microsoft VBScript runtime error '800a0046' Permission denied: 'CreateObject'
6
7868
by: Jon Montana | last post by:
CDONTS was working well until I installed Exchange 2000. I thought it might be a relay problem, but I allowed the server IP address to relay. Thanks for anything you can offer. here's the error: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services
1
4323
by: Mark E. Hamilton | last post by:
Sorry, I probably should have re-stated the problem: We're using Python 2.3.5 on AIX 5.2, and get the follow error messages from some of our code. I haven't yet tracked down exactly where it's coming from: sem_trywait: Permission denied sem_wait: Permission denied sem_post: Permission denied
10
4611
by: Florian G. Pflug | last post by:
Hi I installed a postgres-application (which was developed on debian woody) on red hat 9 today, using the postgres 7.3 rpms from redhad. One of my the triggers uses the pg_settings table (more precisely, it updates that table to change the search_path temporarily). With the postgres 7.3 (and 7.4 too) installed on my debian development system, this worked fine. On redhat 9, however, I get an "pg_settings: permission denied" error when my...
2
3681
by: Taishi | last post by:
New user of SQL Everything is on the same machine My error is close to the bottom After reading it today, I can see there is a problem with 2 dbases 'PUBS' and 'Master' There are also some comments from the group: ---microsoft.public.sqlserver.odbc-- subject: Permission Denied -- Thanks for help guys I was able to find a trial version of the Enterprise Manager.
4
9087
by: stephen | last post by:
Hi, I am getting an error while trying to create an excel file. "Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException: Permission denied" This is what I am doing. we had an app that...
0
3200
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to the destination table(DB2). I get the following error when the package is executed: The execution of the following DTS Package succeeded: Package Name: PEX2-CopyQualDatatoDB2-UAT Package Description: (null) Package ID:...
0
3400
by: private.anders | last post by:
Hi David! Really need assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content).
0
1219
by: private.anders | last post by:
Really need your assistance since I have been struggling with a problem long time now. I am running a web application on a Win 2003 Std (Active Directory). Everything works fine. I have installed same application on another server Win 2003 R2 Std (No Active Directory). On that server I get “Permission denied” using the following code (used to zip folder content). set WshShell = server.createobject("wscript.shell")
0
8592
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9141
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
9005
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
8871
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
7694
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
5851
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
4351
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...
1
3025
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
3
1989
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.