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...Upgrading DNN P...Upgrading DNN P...Unable to generate a temporary class (result=1). error CS2001Unable to generate a temporary class (result=1). error CS2001
Previous
 
Next
New Post
2/24/2010 5:32 AM
 

I've researched this error code for a while now, searching through the entire forum for posts on the subject, but the "solution" is always the same: Give the Network Service (or in general the .Net worker process) access to the windows temp folder. My problem with this, is that it compromises security, and I really don't want that.

Since I don't want to grant anything from outside my server access to my windows folder, I want to know if there's any way to change the references to use some other folder than windows/temp, or should I just wait and hope that the DNN team changes this in an update in the near future? This issue really prevents a secure CMS platform.

I hope someone knows of a good and secure solution to this other than just "grant everyone access to your windows folder" - might as well just turn off the server firewall :P

 
New Post
3/17/2010 11:00 AM
 

Well it seems that it's only needed during install, or it's been fixed in the latest version. I was able to remove access to the windows/temp folder and the current version of DNN seems to work without that access.

There are other issues with installing DNN now, but those are related to installing multiple extensions (installing too many extensions at a time actually makes the installation crash, but installing them after DNN is installed 1 at a time is possible).

 
New Post
8/20/2010 12:20 AM
 
    I find this post by search engineer. Well , we just have a client report this issue and we finally get answer from Msdn. Check http://support.microsoft.com/kb/90815... you will find detail information and how to solve it.

Over 20 + professional dnn modules for News Article, Store, Video Gallery, Photo Gallery, Ultra Flash Player,YouTube Video, Image Slide show, Skin Chameleon and much more from DnnModule.com
 
New Post
8/20/2010 3:30 AM
 
Well this answer is *almost* the same as all the other answers:
***
RESOLUTION
To resolve this issue, grant the user account the List Folder Contents and Read permissions on the %windir%\Temp folder.
***
At least it's only "list contents" and "read" access, and it's specified as a .Net issue rather than a DotNetNuke issue. I do however remember having to grant Full Control to solve the error.. really annoying, but it's ok if it's only temporary.

I still think the best part about this issue is that it was only needed during install. I removed those permissions after installing and there's been no issues thereafter even when upgrading DotNetNuke.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Unable to generate a temporary class (result=1). error CS2001Unable to generate a temporary class (result=1). error CS2001


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