improve.dk
Just another mindless drone looking for the perfect stack
posts - 227, comments - 489

aspnet_regiis -ga token reference error

Written on September 2, 2008 by Mark S. Rasmussen in Sysadmin: Windows, Sysadmin: IIS

Some time ago Peter Loft Jensen wrote about how to easily give a user account the neccessary permissions to access the IIS metabase & required directories, and thus be used for running the IIS process.

We're running all x64 servers, but our IIS is running in 32 bit mode due to some non-x64 compatible 3rd party libraries. Usually this means we have to use the Framework\version\aspnet_regiis.exe bin instead of the Framework64 version - otherwise it might interfere with our 32 bit IIS settings.

Doing that resulted in the following error:

C:\WINDOWS\microsoft.net\Framework\v2.0.50727>aspnet_regiis -ga [domain]\[user]
Start granting [domain]\[user] access to the IIS metabase and other directories used by ASP.NET.
An error has occurred: 0x800703f0 An attempt was made to reference a token that does not exist.

The solution was quite simple, it seems you must use the x64 version on an x64 system to run the -ga command. After using the binary in the Framework64 directory, the command ran perfectly.

Feedback

Gravatar

Ган-Оч Энхболд wrote on 3/19/2012 4:59 AM

In case the machine and the OS and IIS are all 32bit and still the user experiences such error, I might suggest doing a

aspnet_regiis -enable [-r || -ir || -r] whichever one applies.

I had the same problem installing TFS Build Controller, after googling, yahooing, and binging for the 0x800704f0 error nothing really helped because all links are tied to the x64 problem.

Then, after some 4 hours of unsuccessful web surfing, having our server on Win2003, IIS 6.0, I figured ASP.NET 4.0 has not been installed properly. and voila.

Post Comment

Name  
Email
Url
Comment
Please add 7 and 1 and type the answer here: