Could not run ASP.Net 2.0 apps

S

Steve B.

Hi,

I'm building an application that uses ASP.Net 2.0.

During dev phase, I used the vs webserver and it works fine.
Now I want to test it into a production like IIS web server, but without
success, I get this error whenever I try to run a .Net page :

Compiler Error Message: CS0016: Could not write to output file
'h:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\autoupdate\499c60c5\bde9b7d5\App_Web_default.aspx.cdcab7d2.ntfk6jzq.dll'
-- 'Incorrect folder name'.

What I've done :
- built the app
- created in IIs a new web server using port 8080 (but I also tryed on the
default web site)
- created a dedicated app pool like myserver\myuser
- added this use into the IIS_WPG group
- granted full control ACL to this group and the user to
\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
- created a virtual folder to my app files
- changed the app pool to the dedicated app pool
- granted read ACL to the app files to the user of the app pool
- iisreset-ed

Even with all of this checks, it does not works.
When I tryed to run the page, the folder
"WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\autoupdate\499c60c5\bde9b7d5\" is actually created. Some cs files are
created :
App_Web_1jjpem5-.pdb
App_Web_default.aspx.cdcab7d2.kgipw3fw.pdb
App_Web_default.aspx.cdcab7d2.ntfk6jzq.0.cs
App_Web_default.aspx.cdcab7d2.ntfk6jzq.1.cs
App_Web_default.aspx.cdcab7d2.ntfk6jzq.2.cs
App_Web_default.aspx.cdcab7d2.ntfk6jzq.pdb
App_Web_default.aspx.cdcab7d2.p2cxwrcv.pdb
App_Web_default.aspx.cdcab7d2.x2s3arol.pdb
App_Web_dzmv3e7l.0.cs
App_Web_dzmv3e7l.1.cs
App_Web_dzmv3e7l.2.cs
App_Web_dzmv3e7l.pdb
App_Web_mnq6q3kt.pdb
App_Web__rcrtfe7.pdb
assembly
dzmv3e7l.cmdline
dzmv3e7l.err
dzmv3e7l.out
dzmv3e7l.tmp
hash.web
_2mbwtid.cmdline
_2mbwtid.err
_2mbwtid.out
_2mbwtid.tmp

The detailled error is :

h:\windows\system32\inetsrv>
"H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library
/utf8output /R:"ALL REFERENCES REMOVED"
/out:"H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\autoupdate\499c60c5\bde9b7d5\App_Web_default.aspx.cdcab7d2.ntfk6jzq.dll"
/D:DEBUG /debug+ /optimize- /w:4 /nowarn:1659;1699
"H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\autoupdate\499c60c5\bde9b7d5\App_Web_default.aspx.cdcab7d2.ntfk6jzq.0.cs"
"H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\autoupdate\499c60c5\bde9b7d5\App_Web_default.aspx.cdcab7d2.ntfk6jzq.1.cs"
"H:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\autoupdate\499c60c5\bde9b7d5\App_Web_default.aspx.cdcab7d2.ntfk6jzq.2.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
'h:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\autoupdate\499c60c5\bde9b7d5\App_Web_default.aspx.cdcab7d2.ntfk6jzq.dll'
-- 'Le nom de répertoire est incorrect. '

Thanks for any help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top