ASP.NET 2.0 is configured to run with a user
account.
The SerializeAs attribute of the Profile property in ASP.NET 2.0 is set to Xml.
In this scenario, ASP.NET 2.0 may not save the user
profile, and you may receive an error message that is similar to the
following:
[InvalidOperationException: Unable to generate a temporary class (result=1).
error CS2001: Source file 'D:\WINDOWS\TEMP\d0lurtzx.0.cs' could not be found
error CS2008: No inputs specified
Create a Web site in Microsoft Internet Information Services
(IIS) Manager.
Create a local Microsoft Windows NT user account.
Click Start, click Run,
type cmd, and then click OK.
At the command prompt, type the following command:
cd Path
Note Path represents the path of the Microsoft .NET Framework 2.0 folder on the computer.
At the command prompt, type the following command, and
then press ENTER:
aspnet_regiis -ga
User
Note User represents the user account that you created in step 2.
Change the application pool identity for the Web site that you
created in step 1 to the account that you created in step 2.
Click Start, click Run,
type cmd, and then click OK.
At the command prompt, type iisreset
/restart, and then press ENTER.
Create a Web.config file, and then add the following code example to
the Web.config file.
Note <Server> represents the name of the
server, <User> represents the user name,
<Password> represents the password for the user, and
<Catalog> represents the catalog name.