Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7624679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:01:29+00:00 2026-05-31T05:01:29+00:00

I am creating a web application. In which I like to compile a VS

  • 0

I am creating a web application. In which I like to compile a VS project dynamically using MSBuild.exe. This works great when runs through a local machine. But when I configured in IIS, the same implementation doesn’t work. I suspect the IIS may restrict some permissions. But not clear.

The error I got while compiling is,

CSC : error CS1504: Source file ‘c:\Windows\Temp\Silverlight,Version=v4.0.AssemblyAttributes.cs’ could not be opened (‘Access is denied. ‘)

Note : I am compiling a Silverlight project. Also the above error is the Standard output of Process, which exited with code 1.

The code compiles the project,

 ProcessStartInfo startInfo = new ProcessStartInfo();
 startInfo.FileName = MSBuildPath;
 startInfo.UseShellExecute = false;
 startInfo.CreateNoWindow = true;
 startInfo.WindowStyle = ProcessWindowStyle.Hidden;
 startInfo.RedirectStandardOutput = true;
 startInfo.Arguments = "\"" + file.FullName + "\"" + " /t:Rebuild /p:Configuration=Release";
 this.process = Process.Start(startInfo);

Any solution for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T05:01:31+00:00Added an answer on May 31, 2026 at 5:01 am

    The “Silverlight,Version=v4.0.AssemblyAttributes.cs” files are created in TEMP folder, and since system account (as well as misconfigured user accounts) have TEMP folder in c:\windows\temp, they had to share the same file name. This is a problem, because file created by one account would not have permissions to different account.

    Try the following:
    1. Create a user account and configure App pool identity to that user account.
    2. Set App pool property “Load user profile” to true.

    This will ensure your App pool gets its own TEMP directory and does not share state with any other account.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating an application which involves so many web-service calls. I am using
I'm creating a web application using asp.net & WCF as 3 tier architecture, which
I am creating a web application which has a few management screens, where a
I am creating a web application framework, in which I am providing support for
For a web application, when creating the user which will connect to the MySQL
I am creating an application in which I want to access a web service
I am creating a web application using zend, here I create an interface from
I would like to create an ASP.NET MVC web application which has extensible logic
I have a Java Project , for which I'm now creating a Web interface,
I am creating an web application which allows user to post some article/blog on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.