Support Forums

 
  iFinity Support Forum  DotNetNuke Modu...  Google Sitemap ...  Meet error when tested it in localhost
Previous Previous
 
Next Next
New Post 7/16/2008 11:06 AM
  zhenl
1 posts
No Ranking


Meet error when tested it in localhost 

Hello,


I have downloaded GoogleSiteMapProvider and installed it into my localhost. But I met an error when I tried to visit GoogleSiteMap.axd. The error is:

 

Server Error in '/dnn450new' Application.
--------------------------------------------------------------------------------

Security Exception
 

Description: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:

[SecurityException: Request for the permission of type 'System.Configuration.ConfigurationPermission, System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed.]
   System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) +0
   System.Security.CodeAccessPermission.Demand() +59
   System.Configuration.BaseConfigurationRecord.CheckPermissionAllowed(String configKey, Boolean requirePermission, Boolean isTrustedWithoutAptca) +65

 

 


--------------------------------------------------------------------------------


I want to created a sitemap provider for my module - DNNArticle: http://www.zldnn.com/Default.aspx?alias=www.zldnn.com/rs . I want to test it before I do the development work.

Thanks in advanced.

Lei

 
New Post 7/16/2008 11:30 AM
  Bruce Chapman
569 posts
1st Level Poster


Re: Meet error when tested it in localhost 

Are you running your environment on medium trust?  That looks like a trust issue to me.  Try setting your application to run in full trust mode and see if that improves it.

 
Previous Previous
 
Next Next
  iFinity Support Forum  DotNetNuke Modu...  Google Sitemap ...  Meet error when tested it in localhost
Can't find the answer?
 

If you can't find the answer and don't have time...try out the Premium Support service.  Get personal attention and get the problem fixed by an expert.

 

Support Guidelines.. Please read before posting

To get support on iFinity products and services, please search the forums for the the answer to the problem you are seeking. If you cannot find a solution, post a question in the relevant forum.   Ensure that you specify the relevant versions of the problem, and the actual error message or a detailed description of the problem.    You will need to register with this site to post on the forum.  If you have a Microsoft Live (Hotmail/Passport) account you can use that.  If you have a Open Id account you can use that.  If you neither of these, you will need to register a user Id and password.

If you wish, you can use the Premium Support Service for one-on-one support.