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.