Home
TeamSite
Server Error in '/MediaBinWebService' Application.
rodigz
Anyone encounter this problem accessing MediaBinWebService.
thanks!
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: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\08440f39\c0efb256\App_global.asax.dzdrrfuz.dll' -- 'Access is denied. '
Source Error:
[No relevant source lines]
Source File: Line: 0
Show Detailed Compiler Output:
c:\windows\system32\inetsrv> "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\WINDOWS\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Web\2.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\08440f39\c0efb256\assembly\dl3\e1a6de2a\00d4bde4_584fc601\Interop.MBUTILSLib.DLL" /R:"C:\WINDOWS\assembly\GAC\Microsoft.Web.Services\1.0.0.0__31bf3856ad364e35\Microsoft.Web.Services.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\08440f39\c0efb256\assembly\dl3\2fa6e4e0\00ce450d_594fc601\Interop.MBPSCRIPTMODEL2Lib.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Mobile\2.0.0.0__b03f5f7f11d50a3a\System.Web.Mobile.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\08440f39\c0efb256\assembly\dl3\c8149cfc\00ed7c38_5a4fc601\MBPNetModel.DLL" /R:"C:\WINDOWS\assembly\GAC_MSIL\System.Web.Services\2.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\WINDOWS\assembly\GAC_32\System.Data\2.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorlib.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_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\08440f39\c0efb256\App_global.asax.dzdrrfuz.dll" /debug- /optimize+ /w:4 /nowarn:1659;1699 "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\08440f39\c0efb256\App_global.asax.dzdrrfuz.0.cs" "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\08440f39\c0efb256\App_global.asax.dzdrrfuz.1.cs"
Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.42
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.
error CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\08440f39\c0efb256\App_global.asax.dzdrrfuz.dll' -- 'Access is denied. '
Find more posts tagged with
Comments
msrinivas
What MB version and is this a fresh install of Web services?
Srinivas
653-Template.rptdesign
Migrateduser
This is commonly caused by conflict in your versions of your projects or project dll files from debug symbols vs. release symbols. When you investigate the 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files\mediabinwebservice\..." folder, I bet you will find many versions. I recommend, stop your localhost web server, delete the project files under 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\mediabinwebservice\...', restart your web server, open your solution file, and recompile your app. You should be fine from that point on. You may get an error at that point which is pointing the assembly that you just deleted, but all you need to do is reregister the web service. The better way to handle that is to connect to your URIs dynamically and don't care what the web reference actually is.
Hope my writing isn't too cryptic to understand.
Good luck.