CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.personal_site_starter_kit Tags:
Item Type: NewsGroup Date Entered: 7/28/2006 5:32:38 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 16 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
danparker276
Asp.Net User
Medium Trust Issue with PSS Kit7/28/2006 5:32:38 PM

0/0

I'm using a managed server and have to use medium trust to run my site, it was based on PSS.

It works most of the time, but sometimes it will give me a permissions error.  It will be up for hours, then I get this error for a while, but if I refresh enough times it will eventually work?  The people who run the managed server are stumped.  Can PSS run on medium trust? Is there something I need to change?

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Source Error:


[No relevant source lines]


Source File: App_Web_default.aspx.cdcab7d2.cmshozre.0.cs Line: 0

Stack Trace:



[SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.]
System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
System.Security.CodeAccessPermission.Demand() +59
System.IO.Path.GetFullPath(String path) +98
System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath, Boolean& pathTooLong) +50
System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath) +23
System.Web.CachedPathData.GetConfigPathData(String configPath) +465
System.Web.CachedPathData.GetConfigPathData(String configPath) +243
System.Web.CachedPathData.GetConfigPathData(String configPath) +243
System.Web.CachedPathData.GetVirtualPathData(VirtualPath virtualPath, Boolean permitPathsOutsideApp) +132
System.Web.HttpContext.GetPathData(VirtualPath path) +3372026
System.Web.Security.UrlAuthorizationModule.IsUserAllowedToPath(HttpContext context, VirtualPath virtualPath) +132
System.Web.UI.Util.IsUserAllowedToPath(HttpContext context, VirtualPath virtualPath) +101
System.Web.SiteMapProvider.IsAccessibleToUser(HttpContext context, SiteMapNode node) +367
System.Web.SiteMapNode.IsAccessibleToUser(HttpContext context) +14
System.Web.StaticSiteMapProvider.GetChildNodes(SiteMapNode node) +348
System.Web.SiteMapNode.get_ChildNodes() +23
System.Web.SiteMapNode.get_HasChildNodes() +4
System.Web.SiteMapNode.System.Web.UI.IHierarchyData.get_HasChildren() +4
System.Web.UI.WebControls.Menu.DataBindRecursive(MenuItem node, IHierarchicalEnumerable enumerable) +4225
System.Web.UI.WebControls.Menu.DataBindItem(MenuItem item) +277
System.Web.UI.WebControls.Menu.PerformDataBinding() +117
System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect() +82
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70
System.Web.UI.WebControls.Menu.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.Menu.EnsureDataBound() +29
System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e, Boolean registerScript) +21
System.Web.UI.WebControls.Menu.OnPreRender(EventArgs e) +22
System.Web.UI.Control.PreRenderRecursiveInternal() +77
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Control.PreRenderRecursiveInternal() +161
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP._default_aspx.ProcessRequest(HttpContext context) in App_Web_default.aspx.cdcab7d2.cmshozre.0.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

My web.config

 

<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
<connectionStrings>
<remove name="LocalSqlServer" />
<add name="LocalSqlServer" connectionString="Data Source=SQLB1.xxxxxxxx.com;Initial Catalog=xxxxxx;Persist Security Info=True;User ID=xxxxxxx;Password=xxxxxx"
providerName="System.Data.SqlClient" />
<
add name="loftladbConnectionString" connectionString="Data Source=SQLB1.webcontrolcenter.com;Initial Catalog=xxxxxxx;Persist Security Info=True;User ID=xxxxxxx;Password=xxxxxxxx"
providerName="System.Data.SqlClient" />
</
connectionStrings>
<
system.web>
<
pages styleSheetTheme="White"/>
<
customErrors mode="RemoteOnly" defaultRedirect="http://www.loftla.com/lofts/index.html"/>
<
compilation debug="false"/>
<
membership defaultProvider="YourSqlProvider">
<
providers>
<
add connectionStringName="LocalSqlServer" applicationName="/LoftLAApp" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" name="YourSqlProvider" type="System.Web.Security.SqlMembershipProvider"/>
</
providers>
</
membership>
<
authentication mode="Forms">
<
forms loginUrl="default1.aspx" protection="Validation" timeout="300"/>
</
authentication>
<
authorization>
<
allow users="*"/>
</
authorization>
<
globalization requestEncoding="utf-8" responseEncoding="utf-8"/>
<
roleManager enabled="true" defaultProvider="AspNetSqlRoleProvider"/>
<
siteMap defaultProvider="XmlSiteMapProvider" enabled="true">
<
providers>
<
add name="XmlSiteMapProvider" description="SiteMap provider which reads in .sitemap XML files." type="System.Web.XmlSiteMapProvider, System.Web, Versionfiltered=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/>
</
providers>
</
siteMap>
</
system.web>
<
location path="Admin">
<
system.web>
<
authorization>
<
allow roles="Administrators"/>
<!--
deny users="*"/ -->
</
authorization>
</
system.web>
</
location>
</
configuration>
 
