Connecting Tech Pros Worldwide Help | Site Map

Question on trustLevel and SecurityPolicy

vikysaran's Avatar
Newbie
 
Join Date: Nov 2006
Posts: 14
#1: Aug 20 '09
Hello,
I have my new application on Godaddy.com server. Previously it was giving error on Permission. i asked support about it and they told me to set trust level MEDIUM so I search over the internet and got http://msdn.microsoft.com/en-us/library/ms998341.aspx article.

as described in article, i made 'customWeb_mediumtrust.config' file and place it into Base Directory (Am i right???)

at compiling it is giving following error-
Expand|Select|Wrap|Line Numbers
  1. Error    36    Could not load file or assembly 'SQLite.NET, Version=0.21.1869.3794, Culture=neutral, PublicKeyToken=c273bd375e695f9c' or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)
and at running after uploading see the error on www.myshowtunes.com

I"m attaching web.config file also
Attached Files
File Type: txt Web.Config.txt (10.7 KB, 13 views)
vikysaran's Avatar
Newbie
 
Join Date: Nov 2006
Posts: 14
#2: Aug 24 '09

re: Question on trustLevel and SecurityPolicy


Hello,

Hello i made an application on ASP.Net with SQL Server as Database. and for some purpose i used SQLite DB also. The application was running successfully on locally but i have to upload it on GODaddy.com service provider.

Their shared hosting account only allows application running on medium Trust level. i searched over internet and found few useful articles on Security Policy.

At setting <Trust level= 'Medium' originUrl="" /> it gives error that SQLite.Net runs only on Trust level='Full'

What should i do now??

GoDaddy asking for Medium trust level and SQLite wants Full trust level.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#3: Aug 24 '09

re: Question on trustLevel and SecurityPolicy


Are you sure that GoDaddy has SQL Lite drivers installed on their server?

Your application cannot load the resource, this would lead me to believe that the drivers that let you connect to SQL Lite aren't installed on the server.
vikysaran's Avatar
Newbie
 
Join Date: Nov 2006
Posts: 14
#4: Aug 26 '09

re: Question on trustLevel and SecurityPolicy


Quote:

Originally Posted by Frinavale View Post

Are you sure that GoDaddy has SQL Lite drivers installed on their server?

Your application cannot load the resource, this would lead me to believe that the drivers that let you connect to SQL Lite aren't installed on the server.

Thanx a lot, finally somebody respond me.

we dont need any Driver ti install for SQLite DB. my application in already running successfully on My Brinkster's Dedicated server. the url is http://www.rstrings.com/appt

I raised a ticket to GoDaddy support and they replied i would have to Hire there virtual dedicated server OR i need to create application on .Net framework 1.1 environment.

now i have to look how to degrade application.
Frinavale's Avatar
Site Moderator
 
Join Date: Oct 2006
Location: The Great White North
Posts: 5,066
#5: Aug 26 '09

re: Question on trustLevel and SecurityPolicy


I'm sorry to hear that.
I would find it rather annoying to have to redevelop it 1.1

Good luck

-Frinny
Reply


Similar .NET Framework bytes