Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Professional
Password Reminder
Register
| FAQ | Members List | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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

  #2 (permalink)  
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
  #3 (permalink)  
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
  #4 (permalink)  
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
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:25 PM.


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