?
Solved

Server Error using VS 2005 on Windows Vista 64bit IIS 7.0

Posted on 2008-10-28
9
Medium Priority
?
475 Views
Last Modified: 2012-05-05
I am gettingt the error down below and not exactly sure why, I am using VS 2005 and have set up IIS 7.0 on my vista machine and I am getting this error down below on sites that I have set up on my machine. These did work, so I am thinking some security patch changed a setting on my machine and was wondering if anyone had an idea on what could be causing it.

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

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC31019: Unable to write to output file 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe408e04\5e6012f5\App_Web_default.aspx.cdcab7d2.cle2onnc.dll': Access is denied.

Source Error:

 

[No relevant source lines]
 

Source File: vbc :    Line: 0



Show Detailed Compiler Output:


c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\vbc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_64\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel\3.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Extensions\1.0.61025.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Runtime.Serialization\3.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\assembly\GAC_64\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.ServiceModel.Web\3.5.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\assembly\GAC_64\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.IdentityModel\3.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.WorkflowServices\3.5.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /out:"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe408e04\5e6012f5\App_Web_default.aspx.cdcab7d2.cle2onnc.dll" /debug- /win32resource:"C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe408e04\5e6012f5\omqlm7b6.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Specialized,System.Configuration,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls  "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe408e04\5e6012f5\App_Web_default.aspx.cdcab7d2.cle2onnc.0.vb" "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe408e04\5e6012f5\App_Web_default.aspx.cdcab7d2.cle2onnc.1.vb" "C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe408e04\5e6012f5\App_Web_default.aspx.cdcab7d2.cle2onnc.2.vb"


Microsoft (R) Visual Basic Compiler version 8.0.50727.1434
for Microsoft (R) .NET Framework version 2.0.50727.1434
Copyright (c) Microsoft Corporation.  All rights reserved.

vbc : error BC31019: Unable to write to output file 'C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\fe408e04\5e6012f5\App_Web_default.aspx.cdcab7d2.cle2onnc.dll': Access is denied.

 




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
0
Comment
Question by:JDEE8297
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 13

Expert Comment

by:brent_caskey
ID: 22828738
There are two things that you need to do to get VS2005 to work with Vista.

1. You need to make sure that the correct roles are installed. You can run the following script to install all the roles needed:

start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationservice;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

2. You need to make sure that you load IE as an administrator. You can use the following to create a new shortcut and then run this as an administrator:

"C:\Program Files\Internet Explorer\iexplore.exe" "http://localhost/VirtualServer/vswebapp.exe?view=1
0
 
LVL 13

Expert Comment

by:brent_caskey
ID: 22828740
0
 

Author Comment

by:JDEE8297
ID: 22829921
thanks for the tips, but you see it was working and when I tried it last night it wasn't. I didn't know if new security patches had changed permissions on me, but I had been developing without any issues on my machine without any issues for the past few months. So I was surprised and puzzled as to why I was getting this error.
0
Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

 
LVL 13

Accepted Solution

by:
brent_caskey earned 375 total points
ID: 22835671
JDEE8297,

Is basic authentication set on both the web site and the virtual folder?

You said that you thought a windows update might have done this, what updates have been applied to the system recently? Also, I have noticed on my Vista x64 system that windows updates will sometimes turn on UAC, and some other security "features" automatically even though I had them set to disabled. I ended up having to put a GPO on the domain controller just for my system so that it wouldnt keep apply the default security settings.

If all else fails, you could also try re-installing VS2005.

brent_caskey
0
 

Author Comment

by:JDEE8297
ID: 22836870
I never did turn off UAC, i was able to get this to work with UAC, so i don't think it was that. I will probably have to reinstall VS, not that I really want to go through that. However, unless I find a solution for this, then I am afraid that is what I will have to do . Thanks for oyur help.
0
 
LVL 13

Expert Comment

by:brent_caskey
ID: 22837240
Just curious, do you have the issue when you access the page from another computer?
0
 

Author Comment

by:JDEE8297
ID: 22837346
okay, no idea why this worked, but I changed the permissinos on my windows/temp folder and the bloody thingseems to be working. I shouldn't complain, but I hadn't changed anything on the machine for this to occur, so it is kind of frustrating. Still, one less thing to be concerned about. right. :)
0
 
LVL 13

Expert Comment

by:brent_caskey
ID: 22837424
Which permissions did you change on the folder? Was the SYSTEM account on the folder?
0
 

Author Comment

by:JDEE8297
ID: 22837674
I changed the permssions for the IUSR account, and that seem to work
0

Featured Post

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here are the symptoms: You start receiving calls from users that one of your legacy web apps isn't coming up, so you log into your IIS 5 server to check it out.  When you pull up the services, you notice that the WWW Publishing service isn't runn…
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question