Web app won't compile

  • Thread starter Thread starter Vince
  • Start date Start date
V

Vince

I'm getting this message when I try and run a .net web app
in the development system:

CS0016: Could not write to output file 'c#:\windows
nt\Microsoft..net framework\v1.1.4322\Temporary ASP.NET
Files\ssrpttest\44d149b5\fdee4a07\c22wlbzl.dll' -- 'Access
is denied. '

I just upgraded to visual studio .net 2003 and now none of
my applications wil work!

My SMTP server fails on my machine too with a sillilar
message.

What the heck is going on?! How do I fix this mess. I am
dead in the water.
 
In the project properties, change the "supported runtimes". This will make
your apps use the 1.0 runtime.

Try google grouping for that error, or check the permissions of the ASPNET
for those directories.

-mike
MVP
 
Hi Vince,

I agree with Michael's suggestion.
You may also try to run the line
aspnet_regiis.exe -i
to install this version of ASP.NET and update scriptmaps at the IIS
metabase root and for all scriptmaps below the root. Existing scriptmaps of
lower version are upgraded to this version.
The aspnet_regiis.exe is usually located in the path below.
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe

By default, when the .NET Framework is installed on a computer with an
existing installation, all ASP.NET applications are automatically updated
to use this version of the .NET Framework. The only exceptions are
applications that are bound to an incompatible version of the runtime or to
a later version of the runtime. Although later versions of the .NET
Framework are designed to be backward compatible, you might want to
configure an ASP.NET application to use an earlier version. The following
sections describe the process to configure an ASP.NET application to target
a specific version of the .NET Framework.

Configuring an ASP.NET Application for an ASP.NET Version
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconconfiguringaspnetapplicationforaspnetversion.asp
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
 
Hi Vince,

1.
If you use NTFS file system, please try to check NTFS permissions on the
folder first.


2.
If some prerequisites keeps appearing, even we have successfully installed
them, we can use the following commands to fix Windows Installer DB:

Msiexec /unregister
Msiexec /regserver

Manually remove the Microsoft .Net Framework v1.1.4322 and reinstall it
¡¤ Start > Run and type Installer and then click Ok
o Select the menu option View > Details
o Right click on the column header called Date Modified
o Select Comments
o Locate the cached msi file displaying Microsoft .NET Framework 1.1 RTL
x86 enu in the Comments column
o Right Click on it and select Uninstall
o Close the window
¡¤ Start > Run and type System32 and then click Ok ¨C
¡ì ONLY FOR THIS STEP - DO NOT DELETE ON A WINDOWS 2003 SERVER MACHINE
o Locate and Delete the folder URTTemp
o Locate and Delete the file mscoree.dll
¡ì If the Microsoft .Net Framework v1.0.3705 is on the machine, and you do
not intend to reinstall the Microsoft .Net Framework v.1.1.4322 then you
will need to run a repair install of the Microsoft .Net Framework v1.0.3705
to replace the mscoree.dll.
o Close the window
¡¤ Start > Run and type Microsoft.Net and then click Ok
o Double Click on the folder Framework
o Delete the folder v1.1.4322
o Close the Window
¡¤ Start > Run and type regedit and then click Ok
o Remove the following registry keys
¡ì HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v1.1.4322
¡ì HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\policy\v1.1
o Close the registry window
¡¤ Download the Windows Installer SDK to obtain the msizap.exe utility.
You can download the Windows Installer SDK from
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/
o Start > Run and type cmd and then click Ok
o Type CD\ and Press {ENTER}
o Navigate to the directory that msizap.exe is placed after installing the
Windows Installer SDK.
o Microsoft .Net Framework v1.1.4322: Type Msizap TP
{CB2F7EDD-9D1F-43C1-90FC-4F52EAE172A1}
o Restart the machine

(Here is the msizap)


¡¤ Start > Run and type %Temp% and then click Ok
o Select the menu option Select All
o Press the Delete Key
o Remove as many files out of the Temp Folder as possible
¡¤ Be sure to disable specifically any Anti-Virus or Firewall software
before installing.
o You may want to clean boot the machine by using the msconfig.exe utility
¡¤ Install the Microsoft .Net Framework by double clicking on the
dotnetfx.exe file
¡¤ If the Microsoft .Net Framework v1.0.3705 is on the machine as well, and
you do not intend to reinstall the Microsoft .Net Framework v.1.1.4322 then
you will need to run a repair install to place the mscoree.dll and the
URTTemp folder.

You may have try a let me know the result.


Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
X-Tomcat-ID: 60396467
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
From: (e-mail address removed) (Peter Huang [MSFT])
Organization: Microsoft
Date: Thu, 23 Oct 2003 02:09:23 GMT
Subject: RE: Web app won't compile
X-Tomcat-NG: microsoft.public.dotnet.general
Message-ID: <[email protected]>
Newsgroups: microsoft.public.dotnet.general
Lines: 69
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:112909
NNTP-Posting-Host: TOMCATIMPORT1 10.201.218.122

Hi Vince,

I agree with Michael's suggestion.
You may also try to run the line
aspnet_regiis.exe -i
to install this version of ASP.NET and update scriptmaps at the IIS
metabase root and for all scriptmaps below the root. Existing scriptmaps of
lower version are upgraded to this version.
The aspnet_regiis.exe is usually located in the path below.
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe

By default, when the .NET Framework is installed on a computer with an
existing installation, all ASP.NET applications are automatically updated
to use this version of the .NET Framework. The only exceptions are
applications that are bound to an incompatible version of the runtime or to
a later version of the runtime. Although later versions of the .NET
Framework are designed to be backward compatible, you might want to
configure an ASP.NET application to use an earlier version. The following
sections describe the process to configure an ASP.NET application to target
a specific version of the .NET Framework.

Configuring an ASP.NET Application for an ASP.NET Version
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/ht m
l/cpconconfiguringaspnetapplicationforaspnetversion.asp
Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
--------------------
Content-Class: urn:content-classes:message
From: "Vince" <[email protected]>
Sender: "Vince" <[email protected]>
Subject: Web app won't compile
Date: Wed, 22 Oct 2003 12:57:37 -0700
Lines: 16
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Thread-Index: AcOY1r5C0Ev1PmJGRxieYcBPcxuz/A==
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
Newsgroups: microsoft.public.dotnet.general
Path: cpmsftngxa06.phx.gbl
Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.general:112876
NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
X-Tomcat-NG: microsoft.public.dotnet.general

I'm getting this message when I try and run a .net web app
in the development system:

CS0016: Could not write to output file 'c#:\windows
nt\Microsoft..net framework\v1.1.4322\Temporary ASP.NET
Files\ssrpttest\44d149b5\fdee4a07\c22wlbzl.dll' -- 'Access
is denied. '

I just upgraded to visual studio .net 2003 and now none of
my applications wil work!

My SMTP server fails on my machine too with a sillilar
message.

What the heck is going on?! How do I fix this mess. I am
dead in the water.
 
Hi Vince,


Did my suggestion works for you?
If you have any question on this issue please post here.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Back
Top