Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
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 December 27th, 2006, 02:14 AM
Registered User
 
Join Date: May 2006
Location: Delhi, Delhi, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem relating to ajax

Hi all,
    i " rakesh bindal " facing a problem while using ajax through dll
Problem :i use ajax to fill dropdownlist it is working perfectly alright on local machine but when i upload on a server it gives an error and my extension of site is (.in)

and error message is

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.

i also included this in config file

 <httpHandlers>

        <add verb="GET,POST" path="Ajax/*.ashx" type="Ajax.PageHandlerFactory, Ajax" />


    </httpHandlers>

thanx in advance
please help me its urgent

 
Old December 27th, 2006, 08:35 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

did you change the trust level of your application???

HTH

Gonzalo
 
Old December 27th, 2006, 09:49 AM
Registered User
 
Join Date: May 2006
Location: Delhi, Delhi, India.
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

how to change the trust level
 
Old December 27th, 2006, 09:56 AM
Friend of Wrox
Points: 7,395, Level: 36
Points: 7,395, Level: 36 Points: 7,395, Level: 36 Points: 7,395, Level: 36
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Capital Federal, , Argentina.
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

you do it in the IIS.. it should work with medium trust if I don't recall wrong. usually the applications I deploy with ajax work without doing anything, so you have to check out it the server has the same trust level that your test machine...

HTH

Gonzalo




Similar Threads
Thread Thread Starter Forum Replies Last Post
relating to data inserting? asfakahmed Java Databases 1 June 12th, 2008 07:35 AM
problem with ajax amit1me Ajax 2 January 16th, 2007 02:36 AM
Problem relating asp.net 2.0 rakeshbindal4 ASP.NET 2.0 Professional 0 December 28th, 2006 07:00 AM
Problem relating to Microsoft Visual InterDev 6 mudit VS.NET 2002/2003 3 May 3rd, 2005 10:20 PM
Relating 2 Tables be search for single field value bsimecek SQL Language 4 October 4th, 2004 09:24 AM





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