Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Sit Issue under medium trust level(Please help me)DNN Sit Issue under medium trust level(Please help me)
Previous
 
Next
New Post
1/14/2008 10:46 AM
 

Hi Guys,

I have developed a Multilanguage in DNN 4.3.7.The site is translated into three version English, french and Urdu and I have hosted them under the test domain http://d19103572.t189.technologyfootprints.net/

I have hosted three site French, English and  Urdu under the domain http://d19103572.t189.technologyfootprints.net/.Sometime it works fine and some time it give me following Error.

The error "ystem.Security.Permissions.FileIOPermission , mscorlib, Version= 2.0.0.0, Culture=neutral,PublicKeyToken=b77a5c561934e089' failed." would be on our ASP.NET medium trust security.

I have shared hosting under medium trust level

When I contact to my hosting company about the Error. They replied me as follow

The medium trust level settings is not something that you can set on your web.config settings sir as you know our medium tust level main constrain was :
1. OleDbPermission is not available. This means you cannot use the ADO.NET managed OLE DB data provider to access databases. However, you can use the managed SQL Server provider to access SQL Server databases.
2. EventLogPermission is not available. This means you cannot access the Windows event log.
3. ReflectionPermission is not available. This means you cannot use reflection.
4. RegistryPermission is not available. This means you cannot access
the registry
5. WebPermission is restricted. This means your application can only communicate with an address or range of addresses that you define in the <trust> element.
6. FileIOPermission is restricted. This means you can only access files in your application's virtual directory hierarchy. Your application is granted Read, Write, Append, and PathDiscovery
permissions for your application's virtual directory hierarchy.
7. You are also prevented from calling unmanaged code or from using Enterprise Services.

You need to ask your programmer to checked your application and makesure you did not violated the Main constraints placed on medium trust  level Web applications Script.

If I host the single site it works fine. If I host multiple site under one domain It start giving me above problem.Every site is Independent from the other

Can anybody provide me the correct “medium trust level configuration” of web.config file for hosting multiple site under one domain.

Waiting your response.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0DNN Sit Issue under medium trust level(Please help me)DNN Sit Issue under medium trust level(Please help me)


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out