JDEE8297
asked on
Server Error using VS 2005 on Windows Vista 64bit IIS 7.0
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\ Framework6 4\v2.0.507 27\Tempora ry ASP.NET Files\root\fe408e04\5e6012 f5\App_Web _default.a spx.cdcab7 d2.cle2onn c.dll': Access is denied.
Source Error:
[No relevant source lines]
Source File: vbc : Line: 0
Show Detailed Compiler Output:
c:\windows\system32\inetsr v> "C:\Windows\Microsoft.NET\ Framework6 4\v2.0.507 27\vbc.exe " /t:library /utf8output /R:"C:\Windows\assembly\GA C_64\Syste m.Enterpri seServices \2.0.0.0__ b03f5f7f11 d50a3a\Sys tem.Enterp riseServic es.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Config uration\2. 0.0.0__b03 f5f7f11d50 a3a\System .Configura tion.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Servic eModel\3.0 .0.0__b77a 5c561934e0 89\System. ServiceMod el.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem\2.0.0. 0__b77a5c5 61934e089\ System.dll " /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Xml\2. 0.0.0__b77 a5c561934e 089\System .Xml.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Drawin g\2.0.0.0_ _b03f5f7f1 1d50a3a\Sy stem.Drawi ng.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Web.Se rvices\2.0 .0.0__b03f 5f7f11d50a 3a\System. Web.Servic es.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Web.Ex tensions\1 .0.61025.0 __31bf3856 ad364e35\S ystem.Web. Extensions .dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Runtim e.Serializ ation\3.0. 0.0__b77a5 c561934e08 9\System.R untime.Ser ialization .dll" /R:"C:\Windows\assembly\GA C_64\Syste m.Web\2.0. 0.0__b03f5 f7f11d50a3 a\System.W eb.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Web.Mo bile\2.0.0 .0__b03f5f 7f11d50a3a \System.We b.Mobile.d ll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Servic eModel.Web \3.5.0.0__ 31bf3856ad 364e35\Sys tem.Servic eModel.Web .dll" /R:"C:\Windows\assembly\GA C_64\Syste m.Data\2.0 .0.0__b77a 5c561934e0 89\System. Data.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Identi tyModel\3. 0.0.0__b77 a5c561934e 089\System .IdentityM odel.dll" /R:"C:\Windows\assembly\GA C_MSIL\Sys tem.Workfl owServices \3.5.0.0__ 31bf3856ad 364e35\Sys tem.Workfl owServices .dll" /out:"C:\Windows\Microsoft .NET\Frame work64\v2. 0.50727\Te mporary ASP.NET Files\root\fe408e04\5e6012 f5\App_Web _default.a spx.cdcab7 d2.cle2onn c.dll" /debug- /win32resource:"C:\Windows \Microsoft .NET\Frame work64\v2. 0.50727\Te mporary ASP.NET Files\root\fe408e04\5e6012 f5\omqlm7b 6.res" /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualB asic,Syste m,System.C ollections ,System.Co llections. Specialize d,System.C onfigurati on,System. Text,Syste m.Text.Reg ularExpres sions,Syst em.Web,Sys tem.Web.Ca ching,Syst em.Web.Ses sionState, System.Web .Security, System.Web .Profile,S ystem.Web. UI,System. Web.UI.Web Controls,S ystem.Web. UI.WebCont rols.WebPa rts,System .Web.UI.Ht mlControls "C:\Windows\Microsoft.NET\ Framework6 4\v2.0.507 27\Tempora ry ASP.NET Files\root\fe408e04\5e6012 f5\App_Web _default.a spx.cdcab7 d2.cle2onn c.0.vb" "C:\Windows\Microsoft.NET\ Framework6 4\v2.0.507 27\Tempora ry ASP.NET Files\root\fe408e04\5e6012 f5\App_Web _default.a spx.cdcab7 d2.cle2onn c.1.vb" "C:\Windows\Microsoft.NET\ Framework6 4\v2.0.507 27\Tempora ry ASP.NET Files\root\fe408e04\5e6012 f5\App_Web _default.a spx.cdcab7 d2.cle2onn c.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\ Framework6 4\v2.0.507 27\Tempora ry ASP.NET Files\root\fe408e04\5e6012 f5\App_Web _default.a spx.cdcab7 d2.cle2onn c.dll': Access is denied.
-------------------------- ---------- ---------- ---------- ---------- ---------- ----
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
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\
Source Error:
[No relevant source lines]
Source File: vbc : Line: 0
Show Detailed Compiler Output:
c:\windows\system32\inetsr
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\
--------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1434; ASP.NET Version:2.0.50727.1434
Forgot to list the reference articles:
http://blogs.msdn.com/virtual_pc_guy/archive/2006/06/05/618547.aspx
http://blogs.msdn.com/virtual_pc_guy/archive/2006/07/24/675346.aspx
http://blogs.msdn.com/virtual_pc_guy/archive/2006/06/05/618547.aspx
http://blogs.msdn.com/virtual_pc_guy/archive/2006/07/24/675346.aspx
ASKER
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.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
Just curious, do you have the issue when you access the page from another computer?
ASKER
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. :)
Which permissions did you change on the folder? Was the SYSTEM account on the folder?
ASKER
I changed the permssions for the IUSR account, and that seem to work
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-
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"