Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 27th, 2006, 10:34 PM
Registered User
 
Join Date: Mar 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Access is Denied error when do validation fr MSCRM

Access is Denied error when customize MSCRM by gettng a value from other asp.net application when both are in same virtual diretory path.
-------------------------------------------------------------------------------
I do customize MSCRM, where the validation is to fetch a value from table I use the below code written in _javascript

var oXmlACDoc = new ActiveXObject("Microsoft.XMLDOM");
oXmlACDoc.async = false;
oXmlACDoc.load("http://octopus/crmcustom2/checkbrndata.aspx?accountname=" + sAC);
// Load the result node
var oNode = oXmlACDoc.selectSingleNode("duplicatesFound");

as per the path given I have deployed a .net application which return me the value as xml node that I receive inside crm form validation, ie

var oNode = oXmlACDoc.selectSingleNode("duplicatesFound");

my .Net application is crmcustom2 as per the path above.
Octopus is the directory(D://program files/MSCRM) where MSCRM and my crmcutom2 applications are deployed in IIS.(so normally users login to MS CRM in the browser by just type http://octopus)

The above code is working fine in test server MSCRM application with the path localhost instead of octopus(which is a server path).
But in server if I pass a value in the path http://octopus/crmcustom2/checkbrndata.aspx?accountname=" + sAC , I get the Access is Denied error in CRM.application (but when I test the result for the above path by passing a sample value from the browser like http://octopus/crmcustom2/checkbrnda...tname=cctv-vcr, then I get a result. ).
I suspect it’s a user permission issue , if so whats the things need to be taken care?/ please suggest.







Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Access Denied Error hkccwong Classic ASP Basics 6 January 11th, 2008 04:12 AM
how to avoid access denied error satyakishore Javascript 1 March 29th, 2006 01:48 PM
'Access is denied' error purvin Javascript 4 March 22nd, 2006 04:42 AM
please.....urgent....."access denied error while s Ramakrishna General .NET 2 October 12th, 2004 12:19 AM
Chapter 3. Access Denied Error kevinq BOOK: ASP.NET Website Programming Problem-Design-Solution 0 July 30th, 2003 02:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.