Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

"Operation could destabilize the runtime".. Medium Trust?

Last post 11-29-2006, 4:43 PM by EvilJohnius. 40 replies.
Page 2 of 3 (41 items)   < Previous 1 2 3 Next >
Sort Posts: Previous Next
  •  08-04-2006, 10:56 PM 21567 in reply to 21566

    Re: "Operation could destabilize the runtime".. Medium Trust?

    David,
     
     
    Yes, the trial license also works for the remove server.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  08-05-2006, 2:45 AM 21570 in reply to 21567

    Re: "Operation could destabilize the runtime".. Medium Trust?

    Oh.. I just don't get it-
     
    The downloaded dll worked for the localhost on both my local CS2 install (of my remote site), and the "stock" CS2 I tried earlier-  both with/without "medium trust" in the web.config ... but still does not work for remote install. 
     
    I completely deleted the entire CuteSoft_Client folder.. and replaced with the local.  Also replaced all the remote dlls from local, global asax, web.config..  still the same errors as originally noted.
     
    I understand that my host (Crystaltech), as most, uses a "modified Medium Trust" which is Medium with a couple exceptions, which is, in fact, less strict than me adding the Medium Trust element to my local web.config... true?  So I wouldn't think that were the problem.. but I don't know.
     
    I am totally stumped.  I can't figure anything else that could be different
  •  08-06-2006, 4:42 PM 21575 in reply to 21570

    Re: "Operation could destabilize the runtime".. Medium Trust?

    To verify the prior posts results and ensure this wasn't due to something in my particular CS-
     
    - I created a new CS 2/Asp.Net 2.0 website (local and remote) and new database (remote). The app functions as expected.
    - I applied the CuteChat 3.1 install to local (and sql to remote DB)... Local works as expected.
    - I added the Medium Trust element to the local Web.config.. the local website/CuteChat fails with aforementioned errors.
    - I replaced the 3.1 dll with the dll downloaded from above post.. local/CuteChat functions as expected (web.config/Medium)
    - I removed the Medium Trust from web.config and uploaded/applied local CuteChat to remote... remote fails.
     
    The following is CT's words about trust:
     
    To protect our shared environment, we have set the CAS Level to Custom. The custom setting is basically medium level with some exceptions including ODBC, OLEDB, sockets, Reflection Permissions and Web Permissions. This setting cannot be overridden.

    Here are the permissions granted by the medium trust level:

    Medium
    Permissions are limited to what the application can access within the directory structure of the application.
    No file access is permitted outside of the application's virtual directory hierarchy.
    Can access SQL Server
    Can send email by using SMTP servers
    Limited rights to certain common environment variables
    No reflection permissions whatsoever
    No sockets permission
    To access Web resources, you must explicitly add endpoint 'URLs' - either in the originUrl attribute of the element or inside the policy file.

    The following exceptions have been granted in addition to the ones listed above:

    ODBC
    OLEDB
    Reflection Permissions
    Web Permission
     
     
    What to do?
     
    D
  •  08-07-2006, 10:24 AM 21586 in reply to 21575

    Re: "Operation could destabilize the runtime".. Medium Trust?

     
    My site was moved to a Full Trust server. 
     
    I still get the same errors!
     
     
  •  08-07-2006, 11:58 AM 21589 in reply to 21586

    Re: "Operation could destabilize the runtime".. Medium Trust?

  •  08-08-2006, 1:45 PM 21652 in reply to 21586

    Re: "Operation could destabilize the runtime".. Medium Trust?

    aeromed :
     
    Can you send me a mail ? to cutechat @ cutesoft.net , I will send you a dll that compiled in vs2005 .
     
    Regards , Terry .
  •  08-08-2006, 2:08 PM 21655 in reply to 21652

    Re: "Operation could destabilize the runtime".. Medium Trust?

    Terry,
     
    I've sent you an email.. thanks!!
     
    D
  •  08-08-2006, 2:40 PM 21662 in reply to 21655

    Re: "Operation could destabilize the runtime".. Medium Trust?

     
    The supplied DLL still fails on Remote/Medium Trust ("stock/default" test install of CS2)
     
    but now works on Remote/Full Trust..  ("my" developing CS2 app which was moved to Full Trust server)
     
    Also, I'm getting "trial license expired", which, the licenses downloaded aren't more than a week old.
  •  08-08-2006, 2:47 PM 21666 in reply to 21662

    Re: "Operation could destabilize the runtime".. Medium Trust?

  •  08-08-2006, 3:17 PM 21672 in reply to 21666

    Re: "Operation could destabilize the runtime".. Medium Trust?

    Thanks for supplying that temp license...
     
    As it stands, per the downloaded dll, CuteChat works in Full Trust but not Medium, on Crystaltech's shared servers.  Is this unique to CT's Asp.net 2.0 config or are others/hosts experiencing this?  I'd asked for a copy of their machine.config to duplicate thier Medium/Custom on my local machine.  No surprise.. I got a no.
     
    Don't know if needed to you guys, but if you wanted to supply a .pdb, I could upload and pass on the specific errors.. or could just give you temp FTP access to the site.
  •  08-16-2006, 12:11 PM 21888 in reply to 21672

    Re: "Operation could destabilize the runtime".. Medium Trust?

    anymore word on this?
  •  08-22-2006, 3:55 PM 22043 in reply to 21888

    Re: "Operation could destabilize the runtime".. Medium Trust?

    aeromed,
     
    Please download the control again and use the files and DLL under Framework 2.0 Web.
     
    If the problem still exists, can you test it on your localhost?
     
    When testing, please make sure it run under medium trust enviroment.
     
    <trust level="Medium" />
     
    If it works,  I guess your host has a customized "medium trust" setting.
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  08-26-2006, 1:34 PM 22119 in reply to 22043

    Re: "Operation could destabilize the runtime".. Medium Trust?

    I'll try it.
     
    However... my host has moved my site to full-trust server, so I won't be able to verify, at this time, if it works on remote.
     
    I'm sure CT does use a customized Medium Trust.. but, don't most all hosts? 
     
    I'll be testing this further.
     
    Thanks.. D
  •  09-08-2006, 2:58 PM 22551 in reply to 22119

    Re: "Operation could destabilize the runtime".. Medium Trust?

    Hi, this is Alec Whittington from CrystalTech Web Hosting. I wanted to clarify a few things as I stumbled upon this post. First off, when it comes to CAS, I am the guy at CT that determines what settings to use and to test them out. I am not sure who you contacted for a copy of the config, but the request was never given to me. We have provided several customers with a copy of this so they can work with 3rd party vendors, Ryan from InstantAsp.co.uk can verify this.

    As far as our CAS level goes, we use a modified version of Medium Trust, ours is actually less restrictive than a true Medium Trust. No, I repeat NO, hosting company could run the Medium Trust config out of the box. By default this config dis-allows Web Services, Sockets, and Remoting. These are all commonly used in shared web hosting. A quick test to see if your host is running a true Medium Trust environment is to write a quick web service and then try to use it on the host. If it does not fail, they are using a Modified Medium Trust.

    If you are having issues, please feel free to contact me directly awhittington @NOSPAM@ crystaltech.com. I will provide what assistance that I can.

  •  09-08-2006, 3:25 PM 22552 in reply to 22551

    Re: "Operation could destabilize the runtime".. Medium Trust?

     
    Hi Alec,
     
    I appreciate your comments.  For your ref, I'm forwarding, to you, the communication I had with CT Support about this.  In addition to asking about aquiring a copy of CTs machine.config, sometime ago, I did ask a  couple times within this (forwarding) dialogue. 
     
    Just to update this thread- I haven't been able to try CuteSoft's chat on CT's Medium Trust shared server, lately, as the space I was testing on was a client's undeveloped space.  As mentioned, my app that I hope to use the chat in, is now on Full Trust server.
     
     
    Thanks!
     
    David
    Filed under: ,
  •  09-21-2006, 4:28 PM 22920 in reply to 21549

    Re: "Operation could destabilize the runtime".. Medium Trust?

    I had this exact problem.
     
    I bought cute chat a month ago.
     
    I went the the url you game in your post and recreated the cute chat using the files in framework 2.0.
    It worked great this morning.Right after I created it. but I just checked on it and it giving me all kinds of problem.
     
    Do I need a new licence file after I get the newest version. Or is the licence for the domain only.
     
    Kourosh
  •  09-21-2006, 5:38 PM 22922 in reply to 22920

    Re: "Operation could destabilize the runtime".. Medium Trust?

    Just to follow up on my last post, these are the errors messages that I'm getting.
     
    I'm not getting them in development server just in the live server.
     

    When I click on a chat room and a popup comes up.

    First it gives me

    Object reference not set to an instance of an object.

    And Highlights this line

    Line 18: SkinName="Skins/"+ CuteSoft.Chat.ChatWebUtility.SkinName + "/style.css";

    Then when I hard code the skin name

    Line 18: SkinName="Skins/Normal/style.css";

    It give me all these undefined errors:

    http://www.ryusiwonusa.com/chat/Web/CuteSoft_Client/CuteChat/CH_MainForm.Aspx?Location=Lobby&LocationId=1,1024

    '__cc_urlbase' is undefined

    Window_error

     

    Then when I click on OK it give me

    http://www.ryusiwonusa.com/chat/Web/CuteSoft_Client/CuteChat/CH_MainForm.Aspx?Location=Lobby&LocationId=1,98

    'GetString' is undefined

    Window_error

    Then when I click on OK it give me

    http://www.ryusiwonusa.com/chat/Web/CuteSoft_Client/CuteChat/CH_MainForm.Aspx?Location=Lobby&LocationId=1,9

    '__cc_version' is undefined

    Window_error

     
  •  09-21-2006, 6:54 PM 22927 in reply to 22922

    Re: "Operation could destabilize the runtime".. Medium Trust?

    Nevermind about the error messages.
     
    I coppied the following files from development to the live server and it started to work again.
     
    CuteSoft.Chat.dll
    SamplePortal.dll
    SamplePortal.pdb
     
    But when I was coppying them I noticed that they had the exact same date modified and same size.
     
    If its stops working again I think it has to be related to the licence. isn't that how your licence works. The code starts out working and then stops working.
  •  09-21-2006, 8:57 PM 22936 in reply to 22927

    Re: "Operation could destabilize the runtime".. Medium Trust?

    Shoots, exactly 2 1/2 hour after install and it stopped working again.
    I check with Karen and she said my licence key is good and should work.
     
    I just copied those same 3 files I mentioned in my last post and again it works.
    Probably for 2 1/2 hours.
     
    What if I go to my older version and change the Medium Trust to High trust would that work.
     
    What do I do just change
    <trust level="Medium" />
    to <trust level="High" />
     
    Does it matter that there is a CuteMessenger.lic in my bin folder.
  •  09-21-2006, 10:38 PM 22941 in reply to 22936

    Re: "Operation could destabilize the runtime".. Medium Trust?

    Guys,
     
    To resolve the current issues, we updated the control.

    Please download the latest build:
     
    http://cutesoft.net/downloads/default.aspx
     
    Hope it will resolve the problem.
     
    Keep me posted.
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

Page 2 of 3 (41 items)   < Previous 1 2 3 Next >
View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.