danparker276
Asp.Net User
Re: Medium Trust Issue with PSS Kit8/1/2006 5:02:24 PM

0/0

Anyone have a clue on this?  Do you think it's an error on my program, or the hosting company?  Is there something they need to set up on the IIS side?
jwadsworth
Asp.Net User
Re: Medium Trust Issue with PSS Kit8/1/2006 5:33:48 PM

0/0

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/paght000020.asp

Might send this link to your host. Fixing the error will probably require understanding Medium trust and ASP.NET 2.0, along with the framework of the Personal Site Starter Kit.


Jeremy

Extended Personal Site Starter kit
danparker276
Asp.Net User
Re: Medium Trust Issue with PSS Kit8/16/2006 9:43:52 PM

0/0

I found someone with the same problem as me

http://communityserver.org/forums/2/539297/ShowThread.aspx

 

This is what their solution was so far.  Does this sound right?

"Hrm. In response to my ticket to my Web provider, they say that they manually recycled the ASP.Net worker process and I should try again.

 

I haven't done in depth testing, but so far, moving around between 20 pages or so hasn't crashed. I will keep in touch. "

jwadsworth
Asp.Net User
Re: Medium Trust Issue with PSS Kit8/16/2006 10:21:31 PM

0/0

You should at least send that to your hosting provider and see if they can try that for you. In addition, you should also send them the link from my previous post.


Jeremy

Extended Personal Site Starter kit
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
International Books in Print 1994: English-Language Titles Published in Africa, Asia, Australia, Canada, Continental Europe, Latin America, New Zeal Authors: Barbara Hopkinson, K. G. Saur Verlag GmbH & Company, Darin Laracuente, Pages: 3000, Published: 1994
Acronyms, Initialisms & Abbreviations Dictionary Authors: Gale Research Company, Pages: 0, Published: 1978

Web:
PSS Report Final CONTENTS OF THE PSS RESOURCE KIT. I. Psychosocial Support for tsunami affected ...... corresponding action on mental health and psychosocial (MHPS) issues ...
Technical Guide to Secure Channels and the NT Client ... Available in the Windows NT 4.0 Resource Kit Supplement 3, NLTEST is a command line utility used to test trust relationships and the state of domain ...
Punjab & Sind Bank::Where service is a way of life... P&SB policy for financing of Small & Medium Enterprises .... with guarantee cover of credit guarantee fund trust, up to the limit set and revised by them. ...
About W3C: W3C Press Kit Traditionally, one way of establishing trust is to show some trusted form of ... We commend W3C for the work it has done on this important issue, ...
Blackwell Synergy - J Cellular Mol Med, Volume 11 Issue 4 Page 764 ... The cells found in portal vein were positive for c-kit [10], ... Vessel segments were isolated and placed in PSS containing 100 μM nicardipine for 3 hrs, ...
APPLICANT KIT sharing ideas and trust. Consults. and shares information, and. ensures others are kept informed of. issues. •. Takes time to listen to colleagues, ...
Windows 2000-MIT Kerberos Interop Trip-ups Draft In some cases PSS may have an appropriate fix for sites experiencing a ... the setspn tool included in the Windows 2000 resource kit. Multi-domain issues ...
Kit greenhouses and hobby greenhouses- Greenhouse Gardener's Companion Carries a wide selection of greenhouses starting with low-cost hobby kits, to medium priced kits and a good selection of commercial sized greenhouses. ...
WMP FAQ: A trouble-shooting guide for Windows Media Player problems. Looking in Google.com or similar for "windows media resource kit" should help ...... For issues or concerns with Microsoft, you'll want to consult PSS or ...
Primary prevention for mental health: design and delivery of a ... regarding the degree of trust and comfort. afforded participants by the group in . disclosing personal issues. We also need to. address the issue of ...




Search This Site:










dnn controls (in project controls) and data binding

how to get current user info in request inside membership provider?

web security

token sitesettings text box title

dnn 10d upgrade to 2.x - your suggestion/recommendation?

asp.net web site administration tool - can't connect to sql server 2005 in vista

error code 4005

problem with calling eventhandlers of custom datagrid.

house of nuke glossary module released

any updates/replacements for nunitasp?

dnn 3.0.9 error - installation crashed

how to get the authentication cookies works for different vroot?

put a module on all tabs except 1

access to private page after signout event

dnn3.0 seeking advice/help to implement custom properties for profile

categories/subcats

two edit controls in a module

users not in 'admin' role

adding javascript to backend or aspx page problem

accessing a control in masterpage

exception in running subzerosolutions.serveruptime - need help!

i buy spy portal vs portal starter kit

difference between forms authentication and windows authentication

horizontal menu drop down not covering left vertical menu.

visual studio 2005/ie 7 style builder problem

infomap 2.?

how many properties can we have?

how to install language package?

cost of visual web developer 2005 express

change application for providers on a per-request basis

 
All Times Are GMT