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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to generate a temporary class  on VISTAUnable to generate a temporary class on VISTA
Previous
 
Next
New Post
6/30/2007 12:25 PM
 

Hope someone can help.  I have been working on some modules for a portal, and all of a suddent I started getting an Unable to generate a temporary class error message when I click on the host setting.

DNN: 4.05.03
OS:VISTA Business
DB: Sql Server 2000 SP4

The only time I get this error is when attempting to go to HOST SETTINGS:  Please help if anyone can.  All I could get from Google was add ASP.NET user to the Windows\Temp folder, but Vista does not have a ASP.NET user

COPY OF ERROR:

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Unable to generate a temporary class (result=1). error CS0007: Unexpected common language runtime initialization error -- 'Access is denied. ' ---> System.InvalidOperationException: Unable to generate a temporary class (result=1). error CS0007: Unexpected common language runtime initialization error -- 'Access is denied. ' at System.Xml.Serialization.Compiler.Compile(Assembly parent, String ns, CompilerParameters parameters, Evidence evidence) at System.Xml.Serialization.TempAssembly.GenerateAssembly(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, Evidence evidence, CompilerParameters parameters, Assembly assembly, Hashtable assemblies) at System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings, Type[] types, String defaultNamespace, String location, Evidence evidence) at System.Xml.Serialization.XmlSerializer.GenerateTempAssembly(XmlMapping xmlMapping, Type type, String defaultNamespace) at System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) at System.Xml.Serialization.XmlSerializer..ctor(Type type) at DotNetNuke.Common.Utilities.XmlUtils.Serialize(Object obj) at DotNetNuke.Modules.Admin.Host.FriendlyUrls.SaveViewState() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Control.SaveViewStateRecursive() at System.Web.UI.Page.SaveAllState() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

 

Thank you in advance

 
New Post
7/2/2007 4:26 AM
 

please make sure that the "Network Services" account has enough permissions on the microsoft .net directories (usually in c:\windows\microsoft.net\[version] )

 


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
New Post
7/5/2007 1:01 AM
 

ErikVB wrote

please make sure that the "Network Services" account has enough permissions on the microsoft .net directories (usually in c:\windows\microsoft.net\[version] )

 

but how do you do that when your DNN is on a web host? i have the same access problem and what permissions should i ask from the host? thanks!

 
New Post
7/6/2007 10:06 AM
 

my host has given NetworkService the permission to c:\temp and c:\windows\temp and now i can access host settings.

 
New Post
4/15/2013 7:51 AM
 
On win 7 give IIS_IUSRS full control permission.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Unable to generate a temporary class  on VISTAUnable to generate a temporary class on VISTA


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